/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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 456 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 511 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 736 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 742 Value *W = expandCodeFor(Op, Ty); in visitAddExpr() 793 Value *P = expandCodeFor(I->second, Ty); in visitMulExpr() 841 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr() 849 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr() 1246 Value *StartV = expandCodeFor(Normalized->getStart(), ExpandTy, in getAddRecExprPHILiterally() 1265 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally() 1411 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally() [all …]
|
D | LoopAccessAnalysis.cpp | 2081 ? Exp.expandCodeFor(Sc, PtrArithTy, Loc) in expandBounds() 2085 Value *NewPtrPlusOne = Exp.expandCodeFor(ScPlusOne, PtrArithTy, Loc); in expandBounds() 2090 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds() 2091 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()
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpander.h | 204 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 210 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()
|
/external/llvm/test/Transforms/LoopVectorize/ |
D | value-ptr-bug.ll | 9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/ |
D | value-ptr-bug.ll | 9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 890 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore() 913 Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator()); in processLoopStridedStore() 998 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1020 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1041 Expander.expandCodeFor(NumBytesS, IntPtrTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
|
D | LoopPredication.cpp | 389 Value *LHSV = Expander.expandCodeFor(LHS, Ty, InsertAt); in expandCheck() 390 Value *RHSV = Expander.expandCodeFor(RHS, Ty, InsertAt); in expandCheck()
|
D | LoopDataPrefetch.cpp | 311 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
|
D | LoopRerollPass.cpp | 1451 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace() 1459 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace() 1485 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
|
D | LoopStrengthReduce.cpp | 3161 Value *IncV = Rewriter.expandCodeFor(LeftOverExpr, IntTy, InsertPt); in GenerateIVChain() 3164 IVOper = Rewriter.expandCodeFor(IVOperExpr, IVTy, InsertPt); in GenerateIVChain() 5040 Ops.push_back(SE.getUnknown(Rewriter.expandCodeFor(Reg, nullptr))); in Expand() 5056 SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr))); in Expand() 5063 ICmpScaledV = Rewriter.expandCodeFor(ScaledS, nullptr); in Expand() 5073 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), nullptr); in Expand() 5077 ScaledS = SE.getUnknown(Rewriter.expandCodeFor(ScaledS, nullptr)); in Expand() 5089 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand() 5099 Value *FullV = Rewriter.expandCodeFor(SE.getAddExpr(Ops), Ty); in Expand() 5135 Value *FullV = Rewriter.expandCodeFor(FullS, Ty); in Expand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 192 Exp.expandCodeFor(cast<SCEVAddExpr>(S)->getOperand(1), nullptr, Br); in TEST_F() 785 Exp.expandCodeFor(AddRec, T_pint64, Ret); in TEST_F() 1235 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F() 1287 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F() 1338 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F() 1389 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F()
|
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 678 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 680 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
|