Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
H A Ddead_code_elimination_test.cpp49 auto ifTrue = circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() local
51 auto trueReturn = circuit.NewGate(circuit.Return(), {ifTrue, depend, arg0, circuit.GetReturnRoot()}); in HWTEST_F_L0()
59 EXPECT_TRUE(acc.IsNop(ifTrue)); in HWTEST_F_L0()
114 auto ifTrue = circuit.NewGate(circuit.IfTrue(), {ifBranch}); in HWTEST_F_L0() local
116 auto ifBranch2 = circuit.NewGate(circuit.IfBranch(0), {ifTrue, icmp}); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dasync_function_lowering.cpp91 GateRef ifTrue = circuit_->NewGate(circuit_->IfTrue(), {ifBranch}); in RebuildGeneratorCfg() local
93 GateRef ifTrueDepend = builder_.DependRelay(ifTrue, restoreOffsetGate); in RebuildGeneratorCfg()
96 accessor_.ReplaceStateIn(resumeGate, ifTrue); in RebuildGeneratorCfg()
103 loopBeginStateIn = ifTrue; in RebuildGeneratorCfg()
135 GateRef ifTrue = circuit_->NewGate(circuit_->IfTrue(), {ifBranch}); in RebuildGeneratorCfg() local
140 accessor_.ReplaceStateIn(resumeGate, ifTrue); in RebuildGeneratorCfg()
150 UpdateValueSelector(prevLoopBeginGate, ifTrue, prevBcOffsetPhiGate, false); in RebuildGeneratorCfg()
H A Dpost_schedule.cpp276 GateRef ifTrue = builder_.GetState(); in LoweringHeapAllocAndPrepareScheduleGate()
310 PrepareToScheduleNewGate(ifTrue, failBBGates); in LoweringHeapAllocAndPrepareScheduleGate()
538 GateRef ifTrue = isHeapObject.GetControl(); in LoweringStoreUnknownBarrierAndPrepareScheduleGate() local
572 PrepareToScheduleNewGate(ifTrue, barrierBBGates); in LoweringStoreUnknownBarrierAndPrepareScheduleGate()
H A Dbuiltins_lowering.cpp189 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithValue() local
191 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceHirWithValue()
194 StateDepend exception(ifTrue, eDepend); in ReplaceHirWithValue()
H A Dntype_hcr_lowering.cpp350 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() local
352 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceGateWithPendingException()
356 StateDepend exception(ifTrue, eDepend); in ReplaceGateWithPendingException()
H A Dbytecode_circuit_builder.cpp890 auto ifTrue = circuit_->NewGate(circuit_->IfTrue(), {gate}); in NewJump() local
891 auto trueRelay = circuit_->NewGate(circuit_->DependRelay(), {ifTrue, gate}); in NewJump()
900 frameStateBuilder_.UpdateStateDepend(ifTrue, trueRelay); in NewJump()
H A Dslowpath_lowering.cpp160 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithPendingException() local
162 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceHirWithPendingException()
166 StateDepend exception(ifTrue, eDepend); in ReplaceHirWithPendingException()
195 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithValue() local
197 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceHirWithValue()
200 StateDepend exception(ifTrue, eDepend); in ReplaceHirWithValue()
219 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirToThrowCall() local
221 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceHirToThrowCall()
225 StateDepend exception(ifTrue, eDepend); in ReplaceHirToThrowCall()
2123 Label &ifTrue in LowerConditionJump() local
[all...]
H A Dnative_inline_lowering.cpp1080 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() local
1082 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceGateWithPendingException()
1085 StateDepend exception(ifTrue, eDepend); in ReplaceGateWithPendingException()
H A Dcircuit_builder.cpp254 GateRef ifTrue = IfTrue(ifBranch); in Branch() local
256 trueLabel->MergeControl(ifTrue); in Branch()
H A Dtyped_hcr_lowering.cpp1686 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceHirWithPendingException() local
1688 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceHirWithPendingException()
1692 StateDepend exception(ifTrue, eDepend); in ReplaceHirWithPendingException()
2760 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() local
2762 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceGateWithPendingException()
2766 StateDepend exception(ifTrue, eDepend); in ReplaceGateWithPendingException()
H A Dtyped_native_inline_lowering.cpp3190 GateRef ifTrue = builder_.IfTrue(ifBranch); in ReplaceGateWithPendingException() local
3192 GateRef eDepend = builder_.DependRelay(ifTrue, depend); in ReplaceGateWithPendingException()
3195 StateDepend exception(ifTrue, eDepend); in ReplaceGateWithPendingException()
H A Dstub_builder.cpp73 GateRef ifTrue = env_->GetBuilder()->IfTrue(ifBranch); in BranchPredict() local
75 trueLabel->MergeControl(ifTrue); in BranchPredict()
/arkcompiler/runtime_core/compiler/tests/js/
H A DbranchElimination.js29 function ifTrue(a) { function
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSGen.cpp760 void ETSGen::TestIsInstanceConstant(const ir::AstNode *node, Label *ifTrue, VReg srcReg, checker::Type const *target) in TestIsInstanceConstant() argument
774 BranchIfTrue(node, ifTrue); in TestIsInstanceConstant()
783 auto [ifTrue, ifFalse] = label; in TestIsInstanceConstituent()
786 TestIsInstanceConstant(node, ifTrue, srcReg, target); in TestIsInstanceConstituent()
792 BranchIfNull(node, ifTrue); in TestIsInstanceConstituent()
797 BranchIfTrue(node, ifTrue); in TestIsInstanceConstituent()
803 BranchIfTrue(node, ifTrue); in TestIsInstanceConstituent()
810 JumpTo(node, ifTrue); in TestIsInstanceConstituent()
815 BranchIfTrue(node, ifTrue); in TestIsInstanceConstituent()
825 Label *ifTrue) in BranchIfIsInstance()
824 BranchIfIsInstance(const ir::AstNode *const node, const VReg srcReg, const checker::Type *target, Label *ifTrue) BranchIfIsInstance() argument
872 auto ifTrue = AllocLabel(); IsInstance() local
966 auto ifTrue = AllocLabel(); CheckedReferenceNarrowing() local
2168 HandleLooseNullishEquality(const ir::AstNode *node, VReg lhs, VReg rhs, Label *ifFalse, Label *ifTrue) HandleLooseNullishEquality() argument
2226 auto ifTrue = AllocLabel(); RefEqualityLoose() local
2238 auto ifTrue = AllocLabel(); RefEqualityLoose() local
[all...]
H A DETSGen.h94 void BranchIfIsInstance(const ir::AstNode *node, VReg srcReg, const checker::Type *target, Label *ifTrue);
254 void BranchIfTrue(const ir::AstNode *node, Label *ifTrue) in BranchIfTrue() argument
256 Sa().Emit<Jnez>(node, ifTrue); in BranchIfTrue()
687 void TestIsInstanceConstant(const ir::AstNode *node, Label *ifTrue, VReg srcReg, checker::Type const *target);
692 void HandleLooseNullishEquality(const ir::AstNode *node, VReg lhs, VReg rhs, Label *ifFalse, Label *ifTrue);

Completed in 52 milliseconds