Home
last modified time | relevance | path

Searched refs:ExtOpcode (Results 1 – 9 of 9) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h127 unsigned ExtOpcode);
144 unsigned ExtOpcode);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp1802 unsigned ExtOpcode; in widenScalarAddSubOverflow() local
1809 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow()
1813 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow()
1817 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow()
1821 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow()
1825 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow()
1830 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow()
1835 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow()
1840 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow()
2393 widenScalarSrc(MI, WideTy, 2, ExtOpcode); in widenScalar()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1923 auto ExtOpcode = ExtInst->getOpcode(); in foldSelectExtConst() local
1924 if (ExtOpcode != Instruction::ZExt && ExtOpcode != Instruction::SExt) in foldSelectExtConst()
1941 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst()
1950 return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType); in foldSelectExtConst()
1960 Constant *AllOnesOrOne = ConstantExpr::getCast(ExtOpcode, One, SelType); in foldSelectExtConst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegisterBankInfo.cpp1661 unpackV2S16ToS32(MachineIRBuilder &B, Register Src, unsigned ExtOpcode) { in unpackV2S16ToS32() argument
1665 if (ExtOpcode == TargetOpcode::G_SEXT) { in unpackV2S16ToS32()
1672 if (ExtOpcode == TargetOpcode::G_ZEXT) { in unpackV2S16ToS32()
1677 assert(ExtOpcode == TargetOpcode::G_ANYEXT); in unpackV2S16ToS32()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp10012 auto ExtOpcode = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in visitVSELECT() local
10013 SDValue WideLHS = DAG.getNode(ExtOpcode, DL, WideVT, LHS); in visitVSELECT()
10014 SDValue WideRHS = DAG.getNode(ExtOpcode, DL, WideVT, RHS); in visitVSELECT()
10321 static bool isCompatibleLoad(SDValue N, unsigned ExtOpcode) { in isCompatibleLoad() argument
10335 if ((LoadExt == ISD::SEXTLOAD && ExtOpcode != ISD::SIGN_EXTEND) || in isCompatibleLoad()
10336 (LoadExt == ISD::ZEXTLOAD && ExtOpcode != ISD::ZERO_EXTEND)) in isCompatibleLoad()
10962 unsigned ExtOpcode = IsSignedCmp ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in foldSextSetcc() local
10990 if (User->getOpcode() != ExtOpcode || User->getValueType(0) != VT) in foldSextSetcc()
10997 SDValue Ext0 = DAG.getNode(ExtOpcode, DL, VT, N00); in foldSextSetcc()
10998 SDValue Ext1 = DAG.getNode(ExtOpcode, DL, VT, N01); in foldSextSetcc()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3582 unsigned ExtOpcode) { in addRequiredExtensionForVectorMULL() argument
3593 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in addRequiredExtensionForVectorMULL()
12366 unsigned ExtOpcode = Op0.getOpcode(); in performVecReduceAddCombine() local
12369 if (ExtOpcode == ISD::MUL) { in performVecReduceAddCombine()
12375 ExtOpcode = A.getOpcode(); in performVecReduceAddCombine()
12377 if (ExtOpcode != ISD::ZERO_EXTEND && ExtOpcode != ISD::SIGN_EXTEND) in performVecReduceAddCombine()
12395 (ExtOpcode == ISD::ZERO_EXTEND) ? AArch64ISD::UDOT : AArch64ISD::SDOT; in performVecReduceAddCombine()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp6383 unsigned ExtOpcode = in combineINT_TO_FP() local
6385 SDValue ExtOp = DAG.getNode(ExtOpcode, SDLoc(N), ExtVT, Op); in combineINT_TO_FP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp2406 unsigned ExtOpcode = Op.getOpcode() == ISD::UINT_TO_FP in LowerOperation() local
2409 SDValue Ext = DAG.getNode(ExtOpcode, DL, IVecVT, Src); in LowerOperation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp9145 unsigned ExtOpcode) { in AddRequiredExtensionForVMULL() argument
9156 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in AddRequiredExtensionForVMULL()