| /freebsd-13.1/contrib/llvm-project/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 | 375 SmallPtrSetImpl<const Value *> &EphValues); 2299 SmallPtrSetImpl<const Value *> &EphValues) { in analyzeBlock() argument 2316 if (EphValues.count(&I)) in analyzeBlock() 2521 SmallPtrSet<const Value *, 32> EphValues; in analyze() local 2522 CodeMetrics::collectEphemeralValues(&F, &GetAssumptionCache(F), EphValues); in analyze() 2563 InlineResult IR = analyzeBlock(BB, EphValues); in analyze()
|
| H A D | ValueTracking.cpp | 482 SmallPtrSet<const Value *, 16> EphValues; in isEphemeralValueOf() local 497 return EphValues.count(U); in isEphemeralValueOf() 503 EphValues.insert(V); in isEphemeralValueOf()
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollAndJamPass.cpp | 161 const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollAndJamCount() argument 174 L, TTI, DT, LI, SE, EphValues, ORE, OuterTripCount, MaxTripCount, in computeUnrollAndJamCount() 331 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollAndJamLoop() local 332 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollAndJamLoop() 336 Convergent, TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop() 339 TTI, EphValues, UP.BEInsns); in tryToUnrollAndJamLoop() 379 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 525 if (isa<DbgInfoIntrinsic>(I) || EphValues.count(&I)) in analyzeLoopUnrollCost() 659 const SmallPtrSetImpl<const Value *> &EphValues, unsigned BEInsns) { in ApproximateLoopSize() argument 662 Metrics.analyzeBasicBlock(BB, TTI, EphValues); in ApproximateLoopSize() 766 ScalarEvolution &SE, const SmallPtrSetImpl<const Value *> &EphValues, in computeUnrollCount() argument 866 L, FullUnrollTripCount, DT, SE, EphValues, TTI, in computeUnrollCount() 1094 SmallPtrSet<const Value *, 32> EphValues; in tryToUnrollLoop() local 1095 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in tryToUnrollLoop() 1099 TTI, EphValues, UP.BEInsns); in tryToUnrollLoop() 1170 L, TTI, DT, LI, SE, EphValues, &ORE, TripCount, MaxTripCount, MaxOrZero, in tryToUnrollLoop()
|
| H A D | DFAJumpThreading.cpp | 704 SmallPtrSet<const Value *, 32> EphValues) in TransformDFA() 706 EphValues(EphValues) {} in TransformDFA() 737 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in isLegalAndProfitableToTransform() 754 Metrics.analyzeBasicBlock(BB, *TTI, EphValues); in isLegalAndProfitableToTransform() 1199 SmallPtrSet<const Value *, 32> EphValues; member 1252 SmallPtrSet<const Value *, 32> EphValues; in run() local 1254 CodeMetrics::collectEphemeralValues(&F, AC, EphValues); in run() 1257 TransformDFA Transform(&SwitchPaths, DT, AC, TTI, ORE, EphValues); in run()
|
| H A D | LoopDataPrefetch.cpp | 279 SmallPtrSet<const Value *, 32> EphValues; in runOnLoop() local 280 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in runOnLoop() 300 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 | 2807 SmallPtrSet<const Value *, 4> EphValues; in unswitchBestCondition() local 2808 CodeMetrics::collectEphemeralValues(&L, &AC, EphValues); in unswitchBestCondition() 2824 if (EphValues.count(&I)) in unswitchBestCondition()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | UnrollLoop.h | 103 const SmallPtrSetImpl<const Value *> &EphValues, 128 const SmallPtrSetImpl<const Value *> &EphValues,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | FunctionSpecialization.cpp | 248 SmallPtrSet<const Value *, 32> EphValues; in getSpecializationCost() local 249 CodeMetrics::collectEphemeralValues(F, &(GetAC)(*F), EphValues); in getSpecializationCost() 252 Metrics.analyzeBasicBlock(&BB, (GetTTI)(*F), EphValues); in getSpecializationCost()
|
| /freebsd-13.1/contrib/llvm-project/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 | 2554 SmallPtrSet<const Value *, 32> EphValues; in BlockIsSimpleEnoughToThreadThrough() local 2560 [&](const User *U) { return EphValues.count(U); }); in BlockIsSimpleEnoughToThreadThrough() 2573 EphValues.insert(&I); in BlockIsSimpleEnoughToThreadThrough()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.cpp | 725 SmallPtrSet<const Value *, 32> EphValues; in isHardwareLoopProfitable() local 726 CodeMetrics::collectEphemeralValues(L, &AC, EphValues); in isHardwareLoopProfitable() 729 Metrics.analyzeBasicBlock(BB, *this, EphValues); in isHardwareLoopProfitable()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 606 CodeMetrics::collectEphemeralValues(F, AC, EphValues); in BoUpSLP() 2007 SmallPtrSet<const Value *, 32> EphValues; member in llvm::slpvectorizer::BoUpSLP 2714 if (EphValues.count(V)) { in buildTree_rec() 4485 if (EphValues.count(EU.User)) in getTreeCost()
|