| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 138 unsigned ExtOpcode); 155 unsigned ExtOpcode);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 822 unsigned ExtOpcode = getOpcodeForRecipe(*Ext); in simplifyRecipe() local 823 if (ExtOpcode != Instruction::ZExt && ExtOpcode != Instruction::SExt) in simplifyRecipe() 837 new VPWidenCastRecipe(Instruction::CastOps(ExtOpcode), A, TruncTy); in simplifyRecipe()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 2120 unsigned ExtOpcode; in widenScalarAddSubOverflow() local 2127 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow() 2131 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow() 2135 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow() 2139 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow() 2143 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow() 2148 ExtOpcode = TargetOpcode::G_SEXT; in widenScalarAddSubOverflow() 2153 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow() 2158 ExtOpcode = TargetOpcode::G_ZEXT; in widenScalarAddSubOverflow() 2736 widenScalarSrc(MI, WideTy, 2, ExtOpcode); in widenScalar() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 2080 auto ExtOpcode = ExtInst->getOpcode(); in foldSelectExtConst() local 2081 if (ExtOpcode != Instruction::ZExt && ExtOpcode != Instruction::SExt) in foldSelectExtConst() 2097 Constant *TruncC = getLosslessTrunc(C, SmallType, ExtOpcode); in foldSelectExtConst() 2106 return CastInst::Create(Instruction::CastOps(ExtOpcode), NewSel, SelType); in foldSelectExtConst()
|
| H A D | InstCombineShifts.cpp | 781 auto ExtOpcode = (I.getOpcode() == Instruction::AShr) ? Instruction::SExt in FoldShiftByConstant() local 783 return CastInst::Create(ExtOpcode, Cmp, Ty); in FoldShiftByConstant()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURegisterBankInfo.cpp | 1722 unpackV2S16ToS32(MachineIRBuilder &B, Register Src, unsigned ExtOpcode) { in unpackV2S16ToS32() argument 1726 if (ExtOpcode == TargetOpcode::G_SEXT) { in unpackV2S16ToS32() 1733 if (ExtOpcode == TargetOpcode::G_ZEXT) { in unpackV2S16ToS32() 1738 assert(ExtOpcode == TargetOpcode::G_ANYEXT); in unpackV2S16ToS32()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 4457 unsigned ExtOpcode) { in addRequiredExtensionForVectorMULL() argument 4468 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in addRequiredExtensionForVectorMULL() 5665 unsigned ExtOpcode = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerMGATHER() local 5666 Index = DAG.getNode(ExtOpcode, DL, PromotedVT, Index); in LowerMGATHER() 5755 unsigned ExtOpcode = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in LowerMSCATTER() local 5756 Index = DAG.getNode(ExtOpcode, DL, PromotedVT, Index); in LowerMSCATTER() 16606 unsigned ExtOpcode = Op0.getOpcode(); in performVecReduceAddCombine() local 16609 if (ExtOpcode == ISD::MUL) { in performVecReduceAddCombine() 16615 ExtOpcode = A.getOpcode(); in performVecReduceAddCombine() 16617 if (ExtOpcode != ISD::ZERO_EXTEND && ExtOpcode != ISD::SIGN_EXTEND) in performVecReduceAddCombine() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 12239 auto ExtOpcode = IsSigned ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in visitVSELECT() local 12240 SDValue WideLHS = DAG.getNode(ExtOpcode, DL, WideVT, LHS); in visitVSELECT() 12241 SDValue WideRHS = DAG.getNode(ExtOpcode, DL, WideVT, RHS); in visitVSELECT() 12648 static bool isCompatibleLoad(SDValue N, unsigned ExtOpcode) { in isCompatibleLoad() argument 12662 if ((LoadExt == ISD::SEXTLOAD && ExtOpcode != ISD::SIGN_EXTEND) || in isCompatibleLoad() 12663 (LoadExt == ISD::ZEXTLOAD && ExtOpcode != ISD::ZERO_EXTEND)) in isCompatibleLoad() 13294 unsigned ExtOpcode = IsSignedCmp ? ISD::SIGN_EXTEND : ISD::ZERO_EXTEND; in foldSextSetcc() local 13322 if (User->getOpcode() != ExtOpcode || User->getValueType(0) != VT) in foldSextSetcc() 13329 SDValue Ext0 = DAG.getNode(ExtOpcode, DL, VT, N00); in foldSextSetcc() 13330 SDValue Ext1 = DAG.getNode(ExtOpcode, DL, VT, N01); in foldSextSetcc()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 7319 unsigned ExtOpcode = in combineINT_TO_FP() local 7321 SDValue ExtOp = DAG.getNode(ExtOpcode, SDLoc(N), ExtVT, Op); in combineINT_TO_FP()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 6181 unsigned ExtOpcode = (Op.getOpcode() == ISD::UINT_TO_FP || in LowerOperation() local 6185 SDValue Ext = DAG.getNode(ExtOpcode, DL, IVecVT, Src); in LowerOperation()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 9494 unsigned ExtOpcode) { in AddRequiredExtensionForVMULL() argument 9505 return DAG.getNode(ExtOpcode, SDLoc(N), NewVT, N); in AddRequiredExtensionForVMULL()
|