Home
last modified time | relevance | path

Searched refs:InputOffset (Results 1 – 6 of 6) sorted by relevance

/llvm-project/bolt/lib/Profile/
H A DBoltAddressTranslation.cpp62 for (const auto &[InputOffset, Sym] : BB.getLocSyms()) { in writeEntriesForBB()
63 const auto InputAddress = BB.getFunction()->getAddress() + InputOffset; in writeEntriesForBB()
73 << Twine::utohexstr(InputOffset) << " (branch)\n"); in writeEntriesForBB()
74 Map.emplace(OutputOffset, (InputOffset << 1) | BRANCHENTRY); in writeEntriesForBB()
118 for (const auto &[InputOffset, _] : BBHashMap) in write()
119 if (!llvm::is_contained(MappedInputOffsets, InputOffset)) in write()
120 Map.emplace(EndOffset, InputOffset << 1); in write()
175 const uint32_t InputOffset = KeyVal.second >> 1; in getNumEqualOffsets() local
176 if (OutputOffset == InputOffset - Skew) in getNumEqualOffsets()
383 uint64_t InputOffset in parseMaps()
385 uint64_t InputOffset = 0; parseMaps() local
632 const uint32_t InputOffset = translateSymbol() local
[all...]
/llvm-project/bolt/include/bolt/Profile/
H A DBoltAddressTranslation.h127 /// For a given \p Symbol in the output binary and known \p InputOffset
132 uint32_t InputOffset) const;
201 bool isInputBlock(uint32_t InputOffset) const { in isInputBlock()
202 return Map.count(InputOffset); in isInputBlock()
200 isInputBlock(uint32_t InputOffset) isInputBlock() argument
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerImpl.cpp756 uint64_t InputOffset = 0; in cloneAndEmitDebugFrame() local
766 while (Data.isValidOffset(InputOffset)) { in cloneAndEmitDebugFrame()
767 uint64_t EntryOffset = InputOffset; in cloneAndEmitDebugFrame()
768 uint32_t InitialLength = Data.getU32(&InputOffset); in cloneAndEmitDebugFrame()
774 uint32_t CIEId = Data.getU32(&InputOffset); in cloneAndEmitDebugFrame()
780 InputOffset += InitialLength - 4; in cloneAndEmitDebugFrame()
784 uint64_t Loc = Data.getUnsigned(&InputOffset, SrcAddrSize); in cloneAndEmitDebugFrame()
794 InputOffset = EntryOffset + InitialLength + 4; in cloneAndEmitDebugFrame()
832 OrigFrameData.substr(InputOffset, FDERemainingBytes), OutSection); in cloneAndEmitDebugFrame()
833 InputOffset += FDERemainingBytes; in cloneAndEmitDebugFrame()
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp2321 uint64_t InputOffset = 0; in patchFrameInfoForObject()
2327 while (Data.isValidOffset(InputOffset)) { in patchFrameInfoForObject()
2328 uint64_t EntryOffset = InputOffset; in patchFrameInfoForObject()
2329 uint32_t InitialLength = Data.getU32(&InputOffset); in patchFrameInfoForObject()
2333 uint32_t CIEId = Data.getU32(&InputOffset); in patchFrameInfoForObject()
2339 InputOffset += InitialLength - 4; in patchFrameInfoForObject()
2343 uint64_t Loc = Data.getUnsigned(&InputOffset, SrcAddrSize); in patchFrameInfoForObject()
2353 InputOffset = EntryOffset + InitialLength + 4; in patchFrameInfoForObject()
2381 FrameData.substr(InputOffset, FDERemainingBytes)); in hashFullyQualifiedName()
2382 InputOffset in hashFullyQualifiedName()
2290 uint64_t InputOffset = 0; patchFrameInfoForObject() local
[all...]
/llvm-project/bolt/docs/
H A DBAT.md99 | `InputOffset` | Optional, Delta, SLEB128 | Function offset in input binary with `BRANCHENTRY` LSB…
/llvm-project/bolt/lib/Core/
H A DBinaryFunction.cpp4418 uint64_t InputOffset = InRange.LowPC - getAddress(); in translateInputToOutputRange()
4423 BasicBlockOffset(InputOffset, nullptr), in translateInputToOutputRange()
4428 for (--BBI; InputOffset < InputEndOffset && BBI != BasicBlockOffsets.end(); in getInstructionAtOffset()
4429 InputOffset = BBI->second->getEndOffset(), ++BBI) { in getInstructionAtOffset()
4431 if (InputOffset < BB.getOffset() || InputOffset >= BB.getEndOffset()) { in getInstructionAtOffset()
4452 if (InputOffset > BB.getOffset()) in getInstructionAtOffset()
4453 OutLowPC = translateBlockOffset(InputOffset - BB.getOffset()); in getInstructionAtOffset()
4366 uint64_t InputOffset = InRange.LowPC - getAddress(); translateInputToOutputRange() local