| /llvm-project-15.0.7/mlir/unittests/Support/ |
| H A D | DebugActionTest.cpp | 46 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 D | DebugCounterTest.cpp | 33 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 D | DebugCounterTest.cpp | 28 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 D | DebugAction.h | 79 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 D | DebugCounter.h | 41 FailureOr<bool> shouldExecute(StringRef tag, StringRef description) final;
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DebugActions.md | 88 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 D | EarlyCSE.cpp | 1096 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 D | DCE.cpp | 92 if (!DebugCounter::shouldExecute(DCECounter)) in DCEInstruction()
|
| H A D | PartiallyInlineLibCalls.cpp | 41 if (!DebugCounter::shouldExecute(PILCounter)) in optimizeSQRT()
|
| H A D | DivRemPairs.cpp | 193 if (!DebugCounter::shouldExecute(DRPCounter)) in optimizeDivRem()
|
| H A D | ConstraintElimination.cpp | 754 if (!DebugCounter::shouldExecute(EliminatedCounter)) in eliminateConstraints() 774 if (!DebugCounter::shouldExecute(EliminatedCounter)) in eliminateConstraints()
|
| H A D | NewGVN.cpp | 2724 if (!DebugCounter::shouldExecute(PHIOfOpsCounter)) in makePossiblePHIOfOps() 3097 if (DebugCounter::shouldExecute(VNCounter)) { in valueNumberInstruction()
|
| H A D | DeadStoreElimination.cpp | 2034 if (!DebugCounter::shouldExecute(MemorySSACounter)) in eliminateDeadStores()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 74 inline static bool shouldExecute(unsigned CounterName) { in shouldExecute() function
|
| /llvm-project-15.0.7/mlir/lib/Support/ |
| H A D | DebugCounter.cpp | 65 FailureOr<bool> DebugCounter::shouldExecute(StringRef tag, in shouldExecute() function in DebugCounter
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | AssumeBundleQueries.cpp | 161 if (!DebugCounter::shouldExecute(AssumeQueryCounter)) in getKnowledgeForValue()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineNegator.cpp | 523 if (!NegatorEnabled || !DebugCounter::shouldExecute(NegatorCounter)) in Negate()
|
| H A D | InstructionCombining.cpp | 4169 if (!DebugCounter::shouldExecute(VisitCounter)) in run()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInsertWaitcnts.cpp | 415 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 D | AssumeBundleBuilder.cpp | 227 if (!DebugCounter::shouldExecute(BuildAssumeCounter)) in build()
|
| H A D | PredicateInfo.cpp | 717 if (!DebugCounter::shouldExecute(RenameCounter)) { in renameUses()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64FalkorHWPFFix.cpp | 736 if (!DebugCounter::shouldExecute(FixCounter)) { in runOnLoop()
|
| H A D | AArch64LoadStoreOptimizer.cpp | 1706 if (DebugCounter::shouldExecute(RegRenamingCounter)) { in findMatchingInsn()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineCopyPropagation.cpp | 624 if (!DebugCounter::shouldExecute(FwdCounter)) { in forwardUses()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 1893 if (!DebugCounter::shouldExecute(ManifestDBGCounter)) in manifestAttributes()
|