mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Use ArrayRef instead of an explicit vector type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#define LLVM_PASSMANAGERS_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
@@ -184,7 +185,7 @@ public:
|
||||
void schedulePass(Pass *P);
|
||||
|
||||
/// Set pass P as the last user of the given analysis passes.
|
||||
void setLastUser(const SmallVectorImpl<Pass *> &AnalysisPasses, Pass *P);
|
||||
void setLastUser(ArrayRef<Pass*> AnalysisPasses, Pass *P);
|
||||
|
||||
/// Collect passes whose last user is P
|
||||
void collectLastUses(SmallVectorImpl<Pass *> &LastUses, Pass *P);
|
||||
|
||||
Reference in New Issue
Block a user