/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | lowering.cpp | 26 void Lowering::VisitAdd([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitAdd() 35 void Lowering::VisitSub([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitSub() 44 void Lowering::VisitCastValueToAnyType([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitCastValueToAnyType() 60 COMPILER_LOG(DEBUG, LOWERING) << "Lowering is applied for " << GetOpcodeString(inst->GetOpcode()); in VisitCastValueToAnyType() 90 void Lowering::VisitCast([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitCast() 117 COMPILER_LOG(DEBUG, LOWERING) << "Lowering is applied for " << GetOpcodeString(inst->GetOpcode()); in VisitCast() 121 void Lowering::VisitBitwiseBinaryOperation([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitBitwiseBinaryOperation() 130 void Lowering::VisitOr(GraphVisitor *v, Inst *inst) in VisitOr() 135 void Lowering::VisitAnd(GraphVisitor *v, Inst *inst) in VisitAnd() 140 void Lowering [all...] |
H A D | lowering.h | 27 class Lowering : public Optimization, public GraphVisitor { class 31 explicit Lowering(Graph *graph) : Optimization(graph) {} in Lowering() function in ark::compiler::Lowering 42 return "Lowering"; 361 COMPILER_LOG(DEBUG, LOWERING) << "Lowering is applied for " << GetOpcodeString(inst->GetOpcode()); in InsertInstruction()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
H A D | lowering.cpp | 19 void Lowering::VisitIfImm([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitIfImm() 26 bool Lowering::ConstantFitsCompareImm(Inst *cst, uint32_t size, ConditionCode cc) in ConstantFitsCompareImm() 37 bool Lowering::BetterToSwapCompareInputs(Inst *cmp) in BetterToSwapCompareInputs() 59 void Lowering::OptimizeIfInput(compiler::Inst *if_inst) in OptimizeIfInput() 75 void Lowering::LowerIf(IfImmInst *inst) in LowerIf() 132 COMPILER_LOG(DEBUG, LOWERING) << "Lowering is applied for " << GetOpcodeString(inst->GetOpcode()); in LowerIf() 136 void Lowering::InPlaceLowerIfImm(IfImmInst *inst, Inst *input, Inst *cst, ConditionCode cc) in InPlaceLowerIfImm() 147 COMPILER_LOG(DEBUG, LOWERING) << "Lowering is applied for " << GetOpcodeString(inst->GetOpcode()); in InPlaceLowerIfImm() 150 void Lowering::InvalidateAnalyses() in InvalidateAnalyses() 154 bool Lowering [all...] |
H A D | lowering.h | 26 class Lowering : public Optimization, public GraphVisitor { class 30 explicit Lowering(Graph *graph) : Optimization(graph) {} in Lowering() function in panda::compiler::Lowering 41 return "Lowering";
|
/arkcompiler/runtime_core/static_core/compiler/tests/ |
H A D | lowering_test.cpp | 58 graph->RunPass<Lowering>(); in ReturnTest() 158 GetGraph()->RunPass<Lowering>(); in TEST_F() 203 graph->RunPass<compiler::Lowering>(); in TEST_F() 255 GetGraph()->RunPass<Lowering>(); in TEST_F() 329 GetGraph()->RunPass<Lowering>(); in TEST_F() 380 GetGraph()->RunPass<Lowering>(); in TEST_F() 441 GetGraph()->RunPass<Lowering>(); in TEST_F() 480 GetGraph()->RunPass<Lowering>(); in TEST_F() 531 EXPECT_TRUE(graph->RunPass<Lowering>()); in TEST_F() 599 EXPECT_TRUE(graph->RunPass<Lowering>()); in TEST_F() [all...] |
H A D | peepholes_test.cpp | 3707 GetGraph()->RunPass<Lowering>(); in TEST_F() 5748 EXPECT_TRUE(graph->RunPass<Lowering>()); in TEST_F() 5938 EXPECT_TRUE(graph->RunPass<Lowering>()); in TEST_F()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | optimize_bytecode.cpp | 64 if constexpr (std::is_same_v<T, compiler::Lowering>) { in RunOpts() 96 // NB! Canonicalization and compiler::Lowering should be present in all levels in RunOptimizations() 97 // since without Lowering pass, RegEncoder will not work for Compare instructions, in RunOptimizations() 99 // Lowering can't work without Canonicalization pass. in RunOptimizations() 101 RunOpts<compiler::ValNum, compiler::Lowering, compiler::MoveConstants>(graph); in RunOptimizations() 103 RunOpts<Canonicalization, compiler::Lowering>(graph); in RunOptimizations() 108 compiler::BranchElimination, Canonicalization, compiler::Lowering, compiler::MoveConstants, in RunOptimizations()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | compiler_optimizations_test.cpp | 214 * @tc.desc: Verify the Lowering function. 229 EXPECT_TRUE(graph->RunPass<Lowering>()); in HWTEST_F() 252 EXPECT_TRUE(graph->RunPass<Lowering>()); in HWTEST_F()
|
H A D | pass_manager_test.cpp | 152 graph->RunPass<Lowering>(); in HWTEST_F() 176 EXPECT_EQ(lines[8].substr(0, ID_PASSNAME_COLUMN_WIDTH), " 6 Lowering :"); in HWTEST_F()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | bc_lowering_test.cpp | 29 TEST_F(IrBuilderTest, Lowering) in TEST_F() 58 GetGraph()->RunPass<compiler::Lowering>(); in TEST_F() 115 init->RunPass<compiler::Lowering>(); in TEST_F() 190 init->RunPass<compiler::Lowering>(); in TEST_F() 270 init->RunPass<compiler::Lowering>(); in TEST_F() 346 init->RunPass<compiler::Lowering>(); in TEST_F()
|
H A D | common.h | 724 GetGraph()->RunPass<compiler::Lowering>(); in CheckOtherPasses()
|
H A D | codegen_test.cpp | 146 graph->RunPass<compiler::Lowering>(); in TEST_F() 1605 graph->RunPass<compiler::Lowering>(); in TEST_F()
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | function.cpp | 283 graph->RunPass<compiler::Lowering>(); in RunIrtocInterpreterOptimizations() 308 graph->RunPass<compiler::Lowering>(); in RunIrtocOptimizations()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ |
H A D | pipeline.cpp | 255 graph->RunPass<Lowering>(); in RunOptimizations()
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
H A D | codegen_test.cpp | 544 EXPECT_TRUE(graph->RunPass<panda::compiler::Lowering>()); in HWTEST_F()
|
H A D | common.h | 724 GetGraph()->RunPass<compiler::Lowering>();
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | optimize_bytecode.cpp | 83 RunOpts<compiler::ValNum, compiler::Lowering, compiler::MoveConstants>(graph); in RunOptimizations()
|
/arkcompiler/runtime_core/static_core/compiler/tests/codegen/ |
H A D | codegen_test_1.cpp | 301 // GraphChecker hack: LowLevel instructions may appear only after Lowering pass: in CheckStoreArrayPair() 395 // GraphChecker hack: LowLevel instructions may appear only after Lowering pass: in CheckLoadArrayPair() 457 // GraphChecker hack: LowLevel instructions may appear only after Lowering pass: in SRC_GRAPH() 816 EXPECT_TRUE(graph->RunPass<Lowering>()); in TEST_F()
|