projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[LDist][LVer] Explicitly pass the set of memchecks to LoopVersioning, NFC
[oota-llvm.git]
/
include
/
llvm
/
Transforms
/
Utils
/
LoopVersioning.h
diff --git
a/include/llvm/Transforms/Utils/LoopVersioning.h
b/include/llvm/Transforms/Utils/LoopVersioning.h
index 009fba48c6a38fb2d0094935e3f60563e41024b2..077ae2a11bf587c93b536f02843883148233cb09 100644
(file)
--- a/
include/llvm/Transforms/Utils/LoopVersioning.h
+++ b/
include/llvm/Transforms/Utils/LoopVersioning.h
@@
-31,7
+31,8
@@
class LoopInfo;
/// already has a preheader.
class LoopVersioning {
public:
/// already has a preheader.
class LoopVersioning {
public:
- LoopVersioning(const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI,
+ LoopVersioning(SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks,
+ const LoopAccessInfo &LAI, Loop *L, LoopInfo *LI,
DominatorTree *DT,
const SmallVector<int, 8> *PtrToPartition = nullptr);
DominatorTree *DT,
const SmallVector<int, 8> *PtrToPartition = nullptr);
@@
-90,6
+91,9
@@
private:
/// in NonVersionedLoop.
ValueToValueMapTy VMap;
/// in NonVersionedLoop.
ValueToValueMapTy VMap;
+ /// \brief The set of checks that we are versioning for.
+ SmallVector<RuntimePointerChecking::PointerCheck, 4> Checks;
+
/// \brief Analyses used.
const LoopAccessInfo &LAI;
LoopInfo *LI;
/// \brief Analyses used.
const LoopAccessInfo &LAI;
LoopInfo *LI;