Home
last modified time | relevance | path

Searched refs:Strategy (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project/llvm/include/llvm/Analysis/
H A DGenericDomTreeUpdater.h36 : Strategy(Strategy_) {} in GenericDomTreeUpdater()
38 : DT(&DT_), Strategy(Strategy_) {} in GenericDomTreeUpdater()
40 : DT(DT_), Strategy(Strategy_) {} in GenericDomTreeUpdater()
42 : PDT(&PDT_), Strategy(Strategy_) {} in GenericDomTreeUpdater()
44 : PDT(PDT_), Strategy(Strategy_) {} in GenericDomTreeUpdater()
47 : DT(&DT_), PDT(&PDT_), Strategy(Strategy_) {} in GenericDomTreeUpdater()
50 : DT(DT_), PDT(PDT_), Strategy(Strategy_) {}
59 bool isLazy() const { return Strategy == UpdateStrategy::Lazy; }
62 bool isEager() const { return Strategy == UpdateStrategy::Eager; }
79 if (Strategy in isBBPendingDeletion()
213 const UpdateStrategy Strategy; global() variable
[all...]
H A DGenericDomTreeUpdaterImpl.h30 if (Strategy == UpdateStrategy::Eager) { in recalculate()
64 if (Strategy == UpdateStrategy::Lazy) { in applyUpdates()
124 if (Strategy == UpdateStrategy::Lazy) in applyUpdatesPermissive()
140 if (Strategy == UpdateStrategy::Lazy) { in getDomTree()
186 if (Strategy == UpdateStrategy::Eager) { in dump()
276 if (Strategy != UpdateStrategy::Lazy || !DomTree) in applyPostDomTreeUpdates()
352 if (Strategy == UpdateStrategy::Eager)
/llvm-project/clang-tools-extra/clang-include-fixer/
H A DSymbolIndexManager.h37 auto Strategy = std::launch::async; in addSymbolIndex() local
39 auto Strategy = std::launch::deferred; in addSymbolIndex()
41 SymbolIndices.push_back(std::async(Strategy, F)); in addSymbolIndex()
/llvm-project/clang-tools-extra/pseudo/lib/grammar/
H A DLRTableBuild.cpp
H A DLRGraph.cpp
/llvm-project/clang-tools-extra/pseudo/lib/
H A DGLR.cpp
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DIncludeSpeller.cpp54 for (const auto &Strategy : in spellHeader() local
56 Result->push_back(Strategy.instantiate()); in spellHeader()
/llvm-project/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp64 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
76 if (Strategy == UpdateStrategy::Lazy) { in callbackDeleteBB()
/llvm-project/clang/test/Modules/
H A Dpr62796.cppm43 template<unsigned long N, typename Strategy = DefaultStrategy>
44 constexpr unsigned long Cache = Compute(Number<N>{}, Strategy{});
/llvm-project/bolt/lib/Passes/
H A DSplitFunctions.cpp730 std::unique_ptr<SplitStrategy> Strategy; in runOnFunctions() local
739 Strategy = std::make_unique<SplitCacheDirected>(BC); in runOnFunctions()
741 Strategy = std::make_unique<SplitProfile2>(); in runOnFunctions()
746 Strategy = std::make_unique<SplitProfile2>(); in runOnFunctions()
749 Strategy = std::make_unique<SplitRandom2>(); in runOnFunctions()
756 Strategy = std::make_unique<SplitRandomN>(); in runOnFunctions()
760 Strategy = std::make_unique<SplitAll>(); in runOnFunctions()
770 [&](BinaryFunction &BF) { splitFunction(BF, *Strategy); }, SkipFunc, in runOnFunctions()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPassRegistry.def90 [=](ScanOptions Strategy) {
91 return AMDGPUAtomicOptimizerPass(*this, Strategy);
H A DGCNIterativeScheduler.h77 const StrategyKind Strategy; variable
/llvm-project/llvm/lib/Support/
H A DThreadPool.cpp36 : Strategy(S), MaxThreadCount(S.compute_thread_count()) {} in StdThreadPool()
47 Strategy.apply_thread_strategy(ThreadID); in grow()
/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp664 auto Strategy = getVPLegalizationStrategy(VPI); in discardEVLParameter()
665 sanitizeStrategy(VPI, Strategy); in discardEVLParameter()
670 switch (Strategy.EVLParamStrategy) { in discardEVLParameter()
687 switch (Strategy.OpStrategy) { in foldEVLIntoMask()
780 TargetTransformInfo::VPLegalization Strategy; global() member
H A DMachineDomTreeUpdater.cpp54 if (Strategy == UpdateStrategy::Lazy) { in deleteBB()
/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProfWriter.h110 FunctionPruningStrategy Strategy(ProfileMap, OutputSizeLimit); in writeWithSizeLimit()
111 return writeWithSizeLimitInternal(ProfileMap, OutputSizeLimit, &Strategy); in writeWithSizeLimit()
145 FunctionPruningStrategy *Strategy);
/llvm-project/llvm/unittests/FuzzMutate/
H A DStrategiesTest.cpp55 template <class Strategy> std::unique_ptr<IRMutator> createMutator() { in createMutator()
61 Strategies.push_back(std::make_unique<Strategy>()); in createMutator()
104 template <class Strategy>
106 auto Mutator = createMutator<Strategy>(); in mutateAndVerifyModule()
/llvm-project/mlir/lib/Conversion/VectorToSCF/
H A DVectorToSCF.cpp342 /// is similar to Strategy<TransferWriteOp>::getBuffer.
353 struct Strategy; in getStoreOp()
357 struct Strategy<TransferReadOp> {
470 struct Strategy<TransferWriteOp> { in getBuffer()
500 /// Note: For more details, see comments on Strategy<TransferReadOp>. in rewriteOp()
853 /// corresponding Strategy<OpTy>. If the to-be-unpacked dimension can be
855 /// 3. Clean up according to the corresponding Strategy<OpTy>.
910 Value dataBuffer = Strategy<OpTy>::getBuffer(xferOp); in matchAndRewrite()
947 auto loopState = Strategy<OpTy>::initialLoopState(xferOp); in matchAndRewrite()
961 OpTy newXfer = Strategy<OpT in matchAndRewrite()
348 struct Strategy<TransferReadOp> { global() struct
351 getStoreOp__anon2728d7640111::lowering_n_d::Strategy getStoreOp() argument
365 getBuffer__anon2728d7640111::lowering_n_d::Strategy getBuffer() argument
370 getBufferIndices__anon2728d7640111::lowering_n_d::Strategy getBufferIndices() argument
404 rewriteOp__anon2728d7640111::lowering_n_d::Strategy rewriteOp() argument
432 handleOutOfBoundsDim__anon2728d7640111::lowering_n_d::Strategy handleOutOfBoundsDim() argument
449 cleanup__anon2728d7640111::lowering_n_d::Strategy cleanup() argument
456 initialLoopState__anon2728d7640111::lowering_n_d::Strategy initialLoopState() argument
461 struct Strategy<TransferWriteOp> { global() struct
469 getBuffer__anon2728d7640111::lowering_n_d::Strategy getBuffer() argument
476 getBufferIndices__anon2728d7640111::lowering_n_d::Strategy getBufferIndices() argument
492 rewriteOp__anon2728d7640111::lowering_n_d::Strategy rewriteOp() argument
519 handleOutOfBoundsDim__anon2728d7640111::lowering_n_d::Strategy handleOutOfBoundsDim() argument
526 cleanup__anon2728d7640111::lowering_n_d::Strategy cleanup() argument
537 initialLoopState__anon2728d7640111::lowering_n_d::Strategy initialLoopState() argument
[all...]
/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp72 for (const auto &Strategy : Strategies) in mutateModule() local
73 RS.sample(Strategy.get(), in mutateModule()
74 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
77 auto Strategy = RS.getSelection(); in mutateModule() local
79 Strategy->mutate(M, IB); in mutateModule()
/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DScheduler.cpp24 Strategy = S ? std::move(S) : std::make_unique<DefaultSchedulerStrategy>(); in initializeStrategy()
198 Strategy->compare(IR, ReadySet[QueueIndex])) { in select()
/llvm-project/bolt/include/bolt/Passes/
H A DSplitFunctions.h54 void splitFunction(BinaryFunction &Function, SplitStrategy &Strategy);
/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DScheduler.h74 std::unique_ptr<SchedulerStrategy> Strategy; variable
/llvm-project/clang-tools-extra/pseudo/include/clang-pseudo/grammar/
H A DLRGraph.h
H A DLRTable.h
/llvm-project/llvm/include/llvm/Support/
H A DThreadPool.h210 const ThreadPoolStrategy Strategy; variable

12