Home
last modified time | relevance | path

Searched refs:getKnownBits (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/
H A DKnownBitsTest.cpp1145 Res = Info.getKnownBits(SrcReg); in TEST_F()
1152 Res = Info.getKnownBits(SrcReg); in TEST_F()
1159 Res = Info.getKnownBits(SrcReg); in TEST_F()
1645 Res = Info.getKnownBits(SrcReg); in TEST_F()
1653 Res = Info.getKnownBits(SrcReg); in TEST_F()
1661 Res = Info.getKnownBits(SrcReg); in TEST_F()
1669 Res = Info.getKnownBits(SrcReg); in TEST_F()
1706 Res = Info.getKnownBits(SrcReg); in TEST_F()
1713 Res = Info.getKnownBits(SrcReg); in TEST_F()
1720 Res = Info.getKnownBits(SrcReg); in TEST_F()
[all …]
H A DKnownBitsVectorTest.cpp37 KnownBits Res = Info.getKnownBits(SrcReg); in TEST_F()
79 KnownBits Res = Info.getKnownBits(SrcReg); in TEST_F()
83 KnownBits Res2 = Info.getKnownBits(DstReg); in TEST_F()
115 KnownBits Res = Info.getKnownBits(SrcReg); in TEST_F()
1055 Res = Info.getKnownBits(SrcReg); in TEST_F()
1062 Res = Info.getKnownBits(SrcReg); in TEST_F()
1069 Res = Info.getKnownBits(SrcReg); in TEST_F()
1501 Res = Info.getKnownBits(SrcReg); in TEST_F()
1509 Res = Info.getKnownBits(SrcReg); in TEST_F()
1517 Res = Info.getKnownBits(SrcReg); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DGISelKnownBits.h66 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 DCombinerHelper.h125 GISelKnownBits *getKnownBits() const { in getKnownBits() function
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp56 KnownBits GISelKnownBits::getKnownBits(MachineInstr &MI) { in getKnownBits() function in GISelKnownBits
59 return getKnownBits(MI.getOperand(0).getReg()); in getKnownBits()
62 KnownBits GISelKnownBits::getKnownBits(Register R) { in getKnownBits() function in GISelKnownBits
66 return getKnownBits(R, DemandedElts); in getKnownBits()
69 KnownBits GISelKnownBits::getKnownBits(Register R, const APInt &DemandedElts, in getKnownBits() function in GISelKnownBits
87 return getKnownBits(R).Zero; in getKnownZeroes()
90 APInt GISelKnownBits::getKnownOnes(Register R) { return getKnownBits(R).One; } in getKnownOnes()
730 KnownBits Known = getKnownBits(R, DemandedElts, Depth); in computeNumSignBits()
H A DCombinerHelper.cpp2129 return KB->getKnownBits(Reg).countMinLeadingZeros() >= DstSize - SrcSize; in matchCombineZextTrunc()
2277 KnownBits Known = KB->getKnownBits(ShiftAmt); in matchCombineTruncOfShl()
2823 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantAnd()
2824 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantAnd()
2869 KnownBits LHSBits = KB->getKnownBits(LHS); in matchRedundantOr()
2870 KnownBits RHSBits = KB->getKnownBits(RHS); in matchRedundantOr()
4147 auto KnownLHS = KB->getKnownBits(MI.getOperand(2).getReg()); in matchICmpToTrueFalseKnownBits()
4148 auto KnownRHS = KB->getKnownBits(MI.getOperand(3).getReg()); in matchICmpToTrueFalseKnownBits()
4222 auto KnownLHS = KB->getKnownBits(LHS); in matchICmpToLHSKnownBits()
H A DUtils.cpp874 KnownBits Known = KB->getKnownBits(Reg); in isKnownToBeAPowerOfTwo()
/llvm-project-15.0.7/llvm/docs/GlobalISel/
H A DKnownBits.rst92 KnownBits Known = KB->getKnownBits(MI->getOperand(0).getReg());
99 There are many more API's beyond ``getKnownBits()``. See the `API reference
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64Combine.td24 [{ return matchICmpRedundantTrunc(*${root}, MRI, Helper.getKnownBits(), ${matchinfo}); }]),
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp180 return Helper.getKnownBits()->maskedValueIsZero(SrcReg, Mask); in matchUCharToFloat()
H A DAMDGPUInstructionSelector.cpp4191 auto VKnown = KnownBits->getKnownBits(VAddr); in checkFlatScratchSVSSwizzleBug()
4193 true, false, KnownBits->getKnownBits(SAddr), in checkFlatScratchSVSSwizzleBug()