Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1896 { ISD::CTLZ, MVT::v8i64, 1 }, in getIntrinsicInstrCost()
1897 { ISD::CTLZ, MVT::v16i32, 1 }, in getIntrinsicInstrCost()
1898 { ISD::CTLZ, MVT::v32i16, 8 }, in getIntrinsicInstrCost()
1899 { ISD::CTLZ, MVT::v64i8, 20 }, in getIntrinsicInstrCost()
1900 { ISD::CTLZ, MVT::v4i64, 1 }, in getIntrinsicInstrCost()
1901 { ISD::CTLZ, MVT::v8i32, 1 }, in getIntrinsicInstrCost()
1902 { ISD::CTLZ, MVT::v16i16, 4 }, in getIntrinsicInstrCost()
1903 { ISD::CTLZ, MVT::v32i8, 10 }, in getIntrinsicInstrCost()
1904 { ISD::CTLZ, MVT::v2i64, 1 }, in getIntrinsicInstrCost()
1905 { ISD::CTLZ, MVT::v4i32, 1 }, in getIntrinsicInstrCost()
[all …]
DX86ISelLowering.cpp347 setOperationPromotedToType(ISD::CTLZ , MVT::i8 , MVT::i32); in X86TargetLowering()
350 setOperationAction(ISD::CTLZ , MVT::i8 , Custom); in X86TargetLowering()
351 setOperationAction(ISD::CTLZ , MVT::i16 , Custom); in X86TargetLowering()
352 setOperationAction(ISD::CTLZ , MVT::i32 , Custom); in X86TargetLowering()
357 setOperationAction(ISD::CTLZ , MVT::i64 , Custom); in X86TargetLowering()
796 setOperationAction(ISD::CTLZ, VT, Expand); in X86TargetLowering()
1057 setOperationAction(ISD::CTLZ, MVT::v16i8, Custom); in X86TargetLowering()
1058 setOperationAction(ISD::CTLZ, MVT::v8i16, Custom); in X86TargetLowering()
1059 setOperationAction(ISD::CTLZ, MVT::v4i32, Custom); in X86TargetLowering()
1060 setOperationAction(ISD::CTLZ, MVT::v2i64, Custom); in X86TargetLowering()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp182 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode() local
254 Value *Tmp0 = Builder.CreateCall(CTLZ, {Divisor, True}); in generateUnsignedDivisionCode()
255 Value *Tmp1 = Builder.CreateCall(CTLZ, {Dividend, True}); in generateUnsignedDivisionCode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h474 BSWAP, CTTZ, CTLZ, CTPOP, BITREVERSE, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLoweringHVX.cpp82 setOperationAction(ISD::CTLZ, T, Legal); in initializeHVXLowering()
144 setOperationAction(ISD::CTLZ, T, Custom); in initializeHVXLowering()
1270 {VecW, DAG.getNode(ISD::CTLZ, dl, ResTy, A)}); in LowerHvxCttz()
1540 case ISD::CTLZ: in LowerHvxOperation()
DHexagonISelLowering.cpp1406 setOperationAction(ISD::CTLZ, MVT::i8, Promote); in HexagonTargetLowering()
1407 setOperationAction(ISD::CTLZ, MVT::i16, Promote); in HexagonTargetLowering()
1479 ISD::CTPOP, ISD::CTLZ, ISD::CTTZ, in HexagonTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorOps.cpp395 case ISD::CTLZ: in LegalizeOp()
899 case ISD::CTLZ: in Expand()
DSelectionDAGDumper.cpp398 case ISD::CTLZ: return "ctlz"; in getOperationName()
DTargetLowering.cpp3156 N0.getOperand(0).getOpcode() == ISD::CTLZ && in SimplifySetCC()
6441 isOperationLegalOrCustom(ISD::CTLZ, VT)) { in expandCTLZ()
6442 Result = DAG.getNode(ISD::CTLZ, dl, VT, Op); in expandCTLZ()
6450 SDValue CTLZ = DAG.getNode(ISD::CTLZ_ZERO_UNDEF, dl, VT, Op); in expandCTLZ() local
6454 DAG.getConstant(NumBitsPerElt, dl, VT), CTLZ); in expandCTLZ()
6513 !isOperationLegalOrCustom(ISD::CTLZ, VT)) || in expandCTTZ()
6528 if (isOperationLegal(ISD::CTLZ, VT) && !isOperationLegal(ISD::CTPOP, VT)) { in expandCTTZ()
6531 DAG.getNode(ISD::CTLZ, dl, VT, Tmp)); in expandCTTZ()
7083 SDValue Clz = DAG.getNode(ISD::CTLZ, dl, VT, Zext); in lowerCmpEqZeroToCtlzSrl()
DLegalizeVectorTypes.cpp75 case ISD::CTLZ: in ScalarizeVectorResult()
868 case ISD::CTLZ: in SplitVectorResult()
1966 case ISD::CTLZ: in SplitVectorOperand()
2839 case ISD::CTLZ: in WidenVectorResult()
DLegalizeDAG.cpp2730 case ISD::CTLZ: in ExpandNode()
4240 case ISD::CTLZ: in PromoteNode()
4257 if (Node->getOpcode() == ISD::CTLZ || in PromoteNode()
DLegalizeIntegerTypes.cpp64 case ISD::CTLZ: Res = PromoteIntRes_CTLZ(N); break; in PromoteIntegerResult()
1810 case ISD::CTLZ: ExpandIntRes_CTLZ(N, Lo, Hi); break; in ExpandIntegerResult()
DDAGCombiner.cpp1549 case ISD::CTLZ: return visitCTLZ(N); in visit()
8028 if (N1C && N0.getOpcode() == ISD::CTLZ && in visitSRL()
8240 return DAG.getNode(ISD::CTLZ, SDLoc(N), VT, N0); in visitCTLZ()
20495 if ((Count.getOpcode() == ISD::CTLZ || in SimplifySelectCC()
20498 (!LegalOperations || TLI.isOperationLegal(ISD::CTLZ, VT))) in SimplifySelectCC()
20499 return DAG.getNode(ISD::CTLZ, DL, VT, N0); in SimplifySelectCC()
20582 SDValue Ctlz = DAG.getNode(ISD::CTLZ, DL, VT, V); in BuildLogBase2()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp113 setOperationAction(ISD::CTLZ, MVT::i64, Custom); in BPFTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp107 setOperationAction(ISD::CTLZ, MVT::i8, Expand); in MSP430TargetLowering()
108 setOperationAction(ISD::CTLZ, MVT::i16, Expand); in MSP430TargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp323 setOperationAction(ISD::CTLZ, VT, Expand); in AMDGPUTargetLowering()
353 setOperationAction(ISD::CTLZ, MVT::i64, Custom); in AMDGPUTargetLowering()
393 setOperationAction(ISD::CTLZ, VT, Expand); in AMDGPUTargetLowering()
1155 case ISD::CTLZ: in LowerOperation()
2315 return Opc == ISD::CTLZ || Opc == ISD::CTLZ_ZERO_UNDEF; in isCtlzOpc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp273 setOperationAction(ISD::CTLZ, VT, Legal); in addMVEVectorTypes()
885 setOperationAction(ISD::CTLZ, MVT::v1i64, Expand); in ARMTargetLowering()
886 setOperationAction(ISD::CTLZ, MVT::v2i64, Expand); in ARMTargetLowering()
1101 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in ARMTargetLowering()
3679 SDValue Result = DAG.getNode(ISD::CTLZ, dl, VTy, OR); in LowerINTRINSIC_WO_CHAIN()
3699 SDValue CLSHi = DAG.getNode(ISD::CTLZ, dl, VTy, ORHi); in LowerINTRINSIC_WO_CHAIN()
3706 SDValue CLZAdjustedLo = DAG.getNode(ISD::CTLZ, dl, VTy, AdjustedLo); in LowerINTRINSIC_WO_CHAIN()
5973 SDValue CTLZ = DAG.getNode(ISD::CTLZ, dl, VT, LSB); in LowerCTTZ() local
5974 return DAG.getNode(ISD::SUB, dl, VT, WidthMinus1, CTLZ); in LowerCTTZ()
5998 return DAG.getNode(ISD::CTLZ, dl, VT, rbit); in LowerCTTZ()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp127 setOperationAction(ISD::CTLZ, MVT::i32, Legal); in LanaiTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp176 for (auto Op : {ISD::CTLZ, ISD::CTTZ, ISD::CTPOP, ISD::SDIV, ISD::UDIV, in WebAssemblyTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRISelLowering.cpp181 setOperationAction(ISD::CTLZ, VT, Expand); in AVRTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1568 setOperationAction(ISD::CTLZ , MVT::i64, Expand); in SparcTargetLowering()
1632 setOperationAction(ISD::CTLZ , MVT::i32, Expand); in SparcTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp335 setOperationAction(ISD::CTLZ, Ty, Legal); in addMSAIntType()
2085 return DAG.getNode(ISD::CTLZ, DL, Op->getValueType(0), Op->getOperand(1)); in lowerINTRINSIC_WO_CHAIN()
DMipsISelLowering.cpp480 setOperationAction(ISD::CTLZ, MVT::i32, Expand); in MipsTargetLowering()
482 setOperationAction(ISD::CTLZ, MVT::i64, Expand); in MipsTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp271 setOperationAction(ISD::CTLZ, MVT::i32, Promote); in SystemZTargetLowering()
273 setOperationAction(ISD::CTLZ, MVT::i64, Legal); in SystemZTargetLowering()
367 setOperationAction(ISD::CTLZ, VT, Legal); in SystemZTargetLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetSelectionDAG.td413 def ctlz : SDNode<"ISD::CTLZ" , SDTIntBitCountUnaryOp>;

12