Searched refs:BytecodeGen (Results 1 – 9 of 9) sorted by relevance
| /arkcompiler/runtime_core/bytecode_optimizer/ |
| D | codegen.cpp | 38 void BytecodeGen::AppendCatchBlock(uint32_t type_id, const compiler::BasicBlock *try_begin, in AppendCatchBlock() 46 cb.try_begin_label = BytecodeGen::LabelName(try_begin->GetId()); in AppendCatchBlock() 47 cb.try_end_label = "end_" + BytecodeGen::LabelName(try_end->GetId()); in AppendCatchBlock() 48 cb.catch_begin_label = BytecodeGen::LabelName(catch_begin->GetId()); in AppendCatchBlock() 50 … catch_end == nullptr ? cb.catch_begin_label : "end_" + BytecodeGen::LabelName(catch_end->GetId()); in AppendCatchBlock() 54 void BytecodeGen::VisitTryBegin(const compiler::BasicBlock *bb) in VisitTryBegin() 67 bool BytecodeGen::RunImpl() in RunImpl() 75 EmitLabel(BytecodeGen::LabelName(bb->GetId())); in RunImpl() 77 auto label = "end_" + BytecodeGen::LabelName(bb->GetId()); in RunImpl() 119 void BytecodeGen::AddTypeInfoIndexForArguments(TypeInfoComponents *elements) const in AddTypeInfoIndexForArguments() [all …]
|
| D | codegen.h | 39 class BytecodeGen : public compiler::Optimization, public compiler::GraphVisitor { 41 explicit BytecodeGen(compiler::Graph *graph, pandasm::Function *function, in BytecodeGen() function 46 ~BytecodeGen() override = default;
|
| D | optimize_bytecode.cpp | 337 if (!graph->RunPass<BytecodeGen>(&function, &ir_interface, prog)) { in OptimizeFunction()
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/ |
| D | codegen_test.cpp | 110 BytecodeGen bc_gen(graph, function, interface, prog); in __anona44e78530102() 148 BytecodeGen bc_gen(graph, function, interface, prog); in __anona44e78530202() 187 BytecodeGen graph_visitor(graph, function, interface, prog); in __anona44e78530302() 195 BytecodeGen::VisitConstant(&graph_visitor, const_inst); in __anona44e78530302() 204 BytecodeGen::VisitConstant(&graph_visitor, const_inst1); in __anona44e78530302() 213 BytecodeGen::VisitConstant(&graph_visitor, const_inst2); in __anona44e78530302() 248 BytecodeGen bc_gen(graph, function, interface, prog); in __anona44e78530402() 290 BytecodeGen graph_visitor(graph, function, &interface, prog); in __anona44e78530502() 301 BytecodeGen::VisitLoadString(&graph_visitor, inst); in __anona44e78530502() 307 BytecodeGen::VisitLoadString(&graph_visitor, inst); in __anona44e78530502() [all …]
|
| D | bitops_bitwise_and_test.cpp | 121 EXPECT_TRUE(GetGraph()->RunPass<BytecodeGen>(&function, GetIrInterface())); in TEST_F()
|
| D | common.h | 732 EXPECT_TRUE(GetGraph()->RunPass<BytecodeGen>(&function, GetIrInterface())); in CheckOtherPasses() 764 EXPECT_TRUE(GetGraph()->RunPass<BytecodeGen>(&function, GetIrInterface())); in CheckConstArrayFilling() 808 EXPECT_TRUE(GetGraph()->RunPass<BytecodeGen>(&function, GetIrInterface())); in CheckConstArray()
|
| /arkcompiler/runtime_core/bytecode_optimizer/templates/ |
| D | codegen_intrinsics.cpp.erb | 20 void BytecodeGen::VisitIntrinsic(GraphVisitor *visitor, Inst *inst_base) 24 auto enc = static_cast<BytecodeGen *>(visitor);
|
| D | insn_selection.cpp.erb | 23 [[maybe_unused]] auto enc = static_cast<BytecodeGen*>(v);
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | generate_ecma.inl.erb | 19 void panda::bytecodeopt::BytecodeGen::VisitEcma(panda::compiler::GraphVisitor *visitor, Inst *inst_… 23 auto enc = static_cast<BytecodeGen *>(visitor);
|