Home
last modified time | relevance | path

Searched refs:RHSV (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp393 Value *RHSV = in expandCheck() local
395 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
396 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
H A DIndVarSimplify.cpp1242 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond() local
1248 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1536 Value *RHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), RHS, "rhsc"), in optimizeMemCmpConstantSize() local
1538 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1553 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local
1555 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
1560 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize()
1563 if (!RHSV) in optimizeMemCmpConstantSize()
1564 RHSV = B.CreateLoad(IntType, RHS, "rhsv"); in optimizeMemCmpConstantSize()
1565 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3798 unsigned RHSV = C->getZExtValue(); in Select() local
3799 if (!RHSV) break; in Select()
3800 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
3801 unsigned ShImm = Log2_32(RHSV-1); in Select()
3819 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
3820 unsigned ShImm = Log2_32(RHSV+1); in Select()
H A DARMISelLowering.cpp4804 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local
4805 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp()
4807 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp()
4810 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2607 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local
2614 if (RHSV.isZeroConstant()) in handle()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11025 auto CheckPair = [&](Value &LHSV, Value &RHSV) { in handleCmp() argument
11026 if (isa<UndefValue>(LHSV) || isa<UndefValue>(RHSV)) { in handleCmp()
11034 if (&LHSV == &RHSV && in handleCmp()
11044 auto *TypedRHS = AA::getWithType(RHSV, *RHS->getType()); in handleCmp()
11059 bool RHSIsNull = isa<ConstantPointerNull>(RHSV); in handleCmp()
11073 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp810 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local
812 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp9265 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
9266 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()