Home
last modified time | relevance | path

Searched refs:BlockToInstOffset (Results 1 – 6 of 6) 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()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp73 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
75 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
77 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
133 DenseMap<MachineBasicBlock*, unsigned> BlockToInstOffset; in relaxBranches() local
134 computeOffset(MF, BlockToInstOffset); in relaxBranches()
136 return reGenerateBranch(MF, BlockToInstOffset); in relaxBranches()
144 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset) { in isJumpOutOfRange() argument
153 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange()
173 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange()
186 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange()
[all …]
DHexagonFixupHwLoops.cpp110 DenseMap<const MachineBasicBlock *, unsigned> BlockToInstOffset; in fixupLoopInstrs() local
124 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs()
133 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs()
149 BlockToInstOffset[TargetBB]); in fixupLoopInstrs()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp73 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
75 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
77 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset);
133 DenseMap<MachineBasicBlock*, unsigned> BlockToInstOffset; in relaxBranches() local
134 computeOffset(MF, BlockToInstOffset); in relaxBranches()
136 return reGenerateBranch(MF, BlockToInstOffset); in relaxBranches()
144 DenseMap<MachineBasicBlock*, unsigned> &BlockToInstOffset) { in isJumpOutOfRange() argument
153 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange()
173 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange()
186 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange()
[all …]
DHexagonFixupHwLoops.cpp110 DenseMap<const MachineBasicBlock *, unsigned> BlockToInstOffset; in fixupLoopInstrs() local
124 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs()
133 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs()
149 BlockToInstOffset[TargetBB]); in fixupLoopInstrs()