21 {
"FK_Data_1", 0, 8, 0},
22 {
"FK_Data_2", 0, 16, 0},
23 {
"FK_Data_4", 0, 32, 0},
24 {
"FK_Data_8", 0, 64, 0},
29 {
"FK_GPRel_1", 0, 8, 0},
30 {
"FK_GPRel_2", 0, 16, 0},
31 {
"FK_GPRel_4", 0, 32, 0},
32 {
"FK_GPRel_8", 0, 64, 0},
33 {
"FK_SecRel_1", 0, 8, 0},
34 {
"FK_SecRel_2", 0, 16, 0},
35 {
"FK_SecRel_4", 0, 32, 0},
36 {
"FK_SecRel_8", 0, 64, 0}};
38 assert((
size_t)Kind <=
array_lengthof(Builtins) &&
"Unknown fixup kind");
39 return Builtins[
Kind];
virtual bool fixupNeedsRelaxationAdvanced(const MCFixup &Fixup, bool Resolved, uint64_t Value, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const
Target specific predicate for whether a given fixup requires the associated instruction to be relaxed...
virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const =0
Simple predicate for targets where !Resolved implies requiring relaxation.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Is this fixup kind PCrelative? This is used by the assembler backend to evaluate fixup values in a ta...
Encapsulates the layout of an assembly file at a particular point in time.
LLVM_CONSTEXPR size_t array_lengthof(T(&)[N])
Find the length of an array.
A relaxable fragment holds on to its MCInst, since it may need to be relaxed during the assembler lay...
MCFixupKind
Extensible enumeration to represent the type of a fixup.
PowerPC TLS Dynamic Call Fixup
Target independent information on a fixup kind.
const ARM::ArchExtKind Kind
LLVM Value Representation.
virtual const MCFixupKindInfo & getFixupKindInfo(MCFixupKind Kind) const
Get information on a fixup kind.