Home
last modified time | relevance | path

Searched refs:ugt (Results 1 – 25 of 48) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp95 if (ThisVal.ugt(OtherVal)) in compare()
102 else if (ThisVal.ugt(OtherVal)) in compare()
110 else if (ThisVal.ugt(OtherVal)) in compare()
463 *Overflow = Result.isNegative() || Result.ugt(DstMax); in convertToInt()
465 *Overflow = Result.ugt(DstMax); in convertToInt()
H A DKnownBits.cpp379 std::optional<bool> KnownBits::ugt(const KnownBits &LHS, const KnownBits &RHS) { in ugt() function in KnownBits
384 if (LHS.getMinValue().ugt(RHS.getMaxValue())) in ugt()
390 if (std::optional<bool> IsUGT = ugt(RHS, LHS)) in uge()
396 return ugt(RHS, LHS); in ult()
H A DAPInt.cpp798 if (A.ugt(B)) { in GreatestCommonDivisor()
1956 Overflow = Res.ugt(*this); in usub_ov()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp376 return Lower.ugt(Upper) && !Upper.isZero(); in isWrappedSet()
380 return Lower.ugt(Upper); in isUpperWrapped()
406 return MaxSize == 0 || APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan()
408 return (Upper - Lower).ugt(MaxSize); in isSizeLargerThan()
652 APInt U = (CR.Upper - 1).ugt(Upper - 1) ? CR.Upper : Upper; in unionWith()
698 APInt U = CR.Upper.ugt(Upper) ? CR.Upper : Upper; in unionWith()
1414 if (MinLHS.ugt(-MinAbsRHS)) in srem()
1503 if (OtherMax.ugt(Max.countl_zero())) in shl()
1872 if (Min.ugt(~OtherMin)) in unsignedAddMayOverflow()
1874 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegralAP.h72 return V.ugt(RHS.V);
179 if (V.ugt(RHS.V)) in compare()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h454 return ugt(Limit) ? Limit : getZExtValue();
1130 bool ule(uint64_t RHS) const { return !ugt(RHS); } in ule()
1154 bool ugt(const APInt &RHS) const { return !ule(RHS); } in ugt() function
1162 bool ugt(uint64_t RHS) const { in ugt() function
2187 return A.ugt(B) ? A : B;
H A DAPSInt.h172 return IsUnsigned ? ugt(RHS) : sgt(RHS);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp140 for (; LocalNumMergedCases.ugt(0) && Idx < E; ++Idx) in FixPhis()
466 if ((Pop += N).ugt(MaxPop)) { in ProcessSwitchInst()
H A DFunctionComparator.cpp80 if (L.ugt(R)) in cmpAPInts()
82 if (R.ugt(L)) in cmpAPInts()
H A DEvaluator.cpp422 if (Len.ugt(64 * 1024)) { in EvaluateBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInlineOrder.cpp166 return LHS.ugt(RHS); in isMoreDesirable()
H A DMemoryBuiltins.cpp406 if (Size.ugt(MaxSize)) in getAllocSize()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h411 static std::optional<bool> ugt(const KnownBits &LHS, const KnownBits &RHS);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURegBankCombiner.cpp212 if (OpcodeTriple.Med == AMDGPU::G_AMDGPU_UMED3 && K0->Value.ugt(K1->Value)) in matchIntMinMaxToMed3()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1618 IntOverflowOccurred |= Val.ugt(MaxVal.zext(Val.getBitWidth())); in GetFixedPointValue()
1621 IntOverflowOccurred |= Val.zext(MaxVal.getBitWidth()).ugt(MaxVal); in GetFixedPointValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp1402 if (Imm.ugt(0xffff) && ((Imm - 2).isPowerOf2() || (Imm - 4).isPowerOf2()) && in decomposeMulByConstant()
1405 if (Imm.ugt(0xffff) && (Imm - 8).isPowerOf2() && Subtarget.has2E3()) in decomposeMulByConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp539 if (InnerShiftConst->ugt(OuterShAmt) && InnerShiftConst->ult(TypeWidth)) { in canEvaluateShiftedShift()
1291 } else if (C1->ugt(ShAmtC)) { in visitLShr()
H A DInstCombineCompares.cpp2304 assert(C.ugt(0) && "ult 0 should have been eliminated"); in foldICmpShlConstant()
4171 assert(BitWidth.ugt(MaskedBits) && "shifts should leave some bits untouched"); in foldICmpWithTruncSignExtendedVal()
4175 assert(KeptBits.ugt(0) && KeptBits.ult(BitWidth) && "unreachable"); in foldICmpWithTruncSignExtendedVal()
6244 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in foldICmpUsingKnownBits()
6295 if (Op0Min.ugt(Op1Max)) // A >u B -> true if min(A) > max(B) in foldICmpUsingKnownBits()
6346 if (Op0Min.ugt(Op1Max)) // A <=u B -> false if min(A) > max(B) in foldICmpUsingKnownBits()
H A DInstCombineLoadStoreAlloca.cpp855 .ugt(MaxSize)) in isObjectSizeLessThanOrEq()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DGuardWidening.cpp903 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
H A DSeparateConstOffsetFromGEP.cpp1332 Offset.ugt(ObjectSize)) { in swapGEPOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp692 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp252 IMPLEMENT_INTEGER_ICMP(ugt,Ty); in executeICMP_UGT()
253 IMPLEMENT_VECTOR_INTEGER_ICMP(ugt,Ty); in executeICMP_UGT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp4963 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
4965 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
4981 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
4983 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
5001 if (Amt.ugt(VTBits)) { in narrowScalarShiftByConstant()
5004 } else if (Amt.ugt(NVTBits)) { in narrowScalarShiftByConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp2255 if (std::optional<bool> IsUGT = KnownBits::ugt(Known0, Known1)) in SimplifyDemandedBits()
4059 return I1.ugt(I01) && I1.isPowerOf2() && I01.isPowerOf2(); in optimizeSetCCOfSignedTruncationCheck()
4242 if (C1.ugt(CostLimit + (Cond == ISD::SETULT))) in simplifySetCCWithCTPOP()
6648 if (Cmp.ugt(R)) in prepareUREMEqFold()
6651 assert(APInt::getAllOnes(ShSVT.getSizeInBits()).ugt(K) && in prepareUREMEqFold()
6900 assert(APInt::getAllOnes(SVT.getSizeInBits()).ugt(A) && in prepareSREMEqFold()
6902 assert(APInt::getAllOnes(ShSVT.getSizeInBits()).ugt(K) && in prepareSREMEqFold()

12