14 #ifndef LLVM_TARGET_TARGETOPCODES_H
15 #define LLVM_TARGET_TARGETOPCODES_H
21 namespace TargetOpcode {
23 #define HANDLE_TARGET_OPCODE(OPC) OPC,
24 #define HANDLE_TARGET_OPCODE_MARKER(IDENT, OPC) IDENT = OPC,
25 #include "llvm/Target/TargetOpcodes.def"
32 return Opcode >= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START &&
33 Opcode <= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END;
38 return Opcode > TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END;
static bool isTargetSpecificOpcode(unsigned Opcode)
Check whether the given Opcode is a target-specific opcode.
static bool isPreISelGenericOpcode(unsigned Opcode)
Check whether the given Opcode is a generic opcode that is not supposed to appear after ISel...