Home
last modified time | relevance | path

Searched refs:ifBranch (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Ddead_code_elimination_test.cpp48 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 Dcombined_pass_visitor_test.cpp57 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 Dasync_function_lowering.cpp90 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 Dasync_function_lowering.h61 void ModifyStateInput(GateRef stateInGate, GateRef ifBranch, GateRef ifFalse);
H A Dpost_schedule.cpp241 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 Dbuiltins_lowering.cpp187 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 Dntype_hcr_lowering.cpp349 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 Dcircuit_builder.cpp144 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 Dnumber_speculative_lowering.cpp466 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 Dnative_inline_lowering.cpp1078 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 Dslowpath_lowering.cpp159 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 Dcircuit_builder.h220 GateRef IfTrue(GateRef ifBranch);
221 GateRef IfFalse(GateRef ifBranch);
H A Dtyped_hcr_lowering.cpp1685 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 Dtyped_native_inline_lowering.cpp3189 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 Dstub_builder.cpp71 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()

Completed in 59 milliseconds