/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopPredication.cpp | 393 Value *RHSV = in parseLoopICmp() 395 IRBuilder<> Builder(findInsertPt(Guard, {LHSV, RHSV})); in parseLoopICmp() 396 return Builder.CreateICmp(Pred, LHSV, RHSV); in parseLoopICmp() 433 Value *RHSV = expandCheck() local
|
H A D | IndVarSimplify.cpp | 1254 auto *RHSV = Rewriter.expandCodeFor(LIP.RHS); in createInvariantCond() local 1260 return Builder.CreateICmp(InvariantPred, LHSV, RHSV, in createInvariantCond()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SimplifyLibCalls.cpp | 1545 Value *RHSV = B.CreateZExt(B.CreateLoad(B.getInt8Ty(), RHS, "rhsc"), in optimizeMemCmpConstantSize() local 1547 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmpConstantSize() 1562 Value *RHSV = nullptr; in optimizeMemCmpConstantSize() local 1564 RHSV = ConstantFoldLoadFromConstPtr(RHSC, IntType, DL); in optimizeMemCmpConstantSize() 1569 (RHSV || getKnownAlignment(RHS, DL, CI) >= PrefAlignment)) { in optimizeMemCmpConstantSize() 1572 if (!RHSV) in optimizeMemCmpConstantSize() 1573 RHSV = B.CreateLoad(IntType, RHS, "rhsv"); in optimizeMemCmpConstantSize() 1574 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmpConstantSize()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 3799 unsigned RHSV = C->getZExtValue(); in Select() local 3800 if (!RHSV) break; in Select() 3801 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select() 3802 unsigned ShImm = Log2_32(RHSV-1); in Select() 3820 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select() 3821 unsigned ShImm = Log2_32(RHSV+1); in Select()
|
H A D | ARMISelLowering.cpp | 4821 uint64_t RHSV = RHSC->getZExtValue(); in getARMCmp() local 4822 if (isMask_32(Mask) && (RHSV & ~Mask) == 0 && Mask != 255 && Mask != 65535) { in getARMCmp() 4824 if (RHSV && (RHSV > 255 || (RHSV << ShiftBits) <= 255)) { in getARMCmp() 4827 RHS = DAG.getConstant(RHSV << ShiftBits, dl, MVT::i32); in getARMCmp()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | BugReporterVisitors.cpp | 2611 SVal RHSV = RVState->getSVal(BO->getRHS(), RVNode->getLocationContext()); in handle() local 2618 if (RHSV.isZeroConstant()) in handle()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 11016 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() 11035 auto *TypedRHS = AA::getWithType(RHSV, *RHS->getType()); in handleCmp() 11050 bool RHSIsNull = isa<ConstantPointerNull>(RHSV); in handleCmp() 11064 A, this, IRPosition::value(*(PtrIdx ? &RHSV : &LHSV)), in handleCmp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 815 Value *RHSV = GEPRHS->getOperand(DiffOperand); in foldGEPICmp() local 817 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in foldGEPICmp()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 9326 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument 9327 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()
|