Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp2587 { ISD::CTPOP, MVT::v8i64, 7 }, in getTypeBasedIntrinsicInstrCost()
2588 { ISD::CTPOP, MVT::v16i32, 11 }, in getTypeBasedIntrinsicInstrCost()
2589 { ISD::CTPOP, MVT::v32i16, 9 }, in getTypeBasedIntrinsicInstrCost()
2590 { ISD::CTPOP, MVT::v64i8, 6 }, in getTypeBasedIntrinsicInstrCost()
2630 { ISD::CTPOP, MVT::v8i64, 16 }, in getTypeBasedIntrinsicInstrCost()
2631 { ISD::CTPOP, MVT::v16i32, 24 }, in getTypeBasedIntrinsicInstrCost()
2632 { ISD::CTPOP, MVT::v32i16, 18 }, in getTypeBasedIntrinsicInstrCost()
2633 { ISD::CTPOP, MVT::v64i8, 12 }, in getTypeBasedIntrinsicInstrCost()
2717 { ISD::CTPOP, MVT::v4i64, 7 }, in getTypeBasedIntrinsicInstrCost()
2718 { ISD::CTPOP, MVT::v8i32, 11 }, in getTypeBasedIntrinsicInstrCost()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp305 {ISD::CTPOP, MVT::v2i64, 4}, in getIntrinsicInstrCost()
306 {ISD::CTPOP, MVT::v4i32, 3}, in getIntrinsicInstrCost()
307 {ISD::CTPOP, MVT::v8i16, 2}, in getIntrinsicInstrCost()
308 {ISD::CTPOP, MVT::v16i8, 1}, in getIntrinsicInstrCost()
309 {ISD::CTPOP, MVT::i64, 4}, in getIntrinsicInstrCost()
310 {ISD::CTPOP, MVT::v2i32, 3}, in getIntrinsicInstrCost()
311 {ISD::CTPOP, MVT::v4i16, 2}, in getIntrinsicInstrCost()
312 {ISD::CTPOP, MVT::v8i8, 1}, in getIntrinsicInstrCost()
313 {ISD::CTPOP, MVT::i32, 5}, in getIntrinsicInstrCost()
317 if (const auto *Entry = CostTableLookup(CtpopCostTbl, ISD::CTPOP, MTy)) { in getIntrinsicInstrCost()
H A DAArch64ISelLowering.cpp533 setOperationAction(ISD::CTPOP, MVT::i32, Custom); in AArch64TargetLowering()
534 setOperationAction(ISD::CTPOP, MVT::i64, Custom); in AArch64TargetLowering()
535 setOperationAction(ISD::CTPOP, MVT::i128, Custom); in AArch64TargetLowering()
1155 setOperationAction(ISD::CTPOP, VT, Custom); in AArch64TargetLowering()
1446 setOperationAction(ISD::CTPOP, VT, Custom); in addTypeForNEON()
1526 setOperationAction(ISD::CTPOP, VT, Custom); in addTypeForFixedLengthSVE()
4858 case ISD::CTPOP: in LowerOperation()
7090 SDValue CtPop = DAG.getNode(ISD::CTPOP, DL, MVT::v8i8, Val); in LowerCTPOP()
7101 SDValue CtPop = DAG.getNode(ISD::CTPOP, DL, MVT::v16i8, Val); in LowerCTPOP()
7118 Val = DAG.getNode(ISD::CTPOP, DL, VT8Bit, Val); in LowerCTPOP()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h669 CTPOP, enumerator
H A DBasicTTIImpl.h1854 ISDs.push_back(ISD::CTPOP); in getTypeBasedIntrinsicInstrCost()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1120 auto CTPOP = MIRBuilder.buildCTPOP(VTy, Val); in legalizeCTPOP() local
1123 Register HSum = CTPOP.getReg(0); in legalizeCTPOP()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1780 case ISD::CTPOP: { in SimplifyDemandedBits()
3443 SDValue CTPOP = N0; in simplifySetCCWithCTPOP() local
3446 CTPOP = N0.getOperand(0); in simplifySetCCWithCTPOP()
3448 if (CTPOP.getOpcode() != ISD::CTPOP || !CTPOP.hasOneUse()) in simplifySetCCWithCTPOP()
3451 EVT CTVT = CTPOP.getValueType(); in simplifySetCCWithCTPOP()
3452 SDValue CTOp = CTPOP.getOperand(0); in simplifySetCCWithCTPOP()
3456 if (VT.isVector() && TLI.isOperationLegal(ISD::CTPOP, CTVT)) in simplifySetCCWithCTPOP()
7062 !isOperationLegalOrCustom(ISD::CTPOP, VT) || in expandCTLZ()
7082 Result = DAG.getNode(ISD::CTPOP, dl, VT, Op); in expandCTLZ()
7114 (!isOperationLegalOrCustom(ISD::CTPOP, VT) && in expandCTTZ()
[all …]
H A DLegalizeVectorOps.cpp396 case ISD::CTPOP: in LegalizeOp()
785 case ISD::CTPOP: in Expand()
H A DSelectionDAGDumper.cpp426 case ISD::CTPOP: return "ctpop"; in getOperationName()
H A DLegalizeDAG.cpp2639 if (TLI.isOperationLegal(ISD::CTPOP, VT)) { in ExpandPARITY()
2640 Result = DAG.getNode(ISD::CTPOP, dl, VT, Op); in ExpandPARITY()
2664 case ISD::CTPOP: in ExpandNode()
4387 case ISD::CTPOP: in PromoteNode()
H A DLegalizeIntegerTypes.cpp67 case ISD::CTPOP: Res = PromoteIntRes_CTPOP_PARITY(N); break; in PromoteIntegerResult()
2113 case ISD::CTPOP: ExpandIntRes_CTPOP(N, Lo, Hi); break; in ExpandIntegerResult()
3032 Lo = DAG.getNode(ISD::ADD, dl, NVT, DAG.getNode(ISD::CTPOP, dl, NVT, Lo), in ExpandIntRes_CTPOP()
3033 DAG.getNode(ISD::CTPOP, dl, NVT, Hi)); in ExpandIntRes_CTPOP()
H A DLegalizeVectorTypes.cpp78 case ISD::CTPOP: in ScalarizeVectorResult()
974 case ISD::CTPOP: in SplitVectorResult()
3148 case ISD::CTPOP: in WidenVectorResult()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1571 setOperationAction(ISD::CTPOP, MVT::i8, Promote); in HexagonTargetLowering()
1572 setOperationAction(ISD::CTPOP, MVT::i16, Promote); in HexagonTargetLowering()
1573 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in HexagonTargetLowering()
1574 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in HexagonTargetLowering()
1638 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, in HexagonTargetLowering()
H A DHexagonISelLoweringHVX.cpp95 setOperationAction(ISD::CTPOP, T, Legal); in initializeHVXLowering()
173 setOperationAction(ISD::CTPOP, T, Custom); in initializeHVXLowering()
2071 case ISD::CTPOP: in LowerHvxOperation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.cpp108 setOperationAction(ISD::CTPOP, MVT::i8, Expand); in MSP430TargetLowering()
109 setOperationAction(ISD::CTPOP, MVT::i16, Expand); in MSP430TargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp116 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp212 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in R600TargetLowering()
215 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in R600TargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp216 for (auto Op : {ISD::CTLZ, ISD::CTTZ, ISD::CTPOP, ISD::SDIV, ISD::UDIV, in WebAssemblyTargetLowering()
227 setOperationAction(ISD::CTPOP, MVT::v16i8, Legal); in WebAssemblyTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp200 setOperationAction(ISD::CTPOP, VT, Custom); in SystemZTargetLowering()
202 setOperationAction(ISD::CTPOP, VT, Expand); in SystemZTargetLowering()
281 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in SystemZTargetLowering()
282 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in SystemZTargetLowering()
371 setOperationAction(ISD::CTPOP, VT, Legal); in SystemZTargetLowering()
373 setOperationAction(ISD::CTPOP, VT, Custom); in SystemZTargetLowering()
5472 case ISD::CTPOP: in LowerOperation()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp414 setOperationAction(ISD::CTPOP, MVT::i32, Legal); in MipsTargetLowering()
415 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in MipsTargetLowering()
417 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in MipsTargetLowering()
418 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in MipsTargetLowering()
H A DMipsSEISelLowering.cpp336 setOperationAction(ISD::CTPOP, Ty, Legal); in addMSAIntType()
2118 return DAG.getNode(ISD::CTPOP, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp126 setOperationAction(ISD::CTPOP, MVT::i32, Legal); in LanaiTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp283 setOperationAction(ISD::CTPOP, VT, Expand); in addMVEVectorTypes()
920 setOperationAction(ISD::CTPOP, MVT::v2i32, Custom); in ARMTargetLowering()
921 setOperationAction(ISD::CTPOP, MVT::v4i32, Custom); in ARMTargetLowering()
922 setOperationAction(ISD::CTPOP, MVT::v4i16, Custom); in ARMTargetLowering()
923 setOperationAction(ISD::CTPOP, MVT::v8i16, Custom); in ARMTargetLowering()
924 setOperationAction(ISD::CTPOP, MVT::v1i64, Custom); in ARMTargetLowering()
925 setOperationAction(ISD::CTPOP, MVT::v2i64, Custom); in ARMTargetLowering()
1166 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in ARMTargetLowering()
6330 return DAG.getNode(ISD::CTPOP, dl, VT, Bits); in LowerCTTZ()
6358 return DAG.getNode(ISD::CTPOP, dl, VT, Bits); in LowerCTTZ()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1577 setOperationAction(ISD::CTPOP, MVT::i64, in SparcTargetLowering()
1711 setOperationAction(ISD::CTPOP, MVT::i32, in SparcTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp183 setOperationAction(ISD::CTPOP, VT, Expand); in AVRTargetLowering()

12