Lines Matching refs:Layout
30 const MCAsmLayout &Layout,
38 const MCAsmLayout &Layout,
46 const MCAsmLayout &Layout,
52 const MCAsmLayout &Layout,
61 const MCAsmLayout &Layout, const MCFragment *Fragment, in recordRelocation() argument
65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
68 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
98 MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, in RecordX86_64Relocation() argument
107 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); in RecordX86_64Relocation()
109 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in RecordX86_64Relocation()
192 Value += Writer->getSymbolAddress(*A, Layout) - in RecordX86_64Relocation()
193 (!A_Base ? 0 : Writer->getSymbolAddress(*A_Base, Layout)); in RecordX86_64Relocation()
194 Value -= Writer->getSymbolAddress(*B, Layout) - in RecordX86_64Relocation()
195 (!B_Base ? 0 : Writer->getSymbolAddress(*B_Base, Layout)); in RecordX86_64Relocation()
238 Value += Layout.getSymbolOffset(*Symbol) - in RecordX86_64Relocation()
239 Layout.getSymbolOffset(*RelSymbol); in RecordX86_64Relocation()
243 Value += Writer->getSymbolAddress(*Symbol, Layout); in RecordX86_64Relocation()
250 bool isAbs = Value->evaluateAsAbsolute(Res, Layout, in RecordX86_64Relocation()
362 const MCAsmLayout &Layout, in recordScatteredRelocation() argument
369 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in recordScatteredRelocation()
384 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
407 Value2 = Writer->getSymbolAddress(B->getSymbol(), Layout); in recordScatteredRelocation()
462 const MCAsmLayout &Layout, in recordTLVPRelocation() argument
472 uint32_t Value = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in recordTLVPRelocation()
482 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset(); in recordTLVPRelocation()
486 Writer->getSymbolAddress(Target.getSymB()->getSymbol(), Layout) + in recordTLVPRelocation()
504 const MCAsmLayout &Layout, in RecordX86Relocation() argument
515 recordTLVPRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordX86Relocation()
524 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, in RecordX86Relocation()
543 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordX86Relocation()
548 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); in RecordX86Relocation()
564 Res, Layout, Writer->getSectionAddressMap())) { in RecordX86Relocation()
577 FixedValue -= Layout.getSymbolOffset(*A); in RecordX86Relocation()