forked from OSchip/llvm-project
parent
15f269afa3
commit
7f7b8985f8
|
@ -22,7 +22,6 @@ namespace llvm {
|
||||||
class AllocaInst;
|
class AllocaInst;
|
||||||
class ETForest;
|
class ETForest;
|
||||||
class DominanceFrontier;
|
class DominanceFrontier;
|
||||||
class TargetData;
|
|
||||||
class AliasSetTracker;
|
class AliasSetTracker;
|
||||||
|
|
||||||
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
|
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
|
||||||
|
@ -40,7 +39,7 @@ bool isAllocaPromotable(const AllocaInst *AI);
|
||||||
///
|
///
|
||||||
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
||||||
ETForest &ET, DominanceFrontier &DF,
|
ETForest &ET, DominanceFrontier &DF,
|
||||||
const TargetData &TD, AliasSetTracker *AST = 0);
|
AliasSetTracker *AST = 0);
|
||||||
|
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue