Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1144 if (Value *LHSV = dyn_castNegVal(LHS)) { in visitAdd() local
1147 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
1151 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd()
1338 if (Value *LHSV = dyn_castFNegVal(LHS)) { in visitFAdd() local
1339 Instruction *RI = BinaryOperator::CreateFSub(RHS, LHSV); in visitFAdd()
DInstCombineCompares.cpp713 Value *LHSV = GEPLHS->getOperand(DiffOperand); in FoldGEPICmp() local
716 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in FoldGEPICmp()
1784 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
1790 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == (RHSV - 1)) in visitICmpInstWithInstAndIntCst()
1799 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == RHSV) in visitICmpInstWithInstAndIntCst()
1810 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
1813 .subtract(LHSV); in visitICmpInstWithInstAndIntCst()
1837 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == 0) in visitICmpInstWithInstAndIntCst()
1846 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == 0) in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp860 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in optimizeMemCmp() local
864 return B.CreateSub(LHSV, RHSV, "chardiff"); in optimizeMemCmp()
881 Value *LHSV = B.CreateLoad(B.CreateBitCast(LHS, LHSPtrTy, "lhsc"), "lhsv"); in optimizeMemCmp() local
884 return B.CreateZExt(B.CreateICmpNE(LHSV, RHSV), CI->getType(), "memcmp"); in optimizeMemCmp()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp2267 ValueList LHSV, RHSV; in vectorizeTree() local
2269 LHSV.push_back(cast<Instruction>(V)->getOperand(0)); in vectorizeTree()
2275 Value *L = vectorizeTree(LHSV); in vectorizeTree()