/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | CodeMetrics.cpp | 45 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 …]
|
D | IVUsers.cpp | 195 if (EphValues.count(I)) in AddUsersImpl() 309 EphValues.clear(); in IVUsers() 310 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in IVUsers()
|
D | InlineCost.cpp | 230 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/ |
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()
|
D | ValueTracking.cpp | 404 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/ |
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-7.0/llvm/include/llvm/Analysis/ |
D | CodeMetrics.h | 90 const SmallPtrSetImpl<const Value*> &EphValues); 95 SmallPtrSetImpl<const Value *> &EphValues); 100 SmallPtrSetImpl<const Value *> &EphValues);
|
D | IVUsers.h | 108 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/ |
D | LoopUnrollAndJamPass.cpp | 148 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()
|
D | LoopUnrollPass.cpp | 316 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()
|
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()
|
D | LoopUnswitch.cpp | 284 SmallPtrSet<const Value *, 32> EphValues; in countLoop() local 285 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in countLoop() 293 Metrics.analyzeBasicBlock(*I, TTI, EphValues); in countLoop()
|
D | SimpleLoopUnswitch.cpp | 2243 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/ |
D | UnrollLoop.h | 94 const SmallPtrSetImpl<const Value *> &EphValues, 121 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()
|
D | LoopUnrollPass.cpp | 533 SmallPtrSet<const Value *, 32> EphValues; in ApproximateLoopSize() local 534 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in ApproximateLoopSize() 538 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize()
|
D | LoopUnswitch.cpp | 281 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/ |
D | LoopRotationUtils.cpp | 232 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/ |
D | PPCCTRLoops.cpp | 495 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/ |
D | SLPVectorizer.cpp | 310 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/ |
D | SLPVectorizer.cpp | 491 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()
|