Home
last modified time | relevance | path

Searched refs:endLabel (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dlabel_creation.cpp44 LabelNode *endLabel = mirBuilder->CreateStmtLabel(endLblIdx); in CreateStartEndLabel() local
45 cgFunc->SetEndLabel(*endLabel); in CreateStartEndLabel()
46 cgFunc->GetFunction().GetBody()->InsertLast(endLabel); in CreateStartEndLabel()
47 DEBUG_ASSERT(cgFunc->GetFunction().GetBody()->GetLast() == endLabel, "last stmt must be a endLabel"); in CreateStartEndLabel()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DconditionalExpression.cpp41 auto *endLabel = pg->AllocLabel(); in Compile() local
45 pg->Branch(this, endLabel); in Compile()
48 pg->SetLabel(this, endLabel); in Compile()
H A DbinaryExpression.cpp52 auto *endLabel = pg->AllocLabel(); in CompileLogical() local
75 pg->Branch(this, endLabel); in CompileLogical()
80 pg->SetLabel(this, endLabel); in CompileLogical()
H A DassignmentExpression.cpp120 auto *endLabel = pg->AllocLabel(); in Compile() local
140 pg->Branch(this, endLabel); in Compile()
144 pg->SetLabel(this, endLabel); in Compile()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dcondition.cpp61 auto *endLabel = pg->AllocLabel(); in Compile() local
64 pg->BranchIfTrue(binExpr, endLabel); in Compile()
68 pg->SetLabel(binExpr, endLabel); in Compile()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dencode_visitor.h395 static void FillCheckCast(GraphVisitor *visitor, Inst *inst, Reg src, LabelHolder::LabelId endLabel,
402 static void FillIsInstanceCaseOther(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel);
405 LabelHolder::LabelId endLabel);
408 LabelHolder::LabelId endLabel);
412 static void FillIsInstance(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel);
H A Dencode_visitor.cpp1652 void EncodeVisitor::FillCheckCast(GraphVisitor *visitor, Inst *inst, Reg src, LabelHolder::LabelId endLabel, in FillCheckCast() argument
1668 encoder->EncodeJump(endLabel, classReg, tmpReg, Condition::EQ); in FillCheckCast()
1722 auto endLabel = encoder->CreateLabel(); in VisitCheckCast() local
1728 encoder->EncodeJump(endLabel, src, Condition::EQ); in VisitCheckCast()
1732 FillCheckCast(visitor, inst, src, endLabel, klassType); in VisitCheckCast()
1733 encoder->BindLabel(endLabel); in VisitCheckCast()
1747 auto endLabel = slowPath->GetBackLabel(); in FillIsInstanceUnresolved() local
1752 encoder->EncodeJump(endLabel); in FillIsInstanceUnresolved()
1793 LabelHolder::LabelId endLabel) in FillIsInstanceCaseOther()
1811 encoder->EncodeJump(endLabel); in FillIsInstanceCaseOther()
1792 FillIsInstanceCaseOther(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel) FillIsInstanceCaseOther() argument
1818 FillIsInstanceCaseArrayObject(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel) FillIsInstanceCaseArrayObject() argument
1841 FillIsInstanceCaseArrayClass(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel) FillIsInstanceCaseArrayClass() argument
1879 FillIsInstance(GraphVisitor *visitor, Inst *inst, Reg tmpReg, LabelHolder::LabelId endLabel) FillIsInstance() argument
1925 auto endLabel = encoder->CreateLabel(); VisitIsInstance() local
[all...]
H A Dcodegen.cpp1357 auto endLabel = GetEncoder()->CreateLabel(); in CreateAlignmentValue() local
1360 GetEncoder()->EncodeJump(endLabel, alignmentReg, Condition::EQ); in CreateAlignmentValue()
1363 GetEncoder()->BindLabel(endLabel); in CreateAlignmentValue()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp157 auto *endLabel = etsg->AllocLabel(); in Compile() local
163 etsg->JumpCompareRegister<compiler::Jle>(expr, countReg, endLabel); in Compile()
179 etsg->SetLabel(expr, endLabel); in Compile()
474 auto *endLabel = etsg->AllocLabel(); in CompileNullishCoalescing() local
480 etsg->JumpTo(node, endLabel); in CompileNullishCoalescing()
485 etsg->SetLabel(node, endLabel); in CompileNullishCoalescing()
505 auto *endLabel = etsg->AllocLabel(); in CompileLogical() local
514 etsg->Branch(expr, endLabel); in CompileLogical()
524 etsg->Branch(expr, endLabel); in CompileLogical()
530 etsg->SetLabel(expr, endLabel); in CompileLogical()
935 auto *endLabel = etsg->AllocLabel(); Compile() local
1911 auto endLabel = etsg->AllocLabel(); Compile() local
[all...]
H A DJSCompiler.cpp490 auto *endLabel = pg->AllocLabel(); in CompileLogical() local
508 pg->Branch(expr, endLabel); in CompileLogical()
513 pg->SetLabel(expr, endLabel); in CompileLogical()
655 auto *endLabel = cg->AllocLabel(); in CompileImpl() local
659 cg->Branch(self, endLabel); in CompileImpl()
662 cg->SetLabel(self, endLabel); in CompileImpl()
H A DETSGen.cpp2767 Label *endLabel = AllocLabel(); in ExtendWithFinalizer() local
2770 if (!ExtendWithFinalizer(node->Parent(), originalNode, endLabel)) { in ExtendWithFinalizer()
2771 endLabel = nullptr; in ExtendWithFinalizer()
2774 endLabel = nullptr; in ExtendWithFinalizer()
2777 LabelPair insertion = compiler::LabelPair(beginLabel, endLabel); in ExtendWithFinalizer()
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dcondition.cpp62 auto *endLabel = pg->AllocLabel(); in CompileBinaryExpr() local
66 pg->BranchIfTrue(binExpr, endLabel); in CompileBinaryExpr()
71 pg->SetLabel(binExpr, endLabel); in CompileBinaryExpr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dcgfunc.h459 return endLabel; in GetEndLabel()
464 return endLabel; in GetEndLabel()
469 endLabel = &label; in SetEndLabel()
1142 LabelNode *endLabel = nullptr; /* end label of the function */ member in maplebe::CGFunc
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_MPIsel.cpp100 LabelNode *endLabel = cgFunc->GetEndLabel(); in SelectReturn() local
101 auto endLabelName = ".L." + std::to_string(cgFunc->GetUniqueID()) + "__" + std::to_string(endLabel->GetLabelIdx()); in SelectReturn()
102 LabelOperand &targetOpnd = cgFunc->GetOpndBuilder()->CreateLabel(endLabelName.c_str(), endLabel->GetLabelIdx()); in SelectReturn()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/amd64/
H A Dencode.cpp865 auto endLabel = GetMasm()->newLabel(); in EncodeCastFloat32ToUint64() local
877 GetMasm()->jmp(endLabel); in EncodeCastFloat32ToUint64()
885 GetMasm()->bind(endLabel); in EncodeCastFloat32ToUint64()
891 auto endLabel = GetMasm()->newLabel(); in EncodeCastFloat64ToUint64() local
903 GetMasm()->jmp(endLabel); in EncodeCastFloat64ToUint64()
911 GetMasm()->bind(endLabel); in EncodeCastFloat64ToUint64()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp1443 auto *endLabel = AllocLabel(); in Negate() local
1446 Branch(node, endLabel); in Negate()
1449 SetLabel(node, endLabel); in Negate()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/
H A Dencode.cpp2995 auto endLabel = labelHolder->CreateLabel(); in EncodeCmp() local
3001 GetMasm()->B(Convert(Condition::LT), labelHolder->GetLabel(endLabel)); in EncodeCmp()
3008 labelHolder->BindLabel(endLabel); in EncodeCmp()

Completed in 39 milliseconds