Home
last modified time | relevance | path

Searched refs:SCEVExpander (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h63 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value *> {
133 SCEVExpander *SE;
139 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
167 friend struct SCEVVisitor<SCEVExpander, Value *>;
171 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
184 ~SCEVExpander() {
501 SCEVExpander &Expander;
510 SCEVExpanderCleaner(SCEVExpander &Expander, DominatorTree &DT)
H A DSimplifyIndVar.h30 class SCEVExpander; variable
54 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
78 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
H A DLoopUtils.h42 class SCEVExpander; variable
431 SCEVExpander &Rewriter, DominatorTree *DT,
491 SCEVExpander &Expander);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp284 Value *expandCheck(SCEVExpander &Expander, Instruction *Guard,
288 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
292 SCEVExpander &Expander,
296 SCEVExpander &Expander,
299 SCEVExpander &Expander, Instruction *Guard);
300 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
301 bool widenWidenableBranchGuardConditions(BranchInst *Guard, SCEVExpander &Expander);
308 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
400 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck()
565 SCEVExpander &Expander, Instruction *Guard) { in widenICmpRangeCheckIncrementingLoop()
[all …]
H A DIndVarSimplify.cpp157 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
159 bool optimizeLoopExits(Loop *L, SCEVExpander &Rewriter);
162 bool predicateLoopExits(Loop *L, SCEVExpander &Rewriter);
168 PHINode *IndVar, SCEVExpander &Rewriter);
596 SCEVExpander &Rewriter, in simplifyAndExtend()
975 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit()
1066 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace()
1314 const SCEV *InvariantLHS, const SCEV *InvariantRHS, SCEVExpander &Rewriter, in replaceWithInvariantCond()
1332 ScalarEvolution *SE, SCEVExpander &Rewriter, in optimizeLoopExitWithUnknownExitCount()
1397 bool IndVarSimplify::optimizeLoopExits(Loop *L, SCEVExpander &Rewriter) { in optimizeLoopExits()
[all …]
H A DLoopLoadElimination.cpp414 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
583 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(), in processLoop()
H A DLoopStrengthReduce.cpp1967 void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
2043 SCEVExpander &Rewriter) const;
2046 BasicBlock::iterator IP, SCEVExpander &Rewriter,
2049 const Formula &F, SCEVExpander &Rewriter,
2052 SCEVExpander &Rewriter,
3151 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter, in GenerateIVChain()
5137 SCEVExpander &Rewriter) const { in AdjustInsertPositionForExpand()
5200 SCEVExpander &Rewriter, in Expand()
5379 SCEVExpander &Rewriter, SmallVectorImpl<WeakTrackingVH> &DeadInsts) const { in RewriteForPHI()
5494 const Formula &F, SCEVExpander &Rewriter, in Rewrite()
[all …]
H A DLoopDataPrefetch.cpp393 SCEVExpander SCEVE(*SE, BB->getModule()->getDataLayout(), "prefaddr"); in runOnLoop()
H A DLoopRerollPass.cpp1477 SCEVExpander Expander(*SE, DL, "reroll"); in replace()
1515 SCEVExpander Expander(*SE, DL, "reroll"); in replaceIV()
H A DNaryReassociate.cpp625 SCEVExpander Expander(*SE, *DL, "nary-reassociate"); in tryReassociateMinOrMax()
H A DLoopIdiomRecognize.cpp1049 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
1198 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
2646 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in recognizeShiftUntilZero()
H A DLoopFlatten.cpp603 SCEVExpander Rewriter(*SE, DL, "loopflatten"); in CanWidenIV()
H A DInductiveRangeCheckElimination.cpp1025 SCEVExpander Expander(SE, DL, "irce"); in parseLoopStructure()
1424 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce"); in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp44 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
94 SCEVExpander::findInsertPointAfter(Instruction *I, in findInsertPointAfter()
121 SCEVExpander::GetOptimalInsertionPointForCastOf(Value *V) const { in GetOptimalInsertionPointForCastOf()
151 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
213 Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode, in InsertBinop()
445 Value *SCEVExpander::expandAddToGEP(const SCEV *const *op_begin, in expandAddToGEP()
640 Value *SCEVExpander::expandAddToGEP(const SCEV *Op, PointerType *PTy, Type *Ty, in expandAddToGEP()
662 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
732 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
804 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
[all …]
H A DSimplifyIndVar.cpp58 SCEVExpander &Rewriter;
66 SCEVExpander &Rewriter, in SimplifyIndvar()
964 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
976 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()
1085 PHINode *createWideIV(SCEVExpander &Rewriter);
1110 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1695 Instruction *WidenIV::widenIVUse(WidenIV::NarrowIVDefUse DU, SCEVExpander &Rewriter) { in widenIVUse()
1875 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
2088 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter, in createWideIV()
H A DLoopVersioning.cpp64 SCEVExpander Exp2(*RtPtrChecking.getSE(), in versionLoop()
70 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
H A DLoopUtils.cpp1296 SCEVExpander &Rewriter, DominatorTree *DT, in rewriteLoopExitValues()
1586 SCEVExpander &Exp) { in expandBounds()
1626 Instruction *Loc, SCEVExpander &Exp) { in expandBounds()
1644 SCEVExpander &Exp) { in addRuntimeChecks()
H A DLoopUnrollRuntime.cpp672 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DHardwareLoops.cpp383 SCEVExpander SCEVE(SE, DL, "loopcnt"); in InitLoopCount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp552 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), "pistart"); in rewriteLoadStores()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1917 SCEVExpander SCEVExp;
1918 SCEVExpander MemCheckExp;
2409 SCEVExpander Exp(*PSE.getSE(), DL, "induction"); in widenIntOrFpInduction()
3126 SCEVExpander Exp(*SE, DL, "induction"); in getOrCreateTripCount()
3338 SCEVExpander Exp(*SE, DL, "induction"); in emitTransformedIndex()
4887 SCEVExpander Exp(*PSE.getSE(), DL, "induction"); in widenPHIInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1210 friend class SCEVExpander;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2052 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore()