Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A 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, bool PrepareForLTO) { in analyzeBasicBlock() argument
[all …]
H A DIVUsers.cpp195 if (EphValues.count(I)) in AddUsersImpl()
309 EphValues.clear(); in IVUsers()
310 CodeMetrics::collectEphemeralValues(L, AC, EphValues); in IVUsers()
H A DInlineCost.cpp375 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 DValueTracking.cpp482 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 DCodeMetrics.h78 const SmallPtrSetImpl<const Value *> &EphValues,
84 SmallPtrSetImpl<const Value *> &EphValues);
89 SmallPtrSetImpl<const Value *> &EphValues);
H A DIVUsers.h107 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 DLoopUnrollAndJamPass.cpp161 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 DLoopUnrollPass.cpp338 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 DDFAJumpThreading.cpp704 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 DLoopDataPrefetch.cpp279 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 DLoopUnswitch.cpp306 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 DSimpleLoopUnswitch.cpp2807 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 DUnrollLoop.h103 const SmallPtrSetImpl<const Value *> &EphValues,
128 const SmallPtrSetImpl<const Value *> &EphValues,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp248 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 DLoopRotationUtils.cpp305 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 DSimplifyCFG.cpp2554 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 DPPCTargetTransformInfo.cpp725 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 DSLPVectorizer.cpp606 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()