mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Add last four createXxxPass functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19424 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
|
||||
#include "llvm/Analysis/DataStructure/DataStructure.h"
|
||||
#include "llvm/Analysis/DataStructure/DSGraph.h"
|
||||
#include "llvm/Analysis/Passes.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Constant.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
@ -48,6 +49,8 @@ namespace {
|
||||
RegisterOpt<DSOpt> X("ds-opt", "DSA-based simple optimizations");
|
||||
}
|
||||
|
||||
ModulePass *llvm::createDSOptPass() { return new DSOpt(); }
|
||||
|
||||
/// OptimizeGlobals - This method uses information taken from DSA to optimize
|
||||
/// global variables.
|
||||
///
|
||||
|
Reference in New Issue
Block a user