| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.h | 66 KnownBits getKnownBits(Register R); 67 KnownBits getKnownBits(Register R, const APInt &DemandedElts, 71 KnownBits getKnownBits(MachineInstr &MI); 79 return Mask.isSubsetOf(getKnownBits(Val).Zero); in maskedValueIsZero()
|
| H A D | LegalizerHelper.h | 79 GISelKnownBits *getKnownBits() const { return KB; } in getKnownBits() function
|
| H A D | CombinerHelper.h | 122 GISelKnownBits *getKnownBits() const { in getKnownBits() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 59 KnownBits GISelKnownBits::getKnownBits(MachineInstr &MI) { in getKnownBits() function in GISelKnownBits 62 return getKnownBits(MI.getOperand(0).getReg()); in getKnownBits() 65 KnownBits GISelKnownBits::getKnownBits(Register R) { in getKnownBits() function in GISelKnownBits 69 return getKnownBits(R, DemandedElts); in getKnownBits() 72 KnownBits GISelKnownBits::getKnownBits(Register R, const APInt &DemandedElts, in getKnownBits() function in GISelKnownBits 90 return getKnownBits(R).Zero; in getKnownZeroes() 93 APInt GISelKnownBits::getKnownOnes(Register R) { return getKnownBits(R).One; } in getKnownOnes() 745 KnownBits Known = getKnownBits(R, DemandedElts, Depth); in computeNumSignBits()
|
| H A D | CombinerHelper.cpp | 2394 return KB->getKnownBits(Reg).countMinLeadingZeros() >= DstSize - SrcSize; in matchCombineZextTrunc() 2529 KnownBits Known = KB->getKnownBits(SrcMI->getOperand(2).getReg()); in matchCombineTruncOfShift() 2550 KnownBits Known = KB->getKnownBits(SrcMI->getOperand(2).getReg()); in matchCombineTruncOfShift() 3169 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantAnd() 3170 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantAnd() 3209 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantOr() 3210 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantOr() 4211 auto KnownLHS = KB->getKnownBits(MI.getOperand(2).getReg()); in matchICmpToTrueFalseKnownBits() 4212 auto KnownRHS = KB->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits() 4286 auto KnownLHS = KB->getKnownBits(LHS); in matchICmpToLHSKnownBits()
|
| H A D | Utils.cpp | 1065 KnownBits Known = KB->getKnownBits(Reg); in isKnownToBeAPowerOfTwo()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | WithCache.h | 58 [[nodiscard]] const KnownBits &getKnownBits(const SimplifyQuery &Q) const { in getKnownBits() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPostLegalizerCombiner.cpp | 259 return Helper.getKnownBits()->maskedValueIsZero(SrcReg, Mask); in matchUCharToFloat() 445 if (KB->getKnownBits(Src1).countMinLeadingZeros() >= 32 && in matchCombine_s_mul_u64() 446 KB->getKnownBits(Src0).countMinLeadingZeros() >= 32) { in matchCombine_s_mul_u64()
|
| H A D | AMDGPULegalizerInfo.cpp | 3782 GISelKnownBits &KB = *Helper.getKnownBits(); in buildMultiply() 3804 Src0KnownZeros.push_back(KB.getKnownBits(Src0[i]).isZero()); in buildMultiply() 3805 Src1KnownZeros.push_back(KB.getKnownBits(Src1[i]).isZero()); in buildMultiply() 3877 if (!LocalAccum[0] || KB.getKnownBits(LocalAccum[0]).isZero()) { in buildMultiply()
|
| H A D | AMDGPUInstructionSelector.cpp | 4578 auto VKnown = KB->getKnownBits(VAddr); in checkFlatScratchSVSSwizzleBug() 4580 true, false, KB->getKnownBits(SAddr), in checkFlatScratchSVSSwizzleBug()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Combine.td | 24 [{ return matchICmpRedundantTrunc(*${root}, MRI, Helper.getKnownBits(), ${matchinfo}); }]),
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonVectorCombine.cpp | 156 KnownBits getKnownBits(const Value *V, 1625 KnownBits Known = HVC.getKnownBits(V, In); in getNumSignificantBits() 2795 KnownBits Known0 = getKnownBits(Idx0, Gep0); in calculatePointerDifference() 2796 KnownBits Known1 = getKnownBits(Idx1, Gep1); in calculatePointerDifference() 2834 auto HexagonVectorCombine::getKnownBits(const Value *V, in getKnownBits() function in HexagonVectorCombine
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 189 KnownBits Known = KB->getKnownBits(ShAmtReg); in selectShiftMask()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/ |
| H A D | Combine.td | 253 return Helper.getKnownBits()->maskedValueIsZero(${src}.getReg(),
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 250 return KnownBits::haveNoCommonBitsSet(LHSCache.getKnownBits(SQ), in haveNoCommonBitsSet() 251 RHSCache.getKnownBits(SQ)); in haveNoCommonBitsSet() 6291 ConstantRange::fromKnownBits(V.getKnownBits(SQ), ForSigned); in computeConstantRangeIncludingKnownBits()
|