Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp417 Value *RHSV = Expander.expandCodeFor(RHS, Ty, findInsertPt(Guard, {RHS})); in expandCheck() local
418 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
419 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
DIndVarSimplify.cpp1319 auto *RHSV = Rewriter.expandCodeFor(InvariantRHS); in replaceWithInvariantCond() local
1324 auto *NewCond = Builder.CreateICmp(InvariantPred, LHSV, RHSV, in replaceWithInvariantCond()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp964 Value *RHSV = in optimizeMemCmpConstantSize() local
967 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
983 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local
986 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
992 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize()
998 if (!RHSV) { in optimizeMemCmpConstantSize()
1001 RHSV = B.CreateLoad(IntType, B.CreateBitCast(RHS, RHSPtrTy), "rhsv"); in optimizeMemCmpConstantSize()
1003 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp3773 unsigned RHSV = C->getZExtValue(); in Select() local
3774 if (!RHSV) break; in Select()
3775 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
3776 unsigned ShImm = Log2_32(RHSV-1); in Select()
3794 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
3795 unsigned ShImm = Log2_32(RHSV+1); in Select()
DARMISelLowering.cpp4696 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local
4697 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp()
4699 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp()
4702 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp2324 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local
2338 if (RHSV.isZeroConstant()) in handle()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp988 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local
990 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp8252 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
8253 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()