reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
678 Value *OldLHS = Op->getOperand(0); 679 Value *OldRHS = Op->getOperand(1); 687 LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n'); 688 Op->swapOperands(); 689 LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n'); 697 LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n'); 702 Op->setOperand(0, NewLHS); 708 Op->setOperand(1, NewRHS); 710 LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n'); 712 ExpressionChanged = Op; 722 if (NewRHS != Op->getOperand(1)) { 723 LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n'); 724 if (NewRHS == Op->getOperand(0)) { 727 Op->swapOperands(); 730 BinaryOperator *BO = isReassociableOp(Op->getOperand(1), Opcode); 733 Op->setOperand(1, NewRHS); 734 ExpressionChanged = Op; 736 LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n'); 744 BinaryOperator *BO = isReassociableOp(Op->getOperand(0), Opcode); 746 Op = BO; 768 LLVM_DEBUG(dbgs() << "RA: " << *Op << '\n'); 769 Op->setOperand(0, NewOp); 770 LLVM_DEBUG(dbgs() << "TO: " << *Op << '\n'); 771 ExpressionChanged = Op; 774 Op = NewOp;