10 #ifndef LLVM_MC_MCFIXUP_H 11 #define LLVM_MC_MCFIXUP_H A eight-byte pc relative fixup.
A eight-byte dtp relative fixup.
This class represents lattice values for constants.
static MCFixupKind getKindForSize(unsigned Size, bool isPCRel)
Return the generic fixup kind for a value with the given size.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
A one-byte pc relative fixup.
A four-byte tp relative fixup.
Base class for the full range of assembler expressions which are needed for parsing.
static MCFixup createSubFor(const MCFixup &Fixup)
Return a fixup corresponding to the sub half of a add/sub fixup pair for the given Fixup...
A four-byte section relative fixup.
A four-byte gp relative fixup.
A two-byte section relative fixup.
A four-byte dtp relative fixup.
void setOffset(uint32_t Value)
MCFixupKind
Extensible enumeration to represent the type of a fixup.
uint32_t getOffset() const
A eight-byte tp relative fixup.
static MCFixup create(uint32_t Offset, const MCExpr *Value, MCFixupKind Kind, SMLoc Loc=SMLoc())
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
A two-byte pc relative fixup.
A four-byte pc relative fixup.
A two-byte gp relative fixup.
A one-byte section relative fixup.
A eight-byte gp relative fixup.
A eight-byte section relative fixup.
static MCFixup createAddFor(const MCFixup &Fixup)
Return a fixup corresponding to the add half of a add/sub fixup pair for the given Fixup...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
A one-byte gp relative fixup.
LLVM Value Representation.
const MCExpr * getValue() const
static bool isPCRel(unsigned Kind)
Represents a location in source code.
static MCFixupKind getSubKindForKind(unsigned Kind)
Return the generic fixup kind for an subtraction with a given size.
MCFixupKind getKind() const
static MCFixupKind getAddKindForKind(unsigned Kind)
Return the generic fixup kind for an addition with a given size.