projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce a helper to combine instruction metadata.
[oota-llvm.git]
/
include
/
llvm
/
Transforms
/
Utils
/
PromoteMemToReg.h
diff --git
a/include/llvm/Transforms/Utils/PromoteMemToReg.h
b/include/llvm/Transforms/Utils/PromoteMemToReg.h
index fde4b81d7f1f2e496e483244d5b9333794f5461e..c83fedb0e2cac376db9423b273d664338f22134b 100644
(file)
--- a/
include/llvm/Transforms/Utils/PromoteMemToReg.h
+++ b/
include/llvm/Transforms/Utils/PromoteMemToReg.h
@@
-15,7
+15,7
@@
#ifndef LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
#define LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
#ifndef LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
#define LLVM_TRANSFORMS_UTILS_PROMOTEMEMTOREG_H
-#include
<vector>
+#include
"llvm/ADT/ArrayRef.h"
namespace llvm {
namespace llvm {
@@
-40,8
+40,8
@@
bool isAllocaPromotable(const AllocaInst *AI);
///
/// If AST is specified, the specified tracker is updated to reflect changes
/// made to the IR.
///
/// If AST is specified, the specified tracker is updated to reflect changes
/// made to the IR.
-void PromoteMemToReg(
const std::vector<AllocaInst*> &Allocas
,
-
DominatorTree &DT, AliasSetTracker *AST = 0
);
+void PromoteMemToReg(
ArrayRef<AllocaInst *> Allocas, DominatorTree &DT
,
+
AliasSetTracker *AST = nullptr
);
} // End llvm namespace
} // End llvm namespace