2020#include " llvm/CodeGen/TargetLowering.h"
2121
2222namespace llvm {
23- namespace LanaiISD {
24- enum {
25- FIRST_NUMBER = ISD::BUILTIN_OP_END,
26-
27- ADJDYNALLOC,
28-
29- // Return with a glue operand. Operand 0 is the chain operand.
30- RET_GLUE,
31-
32- // CALL - These operations represent an abstract call instruction, which
33- // includes a bunch of information.
34- CALL,
35-
36- // SELECT_CC - Operand 0 and operand 1 are selection variable, operand 3
37- // is condition code and operand 4 is flag operand.
38- SELECT_CC,
39-
40- // SETCC - Store the conditional code to a register.
41- SETCC,
42-
43- // SET_FLAG - Set flag compare.
44- SET_FLAG,
45-
46- // SUBBF - Subtract with borrow that sets flags.
47- SUBBF,
48-
49- // BR_CC - Used to glue together a conditional branch and comparison
50- BR_CC,
51-
52- // Wrapper - A wrapper node for TargetConstantPool, TargetExternalSymbol,
53- // and TargetGlobalAddress.
54- Wrapper,
55-
56- // Get the Higher/Lower 16 bits from a 32-bit immediate.
57- HI,
58- LO,
59-
60- // Small 21-bit immediate in global memory.
61- SMALL
62- };
63- } // namespace LanaiISD
6423
6524class LanaiSubtarget ;
6625
@@ -71,10 +30,6 @@ class LanaiTargetLowering : public TargetLowering {
7130 // LowerOperation - Provide custom lowering hooks for some operations.
7231 SDValue LowerOperation (SDValue Op, SelectionDAG &DAG) const override ;
7332
74- // getTargetNodeName - This method returns the name of a target specific
75- // DAG node.
76- const char *getTargetNodeName (unsigned Opcode) const override ;
77-
7833 SDValue LowerBlockAddress (SDValue Op, SelectionDAG &DAG) const ;
7934 SDValue LowerBR_CC (SDValue Op, SelectionDAG &DAG) const ;
8035 SDValue LowerConstantPool (SDValue Op, SelectionDAG &DAG) const ;
0 commit comments