Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Support/TargetOpcodes.def
Show First 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | |||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_MIN) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_MIN) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_UMAX) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_UMAX) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_UMIN) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_UMIN) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_FADD) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_FADD) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_FSUB) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_FSUB) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_FMAX) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_FMAX) | ||||
HANDLE_TARGET_OPCODE(G_ATOMICRMW_FMIN) | HANDLE_TARGET_OPCODE(G_ATOMICRMW_FMIN) | ||||
// Marker for start of Generic AtomicRMW opcodes | |||||
HANDLE_TARGET_OPCODE_MARKER(GENERIC_ATOMICRMW_OP_START, G_ATOMICRMW_XCHG) | |||||
// Marker for end of Generic AtomicRMW opcodes | |||||
HANDLE_TARGET_OPCODE_MARKER(GENERIC_ATOMICRMW_OP_END, G_ATOMICRMW_FMIN) | |||||
sameerds: Why is this marker needed? Should OP_END be sufficient to pair with OP_START? | |||||
Yes it's not, OP_START and OP_END should be sufficient, will update yassingh: Yes it's not, OP_START and OP_END should be sufficient, will update | |||||
Not Done ReplyInline ActionsWhy doesn't G_FENCE count? arsenm: Why doesn't G_FENCE count? | |||||
I have a doubt too, could not find details about this instruction. Should this also be included? yassingh: I have a doubt too, could not find details about this instruction. Should this also be included? | |||||
// Generic atomic fence | // Generic atomic fence | ||||
HANDLE_TARGET_OPCODE(G_FENCE) | HANDLE_TARGET_OPCODE(G_FENCE) | ||||
/// Generic conditional branch instruction. | /// Generic conditional branch instruction. | ||||
HANDLE_TARGET_OPCODE(G_BRCOND) | HANDLE_TARGET_OPCODE(G_BRCOND) | ||||
/// Generic indirect branch instruction. | /// Generic indirect branch instruction. | ||||
HANDLE_TARGET_OPCODE(G_BRINDIRECT) | HANDLE_TARGET_OPCODE(G_BRINDIRECT) | ||||
▲ Show 20 Lines • Show All 394 Lines • Show Last 20 Lines |
Why is this marker needed? Should OP_END be sufficient to pair with OP_START?