Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp404 { ISD::SREM, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
408 { ISD::SREM, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
412 { ISD::SREM, MVT::v4i16, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
416 { ISD::SREM, MVT::v8i8, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
421 { ISD::SREM, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
425 { ISD::SREM, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
429 { ISD::SREM, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
433 { ISD::SREM, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
DARMISelLowering.cpp142 setOperationAction(ISD::SREM, VT, Expand); in addTypeForNEON()
783 setOperationAction(ISD::SREM, MVT::i32, Expand); in ARMTargetLowering()
787 setOperationAction(ISD::SREM, MVT::i64, Custom); in ARMTargetLowering()
6860 case ISD::SREM: return LowerREM(Op.getNode(), DAG); in LowerOperation()
6922 case ISD::SREM: in ReplaceNodeResults()
11524 N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM) && in getDivRemLibcall()
11527 N->getOpcode() == ISD::SREM; in getDivRemLibcall()
11542 N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM) && in getDivRemArgList()
11545 N->getOpcode() == ISD::SREM; in getDivRemArgList()
11616 bool isSigned = N->getOpcode() == ISD::SREM; in LowerREM()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp119 setOperationAction(ISD::SREM, VT, Expand); in InitAMDILLowering()
179 setOperationAction(ISD::SREM, MVT::v2i64, Expand); in InitAMDILLowering()
655 LHS = DAG.getNode(ISD::SREM, DL, INTTY, LHS, RHS); in LowerSREM8()
673 LHS = DAG.getNode(ISD::SREM, DL, INTTY, LHS, RHS); in LowerSREM16()
DAMDGPUISelLowering.cpp90 case ISD::SREM: return LowerSREM(Op, DAG); in LowerOperation()
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h195 ADD, SUB, MUL, SDIV, UDIV, SREM, UREM, enumerator
/external/llvm/test/CodeGen/ARM/
Ddivmod-eabi.ll3 ; Both "none-eabi" and "androideabi" must lower SREM/UREM to __aeabi_{u,i}divmod
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1662 case ISD::SREM: in selectDivRem()
1683 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
1786 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
1787 return selectDivRem(I, ISD::SREM); in fastSelectInstruction()
DMipsSEISelLowering.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()
2024 return DAG.getNode(ISD::SREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
DMipsISelLowering.cpp315 setOperationAction(ISD::SREM, MVT::i32, Expand); in MipsTargetLowering()
319 setOperationAction(ISD::SREM, MVT::i64, Expand); in MipsTargetLowering()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp182 case ISD::SREM: return "srem"; in getOperationName()
DSelectionDAGBuilder.h782 void visitSRem(const User &I) { visitBinary(I, ISD::SREM); } in visitSRem()
DLegalizeVectorOps.cpp266 case ISD::SREM: in LegalizeOp()
DLegalizeVectorTypes.cpp125 case ISD::SREM: in ScalarizeVectorResult()
685 case ISD::SREM: in SplitVectorResult()
2053 case ISD::SREM: in WidenVectorResult()
DSelectionDAG.cpp2417 case ISD::SREM: in computeKnownBits()
3217 case ISD::SREM: in FoldValue()
3486 case ISD::SREM: in getNode()
3814 case ISD::SREM: in getNode()
3842 case ISD::SREM: in getNode()
DLegalizeDAG.cpp3450 case ISD::SREM: { in ExpandNode()
3452 bool isSigned = Node->getOpcode() == ISD::SREM; in ExpandNode()
4161 case ISD::SREM: in ConvertNodeToLibcall()
DFastISel.cpp1561 return selectBinaryOp(I, ISD::SREM); in selectOperator()
DLegalizeIntegerTypes.cpp122 case ISD::SREM: Res = PromoteIntRes_SExtIntBinOp(N); break; in PromoteIntegerResult()
1325 case ISD::SREM: ExpandIntRes_SREM(N, Lo, Hi); break; in ExpandIntegerResult()
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp119 setOperationAction(ISD::SREM, MVT::i64, Expand); in BPFTargetLowering()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp155 setOperationAction(ISD::SREM, MVT::i8, Expand); in MSP430TargetLowering()
161 setOperationAction(ISD::SREM, MVT::i16, Expand); in MSP430TargetLowering()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp888 case ISD::SREM: in canOpTrap()
1564 case SRem: return ISD::SREM; in InstructionOpcodeToISD()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4441 case ISD::SREM: in selectRem()
4889 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
4890 return selectRem(I, ISD::SREM); in fastSelectInstruction()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1690 { ISD::SDIV, ISD::UDIV, ISD::SREM, ISD::UREM, in HexagonTargetLowering()
1749 ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, ISD::ADDC, in HexagonTargetLowering()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp242 setOperationAction(ISD::SREM, VT, Expand); in AMDGPUTargetLowering()
313 setOperationAction(ISD::SREM, VT, Expand); in AMDGPUTargetLowering()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1510 setOperationAction(ISD::SREM, MVT::i32, Expand); in SparcTargetLowering()
1517 setOperationAction(ISD::SREM, MVT::i64, Expand); in SparcTargetLowering()
/external/llvm/include/llvm/Target/
DTargetSelectionDAG.td371 def srem : SDNode<"ISD::SREM" , SDTIntBinOp>;

12