Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp382 Value *SimpleV = nullptr; in visitBinaryOperator() local
385 SimpleV = in visitBinaryOperator()
388 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
390 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator()
393 if (SimpleV) in visitBinaryOperator()
/external/llvm/lib/Analysis/
DInlineCost.cpp644 Value *SimpleV = nullptr; in visitBinaryOperator() local
646 SimpleV = in visitBinaryOperator()
649 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
651 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) { in visitBinaryOperator()
DInstructionSimplify.cpp4113 static bool replaceAndRecursivelySimplifyImpl(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplifyImpl() argument
4123 if (SimpleV) { in replaceAndRecursivelySimplifyImpl()
4129 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
4144 SimpleV = SimplifyInstruction(I, DL, TLI, DT, AC); in replaceAndRecursivelySimplifyImpl()
4145 if (!SimpleV) in replaceAndRecursivelySimplifyImpl()
4157 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
4174 bool llvm::replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplify() argument
4178 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify()
4179 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify()
4180 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC); in replaceAndRecursivelySimplify()
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h340 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,
/external/llvm/lib/Transforms/Utils/
DLocal.cpp451 if (Value *SimpleV = SimplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local
459 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()