/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 78 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()
|
D | InlineCost.cpp | 1067 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()
|
D | InstructionSimplify.cpp | 5083 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/ |
D | LoopUnrollAnalyzer.cpp | 79 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()
|
D | InlineCost.cpp | 766 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()
|
D | InstructionSimplify.cpp | 4257 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/ |
D | CloneFunction.cpp | 612 Value *SimpleV = SimplifyInstruction(I, DL); in CloneAndPruneIntoFromInst() local 613 if (!SimpleV) in CloneAndPruneIntoFromInst() 623 I->replaceAllUsesWith(SimpleV); in CloneAndPruneIntoFromInst()
|
D | Local.cpp | 548 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/ |
D | InstructionSimplify.h | 224 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,
|
/external/llvm/include/llvm/Analysis/ |
D | InstructionSimplify.h | 341 bool replaceAndRecursivelySimplify(Instruction *I, Value *SimpleV,
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 456 if (Value *SimpleV = SimplifyInstruction(I, DL)) { in simplifyAndDCEInstruction() local 468 I->replaceAllUsesWith(SimpleV); in simplifyAndDCEInstruction()
|