mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
Add more missing createXxxPass functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19370 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
@@ -71,6 +72,8 @@ namespace {
|
||||
"Profile Guided Basic Block Placement");
|
||||
}
|
||||
|
||||
FunctionPass *llvm::createBlockPlacementPass() { return new BlockPlacement(); }
|
||||
|
||||
bool BlockPlacement::runOnFunction(Function &F) {
|
||||
PI = &getAnalysis<ProfileInfo>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user