/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
D | test_bitmanip_intrin.ll | 5 ; can be two, as is the case for ctlz and cttz. 7 declare i32 @llvm.ctlz.i32(i32, i1) 8 declare i64 @llvm.ctlz.i64(i64, i1) 17 %x = call i32 @llvm.ctlz.i32(i32 %a, i1 0) 22 %x = call i64 @llvm.ctlz.i64(i64 %a, i1 0)
|
D | test_bitmanip.def | 23 X(ctlz) \ 39 FOR_ALL_BMI_TYPES_INST(X, ctlz) \
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/ |
D | IntrinsicEnums.inc | 47 ctlz, // llvm.ctlz
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonPatternsHVX.td | 409 def: Pat<(VecI8 (ctlz HVI8:$Vs)), 413 def: Pat<(VecI16 (ctlz HVI16:$Vs)), (V6_vcl0h HvxVR:$Vs)>; 414 def: Pat<(VecI32 (ctlz HVI32:$Vs)), (V6_vcl0w HvxVR:$Vs)>;
|
D | HexagonBitSimplify.cpp | 2192 auto ctlz = [] (const BitTracker::RegisterCell &C) -> unsigned { in genBitSplit() local 2200 unsigned Z = ctlz(RC); in genBitSplit() 2234 if (SC.width() != W || ctlz(SC) != W-Z) in genBitSplit()
|
D | HexagonPatterns.td | 1688 def: Pat<(i32 (ctlz I32:$Rs)), (S2_cl0 I32:$Rs)>; 1689 def: Pat<(i32 (trunc (ctlz I64:$Rss))), (S2_cl0p I64:$Rss)>; 1696 def: Pat<(i32 (ctlz (not I32:$Rs))), (S2_cl1 I32:$Rs)>; 1697 def: Pat<(i32 (trunc (ctlz (not I64:$Rss)))), (S2_cl1p I64:$Rss)>; 1704 def: Pat<(i64 (ctlz I64:$Rss)), (ToZext64 (S2_cl0p I64:$Rss))>; 1706 def: Pat<(i64 (ctlz (not I64:$Rss))), (ToZext64 (S2_cl1p I64:$Rss))>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DemandedBits.cpp | 131 case Intrinsic::ctlz: in determineLiveOperandBits()
|
D | VectorUtils.cpp | 49 case Intrinsic::ctlz: in isTriviallyVectorizable() 96 case Intrinsic::ctlz: in hasVectorInstrinsicScalarOpd()
|
D | ConstantFolding.cpp | 1428 case Intrinsic::ctlz: in canConstantFoldCallTo() 2206 case Intrinsic::ctlz: in ConstantFoldScalarCall2()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/GlobalISel/ |
D | SelectionDAGCompat.td | 96 def : GINodeEquiv<G_CTLZ, ctlz>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyInstrInteger.td | 85 defm CLZ : UnaryInt<ctlz, "clz ", 0x67, 0x79>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 257 case Intrinsic::ctlz: in LowerIntrinsicCall()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
D | NVPTXInstrInfo.td | 2910 def : Pat<(ctlz Int32Regs:$a), (CLZr32 Int32Regs:$a)>; 2912 // The return type of the ctlz ISD node is the same as its input, but the PTX 2913 // ctz instruction always returns a 32-bit value. For ctlz.i64, convert the 2916 def : Pat<(i64 (ctlz Int64Regs:$a)), (CVT_u64_u32 (CLZr64 Int64Regs:$a), CvtNONE)>; 2917 def : Pat<(i32 (trunc (ctlz Int64Regs:$a))), (CLZr64 Int64Regs:$a)>; 2919 // For 16-bit ctlz, we zero-extend to 32-bit, perform the count, then trunc the 2927 // ctlz.b32 $result, $tmp 2930 // and then ctlz that value. This way we don't have to subtract 16 from the 2933 def : Pat<(i16 (ctlz Int16Regs:$a)), 2936 def : Pat<(i32 (zext (i16 (ctlz Int16Regs:$a)))), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 182 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AutoUpgrade.cpp | 601 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicFunction1() 765 .Case("clz.i", Intrinsic::ctlz) in UpgradeIntrinsicFunction1() 2833 Intrinsic::ctlz, in UpgradeIntrinsicCall() 3478 Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicCall() 3565 case Intrinsic::ctlz: in UpgradeIntrinsicCall()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 4455 auto ctlz = Ice::InstIntrinsic::create(::function, 1, result, intrinsic); in Ctlz() local 4456 ctlz->addArg(x.value()); in Ctlz() 4457 ::basicBlock->appendInst(ctlz); in Ctlz() 4495 auto ctlz = Ice::InstIntrinsic::create(::function, 1, result, intrinsic); in Cttz() local 4496 ctlz->addArg(x.value()); in Cttz() 4497 ::basicBlock->appendInst(ctlz); in Cttz()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZInstrVector.td | 515 def VCLZB : UnaryVRRa<"vclzb", 0xE753, ctlz, v128b, v128b, 0>; 516 def VCLZH : UnaryVRRa<"vclzh", 0xE753, ctlz, v128h, v128h, 1>; 517 def VCLZF : UnaryVRRa<"vclzf", 0xE753, ctlz, v128f, v128f, 2>; 518 def VCLZG : UnaryVRRa<"vclzg", 0xE753, ctlz, v128g, v128g, 3>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCInstrAltivec.td | 1228 [(set v16i8:$vD, (ctlz v16i8:$vB))]>; 1231 [(set v8i16:$vD, (ctlz v8i16:$vB))]>; 1234 [(set v4i32:$vD, (ctlz v4i32:$vB))]>; 1237 [(set v2i64:$vD, (ctlz v2i64:$vB))]>;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | Mips32r6InstrInfo.td | 795 list<dag> Pattern = [(set GPROpnd:$rd, (ctlz (not GPROpnd:$rs)))]; 801 list<dag> Pattern = [(set GPROpnd:$rd, (ctlz GPROpnd:$rs))];
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrInfo.td | 2359 [(set GR16:$dst, (ctlz GR16:$src)), (implicit EFLAGS)]>, 2363 [(set GR16:$dst, (ctlz (loadi16 addr:$src))), 2368 [(set GR32:$dst, (ctlz GR32:$src)), (implicit EFLAGS)]>, 2372 [(set GR32:$dst, (ctlz (loadi32 addr:$src))), 2377 [(set GR64:$dst, (ctlz GR64:$src)), (implicit EFLAGS)]>, 2381 [(set GR64:$dst, (ctlz (loadi64 addr:$src))),
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 1066 (II->getIntrinsicID() == Intrinsic::ctlz || in visitLShr()
|
D | InstCombineSelect.cpp | 825 if (!match(TrueVal, m_Intrinsic<Intrinsic::ctlz>())) in foldSelectCtlzToCttz() 874 !match(Count, m_Intrinsic<Intrinsic::ctlz>(m_Specific(CmpLHS)))) in foldSelectCttzCtlz()
|
D | InstCombineCalls.cpp | 1190 II.getIntrinsicID() == Intrinsic::ctlz) && in foldCttzCtlz() 1198 Intrinsic::ID ID = IsTZ ? Intrinsic::ctlz : Intrinsic::cttz; in foldCttzCtlz() 1940 case Intrinsic::ctlz: in visitCallInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 1383 Intrinsic::ctlz; in detectShiftUntilZeroIdiom()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
D | TargetSelectionDAG.td | 143 def SDTIntBitCountUnaryOp : SDTypeProfile<1, 1, [ // ctlz, cttz 413 def ctlz : SDNode<"ISD::CTLZ" , SDTIntBitCountUnaryOp>;
|