Home
last modified time | relevance | path

Searched refs:EphValues (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DCodeMetrics.cpp45 SmallPtrSetImpl<const Value *> &EphValues) { in completeEphemeralValues() argument
60 if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); })) in completeEphemeralValues()
63 EphValues.insert(V); in completeEphemeralValues()
74 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
89 if (EphValues.insert(I).second) in collectEphemeralValues()
93 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
98 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
109 if (EphValues.insert(I).second) in collectEphemeralValues()
113 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
120 const SmallPtrSetImpl<const Value*> &EphValues) { in analyzeBasicBlock() argument
[all …]
DIVUsers.cpp195 if (EphValues.count(I)) in AddUsersImpl()
309 EphValues.clear(); in IVUsers()
310 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in IVUsers()
DInlineCost.cpp230 bool analyzeBlock(BasicBlock *BB, SmallPtrSetImpl<const Value *> &EphValues);
1546 SmallPtrSetImpl<const Value *> &EphValues) { in analyzeBlock() argument
1559 if (EphValues.count(&*I)) in analyzeBlock()
1779 SmallPtrSet<const Value *, 32> EphValues; in analyzeCall() local
1780 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), EphValues); in analyzeCall()
1817 if (!analyzeBlock(BB, EphValues)) in analyzeCall()
/external/llvm/lib/Analysis/
DCodeMetrics.cpp31 SmallPtrSetImpl<const Value*> &EphValues) { in completeEphemeralValues() argument
35 EphValues.insert(WorkSet.begin(), WorkSet.end()); in completeEphemeralValues()
49 [&](const User *U) { return EphValues.count(U); })) in completeEphemeralValues()
52 EphValues.insert(V); in completeEphemeralValues()
66 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
83 completeEphemeralValues(WorkSet, EphValues); in collectEphemeralValues()
88 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
100 completeEphemeralValues(WorkSet, EphValues); in collectEphemeralValues()
107 SmallPtrSetImpl<const Value*> &EphValues) { in analyzeBasicBlock() argument
112 if (EphValues.count(&I)) in analyzeBasicBlock()
DIVUsers.cpp145 if (EphValues.count(I)) in AddUsersImpl()
272 EphValues.clear(); in runOnLoop()
273 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
DInlineCost.cpp165 bool analyzeBlock(BasicBlock *BB, SmallPtrSetImpl<const Value *> &EphValues);
1076 SmallPtrSetImpl<const Value *> &EphValues) { in analyzeBlock() argument
1089 if (EphValues.count(&*I)) in analyzeBlock()
1314 SmallPtrSet<const Value *, 32> EphValues; in analyzeCall() local
1316 EphValues); in analyzeCall()
1352 if (!analyzeBlock(BB, EphValues)) in analyzeCall()
DValueTracking.cpp404 SmallPtrSet<const Value *, 16> EphValues; in isEphemeralValueOf() local
419 [&](const User *U) { return EphValues.count(U); })) { in isEphemeralValueOf()
423 EphValues.insert(V); in isEphemeralValueOf()
/external/llvm/include/llvm/Analysis/
DCodeMetrics.h90 SmallPtrSetImpl<const Value*> &EphValues);
95 SmallPtrSetImpl<const Value *> &EphValues);
100 SmallPtrSetImpl<const Value *> &EphValues);
DIVUsers.h134 SmallPtrSet<const Value *, 32> EphValues;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DCodeMetrics.h90 const SmallPtrSetImpl<const Value*> &EphValues);
95 SmallPtrSetImpl<const Value *> &EphValues);
100 SmallPtrSetImpl<const Value *> &EphValues);
DIVUsers.h108 SmallPtrSet<const Value *, 32> EphValues; variable
117 IVUses(std::move(X.IVUses)), EphValues(std::move(X.EphValues)) { in IVUsers()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp148 const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollAndJamCount() argument
184 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount()
307 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollAndJamLoop() local
308 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollAndJamLoop()
311 Convergent, TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
314 TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
339 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop()
DLoopUnrollPass.cpp316 const SmallPtrSetImpl<const Value *> &EphValues, in analyzeLoopUnrollCost() argument
498 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I)) in analyzeLoopUnrollCost()
623 const SmallPtrSetImpl<const Value *> &EphValues, unsigned BEInsns) { in ApproximateLoopSize() argument
626 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
718 ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollCount() argument
790 L, FullUnrollTripCount, DT, SE, EphValues, TTI, in computeUnrollCount()
991 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollLoop() local
992 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollLoop()
996 TTI, EphValues, UP.BEInsns); in tryToUnrollLoop()
1061 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, in tryToUnrollLoop()
DLoopDataPrefetch.cpp220 SmallPtrSet<const Value *, 32> EphValues; in runOnLoop() local
221 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
234 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in runOnLoop()
DLoopUnswitch.cpp284 SmallPtrSet<const Value *, 32> EphValues; in countLoop() local
285 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in countLoop()
293 Metrics.analyzeBasicBlock(*I, TTI, EphValues); in countLoop()
DSimpleLoopUnswitch.cpp2243 SmallPtrSet<const Value *, 4> EphValues; in unswitchBestCondition() local
2244 CodeMetrics::collectEphemeralValues(&L, &AC, EphValues); in unswitchBestCondition()
2256 if (EphValues.count(&I)) in unswitchBestCondition()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h94 const SmallPtrSetImpl<const Value *> &EphValues,
121 const SmallPtrSetImpl<const Value *> &EphValues,
/external/llvm/lib/Transforms/Scalar/
DLoopDataPrefetch.cpp183 SmallPtrSet<const Value *, 32> EphValues; in runOnLoop() local
184 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
200 Metrics.analyzeBasicBlock(*I, *TTI, EphValues); in runOnLoop()
DLoopRotation.cpp218 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local
219 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop()
222 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()
DLoopUnrollPass.cpp533 SmallPtrSet<const Value *, 32> EphValues; in ApproximateLoopSize() local
534 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in ApproximateLoopSize()
538 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
DLoopUnswitch.cpp281 SmallPtrSet<const Value *, 32> EphValues; in countLoop() local
282 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in countLoop()
290 Metrics.analyzeBasicBlock(*I, TTI, EphValues); in countLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp232 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local
233 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop()
236 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp495 SmallPtrSet<const Value *, 32> EphValues; in convertToCTRLoop() local
498 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in convertToCTRLoop()
501 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in convertToCTRLoop()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp310 CodeMetrics::collectEphemeralValues(F, AC, EphValues); in BoUpSLP()
556 SmallPtrSet<const Value *, 32> EphValues; member in llvm::slpvectorizer::BoUpSLP
1016 if (EphValues.count(VL[i])) { in buildTree_rec()
1871 if (EphValues.count(EU.User)) in getTreeCost()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp491 CodeMetrics::collectEphemeralValues(F, AC, EphValues); in BoUpSLP()
817 SmallPtrSet<const Value *, 32> EphValues; member in llvm::slpvectorizer::BoUpSLP
1432 if (EphValues.count(VL[i])) { in buildTree_rec()
2571 if (EphValues.count(EU.User)) in getTreeCost()

12