From 10f3597c4e0c13ecf0272b7ca0be741a91ade48c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 4 May 2006 00:44:25 +0000 Subject: Remove some more unused stuff from MachineInstr that was leftover from V9. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28091 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineInstr.cpp | 38 -------------------------------------- 1 file changed, 38 deletions(-) (limited to 'lib/CodeGen/MachineInstr.cpp') diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index f92c0844d8..8889a7aea2 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -199,14 +199,6 @@ static void print(const MachineOperand &MO, std::ostream &OS, if (MO.hasAllocatedReg()) OutputReg(OS, MO.getReg(), MRI); break; - case MachineOperand::MO_CCRegister: - OS << "%ccreg"; - OutputValue(OS, MO.getVRegValue()); - if (MO.hasAllocatedReg()) { - OS << "=="; - OutputReg(OS, MO.getReg(), MRI); - } - break; case MachineOperand::MO_MachineRegister: OutputReg(OS, MO.getMachineRegNum(), MRI); break; @@ -216,17 +208,6 @@ static void print(const MachineOperand &MO, std::ostream &OS, case MachineOperand::MO_UnextendedImmed: OS << (long)MO.getImmedValue(); break; - case MachineOperand::MO_PCRelativeDisp: { - const Value* opVal = MO.getVRegValue(); - bool isLabel = isa(opVal) || isa(opVal); - OS << "%disp(" << (isLabel? "label " : "addr-of-val "); - if (opVal->hasName()) - OS << opVal->getName(); - else - OS << (const void*) opVal; - OS << ")"; - break; - } case MachineOperand::MO_MachineBasicBlock: OS << "mbb<" << ((Value*)MO.getMachineBasicBlock()->getBasicBlock())->getName() @@ -341,14 +322,6 @@ std::ostream &operator<<(std::ostream &OS, const MachineOperand &MO) { OutputValue(OS, MO.getVRegValue()); } break; - case MachineOperand::MO_CCRegister: - OS << "%ccreg"; - OutputValue(OS, MO.getVRegValue()); - if (MO.hasAllocatedReg()) { - OS << "=="; - OutputReg(OS, MO.getReg()); - } - break; case MachineOperand::MO_MachineRegister: OutputReg(OS, MO.getMachineRegNum()); break; @@ -358,17 +331,6 @@ std::ostream &operator<<(std::ostream &OS, const MachineOperand &MO) { case MachineOperand::MO_UnextendedImmed: OS << (long)MO.getImmedValue(); break; - case MachineOperand::MO_PCRelativeDisp: { - const Value* opVal = MO.getVRegValue(); - bool isLabel = isa(opVal) || isa(opVal); - OS << "%disp(" << (isLabel? "label " : "addr-of-val "); - if (opVal->hasName()) - OS << opVal->getName(); - else - OS << (const void*) opVal; - OS << ")"; - break; - } case MachineOperand::MO_MachineBasicBlock: OS << "getBasicBlock())->getName() -- cgit v1.2.3-18-g5258