Home
last modified time | relevance | path

Searched refs:expandCodeFor (Results 1 – 25 of 57) sorted by relevance

123

/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp443 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-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp460 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 …]
/external/llvm-project/llvm/unittests/Transforms/Utils/
DScalarEvolutionExpanderTest.cpp122 Exp.expandCodeFor(cast<SCEVAddExpr>(S)->getOperand(1), nullptr, Br); in TEST_F()
206 Exp.expandCodeFor(AddRec, T_pint64, Ret); in TEST_F()
285 Exp.expandCodeFor(SE.getSCEV(Add), nullptr, Ret); in TEST_F()
337 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F()
389 auto *I = cast<Instruction>(Exp.expandCodeFor(S, nullptr, R)); in TEST_F()
440 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F()
491 auto *I = cast<Instruction>(Exp.expandCodeFor(SC1, nullptr, R)); in TEST_F()
533 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F()
584 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F()
666 Exp.expandCodeFor(AR, nullptr, InsertAt); in TEST_F()
[all …]
/external/llvm-project/polly/lib/Support/
DScopHelper.cpp249 Value *expandCodeFor(const SCEV *E, Type *Ty, Instruction *I) { in expandCodeFor() function
255 return Expander.expandCodeFor(E, Ty, I); in expandCodeFor()
290 auto *OpClone = expandCodeFor(OpSCEV, Op->getType(), IP); in visitGenericInst()
331 Value *LHS = expandCodeFor(LHSScev, E->getType(), IP); in visitUnknown()
332 Value *RHS = expandCodeFor(RHSScev, E->getType(), IP); in visitUnknown()
407 Value *polly::expandCodeFor(Scop &S, ScalarEvolution &SE, const DataLayout &DL, in expandCodeFor() function in polly
412 return Expander.expandCodeFor(E, Ty, IP); in expandCodeFor()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h197 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
320 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h207 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
213 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DScalarEvolutionExpander.h271 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I) {
279 Value *expandCodeFor(const SCEV *SH, Type *Ty = nullptr) {
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp780 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()
DLoopDataPrefetch.cpp280 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
DInductiveRangeCheckElimination.cpp807 .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()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp416 Value *LHSV = Expander.expandCodeFor(LHS, Ty, findInsertPt(Guard, {LHS})); in expandCheck()
417 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck()
1155 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1157 MinECV = Rewriter.expandCodeFor(MinEC); in predicateLoopExits()
DIndVarSimplify.cpp1009 return Rewriter.expandCodeFor(IVLimit, IndVar->getType(), BI); in genLoopLimit()
1053 return Rewriter.expandCodeFor(IVLimit, LimitTy, BI); in genLoopLimit()
1317 auto *LHSV = Rewriter.expandCodeFor(InvariantLHS); in replaceWithInvariantCond()
1318 auto *RHSV = Rewriter.expandCodeFor(InvariantRHS); in replaceWithInvariantCond()
1700 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1702 ExactBTCV = Rewriter.expandCodeFor(ExactBTC); in predicateLoopExits()
DLoopIdiomRecognize.cpp965 Expander.expandCodeFor(Start, DestInt8PtrTy, Preheader->getTerminator()); in processLoopStridedStore()
994 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStridedStore()
1101 Value *StoreBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1128 Value *LoadBasePtr = Expander.expandCodeFor( in processLoopStoreOfLoopLoad()
1144 Expander.expandCodeFor(NumBytesS, IntIdxTy, Preheader->getTerminator()); in processLoopStoreOfLoopLoad()
/external/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp415 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()
DLoopIdiomRecognize.cpp922 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()
DLoopDataPrefetch.cpp311 Value *PrefPtrValue = SCEVE.expandCodeFor(NextLSCEV, I8Ptr, MemI); in runOnLoop()
DIndVarSimplify.cpp675 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()
DLoopRerollPass.cpp1461 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()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopUtils.cpp1426 Phi.Expansion = Rewriter.expandCodeFor(Phi.ExpansionSCEV, Phi.PN->getType(), in rewriteLoopExitValues()
1625 ? Exp.expandCodeFor(Sc, PtrArithTy, Loc) in expandBounds()
1629 Value *NewPtrPlusOne = Exp.expandCodeFor(ScPlusOne, PtrArithTy, Loc); in expandBounds()
1634 Start = Exp.expandCodeFor(CG->Low, PtrArithTy, Loc); in expandBounds()
1635 End = Exp.expandCodeFor(CG->High, PtrArithTy, Loc); in expandBounds()
DLoopUnrollRuntime.cpp740 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
742 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp544 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
546 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()
DLoopUtils.cpp717 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-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp714 Value *TripCount = Expander.expandCodeFor(TripCountSC, TripCountSC->getType(), in UnrollRuntimeLoopRemainder()
716 Value *BECount = Expander.expandCodeFor(BECountSC, BECountSC->getType(), in UnrollRuntimeLoopRemainder()

123