Home
last modified time | relevance | path

Searched refs:TestFunctionPass (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_optimization_registration_test.cc26 class TestFunctionPass : public FunctionOptimizationPass { class
39 bool TestFunctionPass::ran_ = false;
42 register_test_pass(std::make_unique<TestFunctionPass>());
45 EXPECT_FALSE(TestFunctionPass::ran_); in TEST()
54 EXPECT_TRUE(TestFunctionPass::ran_); in TEST()
/external/llvm-project/mlir/test/lib/Pass/
DTestPassManager.cpp20 struct TestFunctionPass : public PassWrapper<TestFunctionPass, FunctionPass> { struct
82 nestedFunctionPM.addPass(std::make_unique<TestFunctionPass>()); in testNestedPipeline()
86 functionPM.addPass(std::make_unique<TestFunctionPass>()); in testNestedPipeline()
101 PassRegistration<TestFunctionPass>( in registerPassManagerTestPass()
/external/llvm/unittests/IR/
DPassManagerTest.cpp107 struct TestFunctionPass : PassInfoMixin<TestFunctionPass> { struct
108 TestFunctionPass(int &RunCount, int &AnalyzedInstrCount, in TestFunctionPass() argument
241 NestedFPM.addPass(TestFunctionPass( in TEST_F()
259 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F()
272 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F()
285 FPM.addPass(TestFunctionPass(FunctionPassRunCount4, AnalyzedInstrCount4, in TEST_F()
297 FPM.addPass(TestFunctionPass(FunctionPassRunCount5, AnalyzedInstrCount5, in TEST_F()
/external/llvm-project/mlir/test/Pass/
Dpipeline-parsing.mlir26 // CHECK-NEXT: TestFunctionPass
33 // CHECK-NEXT: TestFunctionPass
37 // TEXTUAL_CHECK-NEXT: TestFunctionPass
41 // TEXTUAL_CHECK-NEXT: TestFunctionPass
Dpass-timing.mlir50 // NESTED_MT_PIPELINE-NEXT: TestFunctionPass
54 // NESTED_MT_PIPELINE-NEXT: TestFunctionPass
/external/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp198 struct TestFunctionPass { struct
199 TestFunctionPass(int &RunCount) : RunCount(RunCount) {} in TestFunctionPass() argument
292 FPM1.addPass(TestFunctionPass(FunctionPassRunCount1)); in TEST()
/external/llvm-project/llvm/unittests/IR/
DPassManagerTest.cpp112 struct TestFunctionPass : PassInfoMixin<TestFunctionPass> { struct
113 TestFunctionPass(int &RunCount, int &AnalyzedInstrCount, in TestFunctionPass() argument
447 NestedFPM.addPass(TestFunctionPass(FunctionPassRunCount1, in TEST_F()
466 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F()
479 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F()
493 FPM.addPass(TestFunctionPass(FunctionPassRunCount4, AnalyzedInstrCount4, in TEST_F()
506 FPM.addPass(TestFunctionPass(FunctionPassRunCount5, AnalyzedInstrCount5, in TEST_F()