/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 443 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 498 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 718 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 724 Value *W = expandCodeFor(Op, Ty); in visitAddExpr() 763 Value *W = expandCodeFor(Op, Ty); in visitMulExpr() 785 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr() 793 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr() 1188 expandCodeFor(Normalized->getStart(), ExpandTy, &L->getHeader()->front()); in getAddRecExprPHILiterally() 1205 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally() 1347 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally() [all …]
|
D | LoopAccessAnalysis.cpp | 1801 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds() 1802 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 426 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 496 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 749 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 755 Value *W = expandCodeFor(Op, Ty); in visitAddExpr() 797 Value *W = expandCodeFor(Op, Ty); in visitMulExpr() 812 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr() 820 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr() 988 Value *StartV = expandCodeFor(Normalized->getStart(), ExpandTy, in getAddRecExprPHILiterally() 1006 Value *StepV = expandCodeFor(Step, IntTy, L->getHeader()->begin()); in getAddRecExprPHILiterally() 1137 expandCodeFor(PostLoopScale, IntTy)); in expandAddRecExprLiterally() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 484 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore() 511 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore() 573 Expander.expandCodeFor(StoreEv->getStart(), in processLoopStoreOfLoopLoad() 589 Expander.expandCodeFor(LoadEv->getStart(), in processLoopStoreOfLoopLoad() 617 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
|
D | IndVarSimplify.cpp | 555 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in RewriteLoopExitValues() 683 Value *NewVal = Rewriter.expandCodeFor(AR, UseTy, InsertPt); in RewriteIVExpressions() 1133 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in CreateWideIV() 1593 Value *ExitCnt = Rewriter.expandCodeFor(IVLimit, CmpTy, BI); in LinearFunctionTestReplace()
|
D | LoopStrengthReduce.cpp | 3536 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, 0, IP))); in Expand() 3541 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 3563 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, 0, IP); in Expand() 3567 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, 0, IP)); in Expand() 3573 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 3584 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, IP); in Expand() 3620 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, IP); in Expand()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 123 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 196 Value *expandCodeFor(const SCEV *SH, Type *Ty = 0);
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 197 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 320 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 780 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore() 803 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore() 886 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 908 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 933 Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
|
D | LoopDataPrefetch.cpp | 280 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
|
D | InductiveRangeCheckElimination.cpp | 807 .expandCodeFor(IndVarStart, IndVarTy, Preheader->getTerminator()); in parseLoopStructure() 1201 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run() 1220 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
|
D | LoopStrengthReduce.cpp | 2884 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() 2887 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 4476 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr, &*IP))); in Expand() 4494 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, &*IP))); in Expand() 4501 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr, &*IP); in Expand() 4511 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand() 4515 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr, &*IP)); in Expand() 4527 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand() 4537 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty, &*IP); in Expand() 4573 Value *FullV = Rewriter.expandCodeFor(FullS, Ty, &*IP); in Expand()
|
D | IndVarSimplify.cpp | 489 return Rewriter.expandCodeFor(S, ResultTy, InsertPt); in expandSCEVIfNeeded() 1428 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in createWideIV() 1850 Value *GEPOffset = Rewriter.expandCodeFor(IVOffset, OfsTy, BI); in genLoopLimit() 1901 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit()
|
D | LoopLoadElimination.cpp | 397 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
|
D | LoopRerollPass.cpp | 1503 Expander.expandCodeFor(NewIVSCEV, InstIV->getType(), &Header->front()); in replaceIV() 1545 Value *ICMinusPlus1 = Expander.expandCodeFor( in replaceIV()
|
/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/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 544 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 546 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
|
D | LoopUtils.cpp | 717 return Exp.expandCodeFor(S, StartValue->getType(), &*B.GetInsertPoint()); in transform() 725 Index = Exp.expandCodeFor(S, Index->getType(), &*B.GetInsertPoint()); in transform()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 340 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in runOnLoop()
|
D | PPCCTRLoops.cpp | 592 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 1956 Step = Exp.expandCodeFor(ID.getStep(), ID.getStep()->getType(), in widenIntInduction() 2789 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()
|