Home
last modified time | relevance | path

Searched refs:uge (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDScalarEvolutionAliasAnalysis.cpp60 (-BSizeInt).uge(SE.getUnsignedRange(BA).getUnsignedMax())) in alias()
74 (-ASizeInt).uge(SE.getUnsignedRange(AB).getUnsignedMax())) in alias()
HDLoads.cpp45 return APBaseAlign.uge(APAlign) && !(Offset & (APAlign - 1)); in isAligned()
71 if (KnownDerefBytes.getBoolValue() && KnownDerefBytes.uge(Size)) in isDereferenceableAndAlignedPointer()
HDBasicAliasAnalysis.cpp1512 V2Size != LocationSize::unknown() && ModOffset.uge(V2Size.getValue()) && in aliasGEP()
1513 (Modulo - ModOffset).uge(V1Size.getValue())) in aliasGEP()
1521 GEP1BaseOffset.uge(V2Size.getValue())) in aliasGEP()
2033 return MinDiffBytes.uge(V1Size + BaseOffset.abs()) && in constantOffsetHeuristic()
2034 MinDiffBytes.uge(V2Size + BaseOffset.abs()); in constantOffsetHeuristic()
HDValueTracking.cpp986 if (Known.getMaxValue().uge(BitWidth)) { in computeKnownBitsFromShiftOperator()
2557 if (ShAmt->uge(TyBits)) in ComputeNumSignBitsImpl()
2570 if (ShAmt->uge(TyBits) || // Bad shift. in ComputeNumSignBitsImpl()
2571 ShAmt->uge(Tmp)) break; // Shifted all sign bits out. in ComputeNumSignBitsImpl()
HDInstructionSimplify.cpp1369 if (ShRAmt->uge(EffWidthY)) in SimplifyLShrInst()
4205 if (CI->uge(NumElements)) in SimplifyInsertElementInst()
4276 if (IdxC->getValue().uge(Vec->getType()->getVectorNumElements())) in SimplifyExtractElementInst()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
HDBoundsChecking.cpp91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
96 .uge(NeededSizeRange.getUnsignedMax()) in getBoundsCheckCond()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDAPInt.cpp1245 if (r1.uge(anc)) { // must be unsigned comparison in magic()
1251 if (r2.uge(ad)) { // must be unsigned comparison in magic()
1288 if (r1.uge(nc - r1)) { in magicu()
1296 if ((r2 + 1).uge(d - r2)) { in magicu()
1297 if (q2.uge(signedMax)) magu.a = 1; in magicu()
1302 if (q2.uge(signedMin)) magu.a = 1; in magicu()
2016 Overflow = ShAmt.uge(getBitWidth()); in sshl_ov()
2021 Overflow = ShAmt.uge(countLeadingZeros()); in sshl_ov()
2023 Overflow = ShAmt.uge(countLeadingOnes()); in sshl_ov()
2029 Overflow = ShAmt.uge(getBitWidth()); in ushl_ov()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
HDAPSInt.h166 return IsUnsigned ? uge(RHS) : sge(RHS);
HDAPInt.h1313 bool uge(const APInt &RHS) const { return !ult(RHS); } in uge() function
1321 bool uge(uint64_t RHS) const { return !ult(RHS); } in uge() function
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDConstantFold.cpp278 if (ShAmt.uge(CSize - ByteStart)) in ExtractConstantBytes()
301 if (ShAmt.uge(ByteStart + ByteSize)) in ExtractConstantBytes()
800 if (CIdx->uge(Val->getType()->getVectorNumElements())) in ConstantFoldExtractElementInstruction()
843 if (CIdx->uge(NumElts)) in ConstantFoldInsertElementInstruction()
1900 case ICmpInst::ICMP_UGE: return ConstantInt::get(ResultTy, V1.uge(V2)); in ConstantFoldCompareInstruction()
HDConstantRange.cpp586 if (CR.Upper.ule(Upper) || CR.Lower.uge(Lower)) in unionWith()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDSimplifyIndVar.cpp138 if (D->getValue().uge(BitWidth)) in foldIVUser()
778 if (!Shr->isExact() && IVRange.getUnsignedMin().uge(*C)) { in strengthenRightShift()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDConstants.h241 bool uge(uint64_t Num) const { in uge() function
242 return Val.uge(Num); in uge()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
HDOperations.cpp192 if (!CI->uge(getAggregateNumElements(Cur[0]->getType()))) in validExtractValueIndex()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineSimplifyDemanded.cpp944 if (ShlOp1.uge(BitWidth) || ShrOp1.uge(BitWidth)) in simplifyShrShlDemandedBits()
HDInstCombineCompares.cpp2037 if (ShiftAmt->uge(TypeBits)) in foldICmpShlConstant()
3129 C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3152 C.uge(1) && C.ule(BitWidth)) { in foldICmpIntrinsicWithConstant()
3864 if (AP1Abs.uge(AP2Abs)) { in foldICmpBinOp()
5067 if (Op0Min.uge(Op1Max)) // A <u B -> false if min(A) >= max(B) in foldICmpUsingKnownBits()
5158 if (Op0Min.uge(Op1Max)) // A >=u B -> true if min(A) >= max(B) in foldICmpUsingKnownBits()
HDInstCombinePHI.cpp1021 if (cast<ConstantInt>(UserI->getOperand(1))->getValue().uge(SizeInBits)) in SliceUpIllegalIntegerPHI()
HDInstCombineShifts.cpp707 assert(!Op1C->uge(TypeBits) && in FoldShiftByConstant()
HDInstCombineSelect.cpp1583 (SPF1 == SPF_UMAX && CB->uge(*CC)) || in foldSPFofSPF()
2124 match(Y, m_APInt(C2)) && C2->uge(*C1) && X->hasNUses(2)) { in moveAddAfterMinMax()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
HDSROA.cpp678 if (Size == 0 || Offset.uge(AllocSize)) { in insertUse()
833 (IsOffsetKnown && Offset.uge(AllocSize))) in visitMemSetInst()
876 if (Offset.uge(AllocSize)) { in visitMemTransferInst()
1035 if (Offset.uge(AllocSize)) { in visitPHINodeOrSelectInst()
1521 if (Offset.uge(DL.getTypeAllocSize(ElementTy))) in getNaturalGEPRecursively()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
HDLLLexer.cpp710 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
HDSparcInstrAliases.td305 defm : fp_cond_alias<"uge", 0b1100>;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp307 IMPLEMENT_INTEGER_ICMP(uge,Ty); in executeICMP_UGE()
308 IMPLEMENT_VECTOR_INTEGER_ICMP(uge,Ty); in executeICMP_UGE()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAG.cpp2064 case ISD::SETUGE: return getBoolConstant(C1.uge(C2), dl, VT, OpVT); in FoldSetCC()
2451 if (ShAmt.uge(BitWidth)) in getValidMinimumShiftAmountConstant()
2477 if (ShAmt.uge(BitWidth)) in getValidMaximumShiftAmountConstant()
2479 if (MaxShAmt && MaxShAmt->uge(ShAmt)) in getValidMaximumShiftAmountConstant()
4802 case ISD::UMAX: return C1.uge(C2) ? C1 : C2; in FoldValue()
5327 if (N2C && N2C->getAPIntValue().uge(N1.getValueType().getVectorNumElements())) in getNode()
7283 return !Val || Val->getAPIntValue().uge(X.getScalarValueSizeInBits()); in simplifyShift()
HDDAGCombiner.cpp5136 if (ShiftAmt.uge(VTBitWidth)) in combineShiftAnd1ToBitTest()
7270 if ((*ShiftAmtVal + C1Val).uge(V.getScalarValueSizeInBits())) in combineShiftOfShiftedLogic()
7417 if (Cst->getAPIntValue().uge(Bitsize)) { in visitRotate()
7523 return (c1 + c2).uge(OpSizeInBits); in visitSHL()
7561 return c2.uge(OpSizeInBits - InnerBitwidth) && in visitSHL()
7562 (c1 + c2).uge(OpSizeInBits); in visitSHL()
7574 return c2.uge(OpSizeInBits - InnerBitwidth) && in visitSHL()
7764 Sum.uge(OpSizeInBits) ? (OpSizeInBits - 1) : Sum.getZExtValue(); in visitSRA()
7933 return (c1 + c2).uge(OpSizeInBits); in visitSRL()
8008 if (N1C->getAPIntValue().uge(BitSize)) in visitSRL()
[all …]

12