Home
last modified time | relevance | path

Searched refs:LHSV (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/array/
H A Dcompare.fail.cpp28 const Vector LHSV(LHS.begin(), LHS.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.ll14 ; LE-NEXT: [[LHSV:%.*]] = load i32, i32* [[TMP1]], align 4
15 ; LE-NEXT: [[DOTNOT:%.*]] = icmp eq i32 [[LHSV]], 16777216
20 ; BE-NEXT: [[LHSV:%.*]] = load i32, i32* [[TMP1]], align 4
21 ; BE-NEXT: [[DOTNOT:%.*]] = icmp eq i32 [[LHSV]], 1
H A Dstrncmp-1.ll79 ; CHECK-NEXT: [[LHSV:%.*]] = zext i8 [[LHSC]] to i32
82 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
H A Dbcmp-1.ll39 ; CHECK-NEXT: [[LHSV:%.*]] = zext i8 [[LHSC]] to i32
42 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
H A Dmemcmp-1.ll39 ; CHECK-NEXT: [[LHSV:%.*]] = zext i8 [[LHSC]] to i32
42 ; CHECK-NEXT: [[CHARDIFF:%.*]] = sub nsw i32 [[LHSV]], [[RHSV]]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp422 Value *LHSV = in expandCheck() local
426 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
427 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
H A DIndVarSimplify.cpp1351 auto *LHSV = Rewriter.expandCodeFor(InvariantLHS); 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.cpp1344 Value *LHSV = in optimizeMemCmpConstantSize() local
1350 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1361 Value *LHSV = nullptr; in optimizeMemCmpConstantSize() local
1364 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1374 if ((LHSV || getKnownAlignment(LHS, DL, CI) >= PrefAlignment) && in optimizeMemCmpConstantSize()
1376 if (!LHSV) { in optimizeMemCmpConstantSize()
1379 LHSV = B.CreateLoad(IntType, B.CreateBitCast(LHS, LHSPtrTy), "lhsv"); in optimizeMemCmpConstantSize()
1386 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2406 SVal LHSV = RVState->getSVal(BO->getLHS(), RVNode->getLocationContext()); in handle() local
2417 if (LHSV.isZeroConstant()) in handle()
2422 if (LHSV.isZeroConstant()) in handle()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp987 Value *LHSV = GEPLHS->getOperand(DiffOperand); in foldGEPICmp() local
990 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()