Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h152 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
153 bool isZExtFree(EVT VT1, EVT VT2) const override;
154 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DBPFISelLowering.cpp213 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in BPFTargetLowering
221 bool BPFTargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in BPFTargetLowering
229 bool BPFTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in BPFTargetLowering
238 return TargetLoweringBase::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h127 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
128 bool isZExtFree(EVT VT1, EVT VT2) const override;
H A DMSP430ISelLowering.cpp1402 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in MSP430TargetLowering
1407 bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in MSP430TargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h94 using TargetLowering::isZExtFree;
95 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DXCoreISelLowering.cpp174 bool XCoreTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in XCoreTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h196 bool isZExtFree(Type *Src, Type *Dest) const override;
197 bool isZExtFree(EVT Src, EVT Dest) const override;
H A DAMDGPUISelLowering.cpp997 bool AMDGPUTargetLowering::isZExtFree(Type *Src, Type *Dest) const { in isZExtFree() function in AMDGPUTargetLowering
1007 bool AMDGPUTargetLowering::isZExtFree(EVT Src, EVT Dest) const { in isZExtFree() function in AMDGPUTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1364 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
1365 bool isZExtFree(EVT VT1, EVT VT2) const override;
1366 bool isZExtFree(SDValue Val, EVT VT2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h685 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
686 bool isZExtFree(EVT VT1, EVT VT2) const override;
687 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DAArch64ISelLowering.cpp15787 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in AArch64TargetLowering
15794 bool AArch64TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in AArch64TargetLowering
15802 bool AArch64TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in AArch64TargetLowering
15804 if (isZExtFree(VT1, VT2)) { in isZExtFree()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h2998 if (isZExtFree(I->getOperand(0)->getType(), I->getType())) in isExtFree()
3048 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const { in isZExtFree() function
3052 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const { return false; } in isZExtFree() function
3053 virtual bool isZExtFree(LLT FromTy, LLT ToTy, const DataLayout &DL, in isZExtFree() function
3055 return isZExtFree(getApproximateEVTForLLT(FromTy, DL, Ctx), in isZExtFree()
3062 virtual bool isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function
3063 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
H A DBasicTTIImpl.h1091 if (TLI->isZExtFree(SrcLT.second, DstLT.second))
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h240 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DLoongArchISelLowering.cpp6114 bool LoongArchTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in LoongArchTargetLowering
6126 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h462 bool isZExtFree(SDValue Val, EVT VT2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h501 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DRISCVISelLowering.cpp1914 bool RISCVTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree()
1926 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
1913 bool RISCVTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { isZExtFree() function in RISCVTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1034 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DPPCISelLowering.cpp17403 bool PPCTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in PPCTargetLowering
17420 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp5822 if (TLI.isZExtFree(VT, XVT) && TLI.isTruncateFree(XVT, VT)) in hoistLogicOpWithSameOpcodeHands()
7051 TLI.isTruncateFree(VT, SrcVT) && TLI.isZExtFree(SrcVT, VT) && in visitAND()
7064 (ExtOpc != ISD::ZERO_EXTEND || !TLI.isZExtFree(N0Op0, VT)) && in visitAND()
11013 if (TLI.isTruncateFree(VT, ExtVT) && TLI.isZExtFree(ExtVT, VT) && in visitABS()
11208 TLI.isTruncateFree(N0, HalfVT) && TLI.isZExtFree(HalfVT, VT)) { in visitCTPOP()
12890 (Opcode != ISD::ZERO_EXTEND || !TLI.isZExtFree(N0.getValueType(), VT))) { in tryToFoldExtendOfConstant()
13135 if (TLI.isZExtFree(OrigVT, VT)) in CombineZExtLogicopShiftLoad()
13966 !TLI.isZExtFree(N0.getValueType(), VT))) { in visitZERO_EXTEND()
13999 if (ISD::isBitwiseLogicOp(N0.getOpcode()) && !TLI.isZExtFree(N0, VT) && in visitZERO_EXTEND()
14111 !TLI.isZExtFree(N0, VT)) { in visitZERO_EXTEND()
[all …]
H A DTargetLowering.cpp606 if (TLI.isTruncateFree(VT, SmallVT) && TLI.isZExtFree(SmallVT, VT)) { in ShrinkDemandedOp()
1848 isTruncateFree(VT, SmallVT) && isZExtFree(SmallVT, VT) && in SimplifyDemandedBits()
1872 isTruncateFree(VT, HalfVT) && isZExtFree(HalfVT, VT) && in SimplifyDemandedBits()
1975 isTruncateFree(VT, HalfVT) && isZExtFree(HalfVT, VT) && in SimplifyDemandedBits()
H A DSelectionDAGBuilder.cpp982 if (ExtendKind == ISD::ANY_EXTEND && TLI.isZExtFree(Val, RegisterVT)) in getCopyToRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6070 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
7502 TLI->isZExtFree(ConditionType, PHIType); in optimizeSwitchPhiConstants()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp3168 if (TLI.isZExtFree(DstTy, XTy, DL, Ctx) && in matchHoistLogicOpWithSameOpcodeHands()
5037 !TLI.isZExtFree(NarrowTy, WideTy, DL, Ctx)) in matchNarrowBinopFeedingAnd()

12