add a new method, getPreferredAlignmentLog.

llvm-svn: 25977
This commit is contained in:
Chris Lattner 2006-02-05 01:24:06 +00:00
parent 1fcff15f86
commit 9d0b2f7b50
1 changed files with 4 additions and 0 deletions

View File

@ -177,6 +177,10 @@ namespace llvm {
///
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