/aosp_15_r20/external/llvm/lib/Analysis/ |
H A 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 …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | ScalarEvolutionExpander.cpp | 460 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 515 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 740 Value *W = expandCodeFor(SE.getNegativeSCEV(Op), Ty); in visitAddExpr() 747 Value *W = expandCodeFor(Op, Ty); in visitAddExpr() 799 Value *P = expandCodeFor(I->second, Ty); in visitMulExpr() 858 Value *LHS = expandCodeFor(S->getLHS(), Ty); in visitUDivExpr() 867 Value *RHS = expandCodeFor(S->getRHS(), Ty); in visitUDivExpr() 1265 Value *StartV = expandCodeFor(Normalized->getStart(), ExpandTy, in getAddRecExprPHILiterally() 1284 Value *StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in getAddRecExprPHILiterally() 1430 StepV = expandCodeFor(Step, IntTy, &L->getHeader()->front()); in expandAddRecExprLiterally() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/llvm/Transforms/Utils/ |
D | ScalarEvolutionExpander.h | 305 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I); 306 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 307 return expandCodeFor(SH, Ty, I->getIterator()); 314 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/Transforms/Utils/ |
D | ScalarEvolutionExpander.h | 305 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I); 306 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 307 return expandCodeFor(SH, Ty, I->getIterator()); 314 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/Transforms/Utils/ |
D | ScalarEvolutionExpander.h | 305 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I); 306 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 307 return expandCodeFor(SH, Ty, I->getIterator()); 314 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/Transforms/Utils/ |
D | ScalarEvolutionExpander.h | 279 Value *expandCodeFor(const SCEV *SH, Type *Ty, BasicBlock::iterator I); 280 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 281 return expandCodeFor(SH, Ty, I->getIterator()); 288 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp_15_r20/external/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 197 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 320 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpander.h | 207 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I); 213 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopPredication.cpp | 415 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck() 416 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck() 1161 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1163 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
|
H A D | LoopIdiomRecognize.cpp | 922 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore() 945 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore() 1037 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1059 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1080 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
|
H A D | IndVarSimplify.cpp | 675 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst); in rewriteLoopExitValues() 1771 WidePhi = cast<PHINode>(Rewriter.expandCodeFor(AddRec, WideType, InsertPt)); in createWideIV() 2369 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit() 2413 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit() 2957 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 2959 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
|
H A D | LoopRerollPass.cpp | 1461 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace() 1469 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace() 1495 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/ |
H A D | LoopPredication.cpp | 432 Expander.expandCodeFor(LHS, Ty, findInsertPt(Expander, Guard, {LHS})); in expandCheck() 434 Expander.expandCodeFor(RHS, Ty, findInsertPt(Expander, Guard, {RHS})); in expandCheck() 1228 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1230 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
|
H A D | IndVarSimplify.cpp | 1009 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit() 1052 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit() 1364 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond() 1365 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond() 1981 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits() 1983 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
|
H A D | LoopIdiomRecognize.cpp | 1140 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore() 1169 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore() 1367 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1420 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad() 1455 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad() 2855 Value *ExtraOffset = Expander.expandCodeFor(ExtraOffsetExpr); in recognizeShiftUntilZero()
|
H A D | LoopRerollPass.cpp | 1473 Expander.expandCodeFor(NewIVSCEV, BackedgeTakenCount->getType(), in replace() 1481 Expander.expandCodeFor(ScaledBECount, BackedgeTakenCount->getType(), in replace() 1507 Value *NewIV = Expander.expandCodeFor(NewIVSCEV, Inst->getType(), in replaceIV()
|
H A D | InductiveRangeCheckElimination.cpp | 1031 Expander.expandCodeFor(FixedRightSCEV, FixedRightSCEV->getType(), Ins); in parseLoopStructure() 1033 Value *IndVarStartV = Expander.expandCodeFor(IndVarStart, IndVarTy, Ins); in parseLoopStructure() 1466 ExitPreLoopAt = Expander.expandCodeFor(ExitPreLoopAtSCEV, IVTy, InsertPt); in run() 1493 ExitMainLoopAt = Expander.expandCodeFor(ExitMainLoopAtSCEV, IVTy, InsertPt); in run()
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.h | 279 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) { 287 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr) {
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/ |
H A D | LoopUtils.cpp | 1423 Value *ExitVal = Rewriter.expandCodeFor( in rewriteLoopExitValues() 1583 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds() 1584 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds() 1685 Value *Sink = Expander.expandCodeFor(C.SinkStart, Ty, Loc); in addDiffRuntimeChecks() 1686 Value *Src = Expander.expandCodeFor(C.SrcStart, Ty, Loc); in addDiffRuntimeChecks()
|
/aosp_15_r20/external/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollRuntime.cpp | 544 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 546 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
|
/aosp_15_r20/external/llvm/test/Transforms/LoopVectorize/ |
H A D | value-ptr-bug.ll | 9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | LoopUnrollRuntime.cpp | 714 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder() 716 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
|