Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpander.h46 class SCEVExpander : public SCEVVisitor<SCEVExpander, Value*> {
104 SCEVExpander *SE;
110 SCEVInsertPointGuard(IRBuilderBase &B, SCEVExpander *SE) in SCEVInsertPointGuard()
138 friend struct SCEVVisitor<SCEVExpander, Value*>;
142 explicit SCEVExpander(ScalarEvolution &se, const DataLayout &DL,
152 ~SCEVExpander() {
H A DScalarEvolution.h1086 friend class SCEVExpander;
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp262 Value *expandCheck(SCEVExpander &Expander, IRBuilder<> &Builder,
266 Optional<Value *> widenICmpRangeCheck(ICmpInst *ICI, SCEVExpander &Expander,
270 SCEVExpander &Expander,
274 SCEVExpander &Expander,
276 bool widenGuardConditions(IntrinsicInst *II, SCEVExpander &Expander);
382 Value *LoopPredication::expandCheck(SCEVExpander &Expander, in expandCheck()
437 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckIncrementingLoop()
476 SCEVExpander &Expander, IRBuilder<> &Builder) { in widenICmpRangeCheckDecrementingLoop()
514 SCEVExpander &Expander, in widenICmpRangeCheck()
578 SCEVExpander &Expander) { in widenGuardConditions()
[all …]
H A DIndVarSimplify.cpp145 bool simplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LoopInfo *LI);
148 bool rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
154 PHINode *IndVar, SCEVExpander &Rewriter);
564 bool IndVarSimplify::rewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) { in rewriteLoopExitValues()
995 PHINode *createWideIV(SCEVExpander &Rewriter);
1017 Instruction *widenIVUse(NarrowIVDefUse DU, SCEVExpander &Rewriter);
1675 PHINode *WidenIV::createWideIV(SCEVExpander &Rewriter) { in createWideIV()
1919 SCEVExpander &Rewriter, in simplifyAndExtend()
2284 SCEVExpander &Rewriter, ScalarEvolution *SE) { in genLoopLimit()
2372 PHINode *IndVar, SCEVExpander &Rewriter) { in linearFunctionTestReplace()
[all …]
H A DLoopLoadElimination.cpp410 SCEVExpander &SEE) { in propagateStoredValueToLoadUsers()
555 SCEVExpander SEE(*PSE.getSE(), L->getHeader()->getModule()->getDataLayout(), in processLoop()
H A DLoopDataPrefetch.cpp310 SCEVExpander SCEVE(*SE, I.getModule()->getDataLayout(), "prefaddr"); in runOnLoop()
H A DLoopStrengthReduce.cpp1938 void GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter,
2013 SCEVExpander &Rewriter) const;
2016 BasicBlock::iterator IP, SCEVExpander &Rewriter,
2019 const Formula &F, SCEVExpander &Rewriter,
2022 SCEVExpander &Rewriter,
3111 void LSRInstance::GenerateIVChain(const IVChain &Chain, SCEVExpander &Rewriter, in GenerateIVChain()
4973 SCEVExpander &Rewriter) const { in AdjustInsertPositionForExpand()
5036 SCEVExpander &Rewriter, in Expand()
5287 const Formula &F, SCEVExpander &Rewriter, in Rewrite()
5328 SCEVExpander Rewriter(SE, L->getHeader()->getModule()->getDataLayout(), in ImplementSolution()
[all …]
H A DLoopRerollPass.cpp1446 SCEVExpander Expander(*SE, DL, "reroll"); in replace()
1484 SCEVExpander Expander(*SE, DL, "reroll"); in replaceIV()
H A DLoopIdiomRecognize.cpp878 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStridedStore()
991 SCEVExpander Expander(*SE, *DL, "loop-idiom"); in processLoopStoreOfLoopLoad()
H A DInductiveRangeCheckElimination.cpp1024 SCEVExpander(SE, DL, "irce") in parseLoopStructure()
1398 SCEVExpander Expander(SE, F.getParent()->getDataLayout(), "irce"); in run()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolutionExpander.cpp38 Value *SCEVExpander::ReuseOrCreateCast(Value *V, Type *Ty, in ReuseOrCreateCast()
112 Value *SCEVExpander::InsertNoopCastOfTo(Value *V, Type *Ty) { in InsertNoopCastOfTo()
614 const Loop *SCEVExpander::getRelevantLoop(const SCEV *S) { in getRelevantLoop()
684 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
754 Value *SCEVExpander::visitMulExpr(const SCEVMulExpr *S) { in visitMulExpr()
838 Value *SCEVExpander::visitUDivExpr(const SCEVUDivExpr *S) { in visitUDivExpr()
969 void SCEVExpander::fixupInsertPoints(Instruction *I) { in fixupInsertPoints()
1697 SCEVExpander::FindValueInExprValueMap(const SCEV *S, in FindValueInExprValueMap()
1731 Value *SCEVExpander::expand(const SCEV *S) { in expand()
1825 void SCEVExpander::rememberInstruction(Value *I) { in rememberInstruction()
[all …]
H A DLoopAccessAnalysis.cpp2085 Instruction *Loc, SCEVExpander &Exp, ScalarEvolution *SE, in expandBounds()
2124 Loop *L, Instruction *Loc, ScalarEvolution *SE, SCEVExpander &Exp, in expandBounds()
2148 SCEVExpander Exp(*SE, DL, "induction"); in addRuntimeChecks()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DSimplifyIndVar.h29 class SCEVExpander; variable
51 SCEVExpander &Rewriter, IVVisitor *V = nullptr);
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp57 SCEVExpander &Rewriter;
64 LoopInfo *LI, SCEVExpander &Rewriter, in SimplifyIndvar()
965 SCEVExpander &Rewriter, IVVisitor *V) { in simplifyUsersOfIV()
976 SCEVExpander Rewriter(*SE, SE->getDataLayout(), "indvars"); in simplifyLoopIVs()
H A DLoopVersioning.cpp68 SCEVExpander Exp(*SE, RuntimeCheckBB->getModule()->getDataLayout(), in versionLoop()
H A DLoopUnrollRuntime.cpp645 SCEVExpander Expander(*SE, DL, "loop-unroll"); in UnrollRuntimeLoopRemainder()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp432 SCEVExpander SCEVE(*SE, Header->getModule()->getDataLayout(), "pistart"); in runOnLoop()
H A DPPCCTRLoops.cpp652 SCEVExpander SCEVE(*SE, *DL, "loopcnt"); in convertToCTRLoop()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1663 SCEVExpander Exp(*PSE.getSE(), DL, "induction"); in widenIntOrFpInduction()
2422 SCEVExpander Exp(*SE, DL, "induction"); in getOrCreateTripCount()
2551 SCEVExpander Exp(*PSE.getSE(), Bypass->getModule()->getDataLayout(), in emitSCEVChecks()
2620 SCEVExpander Exp(*SE, DL, "induction"); in emitTransformedIndex()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2031 SCEVExpander Expander(*SE, *DL, "hexagon-loop-idiom"); in processCopyingStore()