Lines Matching refs:ISD
103 setOperationAction(ISD::BR_CC, MVT::i64, Custom); in BPFTargetLowering()
104 setOperationAction(ISD::BR_JT, MVT::Other, Expand); in BPFTargetLowering()
105 setOperationAction(ISD::BRCOND, MVT::Other, Expand); in BPFTargetLowering()
106 setOperationAction(ISD::SETCC, MVT::i64, Expand); in BPFTargetLowering()
107 setOperationAction(ISD::SELECT, MVT::i64, Expand); in BPFTargetLowering()
108 setOperationAction(ISD::SELECT_CC, MVT::i64, Custom); in BPFTargetLowering()
110 setOperationAction(ISD::GlobalAddress, MVT::i64, Custom); in BPFTargetLowering()
112 setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i64, Custom); in BPFTargetLowering()
113 setOperationAction(ISD::STACKSAVE, MVT::Other, Expand); in BPFTargetLowering()
114 setOperationAction(ISD::STACKRESTORE, MVT::Other, Expand); in BPFTargetLowering()
116 setOperationAction(ISD::SDIVREM, MVT::i64, Expand); in BPFTargetLowering()
117 setOperationAction(ISD::UDIVREM, MVT::i64, Expand); in BPFTargetLowering()
118 setOperationAction(ISD::SREM, MVT::i64, Expand); in BPFTargetLowering()
119 setOperationAction(ISD::UREM, MVT::i64, Expand); in BPFTargetLowering()
121 setOperationAction(ISD::MULHU, MVT::i64, Expand); in BPFTargetLowering()
122 setOperationAction(ISD::MULHS, MVT::i64, Expand); in BPFTargetLowering()
123 setOperationAction(ISD::UMUL_LOHI, MVT::i64, Expand); in BPFTargetLowering()
124 setOperationAction(ISD::SMUL_LOHI, MVT::i64, Expand); in BPFTargetLowering()
126 setOperationAction(ISD::ADDC, MVT::i64, Expand); in BPFTargetLowering()
127 setOperationAction(ISD::ADDE, MVT::i64, Expand); in BPFTargetLowering()
128 setOperationAction(ISD::SUBC, MVT::i64, Expand); in BPFTargetLowering()
129 setOperationAction(ISD::SUBE, MVT::i64, Expand); in BPFTargetLowering()
132 setOperationAction(ISD::UNDEF, MVT::i64, Expand); in BPFTargetLowering()
134 setOperationAction(ISD::ROTR, MVT::i64, Expand); in BPFTargetLowering()
135 setOperationAction(ISD::ROTL, MVT::i64, Expand); in BPFTargetLowering()
136 setOperationAction(ISD::SHL_PARTS, MVT::i64, Expand); in BPFTargetLowering()
137 setOperationAction(ISD::SRL_PARTS, MVT::i64, Expand); in BPFTargetLowering()
138 setOperationAction(ISD::SRA_PARTS, MVT::i64, Expand); in BPFTargetLowering()
140 setOperationAction(ISD::CTTZ, MVT::i64, Custom); in BPFTargetLowering()
141 setOperationAction(ISD::CTLZ, MVT::i64, Custom); in BPFTargetLowering()
142 setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i64, Custom); in BPFTargetLowering()
143 setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i64, Custom); in BPFTargetLowering()
144 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in BPFTargetLowering()
146 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i1, Expand); in BPFTargetLowering()
147 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i8, Expand); in BPFTargetLowering()
148 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i16, Expand); in BPFTargetLowering()
149 setOperationAction(ISD::SIGN_EXTEND_INREG, MVT::i32, Expand); in BPFTargetLowering()
153 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote); in BPFTargetLowering()
154 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote); in BPFTargetLowering()
155 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote); in BPFTargetLowering()
157 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i8, Expand); in BPFTargetLowering()
158 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i16, Expand); in BPFTargetLowering()
159 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i32, Expand); in BPFTargetLowering()
176 case ISD::BR_CC: in LowerOperation()
178 case ISD::GlobalAddress: in LowerOperation()
180 case ISD::SELECT_CC: in LowerOperation()
192 const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc DL, SelectionDAG &DAG, in LowerFormalArguments()
229 ArgValue = DAG.getNode(ISD::AssertSext, DL, RegVT, ArgValue, in LowerFormalArguments()
232 ArgValue = DAG.getNode(ISD::AssertZext, DL, RegVT, ArgValue, in LowerFormalArguments()
236 ArgValue = DAG.getNode(ISD::TRUNCATE, DL, VA.getValVT(), ArgValue); in LowerFormalArguments()
296 ISD::ArgFlagsTy Flags = Arg.Flags; in LowerCall()
322 Arg = DAG.getNode(ISD::SIGN_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
325 Arg = DAG.getNode(ISD::ZERO_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
328 Arg = DAG.getNode(ISD::ANY_EXTEND, CLI.DL, VA.getLocVT(), Arg); in LowerCall()
390 const SmallVectorImpl<ISD::OutputArg> &Outs, in LowerReturn()
438 const SmallVectorImpl<ISD::InputArg> &Ins, SDLoc DL, SelectionDAG &DAG, in LowerCallResult()
465 static void NegateCC(SDValue &LHS, SDValue &RHS, ISD::CondCode &CC) { in NegateCC()
469 case ISD::SETULT: in NegateCC()
470 case ISD::SETULE: in NegateCC()
471 case ISD::SETLT: in NegateCC()
472 case ISD::SETLE: in NegateCC()
473 CC = ISD::getSetCCSwappedOperands(CC); in NegateCC()
481 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(1))->get(); in LowerBR_CC()
498 ISD::CondCode CC = cast<CondCodeSDNode>(Op.getOperand(4))->get(); in LowerSELECT_CC()
579 case ISD::SETGT: in EmitInstrWithCustomInserter()
585 case ISD::SETUGT: in EmitInstrWithCustomInserter()
591 case ISD::SETGE: in EmitInstrWithCustomInserter()
597 case ISD::SETUGE: in EmitInstrWithCustomInserter()
603 case ISD::SETEQ: in EmitInstrWithCustomInserter()
609 case ISD::SETNE: in EmitInstrWithCustomInserter()