Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp78 Value *SimpleV = nullptr; in visitBinaryOperator() local
81 SimpleV = in visitBinaryOperator()
84 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
86 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator()
89 if (SimpleV) in visitBinaryOperator()
DInlineCost.cpp1067 Value *SimpleV = nullptr; in visitBinaryOperator() local
1069 SimpleV = SimplifyFPBinOp(I.getOpcode(), CLHS ? CLHS : LHS, in visitBinaryOperator()
1072 SimpleV = in visitBinaryOperator()
1075 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator()
1078 if (SimpleV) in visitBinaryOperator()
DInstructionSimplify.cpp5083 static bool replaceAndRecursivelySimplifyImpl(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplifyImpl() argument
5093 if (SimpleV) { in replaceAndRecursivelySimplifyImpl()
5099 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
5115 SimpleV = SimplifyInstruction(I, {DL, TLI, DT, AC}); in replaceAndRecursivelySimplifyImpl()
5116 if (!SimpleV) in replaceAndRecursivelySimplifyImpl()
5128 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
5146 bool llvm::replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplify() argument
5150 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify()
5151 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify()
5152 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC); in replaceAndRecursivelySimplify()
/external/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp79 Value *SimpleV = nullptr; in visitBinaryOperator() local
82 SimpleV = in visitBinaryOperator()
85 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
87 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) in visitBinaryOperator()
90 if (SimpleV) in visitBinaryOperator()
DInlineCost.cpp766 Value *SimpleV = nullptr; in visitBinaryOperator() local
768 SimpleV = in visitBinaryOperator()
771 SimpleV = SimplifyBinOp(I.getOpcode(), LHS, RHS, DL); in visitBinaryOperator()
773 if (Constant *C = dyn_cast_or_null<Constant>(SimpleV)) { in visitBinaryOperator()
DInstructionSimplify.cpp4257 static bool replaceAndRecursivelySimplifyImpl(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplifyImpl() argument
4267 if (SimpleV) { in replaceAndRecursivelySimplifyImpl()
4273 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
4288 SimpleV = SimplifyInstruction(I, DL, TLI, DT, AC); in replaceAndRecursivelySimplifyImpl()
4289 if (!SimpleV) in replaceAndRecursivelySimplifyImpl()
4301 I->replaceAllUsesWith(SimpleV); in replaceAndRecursivelySimplifyImpl()
4318 bool llvm::replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV, in replaceAndRecursivelySimplify() argument
4322 assert(I != SimpleV && "replaceAndRecursivelySimplify(X,X) is not valid!"); in replaceAndRecursivelySimplify()
4323 assert(SimpleV && "Must provide a simplified value."); in replaceAndRecursivelySimplify()
4324 return replaceAndRecursivelySimplifyImpl(I, SimpleV, TLI, DT, AC); in replaceAndRecursivelySimplify()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp612 Value *SimpleV = SimplifyInstruction(I, DL); in CloneAndPruneIntoFromInst() local
613 if (!SimpleV) in CloneAndPruneIntoFromInst()
623 I->replaceAllUsesWith(SimpleV); in CloneAndPruneIntoFromInst()
DLocal.cpp548 if (Value *SimpleV = SimplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local
560 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DInstructionSimplify.h224 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h341 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,
/external/llvm/lib/Transforms/Utils/
DLocal.cpp456 if (Value *SimpleV = SimplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local
468 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()