Home
last modified time | relevance | path

Searched refs:getSymbolOffset (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCAsmLayout.h97 bool getSymbolOffset(const MCSymbol &S, uint64_t &Val) const;
100 uint64_t getSymbolOffset(const MCSymbol &S) const;
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp231 Layout.getSymbolOffset(*B) == in recordRelocation()
345 Layout.getSymbolOffset(*Symbol) - Layout.getSymbolOffset(*Base); in recordRelocation()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.h46 uint64_t getSymbolOffset(const SymbolRef &Sym);
H A DRuntimeDyldCOFF.cpp77 uint64_t RuntimeDyldCOFF::getSymbolOffset(const SymbolRef &Sym) { in getSymbolOffset() function in llvm::RuntimeDyldCOFF
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp242 Value += Layout.getSymbolOffset(*Symbol) - in RecordX86_64Relocation()
243 Layout.getSymbolOffset(*RelSymbol); in RecordX86_64Relocation()
581 FixedValue -= Layout.getSymbolOffset(*A); in RecordX86Relocation()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCFragment.cpp152 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const { in getSymbolOffset() function in MCAsmLayout
156 uint64_t MCAsmLayout::getSymbolOffset(const MCSymbol &S) const { in getSymbolOffset() function in MCAsmLayout
H A DXCOFFObjectWriter.cpp535 return Layout.getSymbolOffset(*Sym); in recordRelocation()
543 return SectionMap[ContainingSect]->Address + Layout.getSymbolOffset(*Sym); in recordRelocation()
906 Sym, Csect, SectionIndex, Layout.getSymbolOffset(*(Sym.MCSym))); in writeSymbolTable()
H A DMCAssembler.cpp262 Value += Layout.getSymbolOffset(Sym); in evaluateFixup()
267 Value -= Layout.getSymbolOffset(Sym); in evaluateFixup()
366 if (!Layout.getSymbolOffset(A->getSymbol(), Val)) { in computeFragmentSize()
H A DWasmObjectWriter.cpp524 C += FixupOffset - Layout.getSymbolOffset(SymB); in recordRelocation()
581 C += Layout.getSymbolOffset(*SymA); in recordRelocation()
1653 DataSection.getSegmentIndex(), Layout.getSymbolOffset(WS), in writeOneObject()
1755 uint64_t Offset = Layout.getSymbolOffset(S); in writeOneObject()
1769 static_cast<uint32_t>(Layout.getSymbolOffset(S)), in writeOneObject()
H A DWinCOFFObjectWriter.cpp358 if (!Layout.getSymbolOffset(Symbol, Res)) in getSymbolValue()
736 int64_t OffsetOfB = Layout.getSymbolOffset(*B); in recordRelocation()
760 FixedValue += Layout.getSymbolOffset(A); in recordRelocation()
H A DMCExpr.cpp643 Addend += Layout->getSymbolOffset(A->getSymbol()) - in AttemptToFoldSymbolOffsetDifference()
644 Layout->getSymbolOffset(B->getSymbol()); in AttemptToFoldSymbolOffsetDifference()
H A DELFObjectWriter.cpp457 if (!Layout.getSymbolOffset(Sym, Res)) in SymbolValue()
1419 C += FixupOffset - Layout.getSymbolOffset(SymB); in recordRelocation()
1452 ? C + Layout.getSymbolOffset(*SymA) in recordRelocation()
H A DMachObjectWriter.cpp119 Layout.getSymbolOffset(S); in getSymbolAddress()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFI386.h75 TargetOffset = getSymbolOffset(*Symbol); in processRelocationRef()
H A DRuntimeDyldCOFFX86_64.h234 TargetOffset = getSymbolOffset(*Symbol); in processRelocationRef()
H A DRuntimeDyldCOFFThumb.h121 TargetOffset = getSymbolOffset(*Symbol); in processRelocationRef()
H A DRuntimeDyldCOFFAArch64.h188 TargetOffset = getSymbolOffset(*Symbol); in processRelocationRef()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp633 const uint64_t BBOffset = Layout.getSymbolOffset(*getLabel()); in updateOutputValues()
637 Layout.getSymbolOffset(*LocSymKV.second) - BBOffset); in updateOutputValues()
H A DBinaryFunction.cpp4050 const uint64_t StartOffset = Layout.getSymbolOffset(*getSymbol()); in updateOutputValues()
4051 const uint64_t EndOffset = Layout.getSymbolOffset(*getFunctionEndLabel()); in updateOutputValues()
4056 Layout.getSymbolOffset(*getFunctionConstantIslandLabel()); in updateOutputValues()
4066 const uint64_t ColdStartOffset = Layout.getSymbolOffset(*ColdStartSymbol); in updateOutputValues()
4067 const uint64_t ColdEndOffset = Layout.getSymbolOffset(*ColdEndSymbol); in updateOutputValues()
4072 Layout.getSymbolOffset(*getFunctionColdConstantIslandLabel()); in updateOutputValues()
4078 setOutputSize(Layout.getSymbolOffset(*getFunctionEndLabel())); in updateOutputValues()
4106 const uint64_t BBOffset = Layout.getSymbolOffset(*BB->getLabel()); in updateOutputValues()
H A DBinaryContext.cpp2231 Layout.getSymbolOffset(*EndLabel) - Layout.getSymbolOffset(*StartLabel); in calculateEmittedSize()
2233 ? Layout.getSymbolOffset(*ColdEndLabel) - in calculateEmittedSize()
2234 Layout.getSymbolOffset(*ColdStartLabel) in calculateEmittedSize()
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp455 FixedValue -= Layout.getSymbolOffset(*A); in recordRelocation()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp538 Value = Layout.getSymbolOffset(SA) + AUIPCTarget.getConstant(); in evaluateTargetFixup()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp921 const uint64_t LineTableOffset = Layout.getSymbolOffset(*Label); in updateLineTableOffsets()