blob: 95c768d72c7253ced135782243536cc2cce956da [file] [log] [blame]
Chris Lattner035dfbe2002-08-09 20:08:06 +00001//===-- MachineInstr.cpp --------------------------------------------------===//
Misha Brukmanedf128a2005-04-21 22:36:52 +00002//
John Criswellb576c942003-10-20 19:43:21 +00003// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Misha Brukmanedf128a2005-04-21 22:36:52 +00007//
John Criswellb576c942003-10-20 19:43:21 +00008//===----------------------------------------------------------------------===//
Brian Gaeke21326fc2004-02-13 04:39:32 +00009//
10// Methods common to all machine instructions.
11//
Chris Lattner035dfbe2002-08-09 20:08:06 +000012//===----------------------------------------------------------------------===//
Vikram S. Adve70bc4b52001-07-21 12:41:50 +000013
Chris Lattner822b4fb2001-09-07 17:18:30 +000014#include "llvm/CodeGen/MachineInstr.h"
Chris Lattner84bc5422007-12-31 04:13:23 +000015#include "llvm/Value.h"
Chris Lattner8517e1f2004-02-19 16:17:08 +000016#include "llvm/CodeGen/MachineFunction.h"
Chris Lattner10491642002-10-30 00:48:05 +000017#include "llvm/Target/TargetMachine.h"
Chris Lattner3501fea2003-01-14 22:00:31 +000018#include "llvm/Target/TargetInstrInfo.h"
Chris Lattner2a79a092002-10-30 00:58:19 +000019#include "llvm/Target/MRegisterInfo.h"
Reid Spencer551ccae2004-09-01 22:55:40 +000020#include "llvm/Support/LeakDetector.h"
Bill Wendlinga09362e2006-11-28 22:48:48 +000021#include "llvm/Support/Streams.h"
Jeff Cohenc21c5ee2006-12-15 22:57:14 +000022#include <ostream>
Chris Lattner0742b592004-02-23 18:38:20 +000023using namespace llvm;
Brian Gaeked0fde302003-11-11 22:41:34 +000024
Chris Lattnerf7382302007-12-30 21:56:09 +000025//===----------------------------------------------------------------------===//
26// MachineOperand Implementation
27//===----------------------------------------------------------------------===//
28
29/// isIdenticalTo - Return true if this operand is identical to the specified
30/// operand.
31bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const {
32 if (getType() != Other.getType()) return false;
33
34 switch (getType()) {
35 default: assert(0 && "Unrecognized operand type");
36 case MachineOperand::MO_Register:
37 return getReg() == Other.getReg() && isDef() == Other.isDef() &&
38 getSubReg() == Other.getSubReg();
39 case MachineOperand::MO_Immediate:
40 return getImm() == Other.getImm();
41 case MachineOperand::MO_MachineBasicBlock:
42 return getMBB() == Other.getMBB();
43 case MachineOperand::MO_FrameIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +000044 return getIndex() == Other.getIndex();
Chris Lattnerf7382302007-12-30 21:56:09 +000045 case MachineOperand::MO_ConstantPoolIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +000046 return getIndex() == Other.getIndex() && getOffset() == Other.getOffset();
Chris Lattnerf7382302007-12-30 21:56:09 +000047 case MachineOperand::MO_JumpTableIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +000048 return getIndex() == Other.getIndex();
Chris Lattnerf7382302007-12-30 21:56:09 +000049 case MachineOperand::MO_GlobalAddress:
50 return getGlobal() == Other.getGlobal() && getOffset() == Other.getOffset();
51 case MachineOperand::MO_ExternalSymbol:
52 return !strcmp(getSymbolName(), Other.getSymbolName()) &&
53 getOffset() == Other.getOffset();
54 }
55}
56
57/// print - Print the specified machine operand.
58///
59void MachineOperand::print(std::ostream &OS, const TargetMachine *TM) const {
60 switch (getType()) {
61 case MachineOperand::MO_Register:
62 if (getReg() == 0 || MRegisterInfo::isVirtualRegister(getReg())) {
63 OS << "%reg" << getReg();
64 } else {
65 // If the instruction is embedded into a basic block, we can find the
66 // target
67 // info for the instruction.
68 if (TM == 0)
69 if (const MachineInstr *MI = getParent())
70 if (const MachineBasicBlock *MBB = MI->getParent())
71 if (const MachineFunction *MF = MBB->getParent())
72 TM = &MF->getTarget();
73
74 if (TM)
75 OS << "%" << TM->getRegisterInfo()->get(getReg()).Name;
76 else
77 OS << "%mreg" << getReg();
78 }
79
80 if (isDef() || isKill() || isDead() || isImplicit()) {
81 OS << "<";
82 bool NeedComma = false;
83 if (isImplicit()) {
84 OS << (isDef() ? "imp-def" : "imp-use");
85 NeedComma = true;
86 } else if (isDef()) {
87 OS << "def";
88 NeedComma = true;
89 }
90 if (isKill() || isDead()) {
91 if (NeedComma) OS << ",";
92 if (isKill()) OS << "kill";
93 if (isDead()) OS << "dead";
94 }
95 OS << ">";
96 }
97 break;
98 case MachineOperand::MO_Immediate:
99 OS << getImm();
100 break;
101 case MachineOperand::MO_MachineBasicBlock:
102 OS << "mbb<"
Chris Lattner8aa797a2007-12-30 23:10:15 +0000103 << ((Value*)getMBB()->getBasicBlock())->getName()
104 << "," << (void*)getMBB() << ">";
Chris Lattnerf7382302007-12-30 21:56:09 +0000105 break;
106 case MachineOperand::MO_FrameIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +0000107 OS << "<fi#" << getIndex() << ">";
Chris Lattnerf7382302007-12-30 21:56:09 +0000108 break;
109 case MachineOperand::MO_ConstantPoolIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +0000110 OS << "<cp#" << getIndex();
Chris Lattnerf7382302007-12-30 21:56:09 +0000111 if (getOffset()) OS << "+" << getOffset();
112 OS << ">";
113 break;
114 case MachineOperand::MO_JumpTableIndex:
Chris Lattner8aa797a2007-12-30 23:10:15 +0000115 OS << "<jt#" << getIndex() << ">";
Chris Lattnerf7382302007-12-30 21:56:09 +0000116 break;
117 case MachineOperand::MO_GlobalAddress:
118 OS << "<ga:" << ((Value*)getGlobal())->getName();
119 if (getOffset()) OS << "+" << getOffset();
120 OS << ">";
121 break;
122 case MachineOperand::MO_ExternalSymbol:
123 OS << "<es:" << getSymbolName();
124 if (getOffset()) OS << "+" << getOffset();
125 OS << ">";
126 break;
127 default:
128 assert(0 && "Unrecognized operand type");
129 }
130}
131
132//===----------------------------------------------------------------------===//
133// MachineInstr Implementation
134//===----------------------------------------------------------------------===//
135
Evan Chengc0f64ff2006-11-27 23:37:22 +0000136/// MachineInstr ctor - This constructor creates a dummy MachineInstr with
Evan Cheng67f660c2006-11-30 07:08:44 +0000137/// TID NULL and no operands.
Evan Chengc0f64ff2006-11-27 23:37:22 +0000138MachineInstr::MachineInstr()
Evan Cheng67f660c2006-11-30 07:08:44 +0000139 : TID(0), NumImplicitOps(0), parent(0) {
Alkis Evlogimenosaad5c052004-02-16 07:17:43 +0000140 // Make sure that we get added to a machine basicblock
141 LeakDetector::addGarbageObject(this);
Chris Lattner72791222002-10-28 20:59:49 +0000142}
143
Evan Cheng67f660c2006-11-30 07:08:44 +0000144void MachineInstr::addImplicitDefUseOperands() {
145 if (TID->ImplicitDefs)
Chris Lattnera4161ee2007-12-30 00:12:25 +0000146 for (const unsigned *ImpDefs = TID->ImplicitDefs; *ImpDefs; ++ImpDefs)
Chris Lattner8019f412007-12-30 00:41:17 +0000147 addOperand(MachineOperand::CreateReg(*ImpDefs, true, true));
Evan Cheng67f660c2006-11-30 07:08:44 +0000148 if (TID->ImplicitUses)
Chris Lattnera4161ee2007-12-30 00:12:25 +0000149 for (const unsigned *ImpUses = TID->ImplicitUses; *ImpUses; ++ImpUses)
Chris Lattner8019f412007-12-30 00:41:17 +0000150 addOperand(MachineOperand::CreateReg(*ImpUses, false, true));
Evan Chengd7de4962006-11-13 23:34:06 +0000151}
152
153/// MachineInstr ctor - This constructor create a MachineInstr and add the
Evan Chengc0f64ff2006-11-27 23:37:22 +0000154/// implicit operands. It reserves space for number of operands specified by
155/// TargetInstrDescriptor or the numOperands if it is not zero. (for
156/// instructions with variable number of operands).
Evan Chengfa945722007-10-13 02:23:01 +0000157MachineInstr::MachineInstr(const TargetInstrDescriptor &tid, bool NoImp)
Evan Cheng67f660c2006-11-30 07:08:44 +0000158 : TID(&tid), NumImplicitOps(0), parent(0) {
Evan Chengfa945722007-10-13 02:23:01 +0000159 if (!NoImp && TID->ImplicitDefs)
Evan Cheng67f660c2006-11-30 07:08:44 +0000160 for (const unsigned *ImpDefs = TID->ImplicitDefs; *ImpDefs; ++ImpDefs)
Evan Chengd7de4962006-11-13 23:34:06 +0000161 NumImplicitOps++;
Evan Chengfa945722007-10-13 02:23:01 +0000162 if (!NoImp && TID->ImplicitUses)
Evan Cheng67f660c2006-11-30 07:08:44 +0000163 for (const unsigned *ImpUses = TID->ImplicitUses; *ImpUses; ++ImpUses)
Evan Chengd7de4962006-11-13 23:34:06 +0000164 NumImplicitOps++;
Evan Cheng67f660c2006-11-30 07:08:44 +0000165 Operands.reserve(NumImplicitOps + TID->numOperands);
Evan Chengfa945722007-10-13 02:23:01 +0000166 if (!NoImp)
167 addImplicitDefUseOperands();
Evan Chengd7de4962006-11-13 23:34:06 +0000168 // Make sure that we get added to a machine basicblock
169 LeakDetector::addGarbageObject(this);
170}
171
Chris Lattnerddd7fcb2002-10-29 23:19:00 +0000172/// MachineInstr ctor - Work exactly the same as the ctor above, except that the
173/// MachineInstr is created and added to the end of the specified basic block.
174///
Evan Chengc0f64ff2006-11-27 23:37:22 +0000175MachineInstr::MachineInstr(MachineBasicBlock *MBB,
Evan Cheng67f660c2006-11-30 07:08:44 +0000176 const TargetInstrDescriptor &tid)
177 : TID(&tid), NumImplicitOps(0), parent(0) {
Chris Lattnerddd7fcb2002-10-29 23:19:00 +0000178 assert(MBB && "Cannot use inserting ctor with null basic block!");
Evan Cheng67f660c2006-11-30 07:08:44 +0000179 if (TID->ImplicitDefs)
180 for (const unsigned *ImpDefs = TID->ImplicitDefs; *ImpDefs; ++ImpDefs)
Evan Chengd7de4962006-11-13 23:34:06 +0000181 NumImplicitOps++;
Evan Cheng67f660c2006-11-30 07:08:44 +0000182 if (TID->ImplicitUses)
183 for (const unsigned *ImpUses = TID->ImplicitUses; *ImpUses; ++ImpUses)
Evan Chengd7de4962006-11-13 23:34:06 +0000184 NumImplicitOps++;
Evan Cheng67f660c2006-11-30 07:08:44 +0000185 Operands.reserve(NumImplicitOps + TID->numOperands);
186 addImplicitDefUseOperands();
Alkis Evlogimenosaad5c052004-02-16 07:17:43 +0000187 // Make sure that we get added to a machine basicblock
188 LeakDetector::addGarbageObject(this);
Chris Lattnerddd7fcb2002-10-29 23:19:00 +0000189 MBB->push_back(this); // Add instruction to end of basic block!
190}
191
Misha Brukmance22e762004-07-09 14:45:17 +0000192/// MachineInstr ctor - Copies MachineInstr arg exactly
193///
Tanya Lattner466b5342004-05-23 19:35:12 +0000194MachineInstr::MachineInstr(const MachineInstr &MI) {
Evan Cheng67f660c2006-11-30 07:08:44 +0000195 TID = MI.getInstrDescriptor();
Evan Cheng6b2c05f2006-11-15 20:54:29 +0000196 NumImplicitOps = MI.NumImplicitOps;
Chris Lattner943b5e12006-05-04 19:14:44 +0000197 Operands.reserve(MI.getNumOperands());
Tanya Lattnerb5159ed2004-05-23 20:58:02 +0000198
Misha Brukmance22e762004-07-09 14:45:17 +0000199 // Add operands
Chris Lattnere12d6ab2007-12-30 06:11:04 +0000200 for (unsigned i = 0; i != MI.getNumOperands(); ++i) {
Chris Lattner943b5e12006-05-04 19:14:44 +0000201 Operands.push_back(MI.getOperand(i));
Chris Lattnere12d6ab2007-12-30 06:11:04 +0000202 Operands.back().ParentMI = this;
203 }
Tanya Lattner0c63e032004-05-24 03:14:18 +0000204
Misha Brukmance22e762004-07-09 14:45:17 +0000205 // Set parent, next, and prev to null
Tanya Lattner0c63e032004-05-24 03:14:18 +0000206 parent = 0;
207 prev = 0;
208 next = 0;
Tanya Lattner466b5342004-05-23 19:35:12 +0000209}
210
211
Misha Brukmance22e762004-07-09 14:45:17 +0000212MachineInstr::~MachineInstr() {
Alkis Evlogimenosaad5c052004-02-16 07:17:43 +0000213 LeakDetector::removeGarbageObject(this);
Chris Lattnere12d6ab2007-12-30 06:11:04 +0000214#ifndef NDEBUG
215 for (unsigned i = 0, e = Operands.size(); i != e; ++i)
216 assert(Operands[i].ParentMI == this && "ParentMI mismatch!");
217#endif
Alkis Evlogimenosaad5c052004-02-16 07:17:43 +0000218}
219
Evan Cheng67f660c2006-11-30 07:08:44 +0000220/// getOpcode - Returns the opcode of this MachineInstr.
221///
Dan Gohmancb648f92007-09-14 20:08:19 +0000222int MachineInstr::getOpcode() const {
Evan Cheng67f660c2006-11-30 07:08:44 +0000223 return TID->Opcode;
224}
225
Chris Lattner48d7c062006-04-17 21:35:41 +0000226/// removeFromParent - This method unlinks 'this' from the containing basic
227/// block, and returns it, but does not delete it.
228MachineInstr *MachineInstr::removeFromParent() {
229 assert(getParent() && "Not embedded in a basic block!");
230 getParent()->remove(this);
231 return this;
232}
233
234
Brian Gaeke21326fc2004-02-13 04:39:32 +0000235/// OperandComplete - Return true if it's illegal to add a new operand
236///
Chris Lattner2a90ba62004-02-12 16:09:53 +0000237bool MachineInstr::OperandsComplete() const {
Evan Cheng67f660c2006-11-30 07:08:44 +0000238 unsigned short NumOperands = TID->numOperands;
239 if ((TID->Flags & M_VARIABLE_OPS) == 0 &&
Evan Cheng8bcb0422006-11-28 02:25:34 +0000240 getNumOperands()-NumImplicitOps >= NumOperands)
Vikram S. Adve34977822003-05-31 07:39:06 +0000241 return true; // Broken: we have all the operands of this instruction!
Chris Lattner413746e2002-10-28 20:48:39 +0000242 return false;
243}
244
Evan Cheng19e3f312007-05-15 01:26:09 +0000245/// getNumExplicitOperands - Returns the number of non-implicit operands.
246///
247unsigned MachineInstr::getNumExplicitOperands() const {
248 unsigned NumOperands = TID->numOperands;
249 if ((TID->Flags & M_VARIABLE_OPS) == 0)
250 return NumOperands;
251
252 for (unsigned e = getNumOperands(); NumOperands != e; ++NumOperands) {
253 const MachineOperand &MO = getOperand(NumOperands);
254 if (!MO.isRegister() || !MO.isImplicit())
255 NumOperands++;
256 }
257 return NumOperands;
258}
259
Chris Lattner8ace2cd2006-10-20 22:39:59 +0000260
Evan Chengfaa51072007-04-26 19:00:32 +0000261/// findRegisterUseOperandIdx() - Returns the MachineOperand that is a use of
Evan Cheng32eb1f12007-03-26 22:37:45 +0000262/// the specific register or -1 if it is not found. It further tightening
Evan Cheng76d7e762007-02-23 01:04:26 +0000263/// the search criteria to a use that kills the register if isKill is true.
Evan Chengf277ee42007-05-29 18:35:22 +0000264int MachineInstr::findRegisterUseOperandIdx(unsigned Reg, bool isKill) const {
Evan Cheng576d1232006-12-06 08:27:42 +0000265 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
Evan Chengf277ee42007-05-29 18:35:22 +0000266 const MachineOperand &MO = getOperand(i);
Dan Gohman92dfe202007-09-14 20:33:02 +0000267 if (MO.isRegister() && MO.isUse() && MO.getReg() == Reg)
Evan Cheng76d7e762007-02-23 01:04:26 +0000268 if (!isKill || MO.isKill())
Evan Cheng32eb1f12007-03-26 22:37:45 +0000269 return i;
Evan Cheng576d1232006-12-06 08:27:42 +0000270 }
Evan Cheng32eb1f12007-03-26 22:37:45 +0000271 return -1;
Evan Cheng576d1232006-12-06 08:27:42 +0000272}
273
Evan Chengb371f452007-02-19 21:49:54 +0000274/// findRegisterDefOperand() - Returns the MachineOperand that is a def of
275/// the specific register or NULL if it is not found.
276MachineOperand *MachineInstr::findRegisterDefOperand(unsigned Reg) {
277 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
278 MachineOperand &MO = getOperand(i);
Dan Gohman92dfe202007-09-14 20:33:02 +0000279 if (MO.isRegister() && MO.isDef() && MO.getReg() == Reg)
Evan Chengb371f452007-02-19 21:49:54 +0000280 return &MO;
281 }
282 return NULL;
283}
Evan Cheng19e3f312007-05-15 01:26:09 +0000284
Evan Chengf277ee42007-05-29 18:35:22 +0000285/// findFirstPredOperandIdx() - Find the index of the first operand in the
286/// operand list that is used to represent the predicate. It returns -1 if
287/// none is found.
288int MachineInstr::findFirstPredOperandIdx() const {
Evan Cheng19e3f312007-05-15 01:26:09 +0000289 const TargetInstrDescriptor *TID = getInstrDescriptor();
Evan Chengc3a289c2007-05-16 20:56:08 +0000290 if (TID->Flags & M_PREDICABLE) {
Evan Cheng19e3f312007-05-15 01:26:09 +0000291 for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
292 if ((TID->OpInfo[i].Flags & M_PREDICATE_OPERAND))
Evan Chengf277ee42007-05-29 18:35:22 +0000293 return i;
Evan Cheng19e3f312007-05-15 01:26:09 +0000294 }
295
Evan Chengf277ee42007-05-29 18:35:22 +0000296 return -1;
Evan Cheng19e3f312007-05-15 01:26:09 +0000297}
Evan Chengb371f452007-02-19 21:49:54 +0000298
Evan Cheng32dfbea2007-10-12 08:50:34 +0000299/// isRegReDefinedByTwoAddr - Returns true if the Reg re-definition is due
300/// to two addr elimination.
301bool MachineInstr::isRegReDefinedByTwoAddr(unsigned Reg) const {
302 const TargetInstrDescriptor *TID = getInstrDescriptor();
303 for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
304 const MachineOperand &MO1 = getOperand(i);
305 if (MO1.isRegister() && MO1.isDef() && MO1.getReg() == Reg) {
306 for (unsigned j = i+1; j < e; ++j) {
307 const MachineOperand &MO2 = getOperand(j);
308 if (MO2.isRegister() && MO2.isUse() && MO2.getReg() == Reg &&
309 TID->getOperandConstraint(j, TOI::TIED_TO) == (int)i)
310 return true;
311 }
312 }
313 }
314 return false;
315}
316
Evan Cheng576d1232006-12-06 08:27:42 +0000317/// copyKillDeadInfo - Copies kill / dead operand properties from MI.
318///
319void MachineInstr::copyKillDeadInfo(const MachineInstr *MI) {
320 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
321 const MachineOperand &MO = MI->getOperand(i);
Dan Gohman92dfe202007-09-14 20:33:02 +0000322 if (!MO.isRegister() || (!MO.isKill() && !MO.isDead()))
Evan Cheng576d1232006-12-06 08:27:42 +0000323 continue;
324 for (unsigned j = 0, ee = getNumOperands(); j != ee; ++j) {
325 MachineOperand &MOp = getOperand(j);
326 if (!MOp.isIdenticalTo(MO))
327 continue;
328 if (MO.isKill())
329 MOp.setIsKill();
330 else
331 MOp.setIsDead();
332 break;
333 }
334 }
335}
336
Evan Cheng19e3f312007-05-15 01:26:09 +0000337/// copyPredicates - Copies predicate operand(s) from MI.
338void MachineInstr::copyPredicates(const MachineInstr *MI) {
339 const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
Evan Chengc3a289c2007-05-16 20:56:08 +0000340 if (TID->Flags & M_PREDICABLE) {
Evan Cheng19e3f312007-05-15 01:26:09 +0000341 for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
342 if ((TID->OpInfo[i].Flags & M_PREDICATE_OPERAND)) {
Evan Cheng19e3f312007-05-15 01:26:09 +0000343 // Predicated operands must be last operands.
Chris Lattner8019f412007-12-30 00:41:17 +0000344 addOperand(MI->getOperand(i));
Evan Cheng19e3f312007-05-15 01:26:09 +0000345 }
346 }
347 }
348}
349
Brian Gaeke21326fc2004-02-13 04:39:32 +0000350void MachineInstr::dump() const {
Bill Wendlinge8156192006-12-07 01:30:32 +0000351 cerr << " " << *this;
Vikram S. Adve70bc4b52001-07-21 12:41:50 +0000352}
353
Tanya Lattnerb1407622004-06-25 00:13:11 +0000354void MachineInstr::print(std::ostream &OS, const TargetMachine *TM) const {
Chris Lattnere3087892007-12-30 21:31:53 +0000355 // Specialize printing if op#0 is definition
Chris Lattner6a592272002-10-30 01:55:38 +0000356 unsigned StartOp = 0;
Dan Gohman92dfe202007-09-14 20:33:02 +0000357 if (getNumOperands() && getOperand(0).isRegister() && getOperand(0).isDef()) {
Chris Lattnerf7382302007-12-30 21:56:09 +0000358 getOperand(0).print(OS, TM);
Chris Lattner6a592272002-10-30 01:55:38 +0000359 OS << " = ";
360 ++StartOp; // Don't print this operand again!
361 }
Tanya Lattnerb1407622004-06-25 00:13:11 +0000362
Chris Lattnere3087892007-12-30 21:31:53 +0000363 OS << getInstrDescriptor()->Name;
Misha Brukmanedf128a2005-04-21 22:36:52 +0000364
Chris Lattner6a592272002-10-30 01:55:38 +0000365 for (unsigned i = StartOp, e = getNumOperands(); i != e; ++i) {
366 if (i != StartOp)
367 OS << ",";
368 OS << " ";
Chris Lattnerf7382302007-12-30 21:56:09 +0000369 getOperand(i).print(OS, TM);
Chris Lattner10491642002-10-30 00:48:05 +0000370 }
Misha Brukmanedf128a2005-04-21 22:36:52 +0000371
Chris Lattner10491642002-10-30 00:48:05 +0000372 OS << "\n";
373}
374