Home
last modified time | relevance | path

Searched refs:SDIVREM (Results 1 – 25 of 37) sorted by relevance

12

/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.cpp191 setOperationAction(ISD::SDIVREM, MVT::i64, Custom); in MipsSETargetLowering()
198 setOperationAction(ISD::SDIVREM, MVT::i32, Custom); in MipsSETargetLowering()
231 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in MipsSETargetLowering()
278 setOperationAction(ISD::SDIVREM, MVT::i64, Expand); in MipsSETargetLowering()
452 case ISD::SDIVREM: return lowerMulDiv(Op, MipsISD::DivRem, true, true, DAG); in LowerOperation()
H A DMipsISelLowering.cpp483 setTargetDAGCombine({ISD::SDIVREM, ISD::UDIVREM, ISD::SELECT, ISD::AND, in MipsTargetLowering()
556 unsigned Opc = N->getOpcode() == ISD::SDIVREM ? MipsISD::DivRem16 : in performDivRemCombine()
1152 case ISD::SDIVREM: in PerformDAGCombine()
/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.h255 SDIVREM, 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.cpp159 setOperationAction(ISD::SDIVREM, MVT::i8, Custom); in AVRTargetLowering()
160 setOperationAction(ISD::SDIVREM, MVT::i16, Custom); in AVRTargetLowering()
161 setOperationAction(ISD::SDIVREM, MVT::i32, Custom); in AVRTargetLowering()
472 assert((Opcode == ISD::SDIVREM || Opcode == ISD::UDIVREM) && in LowerDivRem()
474 bool IsSigned = (Opcode == ISD::SDIVREM); in LowerDivRem()
861 case ISD::SDIVREM: in LowerOperation()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h94 SDIVREM, enumerator
H A DSystemZOperators.td273 def z_sdivrem : SDNode<"SystemZISD::SDIVREM", SDT_ZGR128Binary>;
H A DSystemZISelLowering.cpp176 setOperationAction(ISD::SDIVREM, VT, Custom); in SystemZTargetLowering()
3876 lowerGR128Binary(DAG, DL, VT, SystemZISD::SDIVREM, Op0, Op1, Ops[1], Ops[0]); in lowerSDIVREM()
5733 case ISD::SDIVREM: in LowerOperation()
5930 OPCODE(SDIVREM); in getTargetNodeName()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp136 setOperationAction(ISD::SDIVREM, MVT::i8, Promote); in MSP430TargetLowering()
142 setOperationAction(ISD::SDIVREM, MVT::i16, Expand); in MSP430TargetLowering()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp245 case ISD::SDIVREM: return "sdivrem"; in getOperationName()
H A DLegalizeVectorOps.cpp324 case ISD::SDIVREM: in LegalizeOp()
H A DLegalizeIntegerTypes.cpp4119 if (TLI.getOperationAction(ISD::SDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_SDIV()
4120 SDValue Res = DAG.getNode(ISD::SDIVREM, dl, DAG.getVTList(VT, VT), Ops); in ExpandIntRes_SDIV()
4318 if (TLI.getOperationAction(ISD::SDIVREM, VT) == TargetLowering::Custom) { in ExpandIntRes_SREM()
4319 SDValue Res = DAG.getNode(ISD::SDIVREM, dl, DAG.getVTList(VT, VT), Ops); in ExpandIntRes_SREM()
H A DLegalizeDAG.cpp2155 bool isSigned = Opcode == ISD::SDIVREM; in ExpandDivRemLibCall()
3304 unsigned DivRemOpc = isSigned ? ISD::SDIVREM : ISD::UDIVREM; in ExpandNode()
4401 case ISD::SDIVREM: in ConvertNodeToLibcall()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp103 setOperationAction(ISD::SDIVREM, 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()
1154 case ISD::SDIVREM: return LowerSDIVREM(Op, DAG); in LowerOperation()
1978 SDValue DIVREM = DAG.getNode(ISD::SDIVREM, DL, DAG.getVTList(HalfVT, HalfVT), in LowerSDIVREM()
H A DR600ISelLowering.cpp604 case ISD::SDIVREM: { in ReplaceNodeResults()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp61 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in CSKYTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp108 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in LanaiTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp204 setOperationAction(ISD::SDIVREM, VT, Expand); in addTypeForNEON()
287 setOperationAction(ISD::SDIVREM, VT, Expand); in addMVEVectorTypes()
1274 setOperationAction(ISD::SDIVREM, MVT::i32, Custom); in ARMTargetLowering()
1276 setOperationAction(ISD::SDIVREM, MVT::i64, Custom); in ARMTargetLowering()
1279 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in ARMTargetLowering()
10438 case ISD::SDIVREM: in LowerOperation()
10511 case ISD::SDIVREM: in ReplaceNodeResults()
20380 bool isSigned = N->getOpcode() == ISD::SDIVREM || in getDivRemLibcall()
20398 bool isSigned = N->getOpcode() == ISD::SDIVREM || in getDivRemArgList()
20422 assert((Opcode == ISD::SDIVREM || Opcode == ISD::UDIVREM) && in LowerDivRem()
[all …]
H A DARMTargetTransformInfo.cpp1929 case ISD::SDIVREM: in maybeLoweredToCall()
/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.cpp1596 setOperationAction(ISD::SDIVREM, MVT::i32, Expand); in SparcTargetLowering()
1603 setOperationAction(ISD::SDIVREM, MVT::i64, Expand); in SparcTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp144 ISD::SDIVREM, ISD::UDIVREM, ISD::SHL_PARTS, ISD::SRA_PARTS, in WebAssemblyTargetLowering()

12