Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Support/TargetOpcodes.def
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
HANDLE_TARGET_OPCODE(SUBREG_TO_REG) | HANDLE_TARGET_OPCODE(SUBREG_TO_REG) | ||||
/// COPY_TO_REGCLASS - This instruction is a placeholder for a plain | /// COPY_TO_REGCLASS - This instruction is a placeholder for a plain | ||||
/// register-to-register copy into a specific register class. This is only | /// register-to-register copy into a specific register class. This is only | ||||
/// used between instruction selection and MachineInstr creation, before | /// used between instruction selection and MachineInstr creation, before | ||||
/// virtual registers have been created for all the instructions, and it's | /// virtual registers have been created for all the instructions, and it's | ||||
/// only needed in cases where the register classes implied by the | /// only needed in cases where the register classes implied by the | ||||
/// instructions are insufficient. It is emitted as a COPY MachineInstr. | /// instructions are insufficient. It is emitted as a COPY MachineInstr. | ||||
HANDLE_TARGET_OPCODE(COPY_TO_REGCLASS) | HANDLE_TARGET_OPCODE(COPY_TO_REGCLASS) | ||||
/// DBG_VALUE - a mapping of the llvm.dbg.value intrinsic | /// DBG_VALUE - a mapping of the llvm.dbg.value intrinsic | ||||
HANDLE_TARGET_OPCODE(DBG_VALUE) | HANDLE_TARGET_OPCODE(DBG_VALUE) | ||||
/// DBG_LABEL - a mapping of the llvm.dbg.label intrinsic | /// DBG_LABEL - a mapping of the llvm.dbg.label intrinsic | ||||
HANDLE_TARGET_OPCODE(DBG_LABEL) | HANDLE_TARGET_OPCODE(DBG_LABEL) | ||||
/// REG_SEQUENCE - This variadic instruction is used to form a register that | /// REG_SEQUENCE - This variadic instruction is used to form a register that | ||||
/// represents a consecutive sequence of sub-registers. It's used as a | /// represents a consecutive sequence of sub-registers. It's used as a | ||||
/// register coalescing / allocation aid and must be eliminated before code | /// register coalescing / allocation aid and must be eliminated before code | ||||
/// emission. | /// emission. | ||||
// In SDNode form, the first operand encodes the register class created by | // In SDNode form, the first operand encodes the register class created by | ||||
// the REG_SEQUENCE, while each subsequent pair names a vreg + subreg index | // the REG_SEQUENCE, while each subsequent pair names a vreg + subreg index | ||||
// pair. Once it has been lowered to a MachineInstr, the regclass operand | // pair. Once it has been lowered to a MachineInstr, the regclass operand | ||||
// is no longer present. | // is no longer present. | ||||
/// e.g. v1027 = REG_SEQUENCE v1024, 3, v1025, 4, v1026, 5 | /// e.g. v1027 = REG_SEQUENCE v1024, 3, v1025, 4, v1026, 5 | ||||
/// After register coalescing references of v1024 should be replace with | /// After register coalescing references of v1024 should be replace with | ||||
/// v1027:3, v1025 with v1027:4, etc. | /// v1027:3, v1025 with v1027:4, etc. | ||||
HANDLE_TARGET_OPCODE(REG_SEQUENCE) | HANDLE_TARGET_OPCODE(REG_SEQUENCE) | ||||
/// COPY - Target-independent register copy. This instruction can also be | /// COPY - Target-independent register copy. This instruction can also be | ||||
/// used to copy between subregisters of virtual registers. | /// used to copy between subregisters of virtual registers. | ||||
HANDLE_TARGET_OPCODE(COPY) | HANDLE_TARGET_OPCODE(COPY) | ||||
/// TCOPY - This instruction is the terminator version of COPY. The purpose | |||||
/// is to allow copies from terminators to be properly represented (e.g. an | |||||
arsenm: s/terminal/terminator | |||||
Not Done ReplyInline ActionsCOPY_TERM or COPY_TERMINATOR would be better since it isn't really a branch arsenm: COPY_TERM or COPY_TERMINATOR would be better since it isn't really a branch | |||||
How about TCOPY? void: How about `TCOPY`? | |||||
/// INLINEASM_BR that defines a physical register) without having | |||||
/// to introduce "live-ins" for physical registers before register allocation. | |||||
HANDLE_TARGET_OPCODE(TCOPY) | |||||
/// BUNDLE - This instruction represents an instruction bundle. Instructions | /// BUNDLE - This instruction represents an instruction bundle. Instructions | ||||
/// which immediately follow a BUNDLE instruction which are marked with | /// which immediately follow a BUNDLE instruction which are marked with | ||||
/// 'InsideBundle' flag are inside the bundle. | /// 'InsideBundle' flag are inside the bundle. | ||||
HANDLE_TARGET_OPCODE(BUNDLE) | HANDLE_TARGET_OPCODE(BUNDLE) | ||||
/// Lifetime markers. | /// Lifetime markers. | ||||
HANDLE_TARGET_OPCODE(LIFETIME_START) | HANDLE_TARGET_OPCODE(LIFETIME_START) | ||||
HANDLE_TARGET_OPCODE(LIFETIME_END) | HANDLE_TARGET_OPCODE(LIFETIME_END) | ||||
▲ Show 20 Lines • Show All 544 Lines • Show Last 20 Lines |
s/terminal/terminator