/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 432 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 487 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 719 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 725 Value *W = expandCodeFor(Op, Ty); in visitAddExpr() 767 Value *W = expandCodeFor(Op, Ty); in visitMulExpr() 782 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr() 790 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr() 1163 Value *StartV = expandCodeFor(Normalized->getStart(), ExpandTy, in getAddRecExprPHILiterally() 1181 Value *StepV = expandCodeFor(Step, IntTy, L->getHeader()->begin()); in getAddRecExprPHILiterally() 1317 StepV = expandCodeFor(Step, IntTy, L->getHeader()->begin()); in expandAddRecExprLiterally() [all …]
|
D | LoopAccessAnalysis.cpp | 1244 Value *Start = Exp.expandCodeFor(PtrRtCheck.Starts[i], PtrArithTy, Loc); in addRuntimeCheck() 1245 Value *End = Exp.expandCodeFor(PtrRtCheck.Ends[i], PtrArithTy, Loc); in addRuntimeCheck()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 147 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 231 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 948 Expander.expandCodeFor(Ev->getStart(), DestInt8PtrTy, in processLoopStridedStore() 975 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore() 1045 Expander.expandCodeFor(StoreEv->getStart(), in processLoopStoreOfLoopLoad() 1061 Expander.expandCodeFor(LoadEv->getStart(), in processLoopStoreOfLoopLoad() 1089 Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
|
D | LoopRerollPass.cpp | 1284 Value *NewIV = Expander.expandCodeFor(H, IV->getType(), Header->begin()); in replace() 1302 ICMinus1 = Expander.expandCodeFor(ICMinus1SCEV, NewIV->getType(), BI); in replace() 1308 ICMinus1 = Expander.expandCodeFor(ICMinus1SCEV, NewIV->getType(), in replace()
|
D | IndVarSimplify.cpp | 598 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in RewriteLoopExitValues() 1152 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in CreateWideIV() 1579 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit() 1630 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit()
|
D | InductiveRangeCheckElimination.cpp | 829 .expandCodeFor(IndVarStart, IndVarTy, &*Preheader->rbegin()); in parseLoopStructure() 1223 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run() 1242 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
|
D | LoopStrengthReduce.cpp | 2927 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() 2930 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 4563 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr, IP))); in Expand() 4581 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, IP))); in Expand() 4588 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr, IP); in Expand() 4598 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 4602 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, IP)); in Expand() 4614 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 4624 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 4660 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, IP); in Expand()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 351 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopProlog() 353 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopProlog()
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | value-ptr-bug.ll | 9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopDataPrefetch.cpp | 214 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
|
D | PPCLoopPreIncPrep.cpp | 292 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in runOnLoop()
|
D | PPCCTRLoops.cpp | 544 Value *ECValue = SCEVE.expandCodeFor(ExitCount, CountType, in convertToCTRLoop()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2133 Exp.expandCodeFor(BackedgeTakeCount, BackedgeTakeCount->getType(), in createEmptyLoop() 2162 Value *Count = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in createEmptyLoop()
|