Home
last modified time | relevance | path

Searched refs:then_bb (Results 1 – 10 of 10) sorted by relevance

/frameworks/libs/binary_translation/backend/common/
Dmachine_ir_opt.cc58 forwarder_map[machine_bb->id()] = branch_insn->then_bb(); in RemoveForwarderBlocks()
98 if (auto* new_dest = forwarder_map[branch_insn->then_bb()->id()]) { in RemoveForwarderBlocks()
103 if (auto* new_then_bb = forwarder_map[branch_insn->then_bb()->id()]) { in RemoveForwarderBlocks()
Dmachine_ir_debug.cc128 return StringPrintf("PSEUDO_BRANCH %d", then_bb()->id()); in GetDebugString()
135 out += StringPrintf("%d, ", then_bb()->id()); in GetDebugString()
/frameworks/libs/binary_translation/backend/x86_64/
Dcode.cc155 PseudoBranch::PseudoBranch(const MachineBasicBlock* then_bb) in PseudoBranch() argument
157 then_bb_(then_bb) {} in PseudoBranch()
162 const MachineBasicBlock* then_bb, in PseudoCondBranch() argument
171 then_bb_(then_bb), in PseudoCondBranch()
Dmachine_ir_check.cc98 return IsBasicBlockSuccessor(bb, branch->then_bb()); in CheckControlTransferInsn()
105 return IsBasicBlockSuccessor(bb, cond_branch->then_bb()) && in CheckControlTransferInsn()
Dmachine_ir_opt_test.cc389 ASSERT_EQ(static_cast<PseudoBranch*>(bb2->insn_list().front())->then_bb(), new_bb); in TEST()
576 EXPECT_EQ(bb2, bb0_branch_insn->then_bb()); in TEST()
638 EXPECT_EQ(bb2, bb0_branch_insn->then_bb()); in TEST()
703 EXPECT_EQ(bb1, bb0_branch_insn->then_bb()); in TEST()
920 EXPECT_EQ(bb1, bb0_branch_insn->then_bb()); in TEST()
928 EXPECT_EQ(bb4, bb1_branch_insn->then_bb()); in TEST()
1030 auto* then_bb = *bb_it++; in TEST() local
1035 if (then_bb == bb2) { in TEST()
1038 EXPECT_EQ(then_bb, bb3); in TEST()
1059 auto* then_bb = *bb_it++; in TEST() local
[all …]
Dmachine_ir_opt.cc131 CHECK_EQ(insn->then_bb(), old_dst); in ChangeBranchTarget()
138 if (insn->then_bb() == old_dst) { in ChangeBranchTarget()
Dcode_emit.cc229 const Assembler::Label* then_label = as->GetLabelAt(then_bb()->id()); in Emit()
241 const Assembler::Label* then_label = as->GetLabelAt(then_bb()->id()); in Emit()
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dmachine_ir.h446 explicit PseudoBranch(const MachineBasicBlock* then_bb);
451 const MachineBasicBlock* then_bb() const { return then_bb_; } in then_bb() function
452 void set_then_bb(const MachineBasicBlock* then_bb) { then_bb_ = then_bb; } in set_then_bb() argument
463 const MachineBasicBlock* then_bb,
472 const MachineBasicBlock* then_bb() const { return then_bb_; } in then_bb() function
474 void set_then_bb(const MachineBasicBlock* then_bb) { then_bb_ = then_bb; } in set_then_bb() argument
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc72 return static_cast<PseudoBranch*>(branch_insn)->then_bb(); in FindEntrySuccessor()
144 auto* loop_bb = static_cast<PseudoBranch*>(branch_insn)->then_bb(); in TEST()
149 auto* signal_exit_bb = static_cast<PseudoCondBranch*>(branch_insn)->then_bb(); in TEST()
Dfrontend.cc43 MachineBasicBlock* then_bb = ir->NewBasicBlock(); in CompareAndBranch() local
45 ir->AddEdge(cur_bb, then_bb); in CompareAndBranch()
49 Gen<PseudoCondBranch>(ToAssemblerCond(opcode), then_bb, else_bb, GetFlagsRegister()); in CompareAndBranch()
51 builder_.StartBasicBlock(then_bb); in CompareAndBranch()