Home | History | Annotate | Download | only in MCTargetDesc

Lines Matching full:fixup

33                         const MCFragment *Fragment, const MCFixup &Fixup,
49 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
51 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
91 llvm_unreachable("Unknown fixup kind!");
95 void AMDGPUAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
99 switch ((unsigned)Fixup.getKind()) {
105 uint16_t *Dst = (uint16_t*)(Data + Fixup.getOffset());
112 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind());
115 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind());
120 unsigned Offset = Fixup.getOffset();
121 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
123 // For each byte of the fragment that the fixup touches, mask in the
124 // bits from the fixup value.