Lines Matching refs:BytecodeGen
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()
130 void BytecodeGen::AddOrderAndTypeInfoIndex(int32_t order, TypeInfoIndex type, TypeInfoComponents *e… in AddOrderAndTypeInfoIndex()
159 void BytecodeGen::AddTypeInfoIndexForIns(int32_t order, size_t id, TypeInfoComponents *elements) co… in AddTypeInfoIndexForIns()
167 void BytecodeGen::UpdateTypeInfoIndexAnnotation(const TypeInfoComponents *elements) in UpdateTypeInfoIndexAnnotation()
194 void BytecodeGen::EmitJump(const BasicBlock *bb) in EmitJump()
202 result_.push_back(pandasm::Create_JMP(BytecodeGen::LabelName(suc_bb->GetId()))); in EmitJump()
217 result_.push_back(pandasm::Create_JMP(BytecodeGen::LabelName(suc_bb->GetId()))); in EmitJump()
220 void BytecodeGen::AddLineNumber(const Inst *inst, const size_t idx) in AddLineNumber()
228 void BytecodeGen::AddColumnNumber(const Inst *inst, const uint32_t idx) in AddColumnNumber()
236 void BytecodeGen::EncodeSpillFillData(const compiler::SpillFillData &sf) in EncodeSpillFillData()
258 void BytecodeGen::VisitSpillFill(GraphVisitor *visitor, Inst *inst) in VisitSpillFill()
260 auto *enc = static_cast<BytecodeGen *>(visitor); in VisitSpillFill()
279 void BytecodeGen::VisitConstant(GraphVisitor *visitor, Inst *inst) in VisitConstant()
281 auto *enc = static_cast<BytecodeGen *>(visitor); in VisitConstant()
314 void BytecodeGen::EncodeSta(compiler::Register reg, compiler::DataType::Type type) in EncodeSta()
334 void BytecodeGen::VisitIf(GraphVisitor *v, Inst *inst_base) in VisitIf()
336 auto enc = static_cast<BytecodeGen *>(v); in VisitIf()
384 void BytecodeGen::IfEcma(GraphVisitor *v, compiler::IfInst *inst) in IfEcma()
386 auto enc = static_cast<BytecodeGen *>(v); in IfEcma()
438 void BytecodeGen::VisitIfImm(GraphVisitor *v, Inst *inst_base) in VisitIfImm()
448 void BytecodeGen::IfImmZero(GraphVisitor *v, Inst *inst_base) in IfImmZero()
450 auto enc = static_cast<BytecodeGen *>(v); in IfImmZero()
466 void BytecodeGen::VisitLoadString(GraphVisitor *v, Inst *inst_base) in VisitLoadString()
469 auto enc = static_cast<BytecodeGen *>(v); in VisitLoadString()
483 void BytecodeGen::VisitReturn(GraphVisitor *v, Inst *inst_base) in VisitReturn()
486 auto enc = static_cast<BytecodeGen *>(v); in VisitReturn()
508 void BytecodeGen::VisitCastValueToAnyType([[maybe_unused]] GraphVisitor *v, [[maybe_unused]] Inst *… in VisitCastValueToAnyType()
510 auto enc = static_cast<BytecodeGen *>(v); in VisitCastValueToAnyType()
568 void BytecodeGen::VisitIntrinsic(GraphVisitor *visitor, Inst *inst_base) in VisitIntrinsic()
574 void BytecodeGen::VisitCatchPhi(GraphVisitor *visitor, Inst *inst) in VisitCatchPhi()