|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/TargetLowering.h 418 if (getOperationAction(ISD::LOAD, LoadMVT) == Promote &&
993 getOperationAction(Op, VT) == Promote);
1003 getOperationAction(Op, VT) == Promote);
1192 assert(Action != Promote && "Can't promote condition code!");
1211 assert(getOperationAction(Op, VT) == Promote &&
1229 getOperationAction(Op, NVT) == Promote);
2116 setOperationAction(Opc, OrigVT, Promote);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp 524 case TargetLowering::Promote: {
697 case TargetLowering::Promote: {
738 TargetLowering::Promote)) {
1002 if (Action != TargetLowering::Promote)
1253 case TargetLowering::Promote:
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp 487 case TargetLowering::Promote:
lib/CodeGen/TargetLoweringBase.cpp 615 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote);
lib/Target/AArch64/AArch64ISelLowering.cpp 360 setOperationAction(ISD::FCOPYSIGN, MVT::f16, Promote);
362 setOperationAction(ISD::FREM, MVT::f16, Promote);
365 setOperationAction(ISD::FPOW, MVT::f16, Promote);
368 setOperationAction(ISD::FPOWI, MVT::f16, Promote);
371 setOperationAction(ISD::FCOS, MVT::f16, Promote);
374 setOperationAction(ISD::FSIN, MVT::f16, Promote);
377 setOperationAction(ISD::FSINCOS, MVT::f16, Promote);
380 setOperationAction(ISD::FEXP, MVT::f16, Promote);
383 setOperationAction(ISD::FEXP2, MVT::f16, Promote);
386 setOperationAction(ISD::FLOG, MVT::f16, Promote);
389 setOperationAction(ISD::FLOG2, MVT::f16, Promote);
392 setOperationAction(ISD::FLOG10, MVT::f16, Promote);
397 setOperationAction(ISD::SELECT, MVT::f16, Promote);
398 setOperationAction(ISD::SELECT_CC, MVT::f16, Promote);
399 setOperationAction(ISD::SETCC, MVT::f16, Promote);
400 setOperationAction(ISD::BR_CC, MVT::f16, Promote);
401 setOperationAction(ISD::FADD, MVT::f16, Promote);
402 setOperationAction(ISD::FSUB, MVT::f16, Promote);
403 setOperationAction(ISD::FMUL, MVT::f16, Promote);
404 setOperationAction(ISD::FDIV, MVT::f16, Promote);
405 setOperationAction(ISD::FMA, MVT::f16, Promote);
406 setOperationAction(ISD::FNEG, MVT::f16, Promote);
407 setOperationAction(ISD::FABS, MVT::f16, Promote);
408 setOperationAction(ISD::FCEIL, MVT::f16, Promote);
409 setOperationAction(ISD::FSQRT, MVT::f16, Promote);
410 setOperationAction(ISD::FFLOOR, MVT::f16, Promote);
411 setOperationAction(ISD::FNEARBYINT, MVT::f16, Promote);
412 setOperationAction(ISD::FRINT, MVT::f16, Promote);
413 setOperationAction(ISD::FROUND, MVT::f16, Promote);
414 setOperationAction(ISD::FTRUNC, MVT::f16, Promote);
415 setOperationAction(ISD::FMINNUM, MVT::f16, Promote);
416 setOperationAction(ISD::FMAXNUM, MVT::f16, Promote);
417 setOperationAction(ISD::FMINIMUM, MVT::f16, Promote);
418 setOperationAction(ISD::FMAXIMUM, MVT::f16, Promote);
421 setOperationAction(ISD::FADD, MVT::v4f16, Promote);
422 setOperationAction(ISD::FSUB, MVT::v4f16, Promote);
423 setOperationAction(ISD::FMUL, MVT::v4f16, Promote);
424 setOperationAction(ISD::FDIV, MVT::v4f16, Promote);
425 setOperationAction(ISD::FP_EXTEND, MVT::v4f16, Promote);
426 setOperationAction(ISD::FP_ROUND, MVT::v4f16, Promote);
lib/Target/AMDGPU/AMDGPUISelLowering.cpp 70 setOperationAction(ISD::LOAD, MVT::f32, Promote);
73 setOperationAction(ISD::LOAD, MVT::v2f32, Promote);
76 setOperationAction(ISD::LOAD, MVT::v3f32, Promote);
79 setOperationAction(ISD::LOAD, MVT::v4f32, Promote);
82 setOperationAction(ISD::LOAD, MVT::v5f32, Promote);
85 setOperationAction(ISD::LOAD, MVT::v8f32, Promote);
88 setOperationAction(ISD::LOAD, MVT::v16f32, Promote);
91 setOperationAction(ISD::LOAD, MVT::v32f32, Promote);
94 setOperationAction(ISD::LOAD, MVT::i64, Promote);
97 setOperationAction(ISD::LOAD, MVT::v2i64, Promote);
100 setOperationAction(ISD::LOAD, MVT::f64, Promote);
103 setOperationAction(ISD::LOAD, MVT::v2f64, Promote);
118 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
123 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
128 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
170 setOperationAction(ISD::STORE, MVT::f32, Promote);
173 setOperationAction(ISD::STORE, MVT::v2f32, Promote);
176 setOperationAction(ISD::STORE, MVT::v3f32, Promote);
179 setOperationAction(ISD::STORE, MVT::v4f32, Promote);
182 setOperationAction(ISD::STORE, MVT::v5f32, Promote);
185 setOperationAction(ISD::STORE, MVT::v8f32, Promote);
188 setOperationAction(ISD::STORE, MVT::v16f32, Promote);
191 setOperationAction(ISD::STORE, MVT::v32f32, Promote);
194 setOperationAction(ISD::STORE, MVT::i64, Promote);
197 setOperationAction(ISD::STORE, MVT::v2i64, Promote);
200 setOperationAction(ISD::STORE, MVT::f64, Promote);
203 setOperationAction(ISD::STORE, MVT::v2f64, Promote);
438 setOperationAction(ISD::SELECT, MVT::v2f32, Promote);
441 setOperationAction(ISD::SELECT, MVT::v3f32, Promote);
444 setOperationAction(ISD::SELECT, MVT::v4f32, Promote);
447 setOperationAction(ISD::SELECT, MVT::v5f32, Promote);
lib/Target/AMDGPU/R600ISelLowering.cpp 75 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
79 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
83 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
lib/Target/AMDGPU/SIISelLowering.cpp 197 setOperationAction(ISD::SELECT, MVT::i1, Promote);
199 setOperationAction(ISD::SELECT, MVT::f64, Promote);
208 setOperationAction(ISD::SETCC, MVT::i1, Promote);
282 setOperationAction(ISD::BUILD_VECTOR, Vec64, Promote);
285 setOperationAction(ISD::EXTRACT_VECTOR_ELT, Vec64, Promote);
288 setOperationAction(ISD::INSERT_VECTOR_ELT, Vec64, Promote);
291 setOperationAction(ISD::SCALAR_TO_VECTOR, Vec64, Promote);
441 setOperationAction(ISD::SIGN_EXTEND, MVT::i16, Promote);
444 setOperationAction(ISD::ROTR, MVT::i16, Promote);
445 setOperationAction(ISD::ROTL, MVT::i16, Promote);
447 setOperationAction(ISD::SDIV, MVT::i16, Promote);
448 setOperationAction(ISD::UDIV, MVT::i16, Promote);
449 setOperationAction(ISD::SREM, MVT::i16, Promote);
450 setOperationAction(ISD::UREM, MVT::i16, Promote);
452 setOperationAction(ISD::BSWAP, MVT::i16, Promote);
453 setOperationAction(ISD::BITREVERSE, MVT::i16, Promote);
455 setOperationAction(ISD::CTTZ, MVT::i16, Promote);
456 setOperationAction(ISD::CTTZ_ZERO_UNDEF, MVT::i16, Promote);
457 setOperationAction(ISD::CTLZ, MVT::i16, Promote);
458 setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i16, Promote);
459 setOperationAction(ISD::CTPOP, MVT::i16, Promote);
469 setOperationAction(ISD::FP16_TO_FP, MVT::i16, Promote);
471 setOperationAction(ISD::FP_TO_FP16, MVT::i16, Promote);
474 setOperationAction(ISD::FP_TO_SINT, MVT::i16, Promote);
475 setOperationAction(ISD::FP_TO_UINT, MVT::i16, Promote);
476 setOperationAction(ISD::SINT_TO_FP, MVT::i16, Promote);
477 setOperationAction(ISD::UINT_TO_FP, MVT::i16, Promote);
483 setOperationAction(ISD::LOAD, MVT::f16, Promote);
485 setOperationAction(ISD::STORE, MVT::f16, Promote);
490 setOperationAction(ISD::FCOS, MVT::f16, Promote);
491 setOperationAction(ISD::FSIN, MVT::f16, Promote);
492 setOperationAction(ISD::FP_TO_SINT, MVT::f16, Promote);
493 setOperationAction(ISD::FP_TO_UINT, MVT::f16, Promote);
494 setOperationAction(ISD::SINT_TO_FP, MVT::f16, Promote);
495 setOperationAction(ISD::UINT_TO_FP, MVT::f16, Promote);
539 setOperationAction(ISD::STORE, MVT::v2i16, Promote);
541 setOperationAction(ISD::STORE, MVT::v2f16, Promote);
544 setOperationAction(ISD::LOAD, MVT::v2i16, Promote);
546 setOperationAction(ISD::LOAD, MVT::v2f16, Promote);
549 setOperationAction(ISD::AND, MVT::v2i16, Promote);
551 setOperationAction(ISD::OR, MVT::v2i16, Promote);
553 setOperationAction(ISD::XOR, MVT::v2i16, Promote);
556 setOperationAction(ISD::LOAD, MVT::v4i16, Promote);
558 setOperationAction(ISD::LOAD, MVT::v4f16, Promote);
561 setOperationAction(ISD::STORE, MVT::v4i16, Promote);
563 setOperationAction(ISD::STORE, MVT::v4f16, Promote);
656 setOperationAction(ISD::SELECT, MVT::v2i16, Promote);
658 setOperationAction(ISD::SELECT, MVT::v2f16, Promote);
lib/Target/ARM/ARMISelLowering.cpp 153 setOperationAction(ISD::LOAD, VT, Promote);
156 setOperationAction(ISD::STORE, VT, Promote);
192 setOperationAction(ISD::AND, VT, Promote);
194 setOperationAction(ISD::OR, VT, Promote);
196 setOperationAction(ISD::XOR, VT, Promote);
996 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
1372 setOperationAction(ISD::FREM, MVT::f16, Promote);
1374 setOperationAction(ISD::FSIN, MVT::f16, Promote);
1375 setOperationAction(ISD::FCOS, MVT::f16, Promote);
1376 setOperationAction(ISD::FSINCOS, MVT::f16, Promote);
1377 setOperationAction(ISD::FPOWI, MVT::f16, Promote);
1378 setOperationAction(ISD::FPOW, MVT::f16, Promote);
1379 setOperationAction(ISD::FEXP, MVT::f16, Promote);
1380 setOperationAction(ISD::FEXP2, MVT::f16, Promote);
1381 setOperationAction(ISD::FLOG, MVT::f16, Promote);
1382 setOperationAction(ISD::FLOG10, MVT::f16, Promote);
1383 setOperationAction(ISD::FLOG2, MVT::f16, Promote);
lib/Target/AVR/AVRISelLowering.cpp 60 setLoadExtAction(N, VT, MVT::i1, Promote);
lib/Target/BPF/BPFISelLowering.cpp 107 setOperationAction(ISD::BSWAP, MVT::i32, Promote);
109 STI.getHasJmp32() ? Custom : Promote);
124 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
125 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
126 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
lib/Target/Hexagon/HexagonISelLowering.cpp 1352 setOperationAction(ISD::CTLZ, MVT::i8, Promote);
1353 setOperationAction(ISD::CTLZ, MVT::i16, Promote);
1354 setOperationAction(ISD::CTTZ, MVT::i8, Promote);
1355 setOperationAction(ISD::CTTZ, MVT::i16, Promote);
1358 setOperationAction(ISD::CTPOP, MVT::i8, Promote);
1359 setOperationAction(ISD::CTPOP, MVT::i16, Promote);
1360 setOperationAction(ISD::CTPOP, MVT::i32, Promote);
1459 setOperationAction(ISD::SELECT, VT, Promote);
1533 setOperationAction(ISD::FP_TO_UINT, MVT::i1, Promote);
1534 setOperationAction(ISD::FP_TO_UINT, MVT::i8, Promote);
1535 setOperationAction(ISD::FP_TO_UINT, MVT::i16, Promote);
1536 setOperationAction(ISD::FP_TO_SINT, MVT::i1, Promote);
1537 setOperationAction(ISD::FP_TO_SINT, MVT::i8, Promote);
1538 setOperationAction(ISD::FP_TO_SINT, MVT::i16, Promote);
1539 setOperationAction(ISD::UINT_TO_FP, MVT::i1, Promote);
1540 setOperationAction(ISD::UINT_TO_FP, MVT::i8, Promote);
1541 setOperationAction(ISD::UINT_TO_FP, MVT::i16, Promote);
1542 setOperationAction(ISD::SINT_TO_FP, MVT::i1, Promote);
1543 setOperationAction(ISD::SINT_TO_FP, MVT::i8, Promote);
1544 setOperationAction(ISD::SINT_TO_FP, MVT::i16, Promote);
lib/Target/Hexagon/HexagonISelLoweringHVX.cpp 65 setOperationAction(Opc, FromTy, Promote);
lib/Target/Lanai/LanaiISelLowering.cpp 136 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
137 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
138 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
lib/Target/MSP430/MSP430ISelLowering.cpp 61 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
62 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
63 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
117 setOperationAction(ISD::MUL, MVT::i8, Promote);
118 setOperationAction(ISD::MULHS, MVT::i8, Promote);
119 setOperationAction(ISD::MULHU, MVT::i8, Promote);
120 setOperationAction(ISD::SMUL_LOHI, MVT::i8, Promote);
121 setOperationAction(ISD::UMUL_LOHI, MVT::i8, Promote);
128 setOperationAction(ISD::UDIV, MVT::i8, Promote);
129 setOperationAction(ISD::UDIVREM, MVT::i8, Promote);
130 setOperationAction(ISD::UREM, MVT::i8, Promote);
131 setOperationAction(ISD::SDIV, MVT::i8, Promote);
132 setOperationAction(ISD::SDIVREM, MVT::i8, Promote);
133 setOperationAction(ISD::SREM, MVT::i8, Promote);
lib/Target/Mips/MipsISelLowering.cpp 316 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
317 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
318 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
lib/Target/Mips/MipsSEISelLowering.cpp 127 setOperationAction(ISD::SETCC, MVT::f16, Promote);
128 setOperationAction(ISD::BR_CC, MVT::f16, Promote);
129 setOperationAction(ISD::SELECT_CC, MVT::f16, Promote);
130 setOperationAction(ISD::SELECT, MVT::f16, Promote);
131 setOperationAction(ISD::FADD, MVT::f16, Promote);
132 setOperationAction(ISD::FSUB, MVT::f16, Promote);
133 setOperationAction(ISD::FMUL, MVT::f16, Promote);
134 setOperationAction(ISD::FDIV, MVT::f16, Promote);
135 setOperationAction(ISD::FREM, MVT::f16, Promote);
136 setOperationAction(ISD::FMA, MVT::f16, Promote);
137 setOperationAction(ISD::FNEG, MVT::f16, Promote);
138 setOperationAction(ISD::FABS, MVT::f16, Promote);
139 setOperationAction(ISD::FCEIL, MVT::f16, Promote);
140 setOperationAction(ISD::FCOPYSIGN, MVT::f16, Promote);
141 setOperationAction(ISD::FCOS, MVT::f16, Promote);
142 setOperationAction(ISD::FP_EXTEND, MVT::f16, Promote);
143 setOperationAction(ISD::FFLOOR, MVT::f16, Promote);
144 setOperationAction(ISD::FNEARBYINT, MVT::f16, Promote);
145 setOperationAction(ISD::FPOW, MVT::f16, Promote);
146 setOperationAction(ISD::FPOWI, MVT::f16, Promote);
147 setOperationAction(ISD::FRINT, MVT::f16, Promote);
148 setOperationAction(ISD::FSIN, MVT::f16, Promote);
149 setOperationAction(ISD::FSINCOS, MVT::f16, Promote);
150 setOperationAction(ISD::FSQRT, MVT::f16, Promote);
151 setOperationAction(ISD::FEXP, MVT::f16, Promote);
152 setOperationAction(ISD::FEXP2, MVT::f16, Promote);
153 setOperationAction(ISD::FLOG, MVT::f16, Promote);
154 setOperationAction(ISD::FLOG2, MVT::f16, Promote);
155 setOperationAction(ISD::FLOG10, MVT::f16, Promote);
156 setOperationAction(ISD::FROUND, MVT::f16, Promote);
157 setOperationAction(ISD::FTRUNC, MVT::f16, Promote);
158 setOperationAction(ISD::FMINNUM, MVT::f16, Promote);
159 setOperationAction(ISD::FMAXNUM, MVT::f16, Promote);
160 setOperationAction(ISD::FMINIMUM, MVT::f16, Promote);
161 setOperationAction(ISD::FMAXIMUM, MVT::f16, Promote);
lib/Target/NVPTX/NVPTXISelLowering.cpp 392 setFP16OperationAction(ISD::SETCC, MVT::f16, Legal, Promote);
469 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
470 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
537 setFP16OperationAction(Op, MVT::f16, Legal, Promote);
556 setOperationAction(ISD::FROUND, MVT::f16, Promote);
573 setOperationAction(Op, MVT::f16, Promote);
578 setOperationAction(ISD::FMINNUM, MVT::f16, Promote);
579 setOperationAction(ISD::FMAXNUM, MVT::f16, Promote);
580 setOperationAction(ISD::FMINIMUM, MVT::f16, Promote);
581 setOperationAction(ISD::FMAXIMUM, MVT::f16, Promote);
lib/Target/PowerPC/PPCISelLowering.cpp 165 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
202 setOperationAction(ISD::SINT_TO_FP, MVT::i1, Promote);
205 setOperationAction(ISD::UINT_TO_FP, MVT::i1, Promote);
222 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
223 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
436 setOperationAction(ISD::VAARG, MVT::i1, Promote);
438 setOperationAction(ISD::VAARG, MVT::i8, Promote);
440 setOperationAction(ISD::VAARG, MVT::i16, Promote);
442 setOperationAction(ISD::VAARG, MVT::i32, Promote);
603 setOperationAction(ISD::VECTOR_SHUFFLE, VT, Promote);
607 setOperationAction(ISD::AND , VT, Promote);
609 setOperationAction(ISD::OR , VT, Promote);
611 setOperationAction(ISD::XOR , VT, Promote);
613 setOperationAction(ISD::LOAD , VT, Promote);
615 setOperationAction(ISD::SELECT, VT, Promote);
618 setOperationAction(ISD::SELECT_CC, VT, Promote);
620 setOperationAction(ISD::STORE, VT, Promote);
827 setOperationAction(ISD::LOAD, MVT::v2i64, Promote);
829 setOperationAction(ISD::STORE, MVT::v2i64, Promote);
lib/Target/RISCV/RISCVISelLowering.cpp 81 setLoadExtAction(N, XLenVT, MVT::i1, Promote);
lib/Target/Sparc/SparcISelLowering.cpp 1476 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
1791 setOperationAction(ISD::FDIV, MVT::f32, Promote);
1792 setOperationAction(ISD::FSQRT, MVT::f32, Promote);
1796 setOperationAction(ISD::FMUL, MVT::f32, Promote);
lib/Target/SystemZ/SystemZISelLowering.cpp 252 setOperationAction(ISD::UINT_TO_FP, MVT::i32, Promote);
257 setOperationAction(ISD::CTLZ, MVT::i32, Promote);
258 setOperationAction(ISD::CTLZ_ZERO_UNDEF, MVT::i32, Promote);
263 setOperationAction(ISD::CTPOP, MVT::i32, Promote);
278 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
279 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
280 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 236 setLoadExtAction(Ext, T, MVT::i1, Promote);
lib/Target/X86/X86ISelLowering.cpp 185 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);
222 setOperationAction(ISD::UINT_TO_FP , MVT::i1 , Promote);
223 setOperationAction(ISD::UINT_TO_FP , MVT::i8 , Promote);
224 setOperationAction(ISD::UINT_TO_FP , MVT::i16 , Promote);
239 setOperationAction(ISD::SINT_TO_FP , MVT::i1 , Promote);
240 setOperationAction(ISD::SINT_TO_FP , MVT::i8 , Promote);
245 setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);
253 setOperationAction(ISD::SINT_TO_FP , MVT::i16 , Promote);
259 setOperationAction(ISD::FP_TO_SINT , MVT::i1 , Promote);
260 setOperationAction(ISD::FP_TO_SINT , MVT::i8 , Promote);
271 setOperationAction(ISD::FP_TO_SINT , MVT::i16 , Promote);
278 setOperationAction(ISD::FP_TO_UINT , MVT::i1 , Promote);
279 setOperationAction(ISD::FP_TO_UINT , MVT::i8 , Promote);
280 setOperationAction(ISD::FP_TO_UINT , MVT::i16 , Promote);
413 setOperationAction(ISD::SELECT , MVT::i1 , Promote);
1834 setOperationAction(Op, MVT::f32, Promote);
lib/Target/XCore/XCoreISelLowering.cpp 123 setLoadExtAction(ISD::EXTLOAD, VT, MVT::i1, Promote);
124 setLoadExtAction(ISD::ZEXTLOAD, VT, MVT::i1, Promote);
125 setLoadExtAction(ISD::SEXTLOAD, VT, MVT::i1, Promote);