Home
last modified time | relevance | path

Searched refs:UDIVREM (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dprelegalizer-combiner-divrem-insertpt-crash.mir26 ; CHECK: [[UDIVREM:%[0-9]+]]:_(s32), [[UDIVREM1:%[0-9]+]]:_ = G_UDIVREM [[DEF1]], [[TRUNC]]
27 ; CHECK: [[ZEXT:%[0-9]+]]:_(s64) = G_ZEXT [[UDIVREM]](s32)
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsTargetTransformInfo.cpp15 return TLI->isOperationLegalOrCustom(IsSigned ? ISD::SDIVREM : ISD::UDIVREM, in hasDivRemOp()
H A DMipsSEISelLowering.cpp192 setOperationAction(ISD::UDIVREM, MVT::i64, Custom); in MipsSETargetLowering()
199 setOperationAction(ISD::UDIVREM, MVT::i32, Custom); in MipsSETargetLowering()
232 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in MipsSETargetLowering()
279 setOperationAction(ISD::UDIVREM, MVT::i64, Expand); in MipsSETargetLowering()
453 case ISD::UDIVREM: return lowerMulDiv(Op, MipsISD::DivRemU, true, true, in LowerOperation()
H A DMipsISelLowering.cpp483 setTargetDAGCombine({ISD::SDIVREM, ISD::UDIVREM, ISD::SELECT, ISD::AND, in MipsTargetLowering()
1153 case ISD::UDIVREM: in PerformDAGCombine()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Ddag-isel-res-order.td14 // CHECK-LABEL: OPC_CheckOpcode, TARGET_VAL(ISD::UDIVREM)
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Ddivrem.ll3 ; SDIVREM/UDIVREM DAG nodes are generated but expanded when lowering and
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h256 UDIVREM, enumerator
H A DBasicTTIImpl.h828 if (TLI->isOperationLegalOrCustom(IsSigned ? ISD::SDIVREM : ISD::UDIVREM,
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp156 setOperationAction(ISD::UDIVREM, MVT::i8, Custom); in AVRTargetLowering()
157 setOperationAction(ISD::UDIVREM, MVT::i16, Custom); in AVRTargetLowering()
158 setOperationAction(ISD::UDIVREM, MVT::i32, Custom); in AVRTargetLowering()
472 assert((Opcode == ISD::SDIVREM || Opcode == ISD::UDIVREM) && in LowerDivRem()
862 case ISD::UDIVREM: in LowerOperation()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h95 UDIVREM, enumerator
H A DSystemZOperators.td274 def z_udivrem : SDNode<"SystemZISD::UDIVREM", SDT_ZGR128Binary>;
H A DSystemZISelLowering.cpp177 setOperationAction(ISD::UDIVREM, VT, Custom); in SystemZTargetLowering()
3888 lowerGR128Binary(DAG, DL, VT, SystemZISD::UDIVREM, in lowerUDIVREM()
5735 case ISD::UDIVREM: in LowerOperation()
5931 OPCODE(UDIVREM); in getTargetNodeName()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp133 setOperationAction(ISD::UDIVREM, MVT::i8, Promote); in MSP430TargetLowering()
139 setOperationAction(ISD::UDIVREM, MVT::i16, Expand); in MSP430TargetLowering()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp246 case ISD::UDIVREM: return "udivrem"; in getOperationName()
H A DLegalizeVectorOps.cpp325 case ISD::UDIVREM: in LegalizeOp()
H A DLegalizeIntegerTypes.cpp4504 if (TLI.getOperationAction(ISD::UDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_UDIV()
4505 SDValue Res = DAG.getNode(ISD::UDIVREM, dl, DAG.getVTList(VT, VT), Ops); in ExpandIntRes_UDIV()
4539 if (TLI.getOperationAction(ISD::UDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_UREM()
4540 SDValue Res = DAG.getNode(ISD::UDIVREM, dl, DAG.getVTList(VT, VT), Ops); in ExpandIntRes_UREM()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp104 setOperationAction(ISD::UDIVREM, VT, Expand); in BPFTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp338 setOperationAction({ISD::SDIVREM, ISD::UDIVREM}, VT, Custom); in AMDGPUTargetLowering()
383 ISD::UMUL_LOHI, ISD::SDIVREM, ISD::UDIVREM, in AMDGPUTargetLowering()
1153 case ISD::UDIVREM: return LowerUDIVREM(Op, DAG); in LowerOperation()
1708 SDValue Res = DAG.getNode(ISD::UDIVREM, DL, DAG.getVTList(HalfVT, HalfVT), in LowerUDIVREM64()
1998 SDValue Div = DAG.getNode(ISD::UDIVREM, DL, DAG.getVTList(VT, VT), LHS, RHS); in LowerSDIVREM()
H A DR600ISelLowering.cpp611 case ISD::UDIVREM: { in ReplaceNodeResults()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp60 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in CSKYTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp109 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in LanaiTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1582 ISD::SDIVREM, ISD::UDIVREM, ISD::ROTL, ISD::ROTR, in HexagonTargetLowering()
1628 ISD::SREM, ISD::UREM, ISD::SDIVREM, ISD::UDIVREM, ISD::SADDO, in HexagonTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1597 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in SparcTargetLowering()
1604 setOperationAction(ISD::UDIVREM, MVT::i64, Expand); in SparcTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp205 setOperationAction(ISD::UDIVREM, VT, Expand); in addTypeForNEON()
286 setOperationAction(ISD::UDIVREM, VT, Expand); in addMVEVectorTypes()
1275 setOperationAction(ISD::UDIVREM, MVT::i32, Custom); in ARMTargetLowering()
1277 setOperationAction(ISD::UDIVREM, MVT::i64, Custom); in ARMTargetLowering()
1280 setOperationAction(ISD::UDIVREM, MVT::i32, Expand); in ARMTargetLowering()
10439 case ISD::UDIVREM: return LowerDivRem(Op, DAG); in LowerOperation()
10512 case ISD::UDIVREM: in ReplaceNodeResults()
20377 assert((N->getOpcode() == ISD::SDIVREM || N->getOpcode() == ISD::UDIVREM || in getDivRemLibcall()
20395 assert((N->getOpcode() == ISD::SDIVREM || N->getOpcode() == ISD::UDIVREM || in getDivRemArgList()
20422 assert((Opcode == ISD::SDIVREM || Opcode == ISD::UDIVREM) && in LowerDivRem()
H A DARMTargetTransformInfo.cpp1930 case ISD::UDIVREM: in maybeLoweredToCall()

12