Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1114 if (Value *LHSV = dyn_castNegVal(LHS)) { in visitAdd() local
1117 Value *NewAdd = Builder->CreateAdd(LHSV, RHSV, "sum"); in visitAdd()
1121 return BinaryOperator::CreateSub(RHS, LHSV); in visitAdd()
1294 if (Value *LHSV = dyn_castFNegVal(LHS)) { in visitFAdd() local
1295 Instruction *RI = BinaryOperator::CreateFSub(RHS, LHSV); in visitFAdd()
DInstCombineCompares.cpp717 Value *LHSV = GEPLHS->getOperand(DiffOperand); in FoldGEPICmp() local
720 return new ICmpInst(ICmpInst::getSignedPredicate(Cond), LHSV, RHSV); in FoldGEPICmp()
1555 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
1561 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == (RHSV - 1)) in visitICmpInstWithInstAndIntCst()
1570 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == RHSV) in visitICmpInstWithInstAndIntCst()
1581 const APInt &LHSV = LHSC->getValue(); in visitICmpInstWithInstAndIntCst() local
1584 .subtract(LHSV); in visitICmpInstWithInstAndIntCst()
1608 RHSV.isPowerOf2() && (LHSV & (RHSV - 1)) == 0) in visitICmpInstWithInstAndIntCst()
1617 (RHSV + 1).isPowerOf2() && (LHSV & RHSV) == 0) in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp1700 ValueList LHSV, RHSV; in vectorizeTree() local
1702 LHSV.push_back(cast<Instruction>(E->Scalars[i])->getOperand(0)); in vectorizeTree()
1708 Value *L = vectorizeTree(LHSV); in vectorizeTree()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1018 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in callOptimizer() local
1022 return B.CreateSub(LHSV, RHSV, "chardiff"); in callOptimizer()