Searched refs:BlockToInstOffset (Results 1 – 4 of 4) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonBranchRelaxation.cpp | 74 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 76 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 78 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 135 DenseMap<MachineBasicBlock*, unsigned> BlockToInstOffset; in relaxBranches() local 136 computeOffset(MF, BlockToInstOffset); in relaxBranches() 138 return reGenerateBranch(MF, BlockToInstOffset); in relaxBranches() 146 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset) { in isJumpOutOfRange() argument 155 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange() 175 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange() 188 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange() [all …]
|
D | HexagonFixupHwLoops.cpp | 111 DenseMap<const MachineBasicBlock *, unsigned> BlockToInstOffset; in fixupLoopInstrs() local 126 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs() 135 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs() 151 BlockToInstOffset[TargetBB]); in fixupLoopInstrs()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonBranchRelaxation.cpp | 62 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 64 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 66 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset); 121 DenseMap<MachineBasicBlock*, unsigned> BlockToInstOffset; in relaxBranches() local 122 computeOffset(MF, BlockToInstOffset); in relaxBranches() 124 return reGenerateBranch(MF, BlockToInstOffset); in relaxBranches() 133 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset) { in isJumpOutOfRange() argument 139 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange() 159 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange() 172 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange() [all …]
|
D | HexagonFixupHwLoops.cpp | 111 DenseMap<const MachineBasicBlock *, unsigned> BlockToInstOffset; in fixupLoopInstrs() local 126 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs() 135 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs() 149 int diff = InstOffset - BlockToInstOffset[MII->getOperand(0).getMBB()]; in fixupLoopInstrs()
|