mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Forward-declare Loop and LoopInfo instead of #including LoopInfo.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -14,13 +14,13 @@
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H
|
||||
#define LLVM_TRANSFORMS_UTILS_FUNCTION_H
|
||||
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
class BasicBlock;
|
||||
class DominatorTree;
|
||||
class Function;
|
||||
class Loop;
|
||||
|
||||
/// ExtractCodeRegion - rip out a sequence of basic blocks into a new function
|
||||
///
|
||||
|
@ -16,10 +16,10 @@
|
||||
#ifndef LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
|
||||
#define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
|
||||
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Loop;
|
||||
class LoopInfo;
|
||||
class LPPassManager;
|
||||
|
||||
bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM);
|
||||
|
Reference in New Issue
Block a user