Searched refs:SimplifiedInst (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 461 Value *SimplifiedInst = nullptr; in tryFactorization() local 483 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, A, V); in tryFactorization() 488 if (!SimplifiedInst && RightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 503 SimplifiedInst = Builder->CreateBinOp(InnerOpcode, V, B); in tryFactorization() 507 if (SimplifiedInst) { in tryFactorization() 509 SimplifiedInst->takeName(&I); in tryFactorization() 513 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization() 514 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization() 542 return SimplifiedInst; in tryFactorization()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 516 Value *SimplifiedInst = nullptr; in tryFactorization() local 538 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, A, V); in tryFactorization() 543 if (!SimplifiedInst && rightDistributesOverLeft(TopLevelOpcode, InnerOpcode)) in tryFactorization() 558 SimplifiedInst = Builder.CreateBinOp(InnerOpcode, V, B); in tryFactorization() 562 if (SimplifiedInst) { in tryFactorization() 564 SimplifiedInst->takeName(&I); in tryFactorization() 568 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(SimplifiedInst)) { in tryFactorization() 569 if (isa<OverflowingBinaryOperator>(SimplifiedInst)) { in tryFactorization() 595 return SimplifiedInst; in tryFactorization()
|