Home
last modified time | relevance | path

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

12345

/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dlegalize-ctpop.mir12 ; CHECK: [[CTPOP:%[0-9]+]]:_(s32) = G_CTPOP [[COPY]](s32)
13 ; CHECK: $vgpr0 = COPY [[CTPOP]](s32)
27 ; CHECK: [[CTPOP:%[0-9]+]]:_(s32) = G_CTPOP [[COPY]](s64)
28 ; CHECK: $vgpr0 = COPY [[CTPOP]](s32)
42 ; CHECK: [[CTPOP:%[0-9]+]]:_(s32) = G_CTPOP [[COPY]](s64)
43 ; CHECK: [[ZEXT:%[0-9]+]]:_(s64) = G_ZEXT [[CTPOP]](s32)
58 ; CHECK: [[CTPOP:%[0-9]+]]:_(s32) = G_CTPOP [[COPY]](s32)
60 ; CHECK: [[COPY1:%[0-9]+]]:_(s32) = COPY [[CTPOP]](s32)
80 ; CHECK: [[CTPOP:%[0-9]+]]:_(s32) = G_CTPOP [[AND]](s32)
81 ; CHECK: [[COPY2:%[0-9]+]]:_(s32) = COPY [[CTPOP]](s32)
[all …]
Dregbankselect-ctpop.mir14 ; CHECK: [[CTPOP:%[0-9]+]]:sgpr(s32) = G_CTPOP [[COPY]](s32)
15 ; CHECK: S_ENDPGM 0, implicit [[CTPOP]](s32)
30 ; CHECK: [[CTPOP:%[0-9]+]]:vgpr(s32) = G_CTPOP [[COPY]](s32)
31 ; CHECK: S_ENDPGM 0, implicit [[CTPOP]](s32)
47 ; CHECK: [[CTPOP:%[0-9]+]]:sgpr(s32) = G_CTPOP [[COPY]](s64)
48 ; CHECK: S_ENDPGM 0, implicit [[CTPOP]](s32)
65 ; CHECK: [[CTPOP:%[0-9]+]]:vgpr(s32) = G_CTPOP [[UV]](s32)
67 ; CHECK: [[ADD:%[0-9]+]]:vgpr(s32) = G_ADD [[CTPOP1]], [[CTPOP]]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1918 { ISD::CTPOP, MVT::v8i64, 7 }, in getIntrinsicInstrCost()
1919 { ISD::CTPOP, MVT::v16i32, 11 }, in getIntrinsicInstrCost()
1920 { ISD::CTPOP, MVT::v32i16, 9 }, in getIntrinsicInstrCost()
1921 { ISD::CTPOP, MVT::v64i8, 6 }, in getIntrinsicInstrCost()
1940 { ISD::CTPOP, MVT::v8i64, 16 }, in getIntrinsicInstrCost()
1941 { ISD::CTPOP, MVT::v16i32, 24 }, in getIntrinsicInstrCost()
1979 { ISD::CTPOP, MVT::v4i64, 7 }, in getIntrinsicInstrCost()
1980 { ISD::CTPOP, MVT::v8i32, 11 }, in getIntrinsicInstrCost()
1981 { ISD::CTPOP, MVT::v16i16, 9 }, in getIntrinsicInstrCost()
1982 { ISD::CTPOP, MVT::v32i8, 6 }, in getIntrinsicInstrCost()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp2319 { ISD::CTPOP, MVT::v8i64, 7 }, in getTypeBasedIntrinsicInstrCost()
2320 { ISD::CTPOP, MVT::v16i32, 11 }, in getTypeBasedIntrinsicInstrCost()
2321 { ISD::CTPOP, MVT::v32i16, 9 }, in getTypeBasedIntrinsicInstrCost()
2322 { ISD::CTPOP, MVT::v64i8, 6 }, in getTypeBasedIntrinsicInstrCost()
2359 { ISD::CTPOP, MVT::v8i64, 16 }, in getTypeBasedIntrinsicInstrCost()
2360 { ISD::CTPOP, MVT::v16i32, 24 }, in getTypeBasedIntrinsicInstrCost()
2361 { ISD::CTPOP, MVT::v32i16, 18 }, in getTypeBasedIntrinsicInstrCost()
2362 { ISD::CTPOP, MVT::v64i8, 12 }, in getTypeBasedIntrinsicInstrCost()
2446 { ISD::CTPOP, MVT::v4i64, 7 }, in getTypeBasedIntrinsicInstrCost()
2447 { ISD::CTPOP, MVT::v8i32, 11 }, in getTypeBasedIntrinsicInstrCost()
[all …]
/external/llvm/include/llvm/CodeGen/
DISDOpcodes.h342 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
DBasicTTIImpl.h819 ISDs.push_back(ISD::CTPOP); in getIntrinsicInstrCost()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/external/llvm-project/llvm/include/llvm/CodeGen/
DISDOpcodes.h618 CTPOP, enumerator
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1866 setOperationAction(ISD::CTPOP, MVT::i8, Promote); in HexagonTargetLowering()
1867 setOperationAction(ISD::CTPOP, MVT::i16, Promote); in HexagonTargetLowering()
1868 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in HexagonTargetLowering()
1869 setOperationAction(ISD::CTPOP, MVT::i64, Custom); in HexagonTargetLowering()
1942 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, in HexagonTargetLowering()
2044 setOperationAction(ISD::CTPOP, MVT::i8, Expand); in HexagonTargetLowering()
2045 setOperationAction(ISD::CTPOP, MVT::i16, Expand); in HexagonTargetLowering()
2046 setOperationAction(ISD::CTPOP, MVT::i32, Expand); in HexagonTargetLowering()
2047 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in HexagonTargetLowering()
2797 case ISD::CTPOP: return LowerCTPOP(Op, DAG); in LowerOperation()
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1399 SDValue CTPOP = N0; in SimplifySetCC() local
1402 CTPOP = N0.getOperand(0); in SimplifySetCC()
1404 if (CTPOP.hasOneUse() && CTPOP.getOpcode() == ISD::CTPOP && in SimplifySetCC()
1405 (N0 == CTPOP || N0.getValueType().getSizeInBits() > in SimplifySetCC()
1406 Log2_32_Ceil(CTPOP.getValueType().getSizeInBits()))) { in SimplifySetCC()
1407 EVT CTVT = CTPOP.getValueType(); in SimplifySetCC()
1408 SDValue CTOp = CTPOP.getOperand(0); in SimplifySetCC()
DSelectionDAGDumper.cpp318 case ISD::CTPOP: return "ctpop"; in getOperationName()
DLegalizeDAG.cpp2637 case ISD::CTPOP: { in ExpandBitCount()
2715 return DAG.getNode(ISD::CTPOP, dl, VT, Op); in ExpandBitCount()
2731 if (!TLI.isOperationLegalOrCustom(ISD::CTPOP, VT) && in ExpandBitCount()
2736 return DAG.getNode(ISD::CTPOP, dl, VT, Tmp3); in ExpandBitCount()
2747 case ISD::CTPOP: in ExpandNode()
4014 case ISD::CTPOP: in PromoteNode()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1758 case ISD::CTPOP: { in SimplifyDemandedBits()
3388 SDValue CTPOP = N0; in simplifySetCCWithCTPOP() local
3391 CTPOP = N0.getOperand(0); in simplifySetCCWithCTPOP()
3393 if (CTPOP.getOpcode() != ISD::CTPOP || !CTPOP.hasOneUse()) in simplifySetCCWithCTPOP()
3396 EVT CTVT = CTPOP.getValueType(); in simplifySetCCWithCTPOP()
3397 SDValue CTOp = CTPOP.getOperand(0); in simplifySetCCWithCTPOP()
3401 if (VT.isVector() && TLI.isOperationLegal(ISD::CTPOP, CTVT)) in simplifySetCCWithCTPOP()
3428 if (!VT.isVector() && TLI.isOperationLegalOrCustom(ISD::CTPOP, CTVT)) in simplifySetCCWithCTPOP()
6739 !isOperationLegalOrCustom(ISD::CTPOP, VT) || in expandCTLZ()
6759 Result = DAG.getNode(ISD::CTPOP, dl, VT, Op); in expandCTLZ()
[all …]
DLegalizeVectorOps.cpp395 case ISD::CTPOP: in LegalizeOp()
774 case ISD::CTPOP: in Expand()
DSelectionDAGDumper.cpp415 case ISD::CTPOP: return "ctpop"; in getOperationName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp3176 SDValue CTPOP = N0; in SimplifySetCC() local
3179 CTPOP = N0.getOperand(0); in SimplifySetCC()
3181 if (CTPOP.hasOneUse() && CTPOP.getOpcode() == ISD::CTPOP && in SimplifySetCC()
3182 (N0 == CTPOP || in SimplifySetCC()
3183 N0.getValueSizeInBits() > Log2_32_Ceil(CTPOP.getValueSizeInBits()))) { in SimplifySetCC()
3184 EVT CTVT = CTPOP.getValueType(); in SimplifySetCC()
3185 SDValue CTOp = CTPOP.getOperand(0); in SimplifySetCC()
3198 if (C1 == 1 && !isOperationLegalOrCustom(ISD::CTPOP, CTVT) && in SimplifySetCC()
6460 !isOperationLegalOrCustom(ISD::CTPOP, VT) || in expandCTLZ()
6480 Result = DAG.getNode(ISD::CTPOP, dl, VT, Op); in expandCTLZ()
[all …]
DSelectionDAGDumper.cpp395 case ISD::CTPOP: return "ctpop"; in getOperationName()
DLegalizeVectorOps.cpp399 case ISD::CTPOP: in LegalizeOp()
893 case ISD::CTPOP: in Expand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp81 setOperationAction(ISD::CTPOP, T, Legal); in initializeHVXLowering()
146 setOperationAction(ISD::CTPOP, T, Custom); in initializeHVXLowering()
1539 case ISD::CTPOP: in LowerHvxOperation()
DHexagonISelLowering.cpp1412 setOperationAction(ISD::CTPOP, MVT::i8, Promote); in HexagonTargetLowering()
1413 setOperationAction(ISD::CTPOP, MVT::i16, Promote); in HexagonTargetLowering()
1414 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in HexagonTargetLowering()
1415 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in HexagonTargetLowering()
1479 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, in HexagonTargetLowering()
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp105 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in BPFTargetLowering()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp122 setOperationAction(ISD::CTPOP, MVT::i8, Expand); in MSP430TargetLowering()
123 setOperationAction(ISD::CTPOP, MVT::i16, Expand); in MSP430TargetLowering()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1545 setOperationAction(ISD::CTPOP, MVT::i8, Promote); in HexagonTargetLowering()
1546 setOperationAction(ISD::CTPOP, MVT::i16, Promote); in HexagonTargetLowering()
1547 setOperationAction(ISD::CTPOP, MVT::i32, Promote); in HexagonTargetLowering()
1548 setOperationAction(ISD::CTPOP, MVT::i64, Legal); in HexagonTargetLowering()
1612 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, in HexagonTargetLowering()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp99 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFISelLowering.cpp98 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()

12345