| /freebsd-12.1/contrib/llvm/include/llvm/Target/GlobalISel/ |
| H A D | SelectionDAGCompat.td | 86 def : GINodeEquiv<G_CTLZ, ctlz>;
|
| /freebsd-12.1/contrib/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPatternsHVX.td | 405 def: Pat<(VecI8 (ctlz HVI8:$Vs)), 409 def: Pat<(VecI16 (ctlz HVI16:$Vs)), (V6_vcl0h HvxVR:$Vs)>; 410 def: Pat<(VecI32 (ctlz HVI32:$Vs)), (V6_vcl0w HvxVR:$Vs)>;
|
| H A D | HexagonBitSimplify.cpp | 2195 auto ctlz = [] (const BitTracker::RegisterCell &C) -> unsigned { in genBitSplit() local 2203 unsigned Z = ctlz(RC); in genBitSplit() 2237 if (SC.width() != W || ctlz(SC) != W-Z) in genBitSplit()
|
| H A D | HexagonPatterns.td | 1643 def: Pat<(ctlz I32:$Rs), (S2_cl0 I32:$Rs)>; 1644 def: Pat<(i32 (trunc (ctlz I64:$Rss))), (S2_cl0p I64:$Rss)>; 1651 def: Pat<(ctlz (not I32:$Rs)), (S2_cl1 I32:$Rs)>; 1652 def: Pat<(i32 (trunc (ctlz (not I64:$Rss)))), (S2_cl1p I64:$Rss)>; 1659 def: Pat<(i64 (ctlz I64:$Rss)), (ToZext64 (S2_cl0p I64:$Rss))>; 1661 def: Pat<(i64 (ctlz (not I64:$Rss))), (ToZext64 (S2_cl1p I64:$Rss))>;
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | VectorUtils.cpp | 48 case Intrinsic::ctlz: in isTriviallyVectorizable() 92 case Intrinsic::ctlz: in hasVectorInstrinsicScalarOpd()
|
| H A D | DemandedBits.cpp | 131 case Intrinsic::ctlz: in determineLiveOperandBits()
|
| H A D | ConstantFolding.cpp | 1396 case Intrinsic::ctlz: in canConstantFoldCallTo() 2086 case Intrinsic::ctlz: in ConstantFoldScalarCall() 2268 (IntrinsicID == Intrinsic::cttz || IntrinsicID == Intrinsic::ctlz || in ConstantFoldVectorCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrInteger.td | 86 defm CLZ : UnaryInt<ctlz, "clz ", 0x67, 0x79>;
|
| /freebsd-12.1/contrib/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 2899 def : Pat<(ctlz Int32Regs:$a), (CLZr32 Int32Regs:$a)>; 2901 // The return type of the ctlz ISD node is the same as its input, but the PTX 2902 // ctz instruction always returns a 32-bit value. For ctlz.i64, convert the 2905 def : Pat<(ctlz Int64Regs:$a), (CVT_u64_u32 (CLZr64 Int64Regs:$a), CvtNONE)>; 2906 def : Pat<(i32 (trunc (ctlz Int64Regs:$a))), (CLZr64 Int64Regs:$a)>; 2908 // For 16-bit ctlz, we zero-extend to 32-bit, perform the count, then trunc the 2916 // ctlz.b32 $result, $tmp 2919 // and then ctlz that value. This way we don't have to subtract 16 from the 2922 def : Pat<(ctlz Int16Regs:$a), 2925 def : Pat<(i32 (zext (ctlz Int16Regs:$a))), [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 183 Function *CTLZ = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in generateUnsignedDivisionCode()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | IntrinsicLowering.cpp | 396 case Intrinsic::ctlz: in LowerIntrinsicCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrAltivec.td | 1170 [(set v16i8:$vD, (ctlz v16i8:$vB))]>; 1173 [(set v8i16:$vD, (ctlz v8i16:$vB))]>; 1176 [(set v4i32:$vD, (ctlz v4i32:$vB))]>; 1179 [(set v2i64:$vD, (ctlz v2i64:$vB))]>;
|
| /freebsd-12.1/contrib/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrVector.td | 441 def VCLZB : UnaryVRRa<"vclzb", 0xE753, ctlz, v128b, v128b, 0>; 442 def VCLZH : UnaryVRRa<"vclzh", 0xE753, ctlz, v128h, v128h, 1>; 443 def VCLZF : UnaryVRRa<"vclzf", 0xE753, ctlz, v128f, v128f, 2>; 444 def VCLZG : UnaryVRRa<"vclzg", 0xE753, ctlz, v128g, v128g, 3>;
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | AutoUpgrade.cpp | 558 NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicFunction1() 702 .Case("clz.i", Intrinsic::ctlz) in UpgradeIntrinsicFunction1() 2639 Intrinsic::ctlz, in UpgradeIntrinsicCall() 3297 Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctlz, in UpgradeIntrinsicCall() 3363 case Intrinsic::ctlz: in UpgradeIntrinsicCall()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Mips/ |
| H A D | Mips32r6InstrInfo.td | 798 list<dag> Pattern = [(set GPROpnd:$rd, (ctlz (not GPROpnd:$rs)))]; 804 list<dag> Pattern = [(set GPROpnd:$rd, (ctlz GPROpnd:$rs))];
|
| H A D | MipsMSAInstrInfo.td | 2484 class NLZC_B_DESC : MSA_2R_DESC_BASE<"nlzc.b", ctlz, MSA128BOpnd>; 2485 class NLZC_H_DESC : MSA_2R_DESC_BASE<"nlzc.h", ctlz, MSA128HOpnd>; 2486 class NLZC_W_DESC : MSA_2R_DESC_BASE<"nlzc.w", ctlz, MSA128WOpnd>; 2487 class NLZC_D_DESC : MSA_2R_DESC_BASE<"nlzc.d", ctlz, MSA128DOpnd>;
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 714 (II->getIntrinsicID() == Intrinsic::ctlz || in visitLShr()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Target/ |
| H A D | TargetSelectionDAG.td | 141 def SDTIntUnaryOp : SDTypeProfile<1, 1, [ // ctlz, cttz 397 def ctlz : SDNode<"ISD::CTLZ" , SDTIntUnaryOp>;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 887 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitMSVCBuiltinExpr() 1766 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitBuiltinExpr() 1803 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitBuiltinExpr() 1857 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, ArgType); in EmitBuiltinExpr() 4276 NEONMAP1(vclz_v, ctlz, Add1ArgType), 4277 NEONMAP1(vclzq_v, ctlz, Add1ArgType), 4549 NEONMAP1(vclz_v, ctlz, Add1ArgType), 4550 NEONMAP1(vclzq_v, ctlz, Add1ArgType), 9753 Value *F = CGM.getIntrinsic(Intrinsic::ctlz, Ops[0]->getType()); in EmitX86BuiltinExpr() 11708 Function *F = CGM.getIntrinsic(Intrinsic::ctlz, ResultType); in EmitPPCBuiltinExpr() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.td | 2297 [(set GR16:$dst, (ctlz GR16:$src)), (implicit EFLAGS)]>, 2301 [(set GR16:$dst, (ctlz (loadi16 addr:$src))), 2306 [(set GR32:$dst, (ctlz GR32:$src)), (implicit EFLAGS)]>, 2310 [(set GR32:$dst, (ctlz (loadi32 addr:$src))), 2315 [(set GR64:$dst, (ctlz GR64:$src)), (implicit EFLAGS)]>, 2319 [(set GR64:$dst, (ctlz (loadi64 addr:$src))),
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 308 if (IID == Intrinsic::ctlz) { in getIntrinsicCost()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopIdiomRecognize.cpp | 1340 Intrinsic::ctlz; in detectShiftUntilZeroIdiom()
|
| /freebsd-12.1/contrib/llvm/lib/Target/Lanai/ |
| H A D | LanaiInstrInfo.td | 820 "leadz\t$Rs1, $Rd", [(set GPR:$Rd, (ctlz GPR:$Rs1))]>;
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 356 // v_ffbh_i32, as opposed to v_ffbh_u32. For v_ffbh_u32, llvm.ctlz
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1027 case Intrinsic::ctlz: { in translateKnownIntrinsic()
|