Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/MC/MCInstPrinter.h
Show First 20 Lines • Show All 123 Lines • ▼ Show 20 Lines | struct AliasPattern { | ||||
uint32_t AsmStrOffset; | uint32_t AsmStrOffset; | ||||
uint32_t AliasCondStart; | uint32_t AliasCondStart; | ||||
uint8_t NumOperands; | uint8_t NumOperands; | ||||
uint8_t NumConds; | uint8_t NumConds; | ||||
}; | }; | ||||
struct AliasPatternCond { | struct AliasPatternCond { | ||||
enum CondKind : uint8_t { | enum CondKind : uint8_t { | ||||
K_Feature, // Match only if a feature is enabled. | K_Feature, // Match only if a feature is enabled. | ||||
K_NegFeature, // Match only if a feature is disabled. | K_NegFeature, // Match only if a feature is disabled. | ||||
lewis-revill: Nitpick: Realign comments in this enum | |||||
K_OrFeature, // Match only if one of a set of features is enabled. | |||||
K_OrNegFeature, // Match only if one of a set of features is disabled. | |||||
K_EndOrFeatures, // Note end of list of K_Or(Neg)?Features. | |||||
K_Ignore, // Match any operand. | K_Ignore, // Match any operand. | ||||
K_Reg, // Match a specific register. | K_Reg, // Match a specific register. | ||||
K_TiedReg, // Match another already matched register. | K_TiedReg, // Match another already matched register. | ||||
K_Imm, // Match a specific immediate. | K_Imm, // Match a specific immediate. | ||||
K_RegClass, // Match registers in a class. | K_RegClass, // Match registers in a class. | ||||
K_Custom, // Call custom matcher by index. | K_Custom, // Call custom matcher by index. | ||||
}; | }; | ||||
CondKind Kind; | CondKind Kind; | ||||
uint32_t Value; | uint32_t Value; | ||||
}; | }; | ||||
/// Tablegenerated data structures needed to match alias patterns. | /// Tablegenerated data structures needed to match alias patterns. | ||||
struct AliasMatchingData { | struct AliasMatchingData { | ||||
Show All 11 Lines |
Nitpick: Realign comments in this enum