Home
last modified time | relevance | path

Searched refs:RewriteMap (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/lib/Analysis/
DScalarEvolutionDivision.cpp218 ValueToSCEVMapTy RewriteMap; in visitMulExpr() local
219 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = Zero; in visitMulExpr()
220 Remainder = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); in visitMulExpr()
224 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = One; in visitMulExpr()
225 Quotient = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap); in visitMulExpr()
DScalarEvolution.cpp12996 RewriteEntry &Entry = RewriteMap[Expr]; in getSCEV()
13036 for (auto &II : RewriteMap) { in updateGeneration()
13087 RewriteMap[SE.getSCEV(V)] = {Generation, New}; in getAsAddRec()
13093 : RewriteMap(Init.RewriteMap), SE(Init.SE), L(Init.L), Preds(Init.Preds), in PredicatedScalarEvolution()
13107 auto II = RewriteMap.find(Expr); in print()
13109 if (II == RewriteMap.end()) in print()
13224 const SCEV *RHS, ValueToSCEVMapTy &RewriteMap) { in applyLoopGuards() argument
13241 auto I = RewriteMap.find(LHSUnknown->getValue()); in applyLoopGuards()
13242 if (I != RewriteMap.end()) in applyLoopGuards()
13245 RewriteMap[LHSUnknown->getValue()] = in applyLoopGuards()
[all …]
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp161 RewriteMapTy &RewriteMap);
617 RewriteMapTy &RewriteMap) { in findNextSource() argument
651 ValueTrackerResult CurSrcRes = RewriteMap.lookup(CurSrcPair); in findNextSource()
662 RewriteMap.insert(std::make_pair(CurSrcPair, Res)); in findNextSource()
821 PeepholeOptimizer::RewriteMapTy &RewriteMap, in getNewSource() argument
826 ValueTrackerResult Res = RewriteMap.lookup(LookupSrc); in getNewSource()
850 getNewSource(MRI, TII, PHISrc, RewriteMap, HandleMultipleSources)); in getNewSource()
874 PeepholeOptimizer::RewriteMapTy &RewriteMap) { in RewriteSource() argument
929 PeepholeOptimizer::RewriteMapTy &RewriteMap) override { in RewriteSource() argument
935 getNewSource(&MRI, &TII, Def, RewriteMap); in RewriteSource()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp198 bool findNextSource(RegSubRegPair RegSubReg, RewriteMapTy &RewriteMap);
255 RegSubRegPair Def, RewriteMapTy &RewriteMap);
661 RewriteMapTy &RewriteMap) { in findNextSource() argument
693 ValueTrackerResult CurSrcRes = RewriteMap.lookup(CurSrcPair); in findNextSource()
705 RewriteMap.insert(std::make_pair(CurSrcPair, Res)); in findNextSource()
1114 const PeepholeOptimizer::RewriteMapTy &RewriteMap, in getNewSource() argument
1118 ValueTrackerResult Res = RewriteMap.lookup(LookupSrc); in getNewSource()
1141 getNewSource(MRI, TII, PHISrc, RewriteMap, HandleMultipleSources)); in getNewSource()
1188 RewriteMapTy RewriteMap; in optimizeCoalescableCopy() local
1191 if (!findNextSource(TrackPair, RewriteMap)) in optimizeCoalescableCopy()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DScalarEvolutionTest.cpp1159 ValueToSCEVMapTy RewriteMap; in TEST_F() local
1160 RewriteMap[cast<SCEVUnknown>(ScevI)->getValue()] = in TEST_F()
1162 auto *WithUMin = SCEVParameterRewriter::rewrite(ScevIV, SE, RewriteMap); in TEST_F()
1218 ValueToSCEVMapTy RewriteMap; in TEST_F() local
1219 RewriteMap[cast<SCEVUnknown>(ScevI)->getValue()] = in TEST_F()
1221 auto *AddWithUMin = SCEVParameterRewriter::rewrite(Add, SE, RewriteMap); in TEST_F()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp871 ValueToValueMap RewriteMap; in visitMulExpr() local
872 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = in visitMulExpr()
874 Remainder = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap, true); in visitMulExpr()
878 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = in visitMulExpr()
881 SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap, true); in visitMulExpr()
10343 RewriteEntry &Entry = RewriteMap[Expr]; in getSCEV()
10383 for (auto &II : RewriteMap) { in updateGeneration()
10430 RewriteMap[SE.getSCEV(V)] = {Generation, New}; in getAsAddRec()
10436 : RewriteMap(Init.RewriteMap), SE(Init.SE), L(Init.L), Preds(Init.Preds), in PredicatedScalarEvolution()
10450 auto II = RewriteMap.find(Expr); in print()
[all …]
DLoopAccessAnalysis.cpp131 ValueToValueMap RewriteMap; in replaceSymbolicStrideSCEV() local
132 RewriteMap[StrideVal] = One; in replaceSymbolicStrideSCEV()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp1066 ValueToValueMap RewriteMap; in visitMulExpr() local
1067 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = in visitMulExpr()
1069 Remainder = SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap, true); in visitMulExpr()
1073 RewriteMap[cast<SCEVUnknown>(Denominator)->getValue()] = in visitMulExpr()
1076 SCEVParameterRewriter::rewrite(Numerator, SE, RewriteMap, true); in visitMulExpr()
12453 RewriteEntry &Entry = RewriteMap[Expr]; in getSCEV()
12493 for (auto &II : RewriteMap) { in updateGeneration()
12544 RewriteMap[SE.getSCEV(V)] = {Generation, New}; in getAsAddRec()
12550 : RewriteMap(Init.RewriteMap), SE(Init.SE), L(Init.L), Preds(Init.Preds), in PredicatedScalarEvolution()
12564 auto II = RewriteMap.find(Expr); in print()
[all …]
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h1778 DenseMap<const SCEV *, RewriteEntry> RewriteMap;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DScalarEvolution.h2034 DenseMap<const SCEV *, RewriteEntry> RewriteMap;
/external/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolution.h2182 DenseMap<const SCEV *, RewriteEntry> RewriteMap;