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.cpp392 Value *RHSV = in expandCheck() local
394 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
395 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
H A DIndVarSimplify.cpp1230 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond() local
1236 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1540 Value *RHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), RHS, "rhsc"), in optimizeMemCmpConstantSize() local
1542 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1557 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local
1559 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
1564 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize()
1567 if (!RHSV) in optimizeMemCmpConstantSize()
1568 RHSV = B.CreateLoad(IntType, RHS, "rhsv"); in optimizeMemCmpConstantSize()
1569 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3794 unsigned RHSV = C->getZExtValue(); in Select() local
3795 if (!RHSV) break; in Select()
3796 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
3797 unsigned ShImm = Log2_32(RHSV-1); in Select()
3815 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
3816 unsigned ShImm = Log2_32(RHSV+1); in Select()
H A DARMISelLowering.cpp4909 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local
4910 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp()
4912 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp()
4915 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2563 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local
2570 if (RHSV.isZeroConstant()) in handle()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11094 auto CheckPair = [&](Value &LHSV, Value &RHSV) { in handleCmp() argument
11095 if (isa<UndefValue>(LHSV) || isa<UndefValue>(RHSV)) { in handleCmp()
11103 if (&LHSV == &RHSV && in handleCmp()
11113 auto *TypedRHS = AA::getWithType(RHSV, *RHS->getType()); in handleCmp()
11128 bool RHSIsNull = isa<ConstantPointerNull>(RHSV); in handleCmp()
11142 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp844 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local
845 return NewICmp(NW, LHSV, RHSV); in foldGEPICmp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp9381 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
9382 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()