2020namespace llvm {
2121 class SparcSubtarget ;
2222
23- namespace SPISD {
24- enum NodeType : unsigned {
25- FIRST_NUMBER = ISD::BUILTIN_OP_END,
26- CMPICC, // Compare two GPR operands, set icc+xcc.
27- CMPFCC, // Compare two FP operands, set fcc.
28- CMPFCC_V9, // Compare two FP operands, set fcc (v9 variant).
29- BRICC, // Branch to dest on icc condition
30- BPICC, // Branch to dest on icc condition, with prediction (64-bit only).
31- BPXCC, // Branch to dest on xcc condition, with prediction (64-bit only).
32- BRFCC, // Branch to dest on fcc condition
33- BRFCC_V9, // Branch to dest on fcc condition (v9 variant).
34- BR_REG, // Branch to dest using the comparison of a register with zero.
35- SELECT_ICC, // Select between two values using the current ICC flags.
36- SELECT_XCC, // Select between two values using the current XCC flags.
37- SELECT_FCC, // Select between two values using the current FCC flags.
38- SELECT_REG, // Select between two values using the comparison of a register
39- // with zero.
40-
41- Hi,
42- Lo, // Hi/Lo operations, typically on a global address.
43-
44- FTOI, // FP to Int within a FP register.
45- ITOF, // Int to FP within a FP register.
46- FTOX, // FP to Int64 within a FP register.
47- XTOF, // Int64 to FP within a FP register.
48-
49- CALL, // A call instruction.
50- RET_GLUE, // Return with a glue operand.
51- GLOBAL_BASE_REG, // Global base reg for PIC.
52- FLUSHW, // FLUSH register windows to stack.
53-
54- TAIL_CALL, // Tail call
55-
56- TLS_ADD, // For Thread Local Storage (TLS).
57- TLS_LD,
58- TLS_CALL,
59-
60- LOAD_GDOP, // Load operation w/ gdop relocation.
61- };
62- }
63-
6423 class SparcTargetLowering : public TargetLowering {
6524 const SparcSubtarget *Subtarget;
6625 public:
@@ -82,8 +41,6 @@ namespace llvm {
8241 EmitInstrWithCustomInserter (MachineInstr &MI,
8342 MachineBasicBlock *MBB) const override ;
8443
85- const char *getTargetNodeName (unsigned Opcode) const override ;
86-
8744 ConstraintType getConstraintType (StringRef Constraint) const override ;
8845 ConstraintWeight
8946 getSingleConstraintMatchWeight (AsmOperandInfo &info,
0 commit comments