Home
last modified time | relevance | path

Searched refs:SDIV (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp349 case ISD::SDIV: in Select()
360 if (N->getOpcode() == ISD::SDIV) { in Select()
372 unsigned Opcode = N->getOpcode() == ISD::SDIV ? SP::SDIVrr : SP::UDIVrr; in Select()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetTransformInfo.h106 case ISD::SDIV:
H A DLanaiISelLowering.cpp106 setOperationAction(ISD::SDIV, MVT::i32, Expand); in LanaiTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp1361 { ISD::SDIV, MVT::v1i64, 1 * FunctionCallDivCost}, in getArithmeticInstrCost()
1365 { ISD::SDIV, MVT::v2i32, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
1369 { ISD::SDIV, MVT::v4i16, ReciprocalDivCost}, in getArithmeticInstrCost()
1373 { ISD::SDIV, MVT::v8i8, ReciprocalDivCost}, in getArithmeticInstrCost()
1378 { ISD::SDIV, MVT::v2i64, 2 * FunctionCallDivCost}, in getArithmeticInstrCost()
1382 { ISD::SDIV, MVT::v4i32, 4 * FunctionCallDivCost}, in getArithmeticInstrCost()
1386 { ISD::SDIV, MVT::v8i16, 8 * FunctionCallDivCost}, in getArithmeticInstrCost()
1390 { ISD::SDIV, MVT::v16i8, 16 * FunctionCallDivCost}, in getArithmeticInstrCost()
2102 case ISD::SDIV: in maybeLoweredToCall()
H A DARMScheduleSwift.td321 (instregex "SDIV", "UDIV", "t2SDIV", "t2UDIV")>;
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVVPNodes.def100 ADD_BINARY_VVP_OP_COMPACT(SDIV)
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h249 SDIV, enumerator
H A DSDPatternMatch.h598 return BinaryOpc_match<LHS, RHS, false>(ISD::SDIV, L, R);
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp342 if ((ISD == ISD::SDIV || ISD == ISD::SREM) && in getArithmeticInstrCost()
441 { ISD::SDIV, MVT::v16i32, { 6 } }, // pmuludq sequence in getArithmeticInstrCost()
482 { ISD::SDIV, MVT::v8i32, { 6 } }, // pmuludq sequence in getArithmeticInstrCost()
523 { ISD::SDIV, MVT::v8i32, { 14 } }, // 2*pmuludq sequence + split. in getArithmeticInstrCost()
554 { ISD::SDIV, MVT::v4i32, { 6 } }, // pmuludq sequence in getArithmeticInstrCost()
569 { ISD::SDIV, MVT::v64i8, { 14 } }, // 2*ext+2*pmulhw sequence in getArithmeticInstrCost()
574 { ISD::SDIV, MVT::v32i16, { 6 } }, // vpmulhw sequence in getArithmeticInstrCost()
587 { ISD::SDIV, MVT::v64i8, { 28 } }, // 4*ext+4*pmulhw sequence in getArithmeticInstrCost()
592 { ISD::SDIV, MVT::v32i16, { 12 } }, // 2*vpmulhw sequence in getArithmeticInstrCost()
597 { ISD::SDIV, MVT::v16i32, { 15 } }, // vpmuldq sequence in getArithmeticInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsFastISel.cpp1922 case ISD::SDIV: in selectDivRem()
1924 DivOpc = Mips::SDIV; in selectDivRem()
2037 if (!selectBinaryOp(I, ISD::SDIV)) in fastSelectInstruction()
2038 return selectDivRem(I, ISD::SDIV); in fastSelectInstruction()
H A DMipsSEISelLowering.cpp237 setOperationAction(ISD::SDIV, MVT::i32, Legal); in MipsSETargetLowering()
284 setOperationAction(ISD::SDIV, MVT::i64, Legal); in MipsSETargetLowering()
336 setOperationAction(ISD::SDIV, Ty, Legal); in addMSAIntType()
1805 return DAG.getNode(ISD::SDIV, DL, Op->getValueType(0), Op->getOperand(1), in lowerINTRINSIC_WO_CHAIN()
H A DMipsScheduleP5600.td192 def : InstRW<[P5600WriteAL2Div], (instrs DIV, PseudoSDIV, SDIV)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp103 setOperationAction(ISD::SDIV, VT, Custom); in BPFTargetLowering()
314 case ISD::SDIV: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp3056 case ISD::SDIV: in getArithmeticInstrCost()
3103 {ISD::SDIV, MVT::v2i8, 5}, {ISD::SDIV, MVT::v4i8, 8}, in getArithmeticInstrCost()
3104 {ISD::SDIV, MVT::v8i8, 8}, {ISD::SDIV, MVT::v2i16, 5}, in getArithmeticInstrCost()
3105 {ISD::SDIV, MVT::v4i16, 5}, {ISD::SDIV, MVT::v2i32, 1}, in getArithmeticInstrCost()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp76 setOperationAction({ISD::MUL, ISD::SDIV, ISD::UDIV}, MVT::i8, Promote); in M68kTargetLowering()
77 setOperationAction({ISD::MUL, ISD::SDIV, ISD::UDIV}, MVT::i16, Legal); in M68kTargetLowering()
79 setOperationAction({ISD::MUL, ISD::SDIV, ISD::UDIV}, MVT::i32, Legal); in M68kTargetLowering()
81 setOperationAction({ISD::MUL, ISD::SDIV, ISD::UDIV}, MVT::i32, LibCall); in M68kTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp135 setOperationAction(ISD::SDIV, MVT::i8, Promote); in MSP430TargetLowering()
141 setOperationAction(ISD::SDIV, MVT::i16, LibCall); in MSP430TargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp886 case ISD::SDIV: in canOpTrap()
1781 case SDiv: return ISD::SDIV; in InstructionOpcodeToISD()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp267 case ISD::SDIV: return "sdiv"; in getOperationName()
H A DFastISel.cpp494 if (ISDOpcode == ISD::SDIV && isa<BinaryOperator>(I) && in selectBinaryOp()
1821 return selectBinaryOp(I, ISD::SDIV); in selectOperator()
H A DLegalizeDAG.cpp3777 case ISD::SDIV: { in ExpandNode()
3778 bool isSigned = Node->getOpcode() == ISD::SDIV; in ExpandNode()
4960 case ISD::SDIV: in ConvertNodeToLibcall()
5228 case ISD::SDIV: in PromoteNode()
5250 case ISD::SDIV: in PromoteNode()
H A DSelectionDAG.cpp3961 case ISD::SDIV: { in computeKnownBits()
5619 case ISD::SDIV: in isKnownNeverZero()
6284 case ISD::SDIV: in FoldValue()
6349 case ISD::SDIV: in isUndef()
6975 case ISD::SDIV: in getNode()
7341 case ISD::SDIV: in getNode()
7363 case ISD::SDIV: in getNode()
11916 case ISD::SDIV: in isNeutralConstant()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVPIntrinsics.def189 HELPER_REGISTER_BINARY_INT_VP(vp_sdiv, VP_SDIV, SDiv, SDIV)
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp155 setOperationAction(ISD::SDIV, MVT::i8, Expand); in AVRTargetLowering()
156 setOperationAction(ISD::SDIV, MVT::i16, Expand); in AVRTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp106 setOperationAction(ISD::SDIV, MVT::i32, Expand); in CSKYTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1732 case ISD::SDIV: in getArithmeticInstrCost()

123