Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp714 Value *RHSV = GEPRHS->getOperand(DiffOperand); in FoldGEPICmp() local
716 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in FoldGEPICmp()
1216 const APInt &RHSV = RHS->getValue(); in visitICmpInstWithInstAndIntCst() local
1220 if (RHS->isOne() && RHSV.getBitWidth() > 1) { in visitICmpInstWithInstAndIntCst()
1251 if ((ICI.getPredicate() == ICmpInst::ICMP_SLT && RHSV == 0) || in visitICmpInstWithInstAndIntCst()
1252 (ICI.getPredicate() == ICmpInst::ICMP_SGT && RHSV.isAllOnesValue())) { in visitICmpInstWithInstAndIntCst()
1285 Builder->getInt(RHSV ^ SignBit)); in visitICmpInstWithInstAndIntCst()
1296 Builder->getInt(RHSV ^ NotSignBit)); in visitICmpInstWithInstAndIntCst()
1303 XorCst->getValue() == ~RHSV && (RHSV + 1).isPowerOf2()) in visitICmpInstWithInstAndIntCst()
1309 XorCst->getValue() == -RHSV && RHSV.isPowerOf2()) in visitICmpInstWithInstAndIntCst()
[all …]
DInstCombineAddSub.cpp1146 if (Value *RHSV = dyn_castNegVal(RHS)) { in visitAdd() local
1147 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp862 Value *RHSV = B.CreateZExt(B.CreateLoad(CastToCStr(RHS, B), "rhsc"), in optimizeMemCmp() local
864 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmp()
882 Value *RHSV = B.CreateLoad(B.CreateBitCast(RHS, RHSPtrTy, "rhsc"), "rhsv"); in optimizeMemCmp() local
884 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmp()
/external/llvm/lib/Target/ARM/
DARMISelDAGToDAG.cpp2573 unsigned RHSV = C->getZExtValue(); in Select() local
2574 if (!RHSV) break; in Select()
2575 if (isPowerOf2_32(RHSV-1)) { // 2^n+1? in Select()
2576 unsigned ShImm = Log2_32(RHSV-1); in Select()
2592 if (isPowerOf2_32(RHSV+1)) { // 2^n-1? in Select()
2593 unsigned ShImm = Log2_32(RHSV+1); in Select()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2267 ValueList LHSV, RHSV; in vectorizeTree() local
2270 RHSV.push_back(cast<Instruction>(V)->getOperand(1)); in vectorizeTree()
2276 Value *R = vectorizeTree(RHSV); in vectorizeTree()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp5639 Value *LHS, Value *RHSV, const Loop *L, ICmpInst::Predicate Pred) { in computeShiftCompareExitLimit() argument
5640 ConstantInt *RHS = dyn_cast<ConstantInt>(RHSV); in computeShiftCompareExitLimit()