Home
last modified time | relevance | path

Searched refs:BlockToInstOffset (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp62 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 …]
DHexagonFixupHwLoops.cpp111 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()