| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 987 KnownFPClass KnownLHS, KnownRHS; in computeKnownFPClass() local 989 computeKnownFPClass(LHS, DemandedElts, InterestedClasses, KnownLHS, in computeKnownFPClass() 994 bool NeverNaN = KnownLHS.isKnownNeverNaN() || KnownRHS.isKnownNeverNaN(); in computeKnownFPClass() 995 Known = KnownLHS | KnownRHS; in computeKnownFPClass() 1009 if ((KnownLHS.cannotBeOrderedLessThanZero() && in computeKnownFPClass() 1010 KnownLHS.isKnownNeverNaN()) || in computeKnownFPClass() 1017 if (KnownLHS.cannotBeOrderedLessThanZero() || in computeKnownFPClass() 1025 if ((KnownLHS.cannotBeOrderedGreaterThanZero() && in computeKnownFPClass() 1026 KnownLHS.isKnownNeverNaN()) || in computeKnownFPClass() 1033 if (KnownLHS.cannotBeOrderedGreaterThanZero() || in computeKnownFPClass() [all …]
|
| H A D | CombinerHelper.cpp | 4527 auto KnownLHS = VT->getKnownBits(MI.getOperand(2).getReg()); in matchICmpToTrueFalseKnownBits() local 4528 KnownVal = ICmpInst::compare(KnownLHS, KnownRHS, Pred); in matchICmpToTrueFalseKnownBits() 4570 auto KnownLHS = VT->getKnownBits(LHS); in matchICmpToLHSKnownBits() local 4571 if (KnownLHS.getMinValue() != 0 || KnownLHS.getMaxValue() != 1) in matchICmpToLHSKnownBits()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 979 const KnownBits &KnownLHS, const KnownBits &KnownRHS, in getKnownBitsFromAndXorOr() argument 981 unsigned BitWidth = KnownLHS.getBitWidth(); in getKnownBitsFromAndXorOr() 984 bool HasKnownOne = !KnownLHS.One.isZero() || !KnownRHS.One.isZero(); in getKnownBitsFromAndXorOr() 989 KnownOut = KnownLHS & KnownRHS; in getKnownBitsFromAndXorOr() 998 if (KnownLHS.countMaxTrailingZeros() <= KnownRHS.countMaxTrailingZeros()) in getKnownBitsFromAndXorOr() 999 KnownOut = KnownLHS.blsi(); in getKnownBitsFromAndXorOr() 1005 KnownOut = KnownLHS | KnownRHS; in getKnownBitsFromAndXorOr() 1008 KnownOut = KnownLHS ^ KnownRHS; in getKnownBitsFromAndXorOr() 1018 const KnownBits &XBits = I->getOperand(0) == X ? KnownLHS : KnownRHS; in getKnownBitsFromAndXorOr() 1076 const KnownBits &KnownLHS, in analyzeKnownBitsFromAndXorOr() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 316 KnownBits KnownLHS = computeKnownBits(I->getOperand(0)); in getBestTruncatedType() local 318 std::max(MinBitWidth, KnownLHS.getMaxValue().getActiveBits()); in getBestTruncatedType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSimplifyDemanded.cpp | 2054 KnownFPClass KnownLHS, KnownRHS; in SimplifyDemandedUseFPClass() local 2056 SimplifyDemandedFPClass(I, 1, DemandedMask, KnownLHS, Depth + 1)) in SimplifyDemandedUseFPClass() 2059 if (KnownLHS.isKnownNever(DemandedMask)) in SimplifyDemandedUseFPClass() 2065 Known = KnownLHS | KnownRHS; in SimplifyDemandedUseFPClass()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ValueTracking.h | 107 const KnownBits &KnownLHS,
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUISelLowering.cpp | 4230 KnownBits KnownLHS = DAG.computeKnownBits(LHS); in performSraCombine() local 4232 if (KnownLHS.isNegative()) { in performSraCombine()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 11131 auto KnownLHS = LHSAncestors.find(RHS->getInterface()->getCanonicalDecl()); in areCommonBaseCompatible() local 11132 if (KnownLHS != LHSAncestors.end()) { in areCommonBaseCompatible() 11133 LHS = KnownLHS->second; in areCommonBaseCompatible()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 10897 KnownBits KnownLHS = DAG.computeKnownBits(LHS); in expandAddSubSat() local 10907 bool LHSIsNonNegative = KnownLHS.isNonNegative(); in expandAddSubSat() 10915 bool LHSIsNegative = KnownLHS.isNegative(); in expandAddSubSat()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 38942 [Opc](const KnownBits &KnownLHS, const KnownBits &KnownRHS) { in computeKnownBitsForTargetNode() argument 38945 KnownLHS, KnownRHS); in computeKnownBitsForTargetNode() 44398 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 44415 KnownLHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 44739 KnownBits KnownLHS, KnownRHS; in SimplifyDemandedBitsForTargetNode() local 44742 KnownLHS, TLO, Depth + 1)) in SimplifyDemandedBitsForTargetNode() 56595 KnownBits KnownLHS = DAG.computeKnownBits(Src.getOperand(0)); in combineMOVMSK() local 56597 unsigned ShiftAmt = KnownLHS.countMinLeadingZeros(); in combineMOVMSK() 56598 if (KnownLHS.countMaxPopulation() == 1 && in combineMOVMSK()
|