Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp3493 { ISD::CTPOP, MVT::v32i16, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3494 { ISD::CTPOP, MVT::v64i8, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3495 { ISD::CTPOP, MVT::v16i16, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3496 { ISD::CTPOP, MVT::v32i8, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3497 { ISD::CTPOP, MVT::v8i16, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3498 { ISD::CTPOP, MVT::v16i8, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3501 { ISD::CTPOP, MVT::v8i64, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3502 { ISD::CTPOP, MVT::v16i32, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3503 { ISD::CTPOP, MVT::v4i64, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
3504 { ISD::CTPOP, MVT::v8i32, { 1, 1, 1, 1 } }, in getIntrinsicInstrCost()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h745 CTPOP, enumerator
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1944 auto CTPOP = MIRBuilder.buildCTPOP(VTy, Val); in legalizeCTPOP() local
1957 MIRBuilder.buildInstr(AArch64::G_UDOT, {Dt}, {Zeros, Ones, CTPOP}); in legalizeCTPOP()
1960 Sum = MIRBuilder.buildInstr(AArch64::G_UDOT, {Dt}, {Zeros, Ones, CTPOP}); in legalizeCTPOP()
1962 Sum = MIRBuilder.buildInstr(AArch64::G_UDOT, {Dt}, {Zeros, Ones, CTPOP}); in legalizeCTPOP()
1972 Register HSum = CTPOP.getReg(0); in legalizeCTPOP()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp687 {ISD::CTPOP, MVT::v2i64, 4}, in getIntrinsicInstrCost()
688 {ISD::CTPOP, MVT::v4i32, 3}, in getIntrinsicInstrCost()
689 {ISD::CTPOP, MVT::v8i16, 2}, in getIntrinsicInstrCost()
690 {ISD::CTPOP, MVT::v16i8, 1}, in getIntrinsicInstrCost()
691 {ISD::CTPOP, MVT::i64, 4}, in getIntrinsicInstrCost()
692 {ISD::CTPOP, MVT::v2i32, 3}, in getIntrinsicInstrCost()
693 {ISD::CTPOP, MVT::v4i16, 2}, in getIntrinsicInstrCost()
694 {ISD::CTPOP, MVT::v8i8, 1}, in getIntrinsicInstrCost()
695 {ISD::CTPOP, MVT::i32, 5}, in getIntrinsicInstrCost()
699 if (const auto *Entry = CostTableLookup(CtpopCostTbl, ISD::CTPOP, MTy)) { in getIntrinsicInstrCost()
H A DAArch64ISelLowering.cpp649 setOperationAction(ISD::CTPOP, MVT::i32, Legal); in AArch64TargetLowering()
650 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in AArch64TargetLowering()
651 setOperationAction(ISD::CTPOP, MVT::i128, Expand); in AArch64TargetLowering()
672 setOperationAction(ISD::CTPOP, MVT::i32, Custom); in AArch64TargetLowering()
673 setOperationAction(ISD::CTPOP, MVT::i64, Custom); in AArch64TargetLowering()
674 setOperationAction(ISD::CTPOP, MVT::i128, Custom); in AArch64TargetLowering()
1434 setOperationAction(ISD::CTPOP, VT, Custom); in AArch64TargetLowering()
1886 setOperationAction(ISD::CTPOP, VT, Custom); in addTypeForNEON()
2046 setOperationAction(ISD::CTPOP, VT, Default); in addTypeForFixedLengthSVE()
6888 case ISD::CTPOP: in LowerOperation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1584 setOperationAction(ISD::CTPOP, MVT::i8, Promote); in HexagonTargetLowering()
1585 setOperationAction(ISD::CTPOP, MVT::i16, Promote); in HexagonTargetLowering()
1586 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in HexagonTargetLowering()
1587 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in HexagonTargetLowering()
1651 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, ISD::BSWAP, ISD::BITREVERSE, in HexagonTargetLowering()
H A DHexagonISelLoweringHVX.cpp203 setOperationAction(ISD::CTPOP, T, Legal); in initializeHVXLowering()
295 setOperationAction(ISD::CTPOP, T, Custom); in initializeHVXLowering()
3162 case ISD::CTPOP: in LowerHvxOperation()
/freebsd/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/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2337 case ISD::CTPOP: { in SimplifyDemandedBits()
4279 SDValue CTPOP = N0; in simplifySetCCWithCTPOP() local
4282 CTPOP = N0.getOperand(0); in simplifySetCCWithCTPOP()
4284 if (CTPOP.getOpcode() != ISD::CTPOP || !CTPOP.hasOneUse()) in simplifySetCCWithCTPOP()
4287 EVT CTVT = CTPOP.getValueType(); in simplifySetCCWithCTPOP()
4288 SDValue CTOp = CTPOP.getOperand(0); in simplifySetCCWithCTPOP()
9002 (!isOperationLegalOrCustom(ISD::CTPOP, VT) && in expandCTLZ()
9023 return DAG.getNode(ISD::CTPOP, dl, VT, Op); in expandCTLZ()
9122 (!isOperationLegalOrCustom(ISD::CTPOP, VT) && in expandCTTZ()
9131 if (!VT.isVector() && isOperationExpand(ISD::CTPOP, VT) && in expandCTTZ()
[all …]
H A DSelectionDAGDumper.cpp485 case ISD::CTPOP: return "ctpop"; in getOperationName()
H A DLegalizeIntegerTypes.cpp74 case ISD::CTPOP: Res = PromoteIntRes_CTPOP_PARITY(N); break; in PromoteIntegerResult()
717 if (N->getOpcode() == ISD::CTPOP && !OVT.isVector() && TLI.isTypeLegal(NVT) && in PromoteIntRes_CTPOP_PARITY()
718 !TLI.isOperationLegalOrCustomOrPromote(ISD::CTPOP, NVT)) { in PromoteIntRes_CTPOP_PARITY()
751 !TLI.isOperationLegal(ISD::CTPOP, NVT) && in PromoteIntRes_CTTZ()
2793 case ISD::CTPOP: ExpandIntRes_CTPOP(N, Lo, Hi); break; in ExpandIntegerResult()
3856 Lo = DAG.getNode(ISD::ADD, dl, NVT, DAG.getNode(ISD::CTPOP, dl, NVT, Lo), in ExpandIntRes_CTPOP()
3857 DAG.getNode(ISD::CTPOP, dl, NVT, Hi)); in ExpandIntRes_CTPOP()
H A DLegalizeVectorOps.cpp382 case ISD::CTPOP: in LegalizeOp()
952 case ISD::CTPOP: in Expand()
H A DLegalizeDAG.cpp3002 if (TLI.isOperationLegalOrPromote(ISD::CTPOP, VT)) { in ExpandPARITY()
3003 Result = DAG.getNode(ISD::CTPOP, dl, VT, Op); in ExpandPARITY()
3077 case ISD::CTPOP: in ExpandNode()
5117 case ISD::CTPOP: { in PromoteNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp252 setOperationAction(ISD::CTPOP, MVT::v16i8, Legal); in WebAssemblyTargetLowering()
257 for (auto Op : {ISD::CTLZ, ISD::CTTZ, ISD::CTPOP}) in WebAssemblyTargetLowering()
1504 case ISD::CTPOP: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp115 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp206 setOperationAction(ISD::CTPOP, VT, Custom); in SystemZTargetLowering()
208 setOperationAction(ISD::CTPOP, VT, Expand); in SystemZTargetLowering()
266 setOperationAction(ISD::CTPOP, MVT::i128, Custom); in SystemZTargetLowering()
337 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in SystemZTargetLowering()
338 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in SystemZTargetLowering()
436 setOperationAction(ISD::CTPOP, VT, Legal); in SystemZTargetLowering()
438 setOperationAction(ISD::CTPOP, VT, Custom); in SystemZTargetLowering()
4448 Op = DAG.getNode(ISD::CTPOP, DL, MVT::v2i64, Op); in lowerCTPOP()
6172 case ISD::CTPOP: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp167 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in R600TargetLowering()
170 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in R600TargetLowering()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVPIntrinsics.def262 VP_PROPERTY_FUNCTIONAL_SDOPC(CTPOP)
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp429 setOperationAction(ISD::CTPOP, MVT::i32, Legal); in MipsTargetLowering()
430 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in MipsTargetLowering()
432 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in MipsTargetLowering()
433 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in MipsTargetLowering()
H A DMipsSEISelLowering.cpp333 setOperationAction(ISD::CTPOP, Ty, Legal); in addMSAIntType()
2113 return DAG.getNode(ISD::CTPOP, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp62 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in CSKYTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp126 setOperationAction(ISD::CTPOP, MVT::i32, Legal); in LanaiTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp82 setOperationAction(ISD::CTPOP, GRLenVT, Expand); in LoongArchTargetLowering()
265 setOperationAction({ISD::CTPOP, ISD::CTLZ}, VT, Legal); in LoongArchTargetLowering()
312 setOperationAction({ISD::CTPOP, ISD::CTLZ}, VT, Legal); in LoongArchTargetLowering()
4080 return DAG.getNode(ISD::CTPOP, DL, N->getValueType(0), N->getOperand(1)); in performINTRINSIC_WO_CHAINCombine()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp300 setOperationAction(ISD::CTPOP, VT, Expand); in addMVEVectorTypes()
967 setOperationAction(ISD::CTPOP, MVT::v2i32, Custom); in ARMTargetLowering()
968 setOperationAction(ISD::CTPOP, MVT::v4i32, Custom); in ARMTargetLowering()
969 setOperationAction(ISD::CTPOP, MVT::v4i16, Custom); in ARMTargetLowering()
970 setOperationAction(ISD::CTPOP, MVT::v8i16, Custom); in ARMTargetLowering()
971 setOperationAction(ISD::CTPOP, MVT::v1i64, Custom); in ARMTargetLowering()
972 setOperationAction(ISD::CTPOP, MVT::v2i64, Custom); in ARMTargetLowering()
1207 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in ARMTargetLowering()
6536 return DAG.getNode(ISD::CTPOP, dl, VT, Bits); in LowerCTTZ()
6564 return DAG.getNode(ISD::CTPOP, dl, VT, Bits); in LowerCTTZ()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1751 setOperationAction(ISD::CTPOP, MVT::i64, in SparcTargetLowering()
1883 setOperationAction(ISD::CTPOP, MVT::i32, in SparcTargetLowering()

12