Home
last modified time | relevance | path

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

/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 …]
DLoopAccessAnalysis.cpp1801 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/
DScalarEvolutionExpander.cpp426 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/
DLoopIdiomRecognize.cpp484 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()
DIndVarSimplify.cpp555 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()
DLoopStrengthReduce.cpp3536 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/
DScalarEvolutionExpander.h123 Value *expandCodeFor(const SCEV *SH, Type *Ty, Instruction *I);
196 Value *expandCodeFor(const SCEV *SH, Type *Ty = 0);
/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/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()
DLoopStrengthReduce.cpp2884 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()
DIndVarSimplify.cpp489 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()
DLoopLoadElimination.cpp397 Value *InitialPtr = SEE.expandCodeFor(PtrSCEV->getStart(), Ptr->getType(), in propagateStoredValueToLoadUsers()
DLoopRerollPass.cpp1503 Expander.expandCodeFor(NewIVSCEV, InstIV->getType(), &Header->front()); in replaceIV()
1545 Value *ICMinusPlus1 = Expander.expandCodeFor( in replaceIV()
/external/llvm/test/Transforms/LoopVectorize/
Dvalue-ptr-bug.ll9 ; SCEVExpander::expandCodeFor would change a value (the start value of an
/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/llvm/lib/Target/PowerPC/
DPPCLoopPreIncPrep.cpp340 Value *BasePtrStart = SCEVE.expandCodeFor(BasePtrStartSCEV, I8PtrTy, in runOnLoop()
DPPCCTRLoops.cpp592 SCEVE.expandCodeFor(ExitCount, CountType, Preheader->getTerminator()); in convertToCTRLoop()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1956 Step = Exp.expandCodeFor(ID.getStep(), ID.getStep()->getType(), in widenIntInduction()
2789 TripCount = Exp.expandCodeFor(ExitCount, ExitCount->getType(), in getOrCreateTripCount()