Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/lib/Analysis/
DCodeMetrics.cpp42 SmallPtrSetImpl<const Value *> &EphValues) { in completeEphemeralValues() argument
57 if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); })) in completeEphemeralValues()
60 EphValues.insert(V); in completeEphemeralValues()
71 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
86 if (EphValues.insert(I).second) in collectEphemeralValues()
90 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
95 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
106 if (EphValues.insert(I).second) in collectEphemeralValues()
110 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
117 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DCodeMetrics.cpp43 SmallPtrSetImpl<const Value *> &EphValues) { in completeEphemeralValues() argument
58 if (!all_of(V->users(), [&](const User *U) { return EphValues.count(U); })) in completeEphemeralValues()
61 EphValues.insert(V); in completeEphemeralValues()
72 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
87 if (EphValues.insert(I).second) in collectEphemeralValues()
91 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
96 SmallPtrSetImpl<const Value *> &EphValues) { in collectEphemeralValues() argument
107 if (EphValues.insert(I).second) in collectEphemeralValues()
111 completeEphemeralValues(Visited, Worklist, EphValues); in collectEphemeralValues()
118 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()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DCodeMetrics.h80 const SmallPtrSetImpl<const Value*> &EphValues);
85 SmallPtrSetImpl<const Value *> &EphValues);
90 SmallPtrSetImpl<const Value *> &EphValues);
DIVUsers.h107 SmallPtrSet<const Value *, 32> EphValues; variable
116 IVUses(std::move(X.IVUses)), EphValues(std::move(X.EphValues)) { in IVUsers()
/external/llvm-project/llvm/include/llvm/Analysis/
DCodeMetrics.h78 const SmallPtrSetImpl<const Value*> &EphValues);
83 SmallPtrSetImpl<const Value *> &EphValues);
88 SmallPtrSetImpl<const Value *> &EphValues);
DIVUsers.h107 SmallPtrSet<const Value *, 32> EphValues; variable
116 IVUses(std::move(X.IVUses)), EphValues(std::move(X.EphValues)) { in IVUsers()
/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-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp157 const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollAndJamCount() argument
169 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount()
335 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollAndJamLoop() local
336 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollAndJamLoop()
339 Convergent, TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
342 TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
380 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop()
DLoopUnrollPass.cpp337 const SmallPtrSetImpl<const Value *> &EphValues, in analyzeLoopUnrollCost() argument
519 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I)) in analyzeLoopUnrollCost()
644 const SmallPtrSetImpl<const Value *> &EphValues, unsigned BEInsns) { in ApproximateLoopSize() argument
647 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
740 ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollCount() argument
829 L, FullUnrollTripCount, DT, SE, EphValues, TTI, in computeUnrollCount()
1057 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollLoop() local
1058 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollLoop()
1062 TTI, EphValues, UP.BEInsns); in tryToUnrollLoop()
1122 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, 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()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnrollAndJamPass.cpp159 const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollAndJamCount() argument
172 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount()
329 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollAndJamLoop() local
330 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollAndJamLoop()
334 Convergent, TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
337 TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop()
377 L, SubLoop, TTI, DT, LI, SE, EphValues, &ORE, OuterTripCount, in tryToUnrollAndJamLoop()
DLoopUnrollPass.cpp336 const SmallPtrSetImpl<const Value *> &EphValues, in analyzeLoopUnrollCost() argument
525 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I)) in analyzeLoopUnrollCost()
650 const SmallPtrSetImpl<const Value *> &EphValues, unsigned BEInsns) { in ApproximateLoopSize() argument
653 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
746 ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollCount() argument
836 L, FullUnrollTripCount, DT, SE, EphValues, TTI, in computeUnrollCount()
1066 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollLoop() local
1067 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollLoop()
1071 TTI, EphValues, UP.BEInsns); in tryToUnrollLoop()
1131 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, in tryToUnrollLoop()
DLoopDataPrefetch.cpp277 SmallPtrSet<const Value *, 32> EphValues; in runOnLoop() local
278 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
298 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in runOnLoop()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h108 const SmallPtrSetImpl<const Value *> &EphValues,
133 const SmallPtrSetImpl<const Value *> &EphValues,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DUnrollLoop.h115 const SmallPtrSetImpl<const Value *> &EphValues,
142 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp243 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local
244 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop()
247 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp301 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local
302 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop()
305 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()

12