Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPredication.cpp391 Value *LHSV = in parseLoopICmp()
395 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in parseLoopICmp()
396 return Builder.CreateICmp(Pred, LHSV, RHSV); in parseLoopICmp()
431 Value *LHSV = expandCheck() local
H A DIndVarSimplify.cpp1253 auto *LHSV = Rewriter.expandCodeFor(LIP.LHS); in createInvariantCond() local
1260 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1543 Value *LHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), LHS, "lhsc"), in optimizeMemCmpConstantSize() local
1547 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize()
1558 Value *LHSV = nullptr; in optimizeMemCmpConstantSize() local
1560 LHSV = ConstantFoldLoadFromConstPtr(LHSC, IntType, DL); in optimizeMemCmpConstantSize()
1568 if ((LHSV || getKnownAlignment(LHS, DL, CI) >= PrefAlignment) && in optimizeMemCmpConstantSize()
1570 if (!LHSV) in optimizeMemCmpConstantSize()
1571 LHSV = B.CreateLoad(IntType, LHS, "lhsv"); in optimizeMemCmpConstantSize()
1574 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2612 SVal LHSV = RVState->getSVal(BO->getLHS(), RVNode->getLocationContext()); in handle() local
2616 if (LHSV.isZeroConstant()) in handle()
2621 if (LHSV.isZeroConstant()) in handle()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11016 auto CheckPair = [&](Value &LHSV, Value &RHSV) { in handleCmp() argument
11017 if (isa<UndefValue>(LHSV) || isa<UndefValue>(RHSV)) { in handleCmp()
11025 if (&LHSV == &RHSV && in handleCmp()
11034 auto *TypedLHS = AA::getWithType(LHSV, *LHS->getType()); in handleCmp()
11049 bool LHSIsNull = isa<ConstantPointerNull>(LHSV); in handleCmp()
11064 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp814 Value *LHSV = GEPLHS->getOperand(DiffOperand); in foldGEPICmp() local
817 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()