/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86TargetTransformInfo.cpp | 3410 { ISD::CTLZ, MVT::v8i64, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost() 3411 { ISD::CTLZ, MVT::v16i32, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost() 3412 { ISD::CTLZ, MVT::v32i16, { 18, 27, 23, 27 } }, in getIntrinsicInstrCost() 3413 { ISD::CTLZ, MVT::v64i8, { 3, 16, 9, 11 } }, in getIntrinsicInstrCost() 3414 { ISD::CTLZ, MVT::v4i64, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost() 3942 { ISD::CTLZ, MVT::i64, { 1 } }, in getIntrinsicInstrCost() 3945 { ISD::CTLZ, MVT::i32, { 1 } }, in getIntrinsicInstrCost() 3946 { ISD::CTLZ, MVT::i16, { 2 } }, in getIntrinsicInstrCost() 3947 { ISD::CTLZ, MVT::i8, { 2 } }, in getIntrinsicInstrCost() 4054 ISD = ISD::CTLZ; in getIntrinsicInstrCost() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | IntegerDivision.cpp | 160 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode() local 234 Value *Tmp0 = Builder.CreateCall(CTLZ, {Divisor, True}); in generateUnsignedDivisionCode() 235 Value *Tmp1 = Builder.CreateCall(CTLZ, {Dividend, True}); in generateUnsignedDivisionCode()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCExpandPseudos.cpp | 146 case ARC::CTLZ: in runOnMachineFunction()
|
H A D | ARCISelLowering.cpp | 171 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in ARCTargetLowering()
|
H A D | ARCInstrInfo.td | 138 def CTLZ : PseudoInstARC<(outs GPR32:$A),
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ISDOpcodes.h | 716 CTLZ, enumerator
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandLargeFpConvert.cpp | 355 Function *CTLZ = in expandIToFP() local 370 Value *Call = Builder.CreateCall(CTLZ, {IsSigned ? Sub : IntVal, True}); in expandIToFP()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 686 if (unsigned CTLZ = DemandedMask.countl_zero()) { in SimplifyDemandedUseBits() local 687 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedUseBits()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
H A D | LoongArchISelLowering.cpp | 132 setOperationAction(ISD::CTLZ, MVT::i32, Custom); in LoongArchTargetLowering() 262 setOperationAction({ISD::CTPOP, ISD::CTLZ}, VT, Legal); in LoongArchTargetLowering() 308 setOperationAction({ISD::CTPOP, ISD::CTLZ}, VT, Legal); in LoongArchTargetLowering() 1658 case ISD::CTLZ: in getLoongArchWOpcode() 1924 case ISD::CTLZ: in ReplaceNodeResults() 2903 return DAG.getNode(ISD::CTLZ, DL, N->getValueType(0), N->getOperand(1)); in performINTRINSIC_WO_CHAINCombine()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 106 setOperationAction(ISD::CTLZ, MVT::i8, Expand); in MSP430TargetLowering() 107 setOperationAction(ISD::CTLZ, MVT::i16, Expand); in MSP430TargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.cpp | 421 setOperationAction({ISD::BSWAP, ISD::CTTZ, ISD::CTLZ}, VT, Expand); in AMDGPUTargetLowering() 446 {ISD::CTTZ, ISD::CTTZ_ZERO_UNDEF, ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF}, in AMDGPUTargetLowering() 450 setOperationAction({ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF}, VT, Custom); in AMDGPUTargetLowering() 468 ISD::CTTZ, ISD::CTLZ, ISD::VECTOR_SHUFFLE, in AMDGPUTargetLowering() 1367 case ISD::CTLZ: in LowerOperation() 1405 case ISD::CTLZ: in ReplaceNodeResults() 3068 return Opc == ISD::CTLZ || Opc == ISD::CTLZ_ZERO_UNDEF; in isCtlzOpc() 3237 ShAmt = DAG.getNode(ISD::CTLZ, SL, MVT::i32, Hi); in LowerINT_TO_FP32()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLoweringHVX.cpp | 204 setOperationAction(ISD::CTLZ, T, Legal); in initializeHVXLowering() 293 setOperationAction(ISD::CTLZ, T, Custom); in initializeHVXLowering() 1894 {VecW, DAG.getNode(ISD::CTLZ, dl, ResTy, A)}); in LowerHvxCttz() 2871 SDValue Clz = DAG.getNode(ISD::CTLZ, dl, InpTy, Abs); in ExpandHvxIntToFp() 3163 case ISD::CTLZ: in LowerHvxOperation()
|
H A D | HexagonISelLowering.cpp | 1558 setOperationAction(ISD::CTLZ, MVT::i8, Promote); in HexagonTargetLowering() 1559 setOperationAction(ISD::CTLZ, MVT::i16, Promote); in HexagonTargetLowering() 1631 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, ISD::BSWAP, ISD::BITREVERSE, in HexagonTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGDumper.cpp | 456 case ISD::CTLZ: return "ctlz"; in getOperationName()
|
H A D | TargetLowering.cpp | 1866 if (unsigned CTLZ = DemandedBits.countl_zero()) { in SimplifyDemandedBits() local 1867 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedBits() 4474 N0.getOperand(0).getOpcode() == ISD::CTLZ && in SimplifySetCC() 8759 isOperationLegalOrCustom(ISD::CTLZ, VT)) in expandCTLZ() 8760 return DAG.getNode(ISD::CTLZ, dl, VT, Op); in expandCTLZ() 8766 SDValue CTLZ = DAG.getNode(ISD::CTLZ_ZERO_UNDEF, dl, VT, Op); in expandCTLZ() local 8770 DAG.getConstant(NumBitsPerElt, dl, VT), CTLZ); in expandCTLZ() 8897 !isOperationLegalOrCustom(ISD::CTLZ, VT) && in expandCTTZ() 8906 !isOperationLegal(ISD::CTLZ, VT)) in expandCTTZ() 8921 DAG.getNode(ISD::CTLZ, dl, VT, Tmp)); in expandCTTZ() [all …]
|
H A D | LegalizeVectorOps.cpp | 369 case ISD::CTLZ: in LegalizeOp() 990 case ISD::CTLZ: in Expand()
|
H A D | LegalizeIntegerTypes.cpp | 71 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult() 608 !TLI.isOperationLegalOrCustomOrPromote(ISD::CTLZ, NVT) && in PromoteIntRes_CTLZ() 672 !TLI.isOperationLegal(ISD::CTLZ, NVT)) { in PromoteIntRes_CTTZ() 2630 case ISD::CTLZ: ExpandIntRes_CTLZ(N, Lo, Hi); break; in ExpandIntegerResult()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelLowering.cpp | 241 setOperationAction(ISD::CTLZ, MVT::v16i8, Expand); in WebAssemblyTargetLowering() 245 for (auto Op : {ISD::CTLZ, ISD::CTTZ, ISD::CTPOP}) in WebAssemblyTargetLowering() 1490 case ISD::CTLZ: in LowerOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.cpp | 129 setOperationAction(ISD::CTLZ, MVT::i64, Custom); in BPFTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | VPIntrinsics.def | 269 VP_PROPERTY_FUNCTIONAL_SDOPC(CTLZ)
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 393 setOperationAction(ISD::CTLZ, MVT::i32, in RISCVTargetLowering() 401 setOperationAction(ISD::CTLZ, XLenVT, Expand); in RISCVTargetLowering() 403 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in RISCVTargetLowering() 891 setOperationAction({ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF, in RISCVTargetLowering() 5224 if (Op.getOpcode() == ISD::CTLZ) in lowerCTLZ_CTTZ_ZERO_UNDEF() 5575 OP_CASE(CTLZ) in getRISCVVLOp() 5624 VP_CASE(CTLZ) // VP_CTLZ in getRISCVVLOp() 6592 case ISD::CTLZ: in LowerOperation() 11606 case ISD::CTLZ: in ReplaceNodeResults() 14610 CountZeroes.getOpcode() != ISD::CTLZ && in foldSelectOfCTTZOrCTLZ() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYISelLowering.cpp | 98 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in CSKYTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
H A D | LanaiISelLowering.cpp | 127 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in LanaiTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 520 ISD::BITREVERSE, ISD::CTLZ, ISD::CTPOP, ISD::CTTZ, in NVPTXTargetLowering() 677 setOperationAction(ISD::CTLZ, Ty, Legal); in NVPTXTargetLowering() 686 setI16x2OperationAction(ISD::CTLZ, MVT::v2i16, Legal, Expand); in NVPTXTargetLowering()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 267 setOperationAction(ISD::CTLZ, VT, Legal); in addMVEVectorTypes() 967 setOperationAction(ISD::CTLZ, MVT::v1i64, Expand); in ARMTargetLowering() 968 setOperationAction(ISD::CTLZ, MVT::v2i64, Expand); in ARMTargetLowering() 1202 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in ARMTargetLowering() 4131 SDValue Result = DAG.getNode(ISD::CTLZ, dl, VTy, OR); in LowerINTRINSIC_WO_CHAIN() 4148 SDValue CLSHi = DAG.getNode(ISD::CTLZ, dl, VTy, ORHi); in LowerINTRINSIC_WO_CHAIN() 4155 SDValue CLZAdjustedLo = DAG.getNode(ISD::CTLZ, dl, VTy, AdjustedLo); in LowerINTRINSIC_WO_CHAIN() 6529 SDValue CTLZ = DAG.getNode(ISD::CTLZ, dl, VT, LSB); in LowerCTTZ() local 6530 return DAG.getNode(ISD::SUB, dl, VT, WidthMinus1, CTLZ); in LowerCTTZ() 6554 return DAG.getNode(ISD::CTLZ, dl, VT, rbit); in LowerCTTZ() [all …]
|