Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp391 Value *LHSV = in expandCheck() local
395 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in expandCheck()
396 return Builder.CreateICmp(Pred, LHSV, RHSV); in expandCheck()
H A DIndVarSimplify.cpp1241 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond() local
1248 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1534 Value *LHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), LHS, "lhsc"), in optimizeMemCmpConstantSize() local
1538 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1549 Value *LHSV = nullptr; in optimizeMemCmpConstantSize() local
1551 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1559 if ((LHSV || getKnownAlignment(LHS, DL, CI) >= PrefAlignment) && in optimizeMemCmpConstantSize()
1561 if (!LHSV) in optimizeMemCmpConstantSize()
1562 LHSV = B.CreateLoad(IntType, LHS, "lhsv"); in optimizeMemCmpConstantSize()
1565 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2608 SVal LHSV = RVState->getSVal(BO->getLHS(), RVNode->getLocationContext()); in handle() local
2612 if (LHSV.isZeroConstant()) in handle()
2617 if (LHSV.isZeroConstant()) in handle()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11025 auto CheckPair = [&](Value &LHSV, Value &RHSV) { in handleCmp() argument
11026 if (isa<UndefValue>(LHSV) || isa<UndefValue>(RHSV)) { in handleCmp()
11034 if (&LHSV == &RHSV && in handleCmp()
11043 auto *TypedLHS = AA::getWithType(LHSV, *LHS->getType()); in handleCmp()
11058 bool LHSIsNull = isa<ConstantPointerNull>(LHSV); in handleCmp()
11073 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp809 Value *LHSV = GEPLHS->getOperand(DiffOperand); in foldGEPICmp() local
812 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()