| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPUAtomicOptimizer.cpp | 795 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Ty, false); in optimizeAtomic() 802 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Int32Ty, false); in optimizeAtomic() 824 B.CreateUnaryIntrinsic(Intrinsic::ctpop, Ballot), Ty, false); in optimizeAtomic()
|
| HD | EvergreenInstructions.td | 532 def BCNT_INT : R600_1OP_Helper <0xAA, "BCNT_INT", ctpop, VecALU>;
|
| HD | SOPInstructions.td | 265 [(set i32:$sdst, (UniformUnaryFrag<ctpop> i32:$src0))] 268 [(set i32:$sdst, (UniformUnaryFrag<ctpop> i64:$src0))] 1801 (i64 (UniformUnaryFrag<ctpop> i64:$src)),
|
| HD | SIInstructions.td | 1253 (i32 (add (i32 (DivergentUnaryFrag<ctpop> i32:$popcnt)), i32:$val)), 1259 (i32 (DivergentUnaryFrag<ctpop> i32:$popcnt)), 1264 (i16 (add (i16 (trunc (i32 (DivergentUnaryFrag<ctpop> i32:$popcnt)))), i16:$val)), 1269 (i64 (DivergentUnaryFrag<ctpop> i64:$src)),
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | ConstantRange.h | 555 ConstantRange ctpop() const;
|
| HD | VPIntrinsics.def | 259 // llvm.vp.ctpop(x,mask,vlen) 261 VP_PROPERTY_FUNCTIONAL_INTRINSIC(ctpop)
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineSimplifyDemanded.cpp | 283 match(I->getOperand(0), m_Intrinsic<Intrinsic::ctpop>(m_Value(LHS))) && in SimplifyDemandedUseBits() 284 match(I->getOperand(1), m_Intrinsic<Intrinsic::ctpop>(m_Value(RHS)))) { in SimplifyDemandedUseBits() 289 return Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, Xor); in SimplifyDemandedUseBits() 907 case Intrinsic::ctpop: { in SimplifyDemandedUseBits() 915 II->getModule(), Intrinsic::ctpop, VTy); in SimplifyDemandedUseBits()
|
| HD | InstCombineAddSub.cpp | 1782 if (match(LHS, m_OneUse(m_Intrinsic<Intrinsic::ctpop>(m_Value(A)))) && in visitAdd() 1783 match(RHS, m_OneUse(m_Intrinsic<Intrinsic::ctpop>(m_Value(B)))) && in visitAdd() 1786 I, Builder.CreateIntrinsic(Intrinsic::ctpop, {I.getType()}, in visitAdd() 1796 m_ZExt(m_ICmp(Pred, m_Intrinsic<Intrinsic::ctpop>(m_Value(A)), in visitAdd() 2630 match(Op1, m_OneUse(m_Intrinsic<Intrinsic::ctpop>(m_Value(X))))) in visitSub() 2632 I, Builder.CreateIntrinsic(Intrinsic::ctpop, {I.getType()}, in visitSub()
|
| HD | InstCombineCalls.cpp | 632 assert(II.getIntrinsicID() == Intrinsic::ctpop && in foldCtpop() 671 Value *NarrowPop = IC.Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, X); in foldCtpop() 2034 case Intrinsic::ctpop: in visitCallInst() 3404 Value *Res = Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, V); in visitCallInst() 3603 case Intrinsic::ctpop: in visitCallInst()
|
| HD | InstCombineShifts.cpp | 1349 II->getIntrinsicID() == Intrinsic::ctpop)) { in visitLShr() 1353 bool IsPop = II->getIntrinsicID() == Intrinsic::ctpop; in visitLShr()
|
| HD | InstCombineCompares.cpp | 3573 assert(CtpopLhs->getIntrinsicID() == Intrinsic::ctpop && in foldCtpopPow2Test() 3656 case Intrinsic::ctpop: { in foldICmpEqIntrinsicWithConstant() 3998 case Intrinsic::ctpop: { in foldICmpIntrinsicWithConstant() 4016 case Intrinsic::ctpop: { in foldICmpIntrinsicWithConstant() 5558 CallInst *CtPop = Builder.CreateUnaryIntrinsic(Intrinsic::ctpop, A); in foldICmpPow2Test()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| HD | RISCVTargetTransformInfo.cpp | 805 {Intrinsic::ctpop, MVT::i8, 12}, 806 {Intrinsic::ctpop, MVT::i16, 19}, 807 {Intrinsic::ctpop, MVT::i32, 20}, 808 {Intrinsic::ctpop, MVT::i64, 21}, 892 case Intrinsic::ctpop: { in getIntrinsicInstrCost()
|
| HD | RISCVInstrInfoZb.td | 586 def : PatGpr<ctpop, CPOP>; 592 def : Pat<(i64 (ctpop (i64 (zexti32 (i64 GPR:$rs1))))), (CPOPW GPR:$rs1)>; 760 def : PatGpr<ctpop, CPOPW, i32>;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | ConstantRange.cpp | 1011 case Intrinsic::ctpop: in isIntrinsicSupported() 1055 case Intrinsic::ctpop: in intrinsic() 1056 return Ops[0].ctpop(); in intrinsic() 1936 ConstantRange ConstantRange::ctpop() const { in ctpop() function in ConstantRange
|
| HD | AutoUpgrade.cpp | 706 .StartsWith("vcnt.", Intrinsic::ctpop) in upgradeArmOrAarch64IntrinsicFunction() 1227 .Case("popc.i", Intrinsic::ctpop) in upgradeIntrinsicFunction1() 4237 Intrinsic::getDeclaration(F->getParent(), Intrinsic::ctpop, in UpgradeIntrinsicCall() 4492 case Intrinsic::ctpop: in UpgradeIntrinsicCall()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| HD | WebAssemblyInstrInteger.td | 87 defm POPCNT : UnaryInt<ctpop, "popcnt", 0x69, 0x7b>;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | IntrinsicLowering.cpp | 251 case Intrinsic::ctpop: in LowerIntrinsicCall()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
| HD | SelectionDAGCompat.td | 143 def : GINodeEquiv<G_CTPOP, ctpop>;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| HD | HexagonPatternsHVX.td | 741 def: Pat<(VecI8 (ctpop HVI8:$Vs)), 744 def: Pat<(VecI16 (ctpop HVI16:$Vs)), (V6_vpopcounth HvxVR:$Vs)>; 745 def: Pat<(VecI32 (ctpop HVI32:$Vs)),
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| HD | PPCInstrAltivec.td | 1307 [(set v16i8:$VD, (ctpop v16i8:$VB))]>; 1310 [(set v8i16:$VD, (ctpop v8i16:$VB))]>; 1313 [(set v4i32:$VD, (ctpop v4i32:$VB))]>; 1316 [(set v2i64:$VD, (ctpop v2i64:$VB))]>;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | ConstantFolding.cpp | 1498 case Intrinsic::ctpop: in canConstantFoldCallTo() 2045 IntrinsicID == Intrinsic::ctpop || in ConstantFoldScalarCall1() 2453 case Intrinsic::ctpop: in ConstantFoldScalarCall1()
|
| HD | VectorUtils.cpp | 51 case Intrinsic::ctpop: in isTriviallyVectorizable()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| HD | SystemZInstrVector.td | 727 def VPOPCTB : UnaryVRRa<"vpopctb", 0xE750, ctpop, v128b, v128b, 0>; 728 def VPOPCTH : UnaryVRRa<"vpopcth", 0xE750, ctpop, v128h, v128h, 1>; 729 def VPOPCTF : UnaryVRRa<"vpopctf", 0xE750, ctpop, v128f, v128f, 2>; 730 def VPOPCTG : UnaryVRRa<"vpopctg", 0xE750, ctpop, v128g, v128g, 3>;
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| HD | AggressiveInstCombine.cpp | 338 I.getModule(), Intrinsic::ctpop, I.getType()); in tryToRecognizePopCount()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| HD | SparcInstr64Bit.td | 171 def : Pat<(i64 (ctpop i64:$src)), (POPCrr $src)>;
|