Home
last modified time | relevance | path

Searched refs:ult (Results 1 – 25 of 33) sorted by relevance

12

/trueos/contrib/llvm/lib/Support/
HDConstantRange.cpp214 return Lower.ule(V) && V.ult(Upper); in contains()
215 return Lower.ule(V) || V.ult(Upper); in contains()
273 if (Lower.ult(CR.Lower)) { in intersectWith()
277 if (Upper.ult(CR.Upper)) in intersectWith()
282 if (Upper.ult(CR.Upper)) in intersectWith()
285 if (Lower.ult(CR.Upper)) in intersectWith()
292 if (CR.Lower.ult(Upper)) { in intersectWith()
293 if (CR.Upper.ult(Upper)) in intersectWith()
299 if (getSetSize().ult(CR.getSetSize())) in intersectWith()
303 if (CR.Lower.ult(Lower)) { in intersectWith()
[all …]
HDAPInt.cpp515 bool APInt::ult(const APInt& RHS) const { in ult() function in APInt
580 return lhs.ult(rhs); in slt()
1337 if (this->ult(square)) in sqrt()
1342 if (offset.ult(midpoint)) in sqrt()
1353 assert(ult(modulo) && "This APInt must be smaller than the modulo"); in multiplicativeInverse()
1425 } while (q1.ult(delta) || (q1 == delta && r1 == 0)); in magic()
1477 (q1.ult(delta) || (q1 == delta && r1 == 0))); in magicu()
1862 else if (lhsWords < rhsWords || this->ult(RHS)) { in udiv()
1910 } else if (lhsWords < rhsWords || this->ult(RHS)) { in urem()
1953 if (lhsWords < rhsWords || LHS.ult(RHS)) { in udivrem()
[all …]
/trueos/contrib/llvm/patches/
HDpatch-r275633-llvm-r223171-fix-vectorizer.diff351 - %cmp = icmp ult i64 %i.0, 200
370 + %cmp = icmp ult i64 %inc, 200
389 - %cmp = icmp ult i64 %i.0, 200
408 + %cmp = icmp ult i64 %inc, 200
427 - %cmp = icmp ult i64 %i.0, 200
446 + %cmp = icmp ult i64 %inc, 200
465 - %cmp = icmp ult i64 %i.0, 200
484 + %cmp = icmp ult i64 %inc, 200
503 - %cmp = icmp ult i64 %i.0, 200
522 + %cmp = icmp ult i64 %inc, 200
HDpatch-r262261-llvm-r199187-sparc.diff43 + %cmp0 = icmp ult i64 %val0, 385672958347594845
49 + %cmp = icmp ult i64 %val, 385672958347594845
HDpatch-r275759-clang-r221170-ppc-vaarg.diff223 +// CHECK-PPC-NEXT: [[COND:%[a-z0-9]+]] = icmp ult i8 [[GPR]], 8
269 +// CHECK-PPC-NEXT: [[COND1:%[a-z0-9]+]] = icmp ult i8 [[GPR1]], 8
/trueos/contrib/llvm/include/llvm/ADT/
HDAPInt.h1020 bool ult(const APInt &RHS) const;
1028 bool ult(uint64_t RHS) const { return ult(APInt(getBitWidth(), RHS)); } in ult() function
1052 bool ule(const APInt &RHS) const { return ult(RHS) || eq(RHS); } in ule()
1084 bool ugt(const APInt &RHS) const { return !ult(RHS) && !eq(RHS); } in ugt()
1116 bool uge(const APInt &RHS) const { return !ult(RHS); } in uge()
1702 inline APInt umin(const APInt &A, const APInt &B) { return A.ult(B) ? A : B; } in umin()
HDAPSInt.h124 return IsUnsigned ? ult(RHS) : slt(RHS);
/trueos/contrib/llvm/lib/Analysis/
HDLint.cpp489 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitLShr()
496 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitAShr()
503 Assert1(CI->getValue().ult(cast<IntegerType>(I.getType())->getBitWidth()), in visitShl()
591 Assert1(CI->getValue().ult(I.getVectorOperandType()->getNumElements()), in visitExtractElementInst()
599 Assert1(CI->getValue().ult(I.getType()->getNumElements()), in visitInsertElementInst()
HDMemoryBuiltins.cpp377 if (Offset.slt(0) || ObjSize.ult(Offset)) in getObjectSize()
HDInstructionSimplify.cpp1826 LHSOffsetValue.ult(LHSSize) && in computePointerICmp()
1827 RHSOffsetValue.ult(RHSSize)) { in computePointerICmp()
2013 if (CI2->getValue().ult(Width)) in SimplifyICmpInst()
2019 if (CI2->getValue().ult(Width)) { in SimplifyICmpInst()
HDScalarEvolution.cpp548 return LA.ult(RA) ? -1 : 1; in compare()
1454 return LHS.ult(RHS); in operator ()()
6056 if (LHSRange.getUnsignedMax().ult(RHSRange.getUnsignedMin())) in isKnownPredicateWithRanges()
6363 return (MaxValue - MaxStrideMinusOne).ult(MaxRHS); in doesIVOverflowOnLT()
/trueos/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp48 return Result->getValue().ult(In1->getValue()); in HasAddOverflow()
2288 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
2325 if (Op0Max.ult(Op1Min) || Op0Min.ugt(Op1Max)) in visitICmpInst()
2362 if (Op0Max.ult(Op1Min)) // A <u B -> true if max(A) < min(B) in visitICmpInst()
2443 if (Op0Max.ult(Op1Min)) // A >=u B -> false if max(A) < min(B) in visitICmpInst()
HDInstCombineShifts.cpp154 if (CI->getValue().ult(TypeWidth) && CI->getZExtValue() > NumBits) { in CanEvaluateShifted()
HDInstCombineSimplifyDemanded.cpp723 if (DemandedMask.ult(RA)) // srem won't affect demanded bits in SimplifyDemandedUseBits()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCGStmt.cpp917 if (LHS.isSigned() ? RHS.slt(LHS) : RHS.ult(LHS)) in EmitCaseStmtRange()
922 if (Range.ult(llvm::APInt(Range.getBitWidth(), 64))) { in EmitCaseStmtRange()
HDCGExprCXX.cpp540 if (adjustedCount.ult(minElements)) in EmitCXXNewAllocSize()
/trueos/contrib/llvm/lib/AsmParser/
HDLLLexer.cpp608 KEYWORD(sge); KEYWORD(ult); KEYWORD(ugt); KEYWORD(ule); KEYWORD(uge); in LexIdentifier()
/trueos/contrib/llvm/lib/Transforms/Scalar/
HDReassociate.cpp402 assert(LHS.ult(Threshold) && RHS.ult(Threshold) && "Weights not reduced!"); in IncorporateWeight()
/trueos/contrib/llvm/tools/clang/lib/Lex/
HDLiteralSupport.cpp908 OverflowOccurred |= Val.ult(CharVal); in GetIntegerValue()
/trueos/contrib/llvm/lib/Target/Hexagon/
HDHexagonInstrInfoV5.td233 // ult.
/trueos/contrib/llvm/lib/ExecutionEngine/Interpreter/
HDExecution.cpp168 IMPLEMENT_INTEGER_ICMP(ult,Ty); in executeICMP_ULT()
169 IMPLEMENT_VECTOR_INTEGER_ICMP(ult,Ty); in executeICMP_ULT()
/trueos/contrib/llvm/lib/Target/Mips/
HDMipsInstrFPU.td221 def C_ULT_#NAME : C_COND_FT<"ult", TypeStr, RC>, C_COND_FM<fmt, 5>;
/trueos/contrib/llvm/lib/Transforms/Utils/
HDSimplifyCFG.cpp702 return LHS->getValue().ult(RHS->getValue()); in operator ()()
711 if (LHS->getValue().ult(RHS->getValue())) in ConstantIntSortPredicate()
/trueos/contrib/llvm/lib/IR/
HDConstantFold.cpp1648 case ICmpInst::ICMP_ULT: return ConstantInt::get(ResultTy, V1.ult(V2)); in ConstantFoldCompareInstruction()
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDSemaInit.cpp2119 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
2141 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()

12