/external/llvm/include/llvm/Analysis/ |
H A D | LoopDependenceAnalysis.h | 40 ScalarEvolution *SE; member in class:llvm::LoopDependenceAnalysis
|
H A D | IVUsers.h | 125 ScalarEvolution *SE; member in class:llvm::IVUsers
|
H A D | ScalarEvolutionExpander.h | 38 ScalarEvolution &SE; member in class:llvm::SCEVExpander 93 : SE(se), IVName(name), IVIncInsertLoop(0), IVIncInsertPos(0), 189 LLVMContext &getContext() const { return SE.getContext(); }
|
H A D | ScalarEvolutionExpressions.h | 310 const SCEV *getStepRecurrence(ScalarEvolution &SE) const { 312 return SE.getAddRecExpr(SmallVector<const SCEV *, 3>(op_begin()+1, 343 const SCEV *evaluateAtIteration(const SCEV *It, ScalarEvolution &SE) const; 352 ScalarEvolution &SE) const; 356 const SCEVAddRecExpr *getPostIncExpr(ScalarEvolution &SE) const { 357 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE))); 423 /// SE - The parent ScalarEvolution value. This is used to update 426 ScalarEvolution *SE; member in class:llvm::SCEVUnknown 434 SCEV(ID, scUnknown), CallbackVH(V), SE(s [all...] |
H A D | ScalarEvolution.h | 209 ScalarEvolution *SE; member in class:llvm::ScalarEvolution::SCEVCallbackVH 213 SCEVCallbackVH(Value *V, ScalarEvolution *SE = 0); 331 const SCEV *getExact(ScalarEvolution *SE) const; 337 const SCEV *getExact(BasicBlock *ExitingBlock, ScalarEvolution *SE) const; 340 const SCEV *getMax(ScalarEvolution *SE) const;
|
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolutionAliasAnalysis.cpp | 33 ScalarEvolution *SE; member in class:__anon8625::ScalarEvolutionAliasAnalysis 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 [all...] |
H A D | ScalarEvolutionNormalization.cpp | 70 ScalarEvolution &SE; member in class:__anon8628::PostIncTransform 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); 141 TransformSubExpr(AR->getStepRecurrence(SE), 143 Result = SE 214 TransformForPostIncUse(TransformKind Kind, const SCEV *S, Instruction *User, Value *OperandValToReplace, PostIncLoopSet &Loops, ScalarEvolution &SE, DominatorTree &DT) argument [all...] |
H A D | 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, L 49 isInteresting(const SCEV *S, const Instruction *I, const Loop *L, ScalarEvolution *SE, LoopInfo *LI) argument [all...] |
H A D | LoopDependenceAnalysis.cpp | 105 static inline const SCEV *GetZeroSCEV(ScalarEvolution *SE) { argument 106 return SE->getConstant(Type::getInt32Ty(SE->getContext()), 0L); 141 if (!SE->isLoopInvariant(S, L)) 262 const SCEV* aSCEV = (aIdx != aEnd) ? SE->getSCEV(*aIdx) : GetZeroSCEV(SE); 263 const SCEV* bSCEV = (bIdx != bEnd) ? SE->getSCEV(*bIdx) : GetZeroSCEV(SE); 317 SE = &getAnalysis<ScalarEvolution>();
|
H A D | ProfileInfo.cpp | 98 succ_const_iterator SI = succ_begin(BB), SE = succ_end(BB); local 101 if (SI == SE) { 107 for (; SI != SE; ++SI)
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 91 const Expr *SE = VLA->getSizeExpr(); local 93 SVal sizeV = state->getSVal(SE, C.getLocationContext()); 96 reportBug(VLA_Garbage, SE, state, C); 107 reportBug(VLA_Tainted, SE, 0, C); 118 reportBug(VLA_Zero, SE, stateZero, C); 133 SE->getType()));
|
H A D | IdempotentOperationChecker.cpp | 660 const UnaryExprOrTypeTraitExpr *SE = local 662 if (SE->getKind() != UETT_SizeOf) 664 return SE->getTypeOfArgument()->isVariableArrayType();
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 29 const SymExpr *SE = SymVal->getSymbol(); local 31 if (const SymIntExpr *SIE = dyn_cast<SymIntExpr>(SE)) { 184 const SymIntExpr *SE = dyn_cast<SymIntExpr>(sym); local 185 if (!SE) 188 BinaryOperator::Opcode op = SE->getOpcode(); 191 QualType T = SE->getType(BasicVals.getContext()); 194 return assumeSymRel(state, SE, op, zero); 200 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS()); 218 if (const SymIntExpr *SE [all...] |
H A D | SymbolManager.cpp | 118 SymExpr::symbol_iterator::symbol_iterator(const SymExpr *SE) { argument 119 itr.push_back(SE); 134 const SymExpr *SE = itr.back(); local 137 switch (SE->getKind()) { 145 itr.push_back(cast<SymbolCast>(SE)->getOperand()); 148 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); 151 itr.push_back(cast<IntSymExpr>(SE)->getRHS()); 154 const SymSymExpr *x = cast<SymSymExpr>(SE);
|
H A D | ExprEngine.cpp | 906 const StmtExpr *SE = cast<StmtExpr>(S); local 908 if (SE->getSubStmt()->body_empty()) { 910 assert(SE->getType() == getContext().VoidTy 915 if (Expr *LastExpr = dyn_cast<Expr>(*SE->getSubStmt()->body_rbegin())) { 917 Bldr.generateNode(SE, Pred, 918 state->BindExpr(SE, Pred->getLocationContext(),
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 135 ScalarEvolution *SE = &getAnalysis<ScalarEvolution>(); local 159 TripCount = SE->getSmallConstantTripCount(L, LatchBlock); 160 TripMultiple = SE->getSmallConstantTripMultiple(L, LatchBlock);
|
H A D | LoopIdiomRecognize.cpp | 70 ScalarEvolution *SE; member in class:__anon9099::LoopIdiomRecognize 135 static void deleteDeadInstruction(Instruction *I, ScalarEvolution &SE, argument 141 // Before we touch this instruction, remove it from SE! 147 SE.forgetValue(DeadInst); 168 static void deleteIfDeadInstruction(Value *V, ScalarEvolution &SE, argument 172 deleteDeadInstruction(I, SE, TLI); 184 SE = &getAnalysis<ScalarEvolution>(); 185 if (!SE->hasLoopInvariantBackedgeTakenCount(L)) 187 const SCEV *BECount = SE->getBackedgeTakenCount(L); 286 dyn_cast<SCEVAddRecExpr>(SE [all...] |
/external/llvm/unittests/Analysis/ |
H A D | ScalarEvolutionTest.cpp | 27 ScalarEvolutionsTest() : M("", Context), SE(*new ScalarEvolution) {} 31 SE.releaseMemory(); 36 ScalarEvolution &SE; member in class:llvm::__anon9251::ScalarEvolutionsTest 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 [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnroll.cpp | 99 if (ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>()) { 101 SE->forgetLoop(L); 210 ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>(); local 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 local [all...] |
H A D | SimplifyIndVar.cpp | 46 ScalarEvolution *SE; member in class:__anon9166::SimplifyIndvar 54 SimplifyIndvar(Loop *Loop, ScalarEvolution *SE, LPPassManager *LPM, argument 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 292 isSimpleIVUser(Instruction *I, const Loop *L, ScalarEvolution *SE) argument 373 simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM, SmallVectorImpl<WeakVH> &Dead, IVVisitor *V) argument 384 simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM, SmallVectorImpl<WeakVH> &Dead) argument [all...] |
H A D | LoopSimplify.cpp | 78 ScalarEvolution *SE; member in struct:__anon9157::LoopSimplify 132 SE = getAnalysisIfAvailable<ScalarEvolution>(); 170 for (succ_iterator SI = succ_begin(*I), SE = succ_end(*I); SI != SE; ++SI) 271 if (SE) SE->forgetValue(PN); 334 if (SE) 335 SE->forgetLoop(L); 570 if (SE) 571 SE [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 147 const SymExpr *SE = getAsSymbolicExpression(); local 148 if (SE) 149 return SE->symbol_begin();
|
H A D | SymbolManager.h | 84 symbol_iterator(const SymExpr *SE); 120 static inline bool classof(const SymExpr *SE) { argument 121 Kind k = SE->getKind(); 150 static inline bool classof(const SymExpr *SE) { argument 151 return SE->getKind() == RegionValueKind; 196 static inline bool classof(const SymExpr *SE) { argument 197 return SE->getKind() == ConjuredKind; 230 static inline bool classof(const SymExpr *SE) { argument 231 return SE->getKind() == DerivedKind; 261 static inline bool classof(const SymExpr *SE) { argument 306 classof(const SymExpr *SE) argument 342 classof(const SymExpr *SE) argument 385 classof(const SymExpr *SE) argument 426 classof(const SymExpr *SE) argument 467 classof(const SymExpr *SE) argument 669 operator <<(raw_ostream &os, const clang::ento::SymExpr *SE) argument [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransAutoreleasePool.cpp | 302 Stmt::child_iterator SI = scope.End, SE = compoundS->body_end(); local 306 if (SI != SE) 315 for (; SI != SE; ++SI) {
|
/external/llvm/lib/CodeGen/ |
H A D | RegAllocGreedy.cpp | 172 std::auto_ptr<SplitEditor> SE; member in class:__anon8706::RAGreedy 952 /// stack-bound bundles. The shared SA/SE SplitAnalysis and SplitEditor 1003 SE->splitSingleBlock(BI); 1008 SE->splitLiveThroughBlock(Number, IntvIn, IntfIn, IntvOut, IntfOut); 1010 SE->splitRegInBlock(BI, IntvIn, IntfIn); 1012 SE->splitRegOutBlock(BI, IntvOut, IntfOut); 1047 SE->splitLiveThroughBlock(Number, IntvIn, IntfIn, IntvOut, IntfOut); 1054 SE->finish(&IntvMap); 1192 SE->reset(LREdit, SplitSpillMode); 1202 Cand.IntvIdx = SE [all...] |