Lines Matching refs:Layout
29 const MCAsmLayout &Layout,
37 const MCAsmLayout &Layout,
45 const MCAsmLayout &Layout,
51 const MCAsmLayout &Layout,
60 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
64 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
67 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
103 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
112 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
114 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
196 Value += Writer->getSymbolAddress(*A, Layout) - in RecordX86_64Relocation()
197 (!A_Base ? 0 : Writer->getSymbolAddress(*A_Base, Layout)); in RecordX86_64Relocation()
198 Value -= Writer->getSymbolAddress(*B, Layout) - in RecordX86_64Relocation()
199 (!B_Base ? 0 : Writer->getSymbolAddress(*B_Base, Layout)); in RecordX86_64Relocation()
242 Value += Layout.getSymbolOffset(*Symbol) - in RecordX86_64Relocation()
243 Layout.getSymbolOffset(*RelSymbol); in RecordX86_64Relocation()
247 Value += Writer->getSymbolAddress(*Symbol, Layout); in RecordX86_64Relocation()
254 bool isAbs = Value->evaluateAsAbsolute(Res, Layout, in RecordX86_64Relocation()
365 const MCAsmLayout &Layout, in recordScatteredRelocation() argument
372 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in recordScatteredRelocation()
387 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
410 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
465 const MCAsmLayout &Layout, in recordTLVPRelocation() argument
475 uint32_t Value = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in recordTLVPRelocation()
485 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in recordTLVPRelocation()
488 Writer->getSymbolAddress(SymB->getSymbol(), Layout) + in recordTLVPRelocation()
505 const MCAsmLayout &Layout, in RecordX86Relocation() argument
516 recordTLVPRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordX86Relocation()
525 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, in RecordX86Relocation()
545 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordX86Relocation()
550 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordX86Relocation()
568 Res, Layout, Writer->getSectionAddressMap())) { in RecordX86Relocation()
581 FixedValue -= Layout.getSymbolOffset(*A); in RecordX86Relocation()