Home
last modified time | relevance | path

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

123

/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp428 { ISD::SREM, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
432 { ISD::SREM, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
436 { ISD::SREM, MVT::v4i16, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
440 { ISD::SREM, MVT::v8i8, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
445 { ISD::SREM, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
449 { ISD::SREM, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
453 { ISD::SREM, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
457 { ISD::SREM, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
DARMISelLowering.cpp142 setOperationAction(ISD::SREM, VT, Expand); in addTypeForNEON()
791 setOperationAction(ISD::SREM, MVT::i32, Expand); in ARMTargetLowering()
796 setOperationAction(ISD::SREM, MVT::i64, Custom); in ARMTargetLowering()
7180 case ISD::SREM: return LowerREM(Op.getNode(), DAG); in LowerOperation()
7249 case ISD::SREM: in ReplaceNodeResults()
12010 N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM) && in getDivRemLibcall()
12013 N->getOpcode() == ISD::SREM; in getDivRemLibcall()
12028 N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM) && in getDivRemArgList()
12031 N->getOpcode() == ISD::SREM; in getDivRemArgList()
12103 bool isSigned = N->getOpcode() == ISD::SREM; in LowerREM()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp689 { ISD::SREM, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
693 { ISD::SREM, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
697 { ISD::SREM, MVT::v4i16, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
701 { ISD::SREM, MVT::v8i8, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
706 { ISD::SREM, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
710 { ISD::SREM, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
714 { ISD::SREM, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
718 { ISD::SREM, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
979 case ISD::SREM: in isHardwareLoopProfitable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp248 if ((ISD == ISD::SDIV || ISD == ISD::SREM || ISD == ISD::UDIV || in getArithmeticInstrCost()
253 if (ISD == ISD::SDIV || ISD == ISD::SREM) { in getArithmeticInstrCost()
269 if (ISD == ISD::SREM) { in getArithmeticInstrCost()
351 { ISD::SREM, MVT::v64i8, 16 }, // 2*ext+2*pmulhw+mul+sub sequence in getArithmeticInstrCost()
355 { ISD::SREM, MVT::v32i16, 8 }, // vpmulhw+mul+sub sequence in getArithmeticInstrCost()
370 { ISD::SREM, MVT::v16i32, 17 }, // vpmuldq+mul+sub sequence in getArithmeticInstrCost()
385 { ISD::SREM, MVT::v32i8, 16 }, // 2*ext+2*pmulhw+mul+sub sequence in getArithmeticInstrCost()
389 { ISD::SREM, MVT::v16i16, 8 }, // vpmulhw+mul+sub sequence in getArithmeticInstrCost()
393 { ISD::SREM, MVT::v8i32, 19 }, // vpmuldq+mul+sub sequence in getArithmeticInstrCost()
407 { ISD::SREM, MVT::v32i8, 32+2 }, // 4*ext+4*pmulhw+mul+sub sequence + split. in getArithmeticInstrCost()
[all …]
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h195 ADD, SUB, MUL, SDIV, UDIV, SREM, UREM, enumerator
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h202 ADD, SUB, MUL, SDIV, UDIV, SREM, UREM, enumerator
/external/llvm/test/CodeGen/ARM/
Ddivmod-eabi.ll3 ; All "eabi" (Bare, GNU and Android) must lower SREM/UREM to __aeabi_{u,i}divmod
/external/llvm/lib/Target/Mips/
DMipsFastISel.cpp1675 case ISD::SREM: in selectDivRem()
1696 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
1799 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
1800 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()
2023 return DAG.getNode(ISD::SREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsFastISel.cpp1932 case ISD::SREM: in selectDivRem()
1953 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
2054 if (!selectBinaryOp(I, ISD::SREM)) in fastSelectInstruction()
2055 return selectDivRem(I, ISD::SREM); in fastSelectInstruction()
DMipsSEISelLowering.cpp242 setOperationAction(ISD::SREM, MVT::i32, Legal); in MipsSETargetLowering()
289 setOperationAction(ISD::SREM, MVT::i64, Legal); in MipsSETargetLowering()
340 setOperationAction(ISD::SREM, Ty, Legal); in addMSAIntType()
2058 return DAG.getNode(ISD::SREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp182 case ISD::SREM: return "srem"; in getOperationName()
DSelectionDAGBuilder.h836 void visitSRem(const User &I) { visitBinary(I, ISD::SREM); } in visitSRem()
DLegalizeVectorOps.cpp267 case ISD::SREM: in LegalizeOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h701 void visitSRem(const User &I) { visitBinary(I, ISD::SREM); } in visitSRem()
DSelectionDAGDumper.cpp232 case ISD::SREM: return "srem"; in getOperationName()
DLegalizeDAG.cpp3276 case ISD::SREM: { in ExpandNode()
3278 bool isSigned = Node->getOpcode() == ISD::SREM; in ExpandNode()
4148 case ISD::SREM: in ConvertNodeToLibcall()
4324 case ISD::SREM: in PromoteNode()
4342 case ISD::SREM: in PromoteNode()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp151 setOperationAction(ISD::SREM, MVT::i8, Expand); in MSP430TargetLowering()
157 setOperationAction(ISD::SREM, MVT::i16, Expand); in MSP430TargetLowering()
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp82 setOperationAction(ISD::SREM, MVT::i64, Expand); in BPFTargetLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp791 case ISD::SREM: in canOpTrap()
1605 case SRem: return ISD::SREM; in InstructionOpcodeToISD()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp88 setOperationAction(ISD::SREM, VT, Expand); in BPFTargetLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp138 setOperationAction(ISD::SREM, MVT::i8, Promote); in MSP430TargetLowering()
144 setOperationAction(ISD::SREM, MVT::i16, LibCall); in MSP430TargetLowering()
/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp970 case ISD::SREM: in canOpTrap()
1682 case SRem: return ISD::SREM; in InstructionOpcodeToISD()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.cpp150 setOperationAction(ISD::SREM, MVT::i8, Expand); in AVRTargetLowering()
151 setOperationAction(ISD::SREM, MVT::i16, Expand); in AVRTargetLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp523 setTargetDAGCombine(ISD::SREM); in NVPTXTargetLowering()
4543 assert(N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM); in PerformREMCombine()
4552 bool IsSigned = N->getOpcode() == ISD::SREM; in PerformREMCombine()
4771 case ISD::SREM: in PerformDAGCombine()

123