/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A 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, bool PrepareForLTO) { in analyzeBasicBlock() argument [all …]
|
H A D | IVUsers.cpp | 195 if (EphValues.count(I)) in AddUsersImpl() 309 EphValues.clear(); in IVUsers() 310 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in IVUsers()
|
H A D | InlineCost.cpp | 371 SmallPtrSetImpl<const Value *> &EphValues); 2081 SmallPtrSetImpl<const Value *> &EphValues) { in analyzeBlock() argument 2098 if (EphValues.count(&I)) in analyzeBlock() 2303 SmallPtrSet<const Value *, 32> EphValues; in analyze() local 2304 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), EphValues); in analyze() 2345 InlineResult IR = analyzeBlock(BB, EphValues); in analyze()
|
H A D | ValueTracking.cpp | 481 SmallPtrSet<const Value *, 16> EphValues; in isEphemeralValueOf() local 496 return EphValues.count(U); in isEphemeralValueOf() 502 EphValues.insert(V); in isEphemeralValueOf()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | CodeMetrics.h | 78 const SmallPtrSetImpl<const Value *> &EphValues, 84 SmallPtrSetImpl<const Value *> &EphValues); 89 SmallPtrSetImpl<const Value *> &EphValues);
|
H A D | IVUsers.h | 107 SmallPtrSet<const Value *, 32> EphValues; variable 116 IVUses(std::move(X.IVUses)), EphValues(std::move(X.EphValues)) { in IVUsers()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollAndJamPass.cpp | 160 const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollAndJamCount() argument 173 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()
|
H A D | LoopUnrollPass.cpp | 338 const SmallPtrSetImpl<const Value *> &EphValues, in analyzeLoopUnrollCost() argument 527 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I)) in analyzeLoopUnrollCost() 657 const SmallPtrSetImpl<const Value *> &EphValues, unsigned BEInsns) { in ApproximateLoopSize() argument 660 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize() 764 ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollCount() argument 856 L, FullUnrollTripCount, DT, SE, EphValues, TTI, in computeUnrollCount() 1086 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollLoop() local 1087 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollLoop() 1091 TTI, EphValues, UP.BEInsns); in tryToUnrollLoop() 1151 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, in tryToUnrollLoop()
|
H A 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()
|
H A D | LoopUnswitch.cpp | 306 SmallPtrSet<const Value *, 32> EphValues; in countLoop() local 307 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in countLoop() 314 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in countLoop()
|
H A D | SimpleLoopUnswitch.cpp | 2712 SmallPtrSet<const Value *, 4> EphValues; in unswitchBestCondition() local 2713 CodeMetrics::collectEphemeralValues(&L, &AC, EphValues); in unswitchBestCondition() 2729 if (EphValues.count(&I)) in unswitchBestCondition()
|
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
H A D | UnrollLoop.h | 109 const SmallPtrSetImpl<const Value *> &EphValues, 134 const SmallPtrSetImpl<const Value *> &EphValues,
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | LoopRotationUtils.cpp | 305 SmallPtrSet<const Value *, 32> EphValues; in rotateLoop() local 306 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in rotateLoop() 309 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues, PrepareForLTO); in rotateLoop()
|
H A D | SimplifyCFG.cpp | 2535 SmallPtrSet<const Value *, 32> EphValues; in BlockIsSimpleEnoughToThreadThrough() local 2541 [&](const User *U) { return EphValues.count(U); }); in BlockIsSimpleEnoughToThreadThrough() 2554 EphValues.insert(&I); in BlockIsSimpleEnoughToThreadThrough()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 722 SmallPtrSet<const Value *, 32> EphValues; in isHardwareLoopProfitable() local 723 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in isHardwareLoopProfitable() 726 Metrics.analyzeBasicBlock(BB, *this, EphValues); in isHardwareLoopProfitable()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 602 CodeMetrics::collectEphemeralValues(F, AC, EphValues); in BoUpSLP() 1990 SmallPtrSet<const Value *, 32> EphValues; member in llvm::slpvectorizer::BoUpSLP 2701 if (EphValues.count(V)) { in buildTree_rec() 4397 if (EphValues.count(EU.User)) in getTreeCost()
|