| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | LegacyPassNameParser.h | 91 const PassNameParser::OptionInfo *VT2) { in ValCompare() argument 92 return VT1->Name.compare(VT2->Name); in ValCompare()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.h | 153 bool isTruncateFree(EVT VT1, EVT VT2) const override; 157 bool isZExtFree(EVT VT1, EVT VT2) const override; 158 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | BPFISelLowering.cpp | 213 bool BPFTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() 214 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree() 217 unsigned NumBits2 = VT2.getSizeInBits(); in isTruncateFree() 229 bool BPFTargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() 230 if (!getHasAlu32() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree() 233 unsigned NumBits2 = VT2.getSizeInBits(); in isZExtFree() 237 bool BPFTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 239 if (Val.getOpcode() == ISD::LOAD && VT1.isSimple() && VT2.isSimple()) { in isZExtFree() 241 MVT MT2 = VT2.getSimpleVT().SimpleTy; in isZExtFree() 246 return TargetLoweringBase::isZExtFree(Val, VT2); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.h | 63 bool isTruncateFree(EVT VT1, EVT VT2) const override; 74 bool isZExtFree(EVT VT1, EVT VT2) const override;
|
| H A D | MSP430ISelLowering.cpp | 1249 bool MSP430TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() 1250 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree() 1253 return (VT1.getFixedSizeInBits() > VT2.getFixedSizeInBits()); in isTruncateFree() 1261 bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() 1263 return false && VT1 == MVT::i8 && VT2 == MVT::i16; in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAG.h | 673 LLVM_ABI SDVTList getVTList(EVT VT1, EVT VT2); 674 LLVM_ABI SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3); 675 LLVM_ABI SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4); 1774 EVT VT2); 1776 EVT VT2, ArrayRef<SDValue> Ops); 1778 EVT VT2, EVT VT3, ArrayRef<SDValue> Ops); 1780 EVT VT2, SDValue Op1, SDValue Op2); 1812 EVT VT1, EVT VT2, SDValue Op1, 1815 EVT VT1, EVT VT2, SDValue Op1, 1818 EVT VT1, EVT VT2, [all …]
|
| H A D | TargetLowering.h | 1808 MVT VT2; variable 1810 return getVectorTypeBreakdown(Context, VT, VT1, NumIntermediates, VT2); 3059 virtual bool isTruncateFree(SDValue Val, EVT VT2) const { in isTruncateFree() argument 3061 return isTruncateFree(Val.getValueType(), VT2); in isTruncateFree() 3146 virtual bool isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() argument 3147 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreISelLowering.h | 36 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | XCoreISelLowering.cpp | 146 bool XCoreTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 152 !VT2.isSimple() || !VT2.isInteger()) in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 199 bool isTruncateFree(EVT VT1, EVT VT2) const override; 204 bool isZExtFree(EVT VT1, EVT VT2) const override; 205 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | AArch64SVEInstrInfo.td | 2841 foreach VT2 = [ nxv16i8, nxv8i16, nxv4i32, nxv2i64, nxv8f16, nxv4f32, nxv2f64, nxv8bf16 ] in 2842 if !ne(VT,VT2) then 2843 def : Pat<(VT (bitconvert (VT2 ZPR:$src))), (VT ZPR:$src)>; 2871 foreach VT2 = [ nxv16i1, nxv8i1, nxv4i1, nxv2i1, nxv1i1 ] in 2872 def : Pat<(VT (reinterpret_cast (VT2 PPR:$src))), (COPY_TO_REGCLASS PPR:$src, PPR)>; 2876 foreach VT2 = [ nxv2f16, nxv4f16, nxv8f16 ] in 2877 def : Pat<(VT (reinterpret_cast (VT2 ZPR:$src))), (COPY_TO_REGCLASS ZPR:$src, ZPR)>; 2881 foreach VT2 = [ nxv2f32, nxv4f32 ] in 2882 def : Pat<(VT (reinterpret_cast (VT2 ZPR:$src))), (COPY_TO_REGCLASS ZPR:$src, ZPR)>; 2886 foreach VT2 = [ nxv2bf16, nxv4bf16, nxv8bf16 ] in [all …]
|
| H A D | AArch64ISelLowering.cpp | 16550 bool AArch64TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() 16551 if (VT1.isVector() || VT2.isVector() || !VT1.isInteger() || !VT2.isInteger()) in isTruncateFree() 16554 uint64_t NumBits2 = VT2.getFixedSizeInBits(); in isTruncateFree() 16594 bool AArch64TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() 16595 if (VT1.isVector() || VT2.isVector() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree() 16598 unsigned NumBits2 = VT2.getSizeInBits(); in isZExtFree() 16602 bool AArch64TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 16604 if (isZExtFree(VT1, VT2)) { in isZExtFree() 16613 VT2.isSimple() && !VT2.isVector() && VT2.isInteger() && in isZExtFree() 30491 MVT VT2; in getNumRegistersForCallingConv() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.h | 1439 bool isTruncateFree(EVT VT1, EVT VT2) const override; 1452 bool isZExtFree(EVT VT1, EVT VT2) const override; 1453 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.h | 48 bool isTruncateFree(SDValue Val, EVT VT2) const override; 49 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | RISCVISelLowering.cpp | 2083 bool RISCVTargetLowering::isTruncateFree(SDValue Val, EVT VT2) const { in isTruncateFree() 2088 SrcVT.isVector() && VT2.isVector()) { in isTruncateFree() 2090 unsigned DestBits = VT2.getVectorElementType().getSizeInBits(); in isTruncateFree() 2095 return TargetLowering::isTruncateFree(Val, VT2); in isTruncateFree() 2098 bool RISCVTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 2110 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAG.cpp | 2753 SDValue SelectionDAG::CreateStackTemporary(EVT VT1, EVT VT2) { in CreateStackTemporary() argument 2755 TypeSize VT2Size = VT2.getStoreSize(); in CreateStackTemporary() 2764 Type *Ty2 = VT2.getTypeForEVT(*getContext()); in CreateStackTemporary() 10944 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2) { in getVTList() argument 10948 ID.AddInteger(VT2.getRawBits()); in getVTList() 10955 Array[1] = VT2; in getVTList() 10962 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3) { in getVTList() argument 10966 ID.AddInteger(VT2.getRawBits()); in getVTList() 10974 Array[1] = VT2; in getVTList() 10982 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4) { in getVTList() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.h | 288 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | LoongArchISelLowering.cpp | 8396 bool LoongArchTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 8408 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.h | 1049 bool isTruncateFree(EVT VT1, EVT VT2) const override; 1051 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | PPCISelLowering.cpp | 18303 bool PPCTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() 18304 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree() 18307 unsigned NumBits2 = VT2.getSizeInBits(); in isTruncateFree() 18311 bool PPCTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() 18328 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 480 bool isZExtFree(SDValue Val, EVT VT2) const override;
|
| H A D | ARMInstrMVE.td | 4433 foreach VT2 = [ v2i1, v4i1, v8i1, v16i1 ] in 4434 def : Pat<(VT (predicate_cast (VT2 VCCR:$src))), 4435 (VT (COPY_TO_REGCLASS (VT2 VCCR:$src), VCCR))>; 4452 foreach VT2 = [ v16i8, v8i16, v8f16, v4i32, v4f32, v2i64, v2f64 ] in 4453 def : Pat<(VT (ARMVectorRegCastImpl (VT2 MQPR:$src))),
|
| H A D | ARMInstrNEON.td | 7766 foreach VT2 = [ v16i8, v8i16, v8f16, v8bf16, v4i32, v4f32, v2i64, v2f64 ] in 7767 def : Pat<(VT (ARMVectorRegCastImpl (VT2 QPR:$src))), (VT QPR:$src)>; 7770 foreach VT2 = [ v8i8, v4i16, v4f16, v4bf16, v2i32, v2f32, v1i64, f64 ] in 7771 def : Pat<(VT (ARMVectorRegCastImpl (VT2 DPR:$src))), (VT DPR:$src)>;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.h | 150 bool isTruncateFree(EVT VT1, EVT VT2) const override;
|
| H A D | HexagonISelLowering.cpp | 2185 bool HexagonTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree() 2186 if (!VT1.isSimple() || !VT2.isSimple()) in isTruncateFree() 2188 return VT1.getSimpleVT() == MVT::i64 && VT2.getSimpleVT() == MVT::i32; in isTruncateFree()
|