Home
last modified time | relevance | path

Searched refs:VT2 (Results 1 – 25 of 28) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLegacyPassNameParser.h90 const PassNameParser::OptionInfo *VT2) { in ValCompare() argument
91 return VT1->Name.compare(VT2->Name); in ValCompare()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h117 bool isTruncateFree(EVT VT1, EVT VT2) const override;
128 bool isZExtFree(EVT VT1, EVT VT2) const override;
129 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DMSP430ISelLowering.cpp1399 bool MSP430TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
1400 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
1403 return (VT1.getFixedSizeInBits() > VT2.getFixedSizeInBits()); in isTruncateFree()
1411 bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree()
1413 return false && VT1 == MVT::i8 && VT2 == MVT::i16; in isZExtFree()
1416 bool MSP430TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
1417 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelLowering.h141 bool isTruncateFree(EVT VT1, EVT VT2) const override;
145 bool isZExtFree(EVT VT1, EVT VT2) const override;
H A DBPFISelLowering.cpp200 bool BPFTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
201 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
204 unsigned NumBits2 = VT2.getSizeInBits(); in isTruncateFree()
216 bool BPFTargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree()
217 if (!getHasAlu32() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree()
220 unsigned NumBits2 = VT2.getSizeInBits(); in isZExtFree()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h637 SDVTList getVTList(EVT VT1, EVT VT2);
638 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
639 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4);
1668 SDNode *SelectNodeTo(SDNode *N, unsigned MachineOpc, EVT VT1, EVT VT2);
1670 EVT VT2, ArrayRef<SDValue> Ops);
1672 EVT VT2, EVT VT3, ArrayRef<SDValue> Ops);
1674 EVT VT2, SDValue Op1, SDValue Op2);
1704 EVT VT2, SDValue Op1, SDValue Op2);
1706 EVT VT2, SDValue Op1, SDValue Op2, SDValue Op3);
1708 EVT VT2, ArrayRef<SDValue> Ops);
[all …]
H A DTargetLowering.h1592 MVT VT2; variable
1594 return getVectorTypeBreakdown(Context, VT, VT1, NumIntermediates, VT2);
2922 virtual bool isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() argument
2923 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h168 bool isZExtFree(SDValue Val, EVT VT2) const override;
175 bool isNarrowingProfitable(EVT VT1, EVT VT2) const override;
H A DAMDGPUISelLowering.cpp891 bool AMDGPUTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
892 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86ISelLowering.h1318 bool isTruncateFree(EVT VT1, EVT VT2) const override;
1331 bool isZExtFree(EVT VT1, EVT VT2) const override;
1332 bool isZExtFree(SDValue Val, EVT VT2) const override;
1351 bool isNarrowingProfitable(EVT VT1, EVT VT2) const override;
H A DX86ISelLowering.cpp34974 bool X86TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
34975 if (!VT1.isScalarInteger() || !VT2.isScalarInteger()) in isTruncateFree()
34978 unsigned NumBits2 = VT2.getSizeInBits(); in isTruncateFree()
34987 bool X86TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree()
34989 return VT1 == MVT::i32 && VT2 == MVT::i64 && Subtarget.is64Bit(); in isZExtFree()
34992 bool X86TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
34994 if (isZExtFree(VT1, VT2)) in isZExtFree()
35001 !VT2.isSimple() || !VT2.isInteger()) in isZExtFree()
35115 bool X86TargetLowering::isNarrowingProfitable(EVT VT1, EVT VT2) const { in isNarrowingProfitable()
35117 return !(VT1 == MVT::i32 && VT2 == MVT::i16); in isNarrowingProfitable()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h95 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DXCoreISelLowering.cpp176 bool XCoreTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
182 !VT2.isSimple() || !VT2.isInteger()) in isZExtFree()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h615 bool isTruncateFree(EVT VT1, EVT VT2) const override;
620 bool isZExtFree(EVT VT1, EVT VT2) const override;
621 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DAArch64ISelLowering.cpp13615 bool AArch64TargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
13616 if (VT1.isVector() || VT2.isVector() || !VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
13619 uint64_t NumBits2 = VT2.getFixedSizeInBits(); in isTruncateFree()
13659 bool AArch64TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree()
13660 if (VT1.isVector() || VT2.isVector() || !VT1.isInteger() || !VT2.isInteger()) in isZExtFree()
13663 unsigned NumBits2 = VT2.getSizeInBits(); in isZExtFree()
13667 bool AArch64TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
13669 if (isZExtFree(VT1, VT2)) { in isZExtFree()
13678 VT2.isSimple() && !VT2.isVector() && VT2.isInteger() && in isZExtFree()
H A DAArch64InstrInfo.td7670 foreach VT2 = [ v8i8, v4i16, v4f16, v4bf16, v2i32, v2f32, v1i64, v1f64, f64 ] in
7671 def : Pat<(VT (AArch64NvCast (VT2 FPR64:$src))),
7676 foreach VT2 = [ v16i8, v8i16, v8f16, v8bf16, v4i32, v4f32, v2i64, v2f64 ] in
7677 def : Pat<(VT (AArch64NvCast (VT2 FPR128:$src))),
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2363 SDValue SelectionDAG::CreateStackTemporary(EVT VT1, EVT VT2) { in CreateStackTemporary() argument
2365 TypeSize VT2Size = VT2.getStoreSize(); in CreateStackTemporary()
2374 Type *Ty2 = VT2.getTypeForEVT(*getContext()); in CreateStackTemporary()
9469 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2) { in getVTList() argument
9473 ID.AddInteger(VT2.getRawBits()); in getVTList()
9480 Array[1] = VT2; in getVTList()
9487 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3) { in getVTList() argument
9491 ID.AddInteger(VT2.getRawBits()); in getVTList()
9499 Array[1] = VT2; in getVTList()
9507 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4) { in getVTList() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1031 bool isTruncateFree(EVT VT1, EVT VT2) const override;
1033 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DPPCISelLowering.cpp16834 bool PPCTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
16835 if (!VT1.isInteger() || !VT2.isInteger()) in isTruncateFree()
16838 unsigned NumBits2 = VT2.getSizeInBits(); in isTruncateFree()
16842 bool PPCTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
16859 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h361 bool isZExtFree(SDValue Val, EVT VT2) const override;
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h456 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DARMInstrMVE.td4494 foreach VT2 = [ v2i1, v4i1, v8i1, v16i1 ] in
4495 def : Pat<(VT (predicate_cast (VT2 VCCR:$src))),
4496 (VT (COPY_TO_REGCLASS (VT2 VCCR:$src), VCCR))>;
4513 foreach VT2 = [ v16i8, v8i16, v8f16, v4i32, v4f32, v2i64, v2f64 ] in
4514 def : Pat<(VT (ARMVectorRegCastImpl (VT2 MQPR:$src))),
H A DARMInstrNEON.td7762 foreach VT2 = [ v16i8, v8i16, v8f16, v8bf16, v4i32, v4f32, v2i64, v2f64 ] in
7763 def : Pat<(VT (ARMVectorRegCastImpl (VT2 QPR:$src))), (VT QPR:$src)>;
7766 foreach VT2 = [ v8i8, v4i16, v4f16, v4bf16, v2i32, v2f32, v1i64, f64 ] in
7767 def : Pat<(VT (ARMVectorRegCastImpl (VT2 DPR:$src))), (VT DPR:$src)>;
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h149 bool isTruncateFree(EVT VT1, EVT VT2) const override;
H A DHexagonISelLowering.cpp2137 bool HexagonTargetLowering::isTruncateFree(EVT VT1, EVT VT2) const { in isTruncateFree()
2138 if (!VT1.isSimple() || !VT2.isSimple()) in isTruncateFree()
2140 return VT1.getSimpleVT() == MVT::i64 && VT2.getSimpleVT() == MVT::i32; in isTruncateFree()

12