Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/
H A Dcompare.fail.cpp29 const Vector RHSV(RHS.begin(), RHS.end()); in test_compare() local
30 assert((LHS == RHS) == (LHSV == RHSV)); in test_compare()
31 assert((LHS != RHS) == (LHSV != RHSV)); in test_compare()
32 assert((LHS < RHS) == (LHSV < RHSV)); in test_compare()
33 assert((LHS <= RHS) == (LHSV <= RHSV)); in test_compare()
34 assert((LHS > RHS) == (LHSV > RHSV)); in test_compare()
35 assert((LHS >= RHS) == (LHSV >= RHSV)); in test_compare()
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dmemcmp-constant-fold.ll37 ; LE-NEXT: [[RHSV:%.*]] = load i32, i32* [[TMP1]], align 4
38 ; LE-NEXT: [[DOTNOT:%.*]] = icmp eq i32 [[RHSV]], 131073
43 ; BE-NEXT: [[RHSV:%.*]] = load i32, i32* [[TMP1]], align 4
44 ; BE-NEXT: [[DOTNOT:%.*]] = icmp eq i32 [[RHSV]], 65538
H A Dstrncmp-1.ll81 ; CHECK-NEXT: [[RHSV:%.*]] = zext i8 [[RHSC]] to i32
82 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
H A Dbcmp-1.ll41 ; CHECK-NEXT: [[RHSV:%.*]] = zext i8 [[RHSC]] to i32
42 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
H A Dmemcmp-1.ll41 ; CHECK-NEXT: [[RHSV:%.*]] = zext i8 [[RHSC]] to i32
42 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp424 Value *RHSV = in expandCheck() local
426 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
427 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
H A DIndVarSimplify.cpp1352 auto *RHSV = Rewriter.expandCodeFor(InvariantRHS); in replaceWithInvariantCond() local
1357 auto *NewCond = Builder.CreateICmp(InvariantPred, LHSV, RHSV, in replaceWithInvariantCond()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1347 Value *RHSV = in optimizeMemCmpConstantSize() local
1350 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1366 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local
1369 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize()
1375 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize()
1381 if (!RHSV) { in optimizeMemCmpConstantSize()
1384 RHSV = B.CreateLoad(IntType, B.CreateBitCast(RHS, RHSPtrTy), "rhsv"); in optimizeMemCmpConstantSize()
1386 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3780 unsigned RHSV = C->getZExtValue(); in Select() local
3781 if (!RHSV) break; in Select()
3782 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
3783 unsigned ShImm = Log2_32(RHSV-1); in Select()
3801 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
3802 unsigned ShImm = Log2_32(RHSV+1); in Select()
H A DARMISelLowering.cpp4762 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local
4763 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp()
4765 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp()
4768 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2405 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local
2419 if (RHSV.isZeroConstant()) in handle()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp988 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local
990 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp9018 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
9019 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()