/frameworks/libs/binary_translation/backend/include/berberis/backend/x86_64/ |
D | machine_ir_test_corpus.h | 28 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 …]
|
D | liveness_analyzer.h | 37 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);
|
D | machine_ir.h | 298 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()
|
D | context_liveness_analyzer.h | 34 bool IsLiveIn(const MachineBasicBlock* bb, uint32_t offset) const; 39 bool VisitBasicBlock(const MachineBasicBlock* bb);
|
D | rename_copy_uses.h | 38 void StartBasicBlock(MachineBasicBlock* bb); 54 MachineBasicBlock* bb_;
|
D | loop_guest_context_optimizer.h | 48 void GenerateGetInsns(MachineIR* ir, MachineBasicBlock* bb, const MemRegMap& mem_reg_map); 49 void GeneratePutInsns(MachineIR* ir, MachineBasicBlock* bb, const MemRegMap& mem_reg_map);
|
D | rename_vregs.h | 41 MachineReg Get(MachineReg reg, const MachineBasicBlock* bb);
|
D | machine_ir_analysis.h | 27 using Loop = ArenaVector<MachineBasicBlock*>;
|
/frameworks/libs/binary_translation/backend/x86_64/ |
D | machine_ir_test_corpus.cc | 29 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 …]
|
D | machine_ir_check.cc | 30 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()
|
D | machine_ir_opt.cc | 120 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()
|
D | context_liveness_analyzer.cc | 30 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()
|
D | machine_ir_analysis.cc | 34 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()
|
D | rename_vregs.cc | 41 MachineReg VRegMap::Get(MachineReg reg, const MachineBasicBlock* bb) { in Get() 52 MachineBasicBlock* pred_bb, in GenInterBasicBlockMove() 53 MachineBasicBlock* succ_bb, in GenInterBasicBlockMove()
|
D | rename_vregs_local.cc | 44 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()
|
D | liveness_analyzer.cc | 37 ArenaAllocator<MachineBasicBlock*>(machine_ir_->arena())); in Run() 54 bool LivenessAnalyzer::VisitBasicBlock(const MachineBasicBlock* bb) { in VisitBasicBlock()
|
D | code.cc | 155 PseudoBranch::PseudoBranch(const MachineBasicBlock* then_bb) in PseudoBranch() 162 const MachineBasicBlock* then_bb, in PseudoCondBranch() 163 const MachineBasicBlock* else_bb, in PseudoCondBranch()
|
D | liveness_analyzer_test.cc | 33 const MachineBasicBlock* bb, in ExpectNoLiveIns() 41 const MachineBasicBlock* bb, in ExpectSingleLiveIn() 51 const MachineBasicBlock* bb, in ExpectTwoLiveIns()
|
D | rename_copy_uses.cc | 81 void RenameCopyUsesMap::StartBasicBlock(MachineBasicBlock* bb) { in StartBasicBlock()
|
/frameworks/libs/binary_translation/backend/include/berberis/backend/common/ |
D | machine_ir.h | 189 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 …]
|
D | machine_ir_builder.h | 28 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/ |
D | frontend_tests.cc | 36 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()
|
D | frontend.cc | 43 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()
|
D | frontend.h | 444 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/ |
D | machine_ir_opt.cc | 47 ArenaVector<const MachineBasicBlock*> forwarder_map( in RemoveForwarderBlocks() 120 machine_ir->bb_list().remove_if([&forwarder_map](const MachineBasicBlock* machine_bb) { in RemoveForwarderBlocks()
|