Home
last modified time | relevance | path

Searched refs:MachineBasicBlock (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/
Dmachine_ir_test_corpus.h28 std::tuple<const MachineBasicBlock*,
29 const MachineBasicBlock*,
30 const MachineBasicBlock*,
35 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
38 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
41 std::tuple<const MachineBasicBlock*,
42 const MachineBasicBlock*,
43 const MachineBasicBlock*,
44 const MachineBasicBlock*>
47 std::tuple<const MachineBasicBlock*,
[all …]
Dliveness_analyzer.h37 bool IsLiveIn(const MachineBasicBlock* bb, MachineReg reg) const { in IsLiveIn()
44 MachineReg GetFirstLiveIn(const MachineBasicBlock* bb) const { in GetFirstLiveIn()
48 MachineReg GetNextLiveIn(const MachineBasicBlock* bb, MachineReg prev) const { in GetNextLiveIn()
69 bool VisitBasicBlock(const MachineBasicBlock* bb);
Dmachine_ir.h298 void AddEdge(MachineBasicBlock* src, MachineBasicBlock* dst) { in AddEdge()
305 [[nodiscard]] MachineBasicBlock* NewBasicBlock() { in NewBasicBlock()
306 return NewInArena<MachineBasicBlock>(arena(), arena(), ReserveBasicBlockId()); in NewBasicBlock()
311 [[nodiscard]] MachineBasicBlock* SplitBasicBlock(MachineBasicBlock* bb, in SplitBasicBlock()
313 MachineBasicBlock* new_bb = NewBasicBlock(); in SplitBasicBlock()
Dcontext_liveness_analyzer.h34 bool IsLiveIn(const MachineBasicBlock* bb, uint32_t offset) const;
39 bool VisitBasicBlock(const MachineBasicBlock* bb);
Drename_copy_uses.h38 void StartBasicBlock(MachineBasicBlock* bb);
54 MachineBasicBlock* bb_;
Dloop_guest_context_optimizer.h48 void GenerateGetInsns(MachineIR* ir, MachineBasicBlock* bb, const MemRegMap& mem_reg_map);
49 void GeneratePutInsns(MachineIR* ir, MachineBasicBlock* bb, const MemRegMap& mem_reg_map);
Drename_vregs.h41 MachineReg Get(MachineReg reg, const MachineBasicBlock* bb);
Dmachine_ir_analysis.h27 using Loop = ArenaVector<MachineBasicBlock*>;
/frameworks/libs/binary_translation/backend/x86_64/
Dmachine_ir_test_corpus.cc29 std::tuple<const MachineBasicBlock*,
30 const MachineBasicBlock*,
31 const MachineBasicBlock*,
62 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
93 std::tuple<const MachineBasicBlock*, const MachineBasicBlock*, const MachineBasicBlock*, MachineReg>
124 std::tuple<const MachineBasicBlock*,
125 const MachineBasicBlock*,
126 const MachineBasicBlock*,
127 const MachineBasicBlock*>
165 std::tuple<const MachineBasicBlock*,
[all …]
Dmachine_ir_check.cc30 bool CheckBasicBlockInIR(const MachineBasicBlock* bb, const MachineIR& machine_ir) { in CheckBasicBlockInIR()
36 const MachineBasicBlock* bb) { in CheckNoDanglingEdgesOrBasicBlocks()
63 bool CheckInOutEdgesLinksToBasicBlock(const MachineBasicBlock* bb) { in CheckInOutEdgesLinksToBasicBlock()
77 bool IsBasicBlockSuccessor(const MachineBasicBlock* src, const MachineBasicBlock* dst) { in IsBasicBlockSuccessor()
86 bool CheckControlTransferInsn(const MachineBasicBlock* bb) { in CheckControlTransferInsn()
Dmachine_ir_opt.cc120 void ChangeBranchTarget(MachineBasicBlock* bb, in ChangeBranchTarget()
121 MachineBasicBlock* old_dst, in ChangeBranchTarget()
122 MachineBasicBlock* new_dst) { in ChangeBranchTarget()
146 MachineBasicBlock* pred_bb = edge->src(); in InsertNodeOnEdge()
147 MachineBasicBlock* succ_bb = edge->dst(); in InsertNodeOnEdge()
148 MachineBasicBlock* new_bb = ir->NewBasicBlock(); in InsertNodeOnEdge()
171 MachineBasicBlock* pred_bb = edge->src(); in RemoveCriticalEdges()
181 MachineBasicBlock* bb, in RemovePutIfDead()
233 bool IsForwarderBlock(MachineBasicBlock* bb) { in IsForwarderBlock()
254 void UnlinkForwarderBlock(MachineBasicBlock* bb) { in UnlinkForwarderBlock()
Dcontext_liveness_analyzer.cc30 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Init()
46 bool ContextLivenessAnalyzer::IsLiveIn(const MachineBasicBlock* bb, uint32_t offset) const { in IsLiveIn()
50 bool ContextLivenessAnalyzer::VisitBasicBlock(const MachineBasicBlock* bb) { in VisitBasicBlock()
Dmachine_ir_analysis.cc34 LoopBuilder(MachineIR* ir, Loop* loop, MachineBasicBlock* loop_head) in LoopBuilder()
44 bool PushBackIfNotInLoop(MachineBasicBlock* bb) { in PushBackIfNotInLoop()
58 void PostOrderTraverseBBListRecursive(MachineBasicBlock* bb, in PostOrderTraverseBBListRecursive()
119 MachineBasicBlock* entry_bb = ir->bb_list().front(); in GetReversePostOrderBBList()
145 MachineBasicBlock* succ_bb = edge->dst(); in FindLoops()
Drename_vregs.cc41 MachineReg VRegMap::Get(MachineReg reg, const MachineBasicBlock* bb) { in Get()
52 MachineBasicBlock* pred_bb, in GenInterBasicBlockMove()
53 MachineBasicBlock* succ_bb, in GenInterBasicBlockMove()
Drename_vregs_local.cc44 void MarkLiveInsAsSeen(VRegMap& vreg_map, MachineBasicBlock* basic_block) { in MarkLiveInsAsSeen()
99 void RenameLiveOuts(VRegMap& vreg_map, MachineBasicBlock* basic_block) { in RenameLiveOuts()
108 MachineBasicBlock* basic_block, in RenameSuccessorsLiveIns()
Dliveness_analyzer.cc37 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Run()
54 bool LivenessAnalyzer::VisitBasicBlock(const MachineBasicBlock* bb) { in VisitBasicBlock()
Dcode.cc155 PseudoBranch::PseudoBranch(const MachineBasicBlock* then_bb) in PseudoBranch()
162 const MachineBasicBlock* then_bb, in PseudoCondBranch()
163 const MachineBasicBlock* else_bb, in PseudoCondBranch()
Dliveness_analyzer_test.cc33 const MachineBasicBlock* bb, in ExpectNoLiveIns()
41 const MachineBasicBlock* bb, in ExpectSingleLiveIn()
51 const MachineBasicBlock* bb, in ExpectTwoLiveIns()
Drename_copy_uses.cc81 void RenameCopyUsesMap::StartBasicBlock(MachineBasicBlock* bb) { in StartBasicBlock()
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/
Dmachine_ir.h189 class MachineBasicBlock; variable
232 [[nodiscard]] const MachineBasicBlock* recovery_bb() const { return recovery_info_.bb; } in recovery_bb()
234 void set_recovery_bb(const MachineBasicBlock* bb) { recovery_info_.bb = bb; } in set_recovery_bb()
258 const MachineBasicBlock* bb;
294 MachineEdge(Arena* arena, MachineBasicBlock* src, MachineBasicBlock* dst) in MachineEdge()
297 void set_src(MachineBasicBlock* bb) { src_ = bb; } in set_src()
298 void set_dst(MachineBasicBlock* bb) { dst_ = bb; } in set_dst()
300 [[nodiscard]] MachineBasicBlock* src() const { return src_; } in src()
301 [[nodiscard]] MachineBasicBlock* dst() const { return dst_; } in dst()
307 MachineBasicBlock* src_;
[all …]
Dmachine_ir_builder.h28 using MachineInsnPosition = std::pair<MachineBasicBlock*, std::optional<MachineInsnList::iterator>>;
46 void SetRecoveryPointAtLastInsn(MachineBasicBlock* recovery_bb) { in SetRecoveryPointAtLastInsn()
64 [[nodiscard]] MachineBasicBlock* bb() const { return bb_; } in bb()
72 MachineBasicBlock* bb_;
/frameworks/libs/binary_translation/heavy_optimizer/riscv64/
Dfrontend_tests.cc36 bool DoesEdgeExist(const MachineBasicBlock* src_bb, const MachineBasicBlock* end_bb) { in DoesEdgeExist()
58 MachineBasicBlock* FindEntryBasicBlock(const MachineIR* machine_ir) { in FindEntryBasicBlock()
67 const MachineBasicBlock* FindEntrySuccessor(const MachineIR* machine_ir) { in FindEntrySuccessor()
75 void CheckBasicBlockEndsWith(const MachineBasicBlock* bb, MachineOpcode opcode) { in CheckBasicBlockEndsWith()
Dfrontend.cc43 MachineBasicBlock* then_bb = ir->NewBasicBlock(); in CompareAndBranch()
44 MachineBasicBlock* else_bb = ir->NewBasicBlock(); in CompareAndBranch()
179 MachineBasicBlock* target_containing_bb = pos.first; in ResolveJumps()
187 MachineBasicBlock* target_bb; in ResolveJumps()
212 void HeavyOptimizerFrontend::ReplaceJumpWithBranch(MachineBasicBlock* bb, in ReplaceJumpWithBranch()
213 MachineBasicBlock* target_bb) { in ReplaceJumpWithBranch()
252 const MachineBasicBlock* old_bb, in UpdateBranchTargetsAfterSplit()
253 MachineBasicBlock* new_bb) { in UpdateBranchTargetsAfterSplit()
926 MachineBasicBlock* failure_bb) { in MemoryRegionReservationSwapWithLockedOwner()
Dfrontend.h444 MachineBasicBlock* failure_bb);
465 void ReplaceJumpWithBranch(MachineBasicBlock* bb, MachineBasicBlock* target_bb);
467 const MachineBasicBlock* old_bb,
468 MachineBasicBlock* new_bb);
/frameworks/libs/binary_translation/backend/common/
Dmachine_ir_opt.cc47 ArenaVector<const MachineBasicBlock*> forwarder_map( in RemoveForwarderBlocks()
120 machine_ir->bb_list().remove_if([&forwarder_map](const MachineBasicBlock* machine_bb) { in RemoveForwarderBlocks()

12