Home
last modified time | relevance | path

Searched refs:UREM (Results 1 – 25 of 42) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h102 case ISD::UREM:
H A DLanaiISelLowering.cpp111 setOperationAction(ISD::UREM, MVT::i32, Expand); in LanaiTargetLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1279 { ISD::UREM, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
1283 { ISD::UREM, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
1287 { ISD::UREM, MVT::v4i16, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
1291 { ISD::UREM, MVT::v8i8, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
1296 { ISD::UREM, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
1300 { ISD::UREM, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
1304 { ISD::UREM, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
1308 { ISD::UREM, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
1809 case ISD::UREM: in maybeLoweredToCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp272 ISD == ISD::UREM) && in getArithmeticInstrCost()
344 { ISD::UREM, MVT::v16i32, 7 }, // pmuludq+mul+sub sequence in getArithmeticInstrCost()
364 { ISD::UREM, MVT::v8i32, 7 }, // pmuludq+mul+sub sequence in getArithmeticInstrCost()
388 { ISD::UREM, MVT::v8i32, 14+2 }, // 2*pmuludq+mul+sub sequence + split. in getArithmeticInstrCost()
390 { ISD::UREM, MVT::v4i32, 7 }, // pmuludq+mul+sub sequence in getArithmeticInstrCost()
405 { ISD::UREM, MVT::v64i8, 16 }, // 2*ext+2*pmulhw+mul+sub sequence in getArithmeticInstrCost()
409 { ISD::UREM, MVT::v32i16, 8 }, // vpmulhuw+mul+sub sequence in getArithmeticInstrCost()
424 { ISD::UREM, MVT::v16i32, 17 }, // vpmuludq+mul+sub sequence in getArithmeticInstrCost()
428 { ISD::UREM, MVT::v64i8, 32 }, // 4*ext+4*pmulhw+mul+sub sequence in getArithmeticInstrCost()
432 { ISD::UREM, MVT::v32i16, 16 }, // 2*vpmulhuw+mul+sub sequence in getArithmeticInstrCost()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h238 UREM, enumerator
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1933 case ISD::UREM: in selectDivRem()
1950 unsigned MFOpc = (ISDOpcode == ISD::SREM || ISDOpcode == ISD::UREM) in selectDivRem()
2055 if (!selectBinaryOp(I, ISD::UREM)) in fastSelectInstruction()
2056 return selectDivRem(I, ISD::UREM); in fastSelectInstruction()
H A DMipsSEISelLowering.cpp243 setOperationAction(ISD::UREM, MVT::i32, Legal); in MipsSETargetLowering()
290 setOperationAction(ISD::UREM, MVT::i64, Legal); in MipsSETargetLowering()
348 setOperationAction(ISD::UREM, Ty, Legal); in addMSAIntType()
2063 return DAG.getNode(ISD::UREM, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorOps.cpp371 case ISD::UREM: in LegalizeOp()
901 case ISD::UREM: in Expand()
1444 assert((Node->getOpcode() == ISD::SREM || Node->getOpcode() == ISD::UREM) && in ExpandREM()
H A DSelectionDAGBuilder.h695 void visitURem(const User &I) { visitBinary(I, ISD::UREM); } in visitURem()
H A DSelectionDAGDumper.cpp237 case ISD::UREM: return "urem"; in getOperationName()
H A DFastISel.cpp507 if (ISDOpcode == ISD::UREM && isa<BinaryOperator>(I) && in selectBinaryOp()
1704 return selectBinaryOp(I, ISD::UREM); in selectOperator()
H A DLegalizeDAG.cpp3252 case ISD::UREM: in ExpandNode()
4307 case ISD::UREM: in ConvertNodeToLibcall()
4491 case ISD::UREM: in PromoteNode()
4511 case ISD::UREM: in PromoteNode()
H A DTargetLowering.cpp3872 if (N0.getOpcode() == ISD::UREM && N1C->isNullValue() && in SimplifySetCC()
4308 if ((N0.getOpcode() == ISD::UREM || N0.getOpcode() == ISD::SREM) && in SimplifySetCC()
4315 if (N0.getOpcode() == ISD::UREM) { in SimplifySetCC()
6512 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift()
6527 ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Z, BitWidthC); in expandFunnelShift()
6592 SDValue ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Op1, BitWidthC); in expandROT()
H A DSelectionDAG.cpp3385 case ISD::UREM: { in computeKnownBits()
5076 case ISD::UREM: in FoldValue()
5117 case ISD::UREM: { in isUndef()
5563 case ISD::UREM: in getNode()
5898 case ISD::UREM: in getNode()
5920 case ISD::UREM: in getNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp134 setOperationAction(ISD::UREM, MVT::i8, Promote); in MSP430TargetLowering()
140 setOperationAction(ISD::UREM, MVT::i16, LibCall); in MSP430TargetLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DExtendingLLVM.rst112 legal operations. The case for ``ISD::UREM`` for expanding a remainder into
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp913 case ISD::UREM: in canOpTrap()
1764 case URem: return ISD::UREM; in InstructionOpcodeToISD()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp106 setOperationAction(ISD::UREM, VT, Expand); in BPFTargetLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp147 setOperationAction(ISD::UREM, MVT::i8, Expand); in AVRTargetLowering()
148 setOperationAction(ISD::UREM, MVT::i16, Expand); in AVRTargetLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp211 setOperationAction(ISD::UREM, XLenVT, Expand); in RISCVTargetLowering()
219 setOperationAction(ISD::UREM, MVT::i8, Custom); in RISCVTargetLowering()
222 setOperationAction(ISD::UREM, MVT::i16, Custom); in RISCVTargetLowering()
225 setOperationAction(ISD::UREM, MVT::i32, Custom); in RISCVTargetLowering()
689 setOperationAction(ISD::UREM, VT, Custom); in RISCVTargetLowering()
2364 case ISD::UREM: in LowerOperation()
4577 case ISD::UREM: in getRISCVWOpcode()
4751 case ISD::UREM: { in ReplaceNodeResults()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp508 setTargetDAGCombine(ISD::UREM); in NVPTXTargetLowering()
4515 assert(N->getOpcode() == ISD::SREM || N->getOpcode() == ISD::UREM); in PerformREMCombine()
4742 case ISD::UREM: in PerformDAGCombine()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp4536 case ISD::UREM: in selectRem()
5033 if (!selectBinaryOp(I, ISD::UREM)) in fastSelectInstruction()
5034 return selectRem(I, ISD::UREM); in fastSelectInstruction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp363 setOperationAction(ISD::UREM, VT, Expand); in AMDGPUTargetLowering()
439 setOperationAction(ISD::UREM, VT, Expand); in AMDGPUTargetLowering()
1942 SDValue REM_Part = DAG.getNode(ISD::UREM, DL, HalfVT, LHS_Hi, RHS_Lo); in LowerUDIVREM64()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp304 setOperationAction(ISD::UREM, MVT::i32, Legal); in PPCTargetLowering()
306 setOperationAction(ISD::UREM, MVT::i64, Legal); in PPCTargetLowering()
309 setOperationAction(ISD::UREM, MVT::i32, Expand); in PPCTargetLowering()
311 setOperationAction(ISD::UREM, MVT::i64, Expand); in PPCTargetLowering()
790 setOperationAction(ISD::UREM, VT, Expand); in PPCTargetLowering()
910 setOperationAction(ISD::UREM, MVT::v2i64, Legal); in PPCTargetLowering()
912 setOperationAction(ISD::UREM, MVT::v4i32, Legal); in PPCTargetLowering()
914 setOperationAction(ISD::UREM, MVT::v1i128, Legal); in PPCTargetLowering()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1584 {ISD::SDIV, ISD::UDIV, ISD::SREM, ISD::UREM, in HexagonTargetLowering()
1631 ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, ISD::SADDO, in HexagonTargetLowering()

12