/external/llvm-project/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 42 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 …]
|
D | IVUsers.cpp | 195 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/ |
D | CodeMetrics.cpp | 43 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 …]
|
D | IVUsers.cpp | 195 if (EphValues.count(I)) in AddUsersImpl() 309 EphValues.clear(); in IVUsers() 310 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in IVUsers()
|
/external/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 31 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()
|
D | IVUsers.cpp | 145 if (EphValues.count(I)) in AddUsersImpl() 272 EphValues.clear(); in runOnLoop() 273 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop()
|
D | InlineCost.cpp | 165 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/ |
D | CodeMetrics.h | 80 const SmallPtrSetImpl<const Value*> &EphValues); 85 SmallPtrSetImpl<const Value *> &EphValues); 90 SmallPtrSetImpl<const Value *> &EphValues);
|
D | IVUsers.h | 107 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/ |
D | CodeMetrics.h | 78 const SmallPtrSetImpl<const Value*> &EphValues); 83 SmallPtrSetImpl<const Value *> &EphValues); 88 SmallPtrSetImpl<const Value *> &EphValues);
|
D | IVUsers.h | 107 SmallPtrSet<const Value *, 32> EphValues; variable 116 IVUses(std::move(X.IVUses)), EphValues(std::move(X.EphValues)) { in IVUsers()
|
/external/llvm/include/llvm/Analysis/ |
D | CodeMetrics.h | 90 SmallPtrSetImpl<const Value*> &EphValues); 95 SmallPtrSetImpl<const Value *> &EphValues); 100 SmallPtrSetImpl<const Value *> &EphValues);
|
D | IVUsers.h | 134 SmallPtrSet<const Value *, 32> EphValues;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollAndJamPass.cpp | 157 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()
|
D | LoopUnrollPass.cpp | 337 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()
|
D | LoopDataPrefetch.cpp | 220 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/ |
D | LoopUnrollAndJamPass.cpp | 159 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()
|
D | LoopUnrollPass.cpp | 336 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()
|
D | LoopDataPrefetch.cpp | 277 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/ |
D | UnrollLoop.h | 108 const SmallPtrSetImpl<const Value *> &EphValues, 133 const SmallPtrSetImpl<const Value *> &EphValues,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | UnrollLoop.h | 115 const SmallPtrSetImpl<const Value *> &EphValues, 142 const SmallPtrSetImpl<const Value *> &EphValues,
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 183 SmallPtrSet<const Value *, 32> EphValues; in runOnLoop() local 184 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop() 200 Metrics.analyzeBasicBlock(*I, *TTI, EphValues); in runOnLoop()
|
D | LoopRotation.cpp | 218 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/ |
D | LoopRotationUtils.cpp | 243 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/ |
D | LoopRotationUtils.cpp | 301 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local 302 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop() 305 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()
|