Home
last modified time | relevance | path

Searched refs:trueLabel (Results 1 - 6 of 6) sorted by relevance

/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, falseLabe
[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
255 trueLabel->AppendPredecessor(GetCurrentLabel()); in Branch()
256 trueLabel->MergeControl(ifTrue); 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
74 trueLabel->AppendPredecessor(env_->GetCurrentLabel()); in BranchPredict()
75 trueLabel->MergeControl(ifTrue); in BranchPredict()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompiler.cpp1328 compiler::Label *trueLabel = etsg->AllocLabel(); in Compile() local
1332 etsg->JumpTo(st, trueLabel); in Compile()
1337 etsg->SetLabel(st, trueLabel); in Compile()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dpandagen.cpp2260 auto *trueLabel = AllocLabel(); in ThrowTypeErrorIfFalse() local
2261 BranchIfTrue(node, trueLabel); in ThrowTypeErrorIfFalse()
2263 SetLabel(node, trueLabel); in ThrowTypeErrorIfFalse()

Completed in 30 milliseconds