Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h156 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
157 bool isZExtFree(EVT VT1, EVT VT2) const override;
158 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DBPFISelLowering.cpp221 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in BPFTargetLowering
229 bool BPFTargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in BPFTargetLowering
237 bool BPFTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in BPFTargetLowering
246 return TargetLoweringBase::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h73 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
74 bool isZExtFree(EVT VT1, EVT VT2) const override;
H A DMSP430ISelLowering.cpp1256 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in MSP430TargetLowering
1261 bool MSP430TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in MSP430TargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h35 using TargetLowering::isZExtFree;
36 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DXCoreISelLowering.cpp146 bool XCoreTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in XCoreTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h199 bool isZExtFree(Type *Src, Type *Dest) const override;
200 bool isZExtFree(EVT Src, EVT Dest) const override;
H A DAMDGPUISelLowering.cpp1016 bool AMDGPUTargetLowering::isZExtFree(Type *Src, Type *Dest) const { in isZExtFree() function in AMDGPUTargetLowering
1026 bool AMDGPUTargetLowering::isZExtFree(EVT Src, EVT Dest) const { in isZExtFree() function in AMDGPUTargetLowering
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h203 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
204 bool isZExtFree(EVT VT1, EVT VT2) const override;
205 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DAArch64ISelLowering.cpp16587 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() function in AArch64TargetLowering
16594 bool AArch64TargetLowering::isZExtFree(EVT VT1, EVT VT2) const { in isZExtFree() function in AArch64TargetLowering
16602 bool AArch64TargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in AArch64TargetLowering
16604 if (isZExtFree(VT1, VT2)) { in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1451 bool isZExtFree(Type *Ty1, Type *Ty2) 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/include/llvm/CodeGen/
H A DTargetLowering.h3083 if (isZExtFree(I->getOperand(0)->getType(), I->getType())) in isExtFree()
3133 virtual bool isZExtFree(Type *FromTy, Type *ToTy) const { in isZExtFree() function
3137 virtual bool isZExtFree(EVT FromTy, EVT ToTy) const { return false; } in isZExtFree() function
3138 virtual bool isZExtFree(LLT FromTy, LLT ToTy, LLVMContext &Ctx) const { in isZExtFree() function
3139 return isZExtFree(getApproximateEVTForLLT(FromTy, Ctx), in isZExtFree()
3146 virtual bool isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function
3147 return isZExtFree(Val.getValueType(), VT2); in isZExtFree()
H A DBasicTTIImpl.h1224 if (TLI->isZExtFree(SrcLT.second, DstLT.second))
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h288 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DLoongArchISelLowering.cpp8396 bool LoongArchTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in LoongArchTargetLowering
8408 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelperCasts.cpp192 return TLI.isZExtFree(FromTy, ToTy, Ctx); in isCastFree()
H A DCombinerHelper.cpp3204 if (TLI.isZExtFree(DstTy, XTy, Ctx) && TLI.isTruncateFree(XTy, DstTy, Ctx)) in matchHoistLogicOpWithSameOpcodeHands()
5167 !TLI.isZExtFree(NarrowTy, WideTy, Ctx)) in matchNarrowBinopFeedingAnd()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h49 bool isZExtFree(SDValue Val, EVT VT2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h480 bool isZExtFree(SDValue Val, EVT VT2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1051 bool isZExtFree(SDValue Val, EVT VT2) const override;
H A DPPCISelLowering.cpp18311 bool PPCTargetLowering::isZExtFree(SDValue Val, EVT VT2) const { in isZExtFree() function in PPCTargetLowering
18328 return TargetLowering::isZExtFree(Val, VT2); in isZExtFree()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp6200 if (TLI.isZExtFree(VT, XVT) && TLI.isTruncateFree(XVT, VT)) in hoistLogicOpWithSameOpcodeHands()
7473 TLI.isTruncateFree(VT, SrcVT) && TLI.isZExtFree(SrcVT, VT) && in visitAND()
7486 (ExtOpc != ISD::ZERO_EXTEND || !TLI.isZExtFree(N0Op0, VT)) && in visitAND()
11483 if (TLI.isTruncateFree(VT, ExtVT) && TLI.isZExtFree(ExtVT, VT) && in visitABS()
11678 TLI.isTruncateFree(N0, HalfVT) && TLI.isZExtFree(HalfVT, VT)) { in visitCTPOP()
13753 (Opcode != ISD::ZERO_EXTEND || !TLI.isZExtFree(N0.getValueType(), VT))) { in tryToFoldExtendOfConstant()
13995 if (TLI.isZExtFree(OrigVT, VT)) in CombineZExtLogicopShiftLoad()
14837 !TLI.isZExtFree(N0.getValueType(), VT))) { in visitZERO_EXTEND()
14870 if (ISD::isBitwiseLogicOp(N0.getOpcode()) && !TLI.isZExtFree(N0, VT) && in visitZERO_EXTEND()
14982 !TLI.isZExtFree(N0, VT)) { in visitZERO_EXTEND()
[all …]
H A DTargetLowering.cpp628 if (isTruncateFree(VT, SmallVT) && isZExtFree(SmallVT, VT)) { in ShrinkDemandedOp()
1890 isTruncateFree(VT, SmallVT) && isZExtFree(SmallVT, VT) && in SimplifyDemandedBits()
1914 isTruncateFree(VT, HalfVT) && isZExtFree(HalfVT, VT) && in SimplifyDemandedBits()
2028 isTruncateFree(VT, HalfVT) && isZExtFree(HalfVT, VT) && in SimplifyDemandedBits()
H A DSelectionDAGBuilder.cpp978 if (ExtendKind == ISD::ANY_EXTEND && TLI.isZExtFree(Val, RegisterVT)) in getCopyToRegs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp6460 if (!TLI.isZExtFree(NarrowTy, LargeTy)) in hasSameExtUse()
7894 TLI->isZExtFree(ConditionType, PHIType); in optimizeSwitchPhiConstants()

12