Home
last modified time | relevance | path

Searched refs:SREM (Results 1 – 25 of 29) sorted by relevance

12

/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMTargetTransformInfo.cpp409 { ISD::SREM, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
413 { ISD::SREM, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
417 { ISD::SREM, MVT::v4i16, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
421 { ISD::SREM, MVT::v8i8, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
426 { ISD::SREM, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
430 { ISD::SREM, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
434 { ISD::SREM, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
438 { ISD::SREM, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
/NextBSD/contrib/llvm/lib/Target/WebAssembly/
HDWebAssemblyInstrInteger.td20 defm SREM : BinaryInt<srem>;
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDISDOpcodes.h191 ADD, SUB, MUL, SDIV, UDIV, SREM, UREM, enumerator
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsFastISel.cpp1661 case ISD::SREM: in selectDivRem()
1682 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
1785 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
1786 return selectDivRem(I, ISD::SREM); in fastSelectInstruction()
HDMipsSEISelLowering.cpp170 setOperationAction(ISD::SREM, MVT::i32, Legal); in MipsSETargetLowering()
217 setOperationAction(ISD::SREM, MVT::i64, Legal); in MipsSETargetLowering()
267 setOperationAction(ISD::SREM, Ty, Legal); in addMSAIntType()
2010 return DAG.getNode(ISD::SREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
HDMipsISelLowering.cpp314 setOperationAction(ISD::SREM, MVT::i32, Expand); in MipsTargetLowering()
318 setOperationAction(ISD::SREM, MVT::i64, Expand); in MipsTargetLowering()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAGDumper.cpp173 case ISD::SREM: return "srem"; in getOperationName()
HDSelectionDAGBuilder.h773 void visitSRem(const User &I) { visitBinary(I, ISD::SREM); } in visitSRem()
HDLegalizeVectorOps.cpp266 case ISD::SREM: in LegalizeOp()
HDSelectionDAG.cpp2387 case ISD::SREM: in computeKnownBits()
3197 case ISD::SREM: in FoldValue()
3358 case ISD::SREM: in getNode()
3714 case ISD::SREM: in getNode()
3742 case ISD::SREM: in getNode()
HDLegalizeVectorTypes.cpp118 case ISD::SREM: in ScalarizeVectorResult()
675 case ISD::SREM: in SplitVectorResult()
1964 case ISD::SREM: in WidenVectorResult()
HDLegalizeDAG.cpp2230 OtherOpcode = isDIV ? ISD::SREM : ISD::SDIV; in useDivRem()
3560 case ISD::SREM: { in ExpandNode()
3562 bool isSigned = Node->getOpcode() == ISD::SREM; in ExpandNode()
HDLegalizeIntegerTypes.cpp117 case ISD::SREM: Res = PromoteIntRes_SDIV(N); break; in PromoteIntegerResult()
1276 case ISD::SREM: ExpandIntRes_SREM(N, Lo, Hi); break; in ExpandIntegerResult()
HDFastISel.cpp1516 return selectBinaryOp(I, ISD::SREM); in selectOperator()
HDDAGCombiner.cpp1336 case ISD::SREM: return visitSREM(N); in visit()
2312 if (SDValue Folded = DAG.FoldConstantArithmetic(ISD::SREM, SDLoc(N), VT, in visitSREM()
2617 SDValue Res = SimplifyNodeWithTwoResults(N, ISD::SDIV, ISD::SREM); in visitSDIVREM()
/NextBSD/contrib/llvm/lib/Target/MSP430/
HDMSP430ISelLowering.cpp159 setOperationAction(ISD::SREM, MVT::i8, Expand); in MSP430TargetLowering()
165 setOperationAction(ISD::SREM, MVT::i16, Expand); in MSP430TargetLowering()
/NextBSD/contrib/llvm/lib/Target/BPF/
HDBPFISelLowering.cpp119 setOperationAction(ISD::SREM, MVT::i64, Expand); in BPFTargetLowering()
/NextBSD/contrib/llvm/lib/CodeGen/
HDTargetLoweringBase.cpp905 case ISD::SREM: in canOpTrap()
1559 case SRem: return ISD::SREM; in InstructionOpcodeToISD()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonISelLowering.cpp1423 {ISD::SDIV, ISD::UDIV, ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, in HexagonTargetLowering()
1481 ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, ISD::ADDC, in HexagonTargetLowering()
/NextBSD/contrib/llvm/lib/Target/AArch64/
HDAArch64FastISel.cpp4476 case ISD::SREM: in selectRem()
4924 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
4925 return selectRem(I, ISD::SREM); in fastSelectInstruction()
HDAArch64ISelLowering.cpp255 setOperationAction(ISD::SREM, MVT::i32, Expand); in AArch64TargetLowering()
256 setOperationAction(ISD::SREM, MVT::i64, Expand); in AArch64TargetLowering()
677 setOperationAction(ISD::SREM, VT.getSimpleVT(), Expand); in addTypeForNEON()
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcISelLowering.cpp1411 setOperationAction(ISD::SREM, MVT::i32, Expand); in SparcTargetLowering()
1418 setOperationAction(ISD::SREM, MVT::i64, Expand); in SparcTargetLowering()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUISelLowering.cpp279 setOperationAction(ISD::SREM, VT, Expand); in AMDGPUTargetLowering()
350 setOperationAction(ISD::SREM, VT, Expand); in AMDGPUTargetLowering()
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetSelectionDAG.td361 def srem : SDNode<"ISD::SREM" , SDTIntBinOp>;
/NextBSD/contrib/llvm/lib/Target/PowerPC/
HDPPCISelLowering.cpp147 setOperationAction(ISD::SREM, MVT::i32, Expand); in PPCTargetLowering()
149 setOperationAction(ISD::SREM, MVT::i64, Expand); in PPCTargetLowering()
442 setOperationAction(ISD::SREM, VT, Expand); in PPCTargetLowering()

12