HomeSort by relevance Sort by last modified time
    Searched refs:SE (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/llvm/unittests/Analysis/
ScalarEvolutionTest.cpp 27 ScalarEvolutionsTest() : M("", Context), SE(*new ScalarEvolution) {}
31 SE.releaseMemory();
36 ScalarEvolution &SE;
53 PM.add(&SE);
56 const SCEV *S0 = SE.getSCEV(V0);
57 const SCEV *S1 = SE.getSCEV(V1);
58 const SCEV *S2 = SE.getSCEV(V2);
60 const SCEV *P0 = SE.getAddExpr(S0, S0);
61 const SCEV *P1 = SE.getAddExpr(S1, S1);
62 const SCEV *P2 = SE.getAddExpr(S2, S2)
    [all...]
  /external/llvm/lib/Transforms/Utils/
SimplifyIndVar.cpp 46 ScalarEvolution *SE;
54 SimplifyIndvar(Loop *Loop, ScalarEvolution *SE, LPPassManager *LPM,
58 SE(SE),
112 assert(SE->isSCEVable(IVSrc->getType()) && "Expect SCEVable IV operand");
124 FoldedExpr = SE->getUDivExpr(SE->getSCEV(IVSrc), SE->getSCEV(D));
127 if (!SE->isSCEVable(UseInst->getType()))
131 if (SE->getSCEV(UseInst) != FoldedExpr
    [all...]
LoopUnroll.cpp 99 if (ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>()) {
101 SE->forgetLoop(L);
210 ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>();
211 if (SE)
212 SE->forgetLoop(L);
300 for (succ_iterator SI = succ_begin(*BB), SE = succ_end(*BB);
301 SI != SE; ++SI) {
386 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB);
387 SI != SE; ++SI) {
419 ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>()
    [all...]
LoopUnrollRuntime.cpp 242 ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>();
243 if (SE == 0)
248 const SCEV *BECount = SE->getBackedgeTakenCount(L);
254 SE->getAddExpr(BECount, SE->getConstant(BECount->getType(), 1));
266 SE->forgetLoop(ParentLoop);
279 SCEVExpander Expander(*SE, "loop-unroll");
LoopSimplify.cpp 79 ScalarEvolution *SE;
134 SE = getAnalysisIfAvailable<ScalarEvolution>();
172 for (succ_iterator SI = succ_begin(*I), SE = succ_end(*I); SI != SE; ++SI)
201 if (SE)
202 SE->forgetLoop(L);
278 if (SE) SE->forgetValue(PN);
341 if (SE)
342 SE->forgetLoop(L)
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
SimplifyIndVar.h 42 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM,
47 bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM,
  /external/llvm/include/llvm/ADT/
SetOperations.h 26 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
27 SI != SE; ++SI)
53 for (typename S1Ty::const_iterator SI = S1.begin(), SE = S1.end();
54 SI != SE; ++SI)
64 for (typename S2Ty::const_iterator SI = S2.begin(), SE = S2.end();
65 SI != SE; ++SI)
  /external/llvm/lib/Analysis/
ScalarEvolutionAliasAnalysis.cpp 33 ScalarEvolution *SE;
37 ScalarEvolutionAliasAnalysis() : FunctionPass(ID), SE(0) {
83 SE = &getAnalysis<ScalarEvolution>();
118 const SCEV *AS = SE->getSCEV(const_cast<Value *>(LocA.Ptr));
119 const SCEV *BS = SE->getSCEV(const_cast<Value *>(LocB.Ptr));
126 if (SE->getEffectiveSCEVType(AS->getType()) ==
127 SE->getEffectiveSCEVType(BS->getType())) {
128 unsigned BitWidth = SE->getTypeSizeInBits(AS->getType());
133 const SCEV *BA = SE->getMinusSCEV(BS, AS);
138 if (ASizeInt.ule(SE->getUnsignedRange(BA).getUnsignedMin()) &
    [all...]
ScalarEvolutionExpander.cpp 79 assert(SE.DT->dominates(Ret, BIP));
94 assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
108 SE.getTypeSizeInBits(Ty) == SE.getTypeSizeInBits(V->getType())) {
112 SE.getTypeSizeInBits(CI->getType()) ==
113 SE.getTypeSizeInBits(CI->getOperand(0)->getType()))
118 SE.getTypeSizeInBits(CE->getType()) ==
119 SE.getTypeSizeInBits(CE->getOperand(0)->getType()))
183 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock()))
    [all...]
ScalarEvolutionNormalization.cpp 70 ScalarEvolution &SE;
77 ScalarEvolution &se, DominatorTree &dt):
78 Kind(kind), Loops(loops), SE(se), DT(dt) {}
99 case scZeroExtend: return SE.getZeroExtendExpr(N, S->getType());
100 case scSignExtend: return SE.getSignExtendExpr(N, S->getType());
101 case scTruncate: return SE.getTruncateExpr(N, S->getType());
119 const SCEV *Result = SE.getAddRecExpr(Operands, L, SCEV::FlagAnyWrap);
124 TransformSubExpr(AR->getStepRecurrence(SE),
126 Result = SE.getMinusSCEV(Result, TransformedStep)
    [all...]
DependenceAnalysis.cpp 129 SE = &getAnalysis<ScalarEvolution>();
333 return SE->getNegativeSCEV(C);
370 A = SE->getConstant(D->getType(), 1);
371 B = SE->getNegativeSCEV(A);
372 C = SE->getNegativeSCEV(D);
383 SE = NewSE;
463 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB());
464 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA());
468 Prod1 = SE->getMulExpr(X->getC(), Y->getB());
469 Prod2 = SE->getMulExpr(X->getB(), Y->getC())
    [all...]
IVUsers.cpp 50 ScalarEvolution *SE, LoopInfo *LI) {
58 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR);
62 return isInteresting(AR->getStart(), I, L, SE, LI) &&
63 !isInteresting(AR->getStepRecurrence(*SE), I, L, SE, LI);
71 if (isInteresting(*OI, I, L, SE, LI)) {
121 if (!SE->isSCEVable(I->getType()))
133 uint64_t Width = SE->getTypeSizeInBits(I->getType());
138 const SCEV *ISE = SE->getSCEV(I);
142 if (!isInteresting(ISE, I, L, SE, LI)
    [all...]
ScalarEvolution.cpp 365 SE->forgetMemoizedResults(this);
368 SE->UniqueSCEVs.RemoveNode(this);
376 SE->forgetMemoizedResults(this);
379 SE->UniqueSCEVs.RemoveNode(this);
681 ScalarEvolution &SE,
685 return SE.getTruncateOrZeroExtend(It, ResultTy);
739 return SE.getCouldNotCompute();
741 unsigned W = SE.getTypeSizeInBits(ResultTy);
772 IntegerType *CalculationTy = IntegerType::get(SE.getContext(),
774 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy)
    [all...]
  /external/llvm/include/llvm/Analysis/
ScalarEvolutionNormalization.h 73 ScalarEvolution &SE,
ScalarEvolutionExpressions.h 300 const SCEV *getStepRecurrence(ScalarEvolution &SE) const {
302 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1,
333 const SCEV *evaluateAtIteration(const SCEV *It, ScalarEvolution &SE) const;
342 ScalarEvolution &SE) const;
346 const SCEVAddRecExpr *getPostIncExpr(ScalarEvolution &SE) const {
347 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE)));
410 /// SE - The parent ScalarEvolution value. This is used to update
413 ScalarEvolution *SE;
420 ScalarEvolution *se, SCEVUnknown *next)
    [all...]
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 69 ScalarEvolution *SE;
79 IndVarSimplify() : LoopPass(ID), LI(0), SE(0), DT(0), TD(0),
173 const SCEV *FromBase = SE->getPointerBase(SE->getSCEV(FromPtr));
174 const SCEV *ToBase = SE->getPointerBase(SE->getSCEV(ToPtr));
459 SE->forgetLoop(L);
512 SE->forgetValue(PN);
534 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop());
535 if (!SE->isLoopInvariant(ExitValue, L)
    [all...]
LoopStrengthReduce.cpp 256 void InitialMatch(const SCEV *S, Loop *L, ScalarEvolution &SE);
277 ScalarEvolution &SE) {
279 if (SE.properlyDominates(S, L->getHeader())) {
288 DoInitialMatch(*I, L, Good, Bad, SE);
295 DoInitialMatch(AR->getStart(), L, Good, Bad, SE);
296 DoInitialMatch(SE.getAddRecExpr(SE.getConstant(AR->getType(), 0),
297 AR->getStepRecurrence(SE),
300 L, Good, Bad, SE);
308 const SCEV *NewMul = SE.getMulExpr(Ops)
    [all...]
LoopIdiomRecognize.cpp 136 ScalarEvolution *SE;
143 TD = 0; DT = 0; SE = 0; TLI = 0; TTI = 0;
192 return SE ? SE : (SE = &getAnalysis<ScalarEvolution>());
231 static void deleteDeadInstruction(Instruction *I, ScalarEvolution &SE,
237 // Before we touch this instruction, remove it from SE!
243 SE.forgetValue(DeadInst);
264 static void deleteIfDeadInstruction(Value *V, ScalarEvolution &SE,
268 deleteDeadInstruction(I, SE, TLI)
    [all...]
LoopUnrollPass.cpp 140 ScalarEvolution *SE = &getAnalysis<ScalarEvolution>();
167 TripCount = SE->getSmallConstantTripCount(L, LatchBlock);
168 TripMultiple = SE->getSmallConstantTripMultiple(L, LatchBlock);
SimplifyCFGPass.cpp 76 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
183 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
210 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI)
  /external/clang/lib/StaticAnalyzer/Core/
SimpleConstraintManager.cpp 29 const SymExpr *SE = SymVal->getSymbol();
31 if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SE)) {
185 const SymIntExpr *SE = dyn_cast<SymIntExpr>(sym);
186 if (!SE)
189 BinaryOperator::Opcode op = SE->getOpcode();
192 QualType T = SE->getType();
195 return assumeSymRel(state, SE, op, zero);
201 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS());
219 if (const SymIntExpr *SE = dyn_cast<SymIntExpr>(Sym))
    [all...]
  /external/llvm/lib/CodeGen/
EdgeBundles.cpp 50 SE = MBB.succ_end(); SI != SE; ++SI)
91 SE = I->succ_end(); SI != SE; ++SI)
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
SymbolManager.h 81 symbol_iterator(const SymExpr *SE);
117 static inline bool classof(const SymExpr *SE) {
118 Kind k = SE->getKind();
147 static inline bool classof(const SymExpr *SE) {
148 return SE->getKind() == RegionValueKind;
193 static inline bool classof(const SymExpr *SE) {
194 return SE->getKind() == ConjuredKind;
227 static inline bool classof(const SymExpr *SE) {
228 return SE->getKind() == DerivedKind;
258 static inline bool classof(const SymExpr *SE) {
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
VLASizeChecker.cpp 92 const Expr *SE = VLA->getSizeExpr();
94 SVal sizeV = state->getSVal(SE, C.getLocationContext());
97 reportBug(VLA_Garbage, SE, state, C);
108 reportBug(VLA_Tainted, SE, 0, C);
119 reportBug(VLA_Zero, SE, stateZero, C);
134 svalBuilder.evalCast(sizeD, SizeTy, SE->getType()).castAs<NonLoc>();
  /external/llvm/utils/TableGen/
SequenceToOffsetTable.h 117 SE = I->first.end(); SI != SE; ++SI) {

Completed in 230 milliseconds

1 2 3 4 5 6