Searched refs:KnownLHS (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 899 const KnownBits &KnownLHS, const KnownBits &KnownRHS, in getKnownBitsFromAndXorOr() argument 901 unsigned BitWidth = KnownLHS.getBitWidth(); in getKnownBitsFromAndXorOr() 904 bool HasKnownOne = !KnownLHS.One.isZero() || !KnownRHS.One.isZero(); in getKnownBitsFromAndXorOr() 909 KnownOut = KnownLHS & KnownRHS; in getKnownBitsFromAndXorOr() 918 if (KnownLHS.countMaxTrailingZeros() <= KnownRHS.countMaxTrailingZeros()) in getKnownBitsFromAndXorOr() 919 KnownOut = KnownLHS.blsi(); in getKnownBitsFromAndXorOr() 925 KnownOut = KnownLHS | KnownRHS; in getKnownBitsFromAndXorOr() 928 KnownOut = KnownLHS ^ KnownRHS; in getKnownBitsFromAndXorOr() 938 const KnownBits &XBits = I->getOperand(0) == X ? KnownLHS : KnownRHS; in getKnownBitsFromAndXorOr() 996 const KnownBits &KnownLHS, in analyzeKnownBitsFromAndXorOr() argument [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 317 KnownBits KnownLHS = computeKnownBits(I->getOperand(0)); in getBestTruncatedType() local 319 std::max(MinBitWidth, KnownLHS.getMaxValue().getActiveBits()); in getBestTruncatedType()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 2037 KnownFPClass KnownLHS, KnownRHS; in SimplifyDemandedUseFPClass() local 2039 SimplifyDemandedFPClass(I, 1, DemandedMask, KnownLHS, Depth + 1)) in SimplifyDemandedUseFPClass() 2042 if (KnownLHS.isKnownNever(DemandedMask)) in SimplifyDemandedUseFPClass() 2048 Known = KnownLHS | KnownRHS; in SimplifyDemandedUseFPClass()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 4371 auto KnownLHS = KB->getKnownBits(MI.getOperand(2).getReg()); in matchICmpToTrueFalseKnownBits() local 4376 KnownVal = KnownBits::eq(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4379 KnownVal = KnownBits::ne(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4382 KnownVal = KnownBits::sge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4385 KnownVal = KnownBits::sgt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4388 KnownVal = KnownBits::sle(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4391 KnownVal = KnownBits::slt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4394 KnownVal = KnownBits::uge(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4397 KnownVal = KnownBits::ugt(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() 4400 KnownVal = KnownBits::ule(KnownLHS, KnownRHS); in matchICmpToTrueFalseKnownBits() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 99 const KnownBits &KnownLHS,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 10558 auto KnownLHS = LHSAncestors.find(RHS->getInterface()->getCanonicalDecl()); in areCommonBaseCompatible() local 10559 if (KnownLHS != LHSAncestors.end()) { in areCommonBaseCompatible() 10560 LHS = KnownLHS->second; in areCommonBaseCompatible()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 10405 KnownBits KnownLHS = DAG.computeKnownBits(LHS); in expandAddSubSat() local 10415 bool LHSIsNonNegative = KnownLHS.isNonNegative(); in expandAddSubSat() 10423 bool LHSIsNegative = KnownLHS.isNegative(); in expandAddSubSat()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 37530 [Opc](const KnownBits &KnownLHS, const KnownBits &KnownRHS) { in computeKnownBitsForTargetNode() argument 37533 KnownLHS, KnownRHS); in computeKnownBitsForTargetNode() 42672 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 42689 KnownLHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 42951 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 42954 KnownLHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 54552 KnownBits KnownLHS = DAG.computeKnownBits(Src.getOperand(0)); in combineMOVMSK() local 54554 unsigned ShiftAmt = KnownLHS.countMinLeadingZeros(); in combineMOVMSK() 54555 if (KnownLHS.countMaxPopulation() == 1 && in combineMOVMSK()
|