Home
last modified time | relevance | path

Searched refs:shouldExecute (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/mlir/unittests/Support/
H A DDebugActionTest.cpp46 EXPECT_TRUE(manager.shouldExecute<SimpleAction>()); in TEST()
47 EXPECT_FALSE(manager.shouldExecute<ParametricAction>(true)); in TEST()
55 FailureOr<bool> shouldExecute(bool shouldExecuteParam) final { in TEST() function
61 EXPECT_TRUE(manager.shouldExecute<ParametricAction>(true)); in TEST()
62 EXPECT_FALSE(manager.shouldExecute<ParametricAction>(false)); in TEST()
65 EXPECT_TRUE(manager.shouldExecute<SimpleAction>()); in TEST()
79 EXPECT_TRUE(manager.shouldExecute<SimpleAction>()); in TEST()
80 EXPECT_TRUE(manager.shouldExecute<SimpleAction>()); in TEST()
81 EXPECT_TRUE(manager.shouldExecute<SimpleAction>()); in TEST()
82 EXPECT_FALSE(manager.shouldExecute<SimpleAction>()); in TEST()
[all …]
H A DDebugCounterTest.cpp33 EXPECT_FALSE(manager.shouldExecute<CounterAction>()); in TEST()
36 EXPECT_TRUE(manager.shouldExecute<CounterAction>()); in TEST()
37 EXPECT_TRUE(manager.shouldExecute<CounterAction>()); in TEST()
38 EXPECT_TRUE(manager.shouldExecute<CounterAction>()); in TEST()
39 EXPECT_FALSE(manager.shouldExecute<CounterAction>()); in TEST()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DDebugCounterTest.cpp28 EXPECT_FALSE(DebugCounter::shouldExecute(TestCounter)); in TEST()
31 EXPECT_TRUE(DebugCounter::shouldExecute(TestCounter)); in TEST()
34 EXPECT_TRUE(DebugCounter::shouldExecute(TestCounter)); in TEST()
35 EXPECT_FALSE(DebugCounter::shouldExecute(TestCounter)); in TEST()
38 EXPECT_FALSE(DebugCounter::shouldExecute(TestCounter)); in TEST()
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DDebugAction.h79 virtual FailureOr<bool> shouldExecute(StringRef actionTag, in shouldExecute() function
110 bool shouldExecute(Args &&...args) { in shouldExecute() function
117 return handler->shouldExecute( in shouldExecute()
205 virtual FailureOr<bool> shouldExecute(ParameterTs... parameters) { in shouldExecute() function
H A DDebugCounter.h41 FailureOr<bool> shouldExecute(StringRef tag, StringRef description) final;
/llvm-project-15.0.7/mlir/docs/
H A DDebugActions.md88 bool shouldExecute(Params &&... params);
93 usage of the `shouldExecute` query is shown below:
113 return manager.shouldExecute<ApplyPatternAction>(currentOp, currentPattern);
137 /// A variant of `shouldExecute` shown in the `DebugActionManager` class
142 FailureOr<bool> shouldExecute(Operation *op,
166 virtual FailureOr<bool> shouldExecute(StringRef actionTag,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp1096 if (!DebugCounter::shouldExecute(CSECounter)) { in handleBranchCondition()
1241 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1353 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1381 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1441 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1484 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1533 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
1561 if (!DebugCounter::shouldExecute(CSECounter)) { in processNode()
H A DDCE.cpp92 if (!DebugCounter::shouldExecute(DCECounter)) in DCEInstruction()
H A DPartiallyInlineLibCalls.cpp41 if (!DebugCounter::shouldExecute(PILCounter)) in optimizeSQRT()
H A DDivRemPairs.cpp193 if (!DebugCounter::shouldExecute(DRPCounter)) in optimizeDivRem()
H A DConstraintElimination.cpp754 if (!DebugCounter::shouldExecute(EliminatedCounter)) in eliminateConstraints()
774 if (!DebugCounter::shouldExecute(EliminatedCounter)) in eliminateConstraints()
H A DNewGVN.cpp2724 if (!DebugCounter::shouldExecute(PHIOfOpsCounter)) in makePossiblePHIOfOps()
3097 if (DebugCounter::shouldExecute(VNCounter)) { in valueNumberInstruction()
H A DDeadStoreElimination.cpp2034 if (!DebugCounter::shouldExecute(MemorySSACounter)) in eliminateDeadStores()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DDebugCounter.h74 inline static bool shouldExecute(unsigned CounterName) { in shouldExecute() function
/llvm-project-15.0.7/mlir/lib/Support/
H A DDebugCounter.cpp65 FailureOr<bool> DebugCounter::shouldExecute(StringRef tag, in shouldExecute() function in DebugCounter
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DAssumeBundleQueries.cpp161 if (!DebugCounter::shouldExecute(AssumeQueryCounter)) in getKnowledgeForValue()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineNegator.cpp523 if (!NegatorEnabled || !DebugCounter::shouldExecute(NegatorCounter)) in Negate()
H A DInstructionCombining.cpp4169 if (!DebugCounter::shouldExecute(VisitCounter)) in run()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIInsertWaitcnts.cpp415 DebugCounter::shouldExecute(ForceExpCounter)) { in setForceEmitWaitcnt()
422 DebugCounter::shouldExecute(ForceLgkmCounter)) { in setForceEmitWaitcnt()
429 DebugCounter::shouldExecute(ForceVMCounter)) { in setForceEmitWaitcnt()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DAssumeBundleBuilder.cpp227 if (!DebugCounter::shouldExecute(BuildAssumeCounter)) in build()
H A DPredicateInfo.cpp717 if (!DebugCounter::shouldExecute(RenameCounter)) { in renameUses()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64FalkorHWPFFix.cpp736 if (!DebugCounter::shouldExecute(FixCounter)) { in runOnLoop()
H A DAArch64LoadStoreOptimizer.cpp1706 if (DebugCounter::shouldExecute(RegRenamingCounter)) { in findMatchingInsn()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineCopyPropagation.cpp624 if (!DebugCounter::shouldExecute(FwdCounter)) { in forwardUses()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DAttributor.cpp1893 if (!DebugCounter::shouldExecute(ManifestDBGCounter)) in manifestAttributes()

12