Home
last modified time | relevance | path

Searched refs:falseLabel (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dcondition.h36 static void Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel);
37 static void Compile(ETSGen *etsg, const ir::Expression *expr, Label *falseLabel);
41 static bool CompileBinaryExpr(PandaGen *pg, const ir::BinaryExpression *binExpr, Label *falseLabel);
42 static bool CompileBinaryExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
43 static void CompileLogicalAndExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
44 static void CompileLogicalOrExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
45 static bool CompileBinaryExprForBigInt(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
46 static void CompileInstanceofExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
H A Dcondition.cpp26 bool Condition::CompileBinaryExpr(PandaGen *pg, const ir::BinaryExpression *binExpr, Label *falseLabel) in CompileBinaryExpr() argument
48 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in CompileBinaryExpr()
54 pg->BranchIfFalse(binExpr, falseLabel); in CompileBinaryExpr()
58 pg->BranchIfFalse(binExpr, falseLabel); in CompileBinaryExpr()
70 pg->BranchIfFalse(binExpr, falseLabel); in CompileBinaryExpr()
81 void Condition::Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel) in Compile() argument
84 if (CompileBinaryExpr(pg, expr->AsBinaryExpression(), falseLabel)) { in Compile()
92 pg->BranchIfFalse(expr, falseLabel); in Compile()
99 pg->BranchIfFalse(expr, falseLabel); in Compile()
129 void Condition::CompileLogicalOrExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) in CompileLogicalOrExpr() argument
159 CompileLogicalAndExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileLogicalAndExpr() argument
190 CompileBinaryExprForBigInt(ETSGen *etsg, const ir::BinaryExpression *expr, Label *falseLabel) CompileBinaryExprForBigInt() argument
238 CompileInstanceofExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileInstanceofExpr() argument
245 CompileBinaryExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileBinaryExpr() argument
286 Compile(ETSGen *etsg, const ir::Expression *expr, Label *falseLabel) Compile() argument
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dcondition.cpp24 void Condition::Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel) in Compile() argument
49 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in Compile()
54 pg->BranchIfFalse(binExpr, falseLabel); in Compile()
57 pg->BranchIfFalse(binExpr, falseLabel); in Compile()
67 pg->BranchIfFalse(binExpr, falseLabel); in Compile()
80 pg->BranchIfFalse(expr, falseLabel); in Compile()
86 pg->BranchIfFalse(expr, falseLabel); in Compile()
H A Dcondition.h30 static void Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel);
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DconditionalExpression.cpp40 auto *falseLabel = pg->AllocLabel(); in Compile() local
43 compiler::Condition::Compile(pg, test_, falseLabel); in Compile()
46 pg->SetLabel(this, falseLabel); in Compile()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dstub_builder.h140 #define BRANCH(condition, trueLabel, falseLabel) \
143 os << __func__ << ": " << #trueLabel << "- " << #falseLabel; \
144 Branch(condition, trueLabel, falseLabel, os.str().c_str()); \
147 void Branch(GateRef condition, Label *trueLabel, Label *falseLabel, const char *comment = nullptr);
149 #define BRANCH_LIKELY(condition, trueLabel, falseLabel) \
152 os << __func__ << ": " << #trueLabel << "(likely)- " << #falseLabel; \
153 BranchPredict(condition, trueLabel, falseLabel, \
157 #define BRANCH_UNLIKELY(condition, trueLabel, falseLabel) \
160 os << __func__ << ": " << #trueLabel << "(unlikely)- " << #falseLabel; \
161 BranchPredict(condition, trueLabel, falseLabel, \
[all...]
H A Dcircuit_builder.h248 #define BRANCH_CIR(condition, trueLabel, falseLabel) \
251 os << __func__ << ": " << #trueLabel << "- " << #falseLabel; \
252 builder_.Branch(condition, trueLabel, falseLabel, 1, 1, os.str().c_str()); \
255 #define BRANCH_CIR2(condition, trueLabel, falseLabel) \
258 os << __func__ << ": " << #trueLabel << "- " << #falseLabel; \
259 Branch(condition, trueLabel, falseLabel, 1, 1, os.str().c_str()); \
359 void Branch(GateRef condition, Label *trueLabel, Label *falseLabel,
H A Dcircuit_builder.cpp247 void CircuitBuilder::Branch(GateRef condition, Label *trueLabel, Label *falseLabel, in Branch() argument
258 falseLabel->AppendPredecessor(GetCurrentLabel()); in Branch()
259 falseLabel->MergeControl(ifFalse); in Branch()
H A Dstub_builder.cpp61 void StubBuilder::Branch(GateRef condition, Label *trueLabel, Label *falseLabel, const char* comment) in Branch() argument
63 return BranchPredict(condition, trueLabel, falseLabel, BranchWeight::ONE_WEIGHT, BranchWeight::ONE_WEIGHT, comment); in Branch()
66 void StubBuilder::BranchPredict(GateRef condition, Label *trueLabel, Label *falseLabel, uint32_t trueWeight, in BranchPredict() argument
77 falseLabel->AppendPredecessor(env_->GetCurrentLabel()); in BranchPredict()
78 falseLabel->MergeControl(ifFalse); in BranchPredict()
H A Dtyped_native_inline_lowering.cpp3096 Label falseLabel(&builder_); in NormalCompareLoop()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp934 auto *falseLabel = etsg->AllocLabel(); in Compile() local
937 compiler::Condition::Compile(etsg, expr->Test(), falseLabel); in Compile()
944 etsg->SetLabel(expr, falseLabel); in Compile()
1329 compiler::Label *falseLabel = etsg->AllocLabel(); in Compile() local
1331 compiler::Condition::Compile(etsg, st->Test(), falseLabel); in Compile()
1334 etsg->SetLabel(st, falseLabel); in Compile()
H A DJSCompiler.cpp654 auto *falseLabel = cg->AllocLabel(); in CompileImpl() local
657 compiler::Condition::Compile(cg, self->Test(), falseLabel); in CompileImpl()
660 cg->SetLabel(self, falseLabel); in CompileImpl()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp1442 auto *falseLabel = AllocLabel(); in Negate() local
1444 BranchIfTrue(node, falseLabel); in Negate()
1447 SetLabel(node, falseLabel); in Negate()
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dencode_visitor.cpp1802 auto falseLabel = encoder->CreateLabel(); in FillIsInstanceCaseOther() local
1807 encoder->EncodeJump(falseLabel, tmpReg, Condition::EQ); in FillIsInstanceCaseOther()
1813 encoder->BindLabel(falseLabel); in FillIsInstanceCaseOther()

Completed in 72 milliseconds