/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/ |
D | legalize-ctpop.mir | 12 ; 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 …]
|
D | regbankselect-ctpop.mir | 14 ; 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/ |
D | X86TargetTransformInfo.cpp | 1918 { 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/ |
D | X86TargetTransformInfo.cpp | 2319 { 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/ |
D | ISDOpcodes.h | 342 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
|
D | BasicTTIImpl.h | 819 ISDs.push_back(ISD::CTPOP); in getIntrinsicInstrCost()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | ISDOpcodes.h | 474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | ISDOpcodes.h | 618 CTPOP, enumerator
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1866 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/ |
D | TargetLowering.cpp | 1399 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()
|
D | SelectionDAGDumper.cpp | 318 case ISD::CTPOP: return "ctpop"; in getOperationName()
|
D | LegalizeDAG.cpp | 2637 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/ |
D | TargetLowering.cpp | 1758 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 …]
|
D | LegalizeVectorOps.cpp | 395 case ISD::CTPOP: in LegalizeOp() 774 case ISD::CTPOP: in Expand()
|
D | SelectionDAGDumper.cpp | 415 case ISD::CTPOP: return "ctpop"; in getOperationName()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 3176 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 …]
|
D | SelectionDAGDumper.cpp | 395 case ISD::CTPOP: return "ctpop"; in getOperationName()
|
D | LegalizeVectorOps.cpp | 399 case ISD::CTPOP: in LegalizeOp() 893 case ISD::CTPOP: in Expand()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLoweringHVX.cpp | 81 setOperationAction(ISD::CTPOP, T, Legal); in initializeHVXLowering() 146 setOperationAction(ISD::CTPOP, T, Custom); in initializeHVXLowering() 1539 case ISD::CTPOP: in LowerHvxOperation()
|
D | HexagonISelLowering.cpp | 1412 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/ |
D | BPFISelLowering.cpp | 105 setOperationAction(ISD::CTPOP, MVT::i64, Expand); in BPFTargetLowering()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.cpp | 122 setOperationAction(ISD::CTPOP, MVT::i8, Expand); in MSP430TargetLowering() 123 setOperationAction(ISD::CTPOP, MVT::i16, Expand); in MSP430TargetLowering()
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.cpp | 1545 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/ |
D | BPFISelLowering.cpp | 99 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 98 setOperationAction(ISD::CTPOP, VT, Expand); in BPFTargetLowering()
|