Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp360 Value *SimpleV = nullptr; in visitBinaryOperator() local
363 SimpleV = in visitBinaryOperator()
366 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
368 if (SimpleV && CountedInstructions.insert(&I).second) in visitBinaryOperator()
371 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) { in visitBinaryOperator()
/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp603 Value *SimpleV = nullptr; in visitBinaryOperator() local
605 SimpleV = in visitBinaryOperator()
608 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
610 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) { in visitBinaryOperator()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3778 static bool replaceAndRecursivelySimplifyImpl(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplifyImpl() argument
3788 if (SimpleV) { in replaceAndRecursivelySimplifyImpl()
3794 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
3809 SimpleV = SimplifyInstruction(I, DL, TLI, DT, AC); in replaceAndRecursivelySimplifyImpl()
3810 if (!SimpleV) in replaceAndRecursivelySimplifyImpl()
3822 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
3839 bool llvm::replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplify() argument
3843 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify()
3844 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify()
3845 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC); in replaceAndRecursivelySimplify()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h322 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,