Home
last modified time | relevance | path

Searched refs:InstOffset (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp107 unsigned InstOffset = 0; in computeOffset() local
114 InstOffset = (InstOffset + ByteAlign) & ~(ByteAlign); in computeOffset()
116 OffsetMap[&B] = InstOffset; in computeOffset()
118 InstOffset += HII->getSize(MI); in computeOffset()
121 InstOffset += HEXAGON_INSTR_SIZE; in computeOffset()
155 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange() local
161 InstOffset += HII->nonDbgBBSize(&B) * HEXAGON_INSTR_SIZE; in isJumpOutOfRange()
175 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange()
188 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange()
DHexagonFixupHwLoops.cpp109 unsigned InstOffset = 0; in fixupLoopInstrs() local
123 InstOffset = (InstOffset + ByteAlign) & ~(ByteAlign); in fixupLoopInstrs()
126 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs()
128 InstOffset += HII->getSize(MI); in fixupLoopInstrs()
135 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs()
150 unsigned Diff = AbsoluteDifference(InstOffset, in fixupLoopInstrs()
162 InstOffset += InstSize; in fixupLoopInstrs()
/external/llvm/lib/Target/Hexagon/
DHexagonBranchRelaxation.cpp96 unsigned InstOffset = 0; in computeOffset() local
103 InstOffset = (InstOffset + ByteAlign) & ~(ByteAlign); in computeOffset()
105 OffsetMap[&B] = InstOffset; in computeOffset()
107 InstOffset += HII->getSize(&MI); in computeOffset()
139 unsigned InstOffset = BlockToInstOffset[&B]; in isJumpOutOfRange() local
145 InstOffset += HII->nonDbgBBSize(&B) * HEXAGON_INSTR_SIZE; in isJumpOutOfRange()
159 Distance = std::abs((long long)InstOffset - BlockToInstOffset[TBB]) in isJumpOutOfRange()
172 Distance = std::abs((long long)InstOffset - BlockToInstOffset[FBB]) in isJumpOutOfRange()
DHexagonFixupHwLoops.cpp109 unsigned InstOffset = 0; in fixupLoopInstrs() local
123 InstOffset = (InstOffset + ByteAlign) & ~(ByteAlign); in fixupLoopInstrs()
126 BlockToInstOffset[&MBB] = InstOffset; in fixupLoopInstrs()
128 InstOffset += HII->getSize(&MI); in fixupLoopInstrs()
135 InstOffset = BlockToInstOffset[&MBB]; in fixupLoopInstrs()
141 InstOffset += HII->getSize(&*MII); in fixupLoopInstrs()
149 int diff = InstOffset - BlockToInstOffset[MII->getOperand(0).getMBB()]; in fixupLoopInstrs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp522 int64_t InstOffset, in buildSpillLoadStore() argument
542 int64_t Offset = InstOffset + MFI.getObjectOffset(Index); in buildSpillLoadStore()