Lines Matching refs:Legal
118 setOperationAction(ISD::ADD, MVT::i32, Legal); in ARCTargetLowering()
119 setOperationAction(ISD::SUB, MVT::i32, Legal); in ARCTargetLowering()
120 setOperationAction(ISD::AND, MVT::i32, Legal); in ARCTargetLowering()
121 setOperationAction(ISD::SMAX, MVT::i32, Legal); in ARCTargetLowering()
122 setOperationAction(ISD::SMIN, MVT::i32, Legal); in ARCTargetLowering()
124 setOperationAction(ISD::ADDC, MVT::i32, Legal); in ARCTargetLowering()
125 setOperationAction(ISD::ADDE, MVT::i32, Legal); in ARCTargetLowering()
126 setOperationAction(ISD::SUBC, MVT::i32, Legal); in ARCTargetLowering()
127 setOperationAction(ISD::SUBE, MVT::i32, Legal); in ARCTargetLowering()
130 setOperationAction(ISD::SHL, MVT::i32, Legal); in ARCTargetLowering()
131 setOperationAction(ISD::SRA, MVT::i32, Legal); in ARCTargetLowering()
132 setOperationAction(ISD::SRL, MVT::i32, Legal); in ARCTargetLowering()
133 setOperationAction(ISD::ROTR, MVT::i32, Legal); in ARCTargetLowering()
135 setOperationAction(ISD::Constant, MVT::i32, Legal); in ARCTargetLowering()
136 setOperationAction(ISD::UNDEF, MVT::i32, Legal); in ARCTargetLowering()
139 setOperationAction(ISD::MUL, MVT::i32, Legal); in ARCTargetLowering()
140 setOperationAction(ISD::MULHS, MVT::i32, Legal); in ARCTargetLowering()
141 setOperationAction(ISD::MULHU, MVT::i32, Legal); in ARCTargetLowering()
142 setOperationAction(ISD::LOAD, MVT::i32, Legal); in ARCTargetLowering()
143 setOperationAction(ISD::STORE, MVT::i32, Legal); in ARCTargetLowering()
152 setOperationAction(ISD::FRAMEADDR, MVT::i32, Legal); in ARCTargetLowering()
171 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in ARCTargetLowering()
172 setOperationAction(ISD::CTTZ, MVT::i32, Legal); in ARCTargetLowering()
174 setOperationAction(ISD::READCYCLECOUNTER, MVT::i32, Legal); in ARCTargetLowering()
176 isTypeLegal(MVT::i64) ? Legal : Custom); in ARCTargetLowering()