LLVM 24.0.0git
SystemZAlignGlobals.cpp File Reference
#include "SystemZ.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"

Go to the source code of this file.

Functions

 INITIALIZE_PASS (SystemZAlignGlobalsLegacy, "systemz-align-globals", "Try aligning globals to 2 bytes", false, false) ModulePass *llvm
static bool alignGlobalsInModule (Module &M)

Function Documentation

◆ alignGlobalsInModule()

bool alignGlobalsInModule ( Module & M)
static

Definition at line 47 of file SystemZAlignGlobals.cpp.

References Changed.

Referenced by llvm::SystemZAlignGlobalsPass::run().

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( SystemZAlignGlobalsLegacy ,
"systemz-align-globals" ,
"Try aligning globals to 2 bytes" ,
false ,
false  )