[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 4 17:24:18 PST 2006



Changes in directory llvm/include/llvm/CodeGen:

AsmPrinter.h updated: 1.27 -> 1.28
---
Log message:

add a new method, getPreferredAlignmentLog.


---
Diffs of the changes:  (+4 -0)

 AsmPrinter.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.27 llvm/include/llvm/CodeGen/AsmPrinter.h:1.28
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.27	Wed Feb  1 16:39:30 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h	Sat Feb  4 19:24:06 2006
@@ -177,6 +177,10 @@
     ///
     void SwitchSection(const char *NewSection, const GlobalValue *GV);
 
+    /// getPreferredAlignmentLog - Return the preferred alignment of the
+    /// specified global, returned in log form.  This includes an explicitly
+    /// requested alignment (if the global has one).
+    unsigned getPreferredAlignmentLog(const GlobalVariable *GV) const;
   protected:
     /// doInitialization - Set up the AsmPrinter when we are working on a new
     /// module.  If your pass overrides this, it must make sure to explicitly






More information about the llvm-commits mailing list