Home
last modified time | relevance | path

Searched refs:CTLZ (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp3368 { ISD::CTLZ, MVT::v8i64, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
3369 { ISD::CTLZ, MVT::v16i32, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
3370 { ISD::CTLZ, MVT::v32i16, { 18, 27, 23, 27 } }, in getIntrinsicInstrCost()
3371 { ISD::CTLZ, MVT::v64i8, { 3, 16, 9, 11 } }, in getIntrinsicInstrCost()
3372 { ISD::CTLZ, MVT::v4i64, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
3373 { ISD::CTLZ, MVT::v8i32, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
3374 { ISD::CTLZ, MVT::v16i16, { 8, 19, 11, 13 } }, in getIntrinsicInstrCost()
3375 { ISD::CTLZ, MVT::v32i8, { 2, 11, 9, 10 } }, in getIntrinsicInstrCost()
3376 { ISD::CTLZ, MVT::v2i64, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
3377 { ISD::CTLZ, MVT::v4i32, { 1, 5, 1, 1 } }, in getIntrinsicInstrCost()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp160 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()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARC/
DARCExpandPseudos.cpp146 case ARC::CTLZ: in runOnMachineFunction()
DARCISelLowering.cpp171 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in ARCTargetLowering()
DARCInstrInfo.td138 def CTLZ : PseudoInstARC<(outs GPR32:$A),
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DISDOpcodes.h702 CTLZ, enumerator
DBasicTTIImpl.h2096 ISD = ISD::CTLZ; in getTypeBasedIntrinsicInstrCost()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DExpandLargeFpConvert.cpp354 Function *CTLZ = in expandIToFP() local
369 Value *Call = Builder.CreateCall(CTLZ, {IsSigned ? Sub : IntVal, True}); in expandIToFP()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp667 if (unsigned CTLZ = DemandedMask.countLeadingZeros()) { in SimplifyDemandedUseBits() local
668 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedUseBits()
/openbsd/src/gnu/llvm/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp106 setOperationAction(ISD::CTLZ, MVT::i8, Expand); in MSP430TargetLowering()
107 setOperationAction(ISD::CTLZ, MVT::i16, Expand); in MSP430TargetLowering()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp345 case ISD::CTLZ: in LegalizeOp()
809 case ISD::CTLZ: in Expand()
DSelectionDAGDumper.cpp440 case ISD::CTLZ: return "ctlz"; in getOperationName()
DTargetLowering.cpp1789 if (unsigned CTLZ = DemandedBits.countLeadingZeros()) { in SimplifyDemandedBits() local
1790 APInt DemandedFromOp(APInt::getLowBitsSet(BitWidth, BitWidth - CTLZ)); in SimplifyDemandedBits()
4274 N0.getOperand(0).getOpcode() == ISD::CTLZ && in SimplifySetCC()
8370 isOperationLegalOrCustom(ISD::CTLZ, VT)) in expandCTLZ()
8371 return DAG.getNode(ISD::CTLZ, dl, VT, Op); in expandCTLZ()
8377 SDValue CTLZ = DAG.getNode(ISD::CTLZ_ZERO_UNDEF, dl, VT, Op); in expandCTLZ() local
8381 DAG.getConstant(NumBitsPerElt, dl, VT), CTLZ); in expandCTLZ()
8508 !isOperationLegalOrCustom(ISD::CTLZ, VT) && in expandCTTZ()
8517 !isOperationLegal(ISD::CTLZ, VT)) in expandCTTZ()
8530 if (isOperationLegal(ISD::CTLZ, VT) && !isOperationLegal(ISD::CTPOP, VT)) { in expandCTTZ()
[all …]
DLegalizeIntegerTypes.cpp67 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult()
567 !TLI.isOperationLegalOrCustomOrPromote(ISD::CTLZ, NVT) && in PromoteIntRes_CTLZ()
621 !TLI.isOperationLegal(ISD::CTLZ, NVT)) { in PromoteIntRes_CTTZ()
2427 case ISD::CTLZ: ExpandIntRes_CTLZ(N, Lo, Hi); break; in ExpandIntegerResult()
DLegalizeDAG.cpp2703 case ISD::CTLZ: in ExpandNode()
4505 case ISD::CTLZ: in PromoteNode()
4527 if (Node->getOpcode() == ISD::CTLZ || in PromoteNode()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp203 setOperationAction(ISD::CTLZ, T, Legal); in initializeHVXLowering()
292 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()
3162 case ISD::CTLZ: in LowerHvxOperation()
DHexagonISelLowering.cpp1558 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()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp234 setOperationAction(ISD::CTLZ, MVT::v16i8, Expand); in WebAssemblyTargetLowering()
238 for (auto Op : {ISD::CTLZ, ISD::CTTZ, ISD::CTPOP}) in WebAssemblyTargetLowering()
1444 case ISD::CTLZ: in LowerOperation()
/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBPFISelLowering.cpp129 setOperationAction(ISD::CTLZ, MVT::i64, Custom); in BPFTargetLowering()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp392 setOperationAction({ISD::BSWAP, ISD::CTTZ, ISD::CTLZ}, VT, Expand); in AMDGPUTargetLowering()
417 {ISD::CTTZ, ISD::CTTZ_ZERO_UNDEF, ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF}, in AMDGPUTargetLowering()
436 ISD::CTTZ, ISD::CTLZ, ISD::VECTOR_SHUFFLE, in AMDGPUTargetLowering()
1275 case ISD::CTLZ: in LowerOperation()
2356 return Opc == ISD::CTLZ || Opc == ISD::CTLZ_ZERO_UNDEF; in isCtlzOpc()
2497 ShAmt = DAG.getNode(ISD::CTLZ, SL, MVT::i32, Hi); in LowerINT_TO_FP32()
/openbsd/src/gnu/llvm/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp127 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in LanaiTargetLowering()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp300 {ISD::CTTZ, ISD::CTTZ_ZERO_UNDEF, ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF}, in RISCVTargetLowering()
303 setOperationAction({ISD::CTTZ, ISD::CTLZ, ISD::CTPOP}, XLenVT, Expand); in RISCVTargetLowering()
612 setOperationAction({ISD::CTTZ, ISD::CTLZ, ISD::CTPOP}, VT, Expand); in RISCVTargetLowering()
685 {ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF, ISD::CTTZ_ZERO_UNDEF}, VT, in RISCVTargetLowering()
917 {ISD::CTLZ, ISD::CTLZ_ZERO_UNDEF, ISD::CTTZ_ZERO_UNDEF}, VT, in RISCVTargetLowering()
3615 if (Op.getOpcode() == ISD::CTLZ) in lowerCTLZ_CTTZ_ZERO_UNDEF()
4236 case ISD::CTLZ: in LowerOperation()
7842 case ISD::CTLZ: in ReplaceNodeResults()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMISelLowering.cpp267 setOperationAction(ISD::CTLZ, VT, Legal); in addMVEVectorTypes()
963 setOperationAction(ISD::CTLZ, MVT::v1i64, Expand); in ARMTargetLowering()
964 setOperationAction(ISD::CTLZ, MVT::v2i64, Expand); in ARMTargetLowering()
1189 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in ARMTargetLowering()
4107 SDValue Result = DAG.getNode(ISD::CTLZ, dl, VTy, OR); in LowerINTRINSIC_WO_CHAIN()
4127 SDValue CLSHi = DAG.getNode(ISD::CTLZ, dl, VTy, ORHi); in LowerINTRINSIC_WO_CHAIN()
4134 SDValue CLZAdjustedLo = DAG.getNode(ISD::CTLZ, dl, VTy, AdjustedLo); in LowerINTRINSIC_WO_CHAIN()
6468 SDValue CTLZ = DAG.getNode(ISD::CTLZ, dl, VT, LSB); in LowerCTTZ() local
6469 return DAG.getNode(ISD::SUB, dl, VT, WidthMinus1, CTLZ); in LowerCTTZ()
6493 return DAG.getNode(ISD::CTLZ, dl, VT, rbit); in LowerCTTZ()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp328 setOperationAction(ISD::CTLZ, Ty, Legal); in addMSAIntType()
2076 return DAG.getNode(ISD::CTLZ, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
/openbsd/src/gnu/llvm/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1713 setOperationAction(ISD::CTLZ , MVT::i64, Expand); in SparcTargetLowering()
1780 setOperationAction(ISD::CTLZ , MVT::i32, Expand); in SparcTargetLowering()

12