From resistor at mac.com Mon May 15 00:13:19 2006
From: resistor at mac.com (Owen Anderson)
Date: Mon, 15 May 2006 00:13:19 -0500
Subject: [llvm-commits] CVS: llvm/CREDITS.TXT
Message-ID: <200605150513.AAA20041@zion.cs.uiuc.edu>
Changes in directory llvm:
CREDITS.TXT updated: 1.52 -> 1.53
---
Log message:
Add myself to the credits.
---
Diffs of the changes: (+4 -0)
CREDITS.TXT | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/CREDITS.TXT
diff -u llvm/CREDITS.TXT:1.52 llvm/CREDITS.TXT:1.53
--- llvm/CREDITS.TXT:1.52 Sun May 14 15:29:25 2006
+++ llvm/CREDITS.TXT Mon May 15 00:13:07 2006
@@ -13,6 +13,10 @@
W: http://www.cs.uiuc.edu/~vadve/
D: The Sparc64 backend, provider of much wisdom, and motivator for LLVM
+N: Owen Anderson
+E: resistor at mac.com
+D: TargetData refactoring, random improvements
+
N: Henrik Bach
D: MingW Win32 API portability layer
From lattner at cs.uiuc.edu Mon May 15 00:48:44 2006
From: lattner at cs.uiuc.edu (Chris Lattner)
Date: Mon, 15 May 2006 00:48:44 -0500
Subject: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Message-ID: <200605150548.AAA20181@zion.cs.uiuc.edu>
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.175 -> 1.176
---
Log message:
Remove some dead code, identified by coverity.
---
Diffs of the changes: (+0 -6)
PPCAsmPrinter.cpp | 6 ------
1 files changed, 6 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.176
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175 Fri May 12 12:33:59 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Mon May 15 00:48:32 2006
@@ -350,13 +350,7 @@
#include "PPCGenAsmWriter.inc"
void PPCAsmPrinter::printOp(const MachineOperand &MO) {
- const MRegisterInfo &RI = *TM.getRegisterInfo();
- int new_symbol;
-
switch (MO.getType()) {
- O << RI.get(MO.getReg()).Name;
- return;
-
case MachineOperand::MO_Immediate:
std::cerr << "printOp() does not handle immediate values\n";
abort();
From reid at x10sys.com Mon May 15 11:12:25 2006
From: reid at x10sys.com (Reid Spencer)
Date: Mon, 15 May 2006 11:12:25 -0500
Subject: [llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineConstantPool.h
Message-ID: <200605151612.LAA02131@zion.cs.uiuc.edu>
Changes in directory llvm/include/llvm/CodeGen:
MachineConstantPool.h updated: 1.16 -> 1.17
---
Log message:
Doxygenify the comments, bringing the file level comments down to be attached
with the class that it documents. Patch suggested by Vladimir Prus.
---
Diffs of the changes: (+22 -21)
MachineConstantPool.h | 43 ++++++++++++++++++++++---------------------
1 files changed, 22 insertions(+), 21 deletions(-)
Index: llvm/include/llvm/CodeGen/MachineConstantPool.h
diff -u llvm/include/llvm/CodeGen/MachineConstantPool.h:1.16 llvm/include/llvm/CodeGen/MachineConstantPool.h:1.17
--- llvm/include/llvm/CodeGen/MachineConstantPool.h:1.16 Tue May 2 20:29:56 2006
+++ llvm/include/llvm/CodeGen/MachineConstantPool.h Mon May 15 11:12:01 2006
@@ -7,15 +7,8 @@
//
//===----------------------------------------------------------------------===//
//
-// The MachineConstantPool class keeps track of constants referenced by a
-// function which must be spilled to memory. This is used for constants which
-// are unable to be used directly as operands to instructions, which typically
-// include floating point and large integer constants.
-//
-// Instructions reference the address of these constant pool constants through
-// the use of MO_ConstantPoolIndex values. When emitting assembly or machine
-// code, these virtual address references are converted to refer to the
-// address of the function constant pool values.
+/// @file This file declares the MachineConstantPool class which is an abstract
+/// constant pool to keep track of constants referenced by a function.
//
//===----------------------------------------------------------------------===//
@@ -30,22 +23,32 @@
class Constant;
class TargetData;
-/// MachineConstantPoolEntry - One entry in the constant pool.
-///
+/// This class is a data container for one entry in a MachineConstantPool.
+/// It contains a pointer to the value and an offset from the start of
+/// the constant pool.
+/// @brief An entry in a MachineConstantPool
struct MachineConstantPoolEntry {
- /// Val - The constant itself.
- Constant *Val;
- /// Offset - The offset of the constant from the start of the constant pool.
- unsigned Offset;
-
+ Constant *Val; ///< The constant itself.
+ unsigned Offset; ///< The offset of the constant from the start of the pool.
MachineConstantPoolEntry(Constant *V, unsigned O) : Val(V), Offset(O) {}
};
+/// The MachineConstantPool class keeps track of constants referenced by a
+/// function which must be spilled to memory. This is used for constants which
+/// are unable to be used directly as operands to instructions, which typically
+/// include floating point and large integer constants.
+///
+/// Instructions reference the address of these constant pool constants through
+/// the use of MO_ConstantPoolIndex values. When emitting assembly or machine
+/// code, these virtual address references are converted to refer to the
+/// address of the function constant pool values.
+/// @brief The machine constant pool.
class MachineConstantPool {
- const TargetData *TD;
- unsigned PoolAlignment;
- std::vector
This example shows how the vanext +
This example shows how the va_arg instruction and the variable argument handling intrinsic functions are used.
@@ -3817,7 +3817,7 @@ Chris Lattner