/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
H A D | dead_code_elimination_test.cpp | 48 auto ifBranch = circuit.NewGate(circuit.IfBranch(0), {dead, arg0}); in HWTEST_F_L0() local 49 auto ifTrue = circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() 50 auto ifFalse = circuit.NewGate(circuit.IfFalse(), {ifBranch}); in HWTEST_F_L0() 58 EXPECT_TRUE(acc.IsNop(ifBranch)); in HWTEST_F_L0() 81 auto ifBranch = circuit.NewGate(circuit.IfBranch(0), {entry, icmp}); in HWTEST_F_L0() local 82 circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() 83 auto ifFalse = circuit.NewGate(circuit.IfFalse(), {ifBranch}); in HWTEST_F_L0() 113 auto ifBranch = circuit.NewGate(circuit.IfBranch(0), {entry, icmp}); in HWTEST_F_L0() local 114 auto ifTrue = circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() 115 auto ifFalse = circuit.NewGate(circuit.IfFalse(), {ifBranch}); in HWTEST_F_L0() [all...] |
H A D | combined_pass_visitor_test.cpp | 57 auto ifBranch = circuit.NewGate(circuit.IfBranch(0), {entry, icmp}); in HWTEST_F_L0() local 58 circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() 59 auto ifFalse = circuit.NewGate(circuit.IfFalse(), {ifBranch}); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | async_function_lowering.cpp | 90 GateRef ifBranch = circuit_->NewGate(circuit_->IfBranch(0), { ifFalseCondition, condition });
in RebuildGeneratorCfg() local 91 GateRef ifTrue = circuit_->NewGate(circuit_->IfTrue(), {ifBranch});
in RebuildGeneratorCfg() 92 GateRef ifFalse = circuit_->NewGate(circuit_->IfFalse(), {ifBranch});
in RebuildGeneratorCfg() 105 accessor_.ReplaceStateIn(ifBranch, ifFalseCondition);
in RebuildGeneratorCfg() 114 firstState = ifBranch;
in RebuildGeneratorCfg() 134 GateRef ifBranch = circuit_->NewGate(circuit_->IfBranch(0), {stateInGate, condition});
in RebuildGeneratorCfg() local 135 GateRef ifTrue = circuit_->NewGate(circuit_->IfTrue(), {ifBranch});
in RebuildGeneratorCfg() 136 GateRef ifFalse = circuit_->NewGate(circuit_->IfFalse(), {ifBranch});
in RebuildGeneratorCfg() 153 accessor_.ReplaceStateIn(ifBranch, stateInGate);
in RebuildGeneratorCfg() 154 ModifyStateInput(stateInGate, ifBranch, ifFals in RebuildGeneratorCfg() 234 ModifyStateInput(GateRef stateInGate, GateRef ifBranch, GateRef ifFalse) ModifyStateInput() argument [all...] |
H A D | async_function_lowering.h | 61 void ModifyStateInput(GateRef stateInGate, GateRef ifBranch, GateRef ifFalse);
|
H A D | post_schedule.cpp | 241 GateRef ifBranch = currentLabel->GetControl(); in LoweringHeapAllocAndPrepareScheduleGate() 242 PrepareToScheduleNewGate(ifBranch, currentBBGates); in LoweringHeapAllocAndPrepareScheduleGate() 528 GateRef ifBranch = currentLabel->GetControl(); in LoweringStoreUnknownBarrierAndPrepareScheduleGate() local 529 PrepareToScheduleNewGate(ifBranch, currentBBGates); in LoweringStoreUnknownBarrierAndPrepareScheduleGate()
|
H A D | builtins_lowering.cpp | 187 auto ifBranch = builder_.Branch(state, equal, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithValue() local 189 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithValue() 190 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceHirWithValue()
|
H A D | ntype_hcr_lowering.cpp | 349 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException() local 350 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() 351 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceGateWithPendingException()
|
H A D | circuit_builder.cpp | 144 GateRef CircuitBuilder::IfTrue(GateRef ifBranch) in IfTrue() argument 146 return circuit_->NewGate(circuit_->IfTrue(), { ifBranch }); in IfTrue() 149 GateRef CircuitBuilder::IfFalse(GateRef ifBranch) in IfFalse() argument 151 return circuit_->NewGate(circuit_->IfFalse(), { ifBranch }); in IfFalse() 252 GateRef ifBranch = Branch(currentControl, condition, trueWeight, falseWeight, comment); in Branch() local 253 currentLabel->SetControl(ifBranch); in Branch() 254 GateRef ifTrue = IfTrue(ifBranch); in Branch() 257 GateRef ifFalse = IfFalse(ifBranch); in Branch()
|
H A D | number_speculative_lowering.cpp | 466 GateRef ifBranch = builder_.Branch(acc_.GetState(gate), condition, trueWeight, falseWeight, "booleanJump"); in VisitBooleanJump() local 467 acc_.ReplaceGate(gate, ifBranch, acc_.GetDep(gate), Circuit::NullGate()); in VisitBooleanJump()
|
H A D | native_inline_lowering.cpp | 1078 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException() local 1080 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() 1081 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceGateWithPendingException()
|
H A D | slowpath_lowering.cpp | 159 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithPendingException() local 160 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithPendingException() 161 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceHirWithPendingException() 193 auto ifBranch = builder_.Branch(state, equal, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithValue() local 195 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithValue() 196 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceHirWithValue() 218 GateRef ifBranch = builder_.Branch(state, condition, BranchWeight::DEOPT_WEIGHT, 1, "checkException"); in ReplaceHirToThrowCall() local 219 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirToThrowCall() 220 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceHirToThrowCall()
|
H A D | circuit_builder.h | 220 GateRef IfTrue(GateRef ifBranch); 221 GateRef IfFalse(GateRef ifBranch);
|
H A D | typed_hcr_lowering.cpp | 1685 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithPendingException() local 1686 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithPendingException() 1687 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceHirWithPendingException() 2759 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException() local 2760 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() 2761 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceGateWithPendingException()
|
H A D | typed_native_inline_lowering.cpp | 3189 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException() local 3190 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() 3191 GateRef ifFalse = builder_.IfFalse(ifBranch); in ReplaceGateWithPendingException()
|
H A D | stub_builder.cpp | 71 GateRef ifBranch = env_->GetBuilder()->Branch(currentControl, condition, trueWeight, falseWeight, comment); in BranchPredict() local 72 currentLabel->SetControl(ifBranch); in BranchPredict() 73 GateRef ifTrue = env_->GetBuilder()->IfTrue(ifBranch); in BranchPredict() 76 GateRef ifFalse = env_->GetBuilder()->IfFalse(ifBranch); in BranchPredict()
|