Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp393 Value *RHSV = in parseLoopICmp()
395 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in parseLoopICmp()
396 return Builder.CreateICmp(Pred, LHSV, RHSV); in parseLoopICmp()
433 Value *RHSV = expandCheck() local
H A DIndVarSimplify.cpp1254 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond() local
1260 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1545 Value *RHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), RHS, "rhsc"), in optimizeMemCmpConstantSize() local
1547 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1562 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local
1564 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
1569 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize()
1572 if (!RHSV) in optimizeMemCmpConstantSize()
1573 RHSV = B.CreateLoad(IntType, RHS, "rhsv"); in optimizeMemCmpConstantSize()
1574 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3799 unsigned RHSV = C->getZExtValue(); in Select() local
3800 if (!RHSV) break; in Select()
3801 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
3802 unsigned ShImm = Log2_32(RHSV-1); in Select()
3820 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
3821 unsigned ShImm = Log2_32(RHSV+1); in Select()
H A DARMISelLowering.cpp4821 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local
4822 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp()
4824 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp()
4827 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2611 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local
2618 if (RHSV.isZeroConstant()) in handle()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11016 auto CheckPair = [&](Value &LHSV, Value &RHSV) { in handleCmp() argument
11017 if (isa<UndefValue>(LHSV) || isa<UndefValue>(RHSV)) { in handleCmp()
11025 if (&LHSV == &RHSV && in handleCmp()
11035 auto *TypedRHS = AA::getWithType(RHSV, *RHS->getType()); in handleCmp()
11050 bool RHSIsNull = isa<ConstantPointerNull>(RHSV); in handleCmp()
11064 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp815 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local
817 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp9326 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
9327 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()