projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Function's arg_size() and size() methods.
[oota-llvm.git]
/
include
/
llvm
/
PassSupport.h
diff --git
a/include/llvm/PassSupport.h
b/include/llvm/PassSupport.h
index af00725a32df82b71d8c2ea1121ebe3c0523f2b6..7121835a7e524f88be44c505583039aad3f54528 100644
(file)
--- a/
include/llvm/PassSupport.h
+++ b/
include/llvm/PassSupport.h
@@
-53,10
+53,10
@@
public:
/// through RegisterPass.
PassInfo(const char *name, const char *arg, intptr_t pi,
NormalCtor_t normal = 0,
/// through RegisterPass.
PassInfo(const char *name, const char *arg, intptr_t pi,
NormalCtor_t normal = 0,
- bool isCFGOnly = false, bool is
A
nalysis = false)
+ bool isCFGOnly = false, bool is
_a
nalysis = false)
: PassName(name), PassArgument(arg), PassID(pi),
IsCFGOnlyPass(isCFGOnly),
: PassName(name), PassArgument(arg), PassID(pi),
IsCFGOnlyPass(isCFGOnly),
- IsAnalysis(is
A
nalysis), IsAnalysisGroup(false), NormalCtor(normal) {
+ IsAnalysis(is
_a
nalysis), IsAnalysisGroup(false), NormalCtor(normal) {
registerPass();
}
/// PassInfo ctor - Do not call this directly, this should only be invoked
registerPass();
}
/// PassInfo ctor - Do not call this directly, this should only be invoked
@@
-169,10
+169,10
@@
struct RegisterPass : public PassInfo {
// Register Pass using default constructor...
RegisterPass(const char *PassArg, const char *Name, bool CFGOnly = false,
// Register Pass using default constructor...
RegisterPass(const char *PassArg, const char *Name, bool CFGOnly = false,
- bool
IsA
nalysis = false)
+ bool
is_a
nalysis = false)
: PassInfo(Name, PassArg, intptr_t(&passName::ID),
PassInfo::NormalCtor_t(callDefaultCtor<passName>),
: PassInfo(Name, PassArg, intptr_t(&passName::ID),
PassInfo::NormalCtor_t(callDefaultCtor<passName>),
- CFGOnly,
IsA
nalysis) {
+ CFGOnly,
is_a
nalysis) {
}
};
}
};
@@
-244,7
+244,7
@@
struct PassRegistrationListener {
/// Callback functions - These functions are invoked whenever a pass is loaded
/// or removed from the current executable.
///
/// Callback functions - These functions are invoked whenever a pass is loaded
/// or removed from the current executable.
///
- virtual void passRegistered(const PassInfo *
P
) {}
+ virtual void passRegistered(const PassInfo *) {}
/// enumeratePasses - Iterate over the registered passes, calling the
/// passEnumerate callback on each PassInfo object.
/// enumeratePasses - Iterate over the registered passes, calling the
/// passEnumerate callback on each PassInfo object.
@@
-254,7
+254,7
@@
struct PassRegistrationListener {
/// passEnumerate - Callback function invoked when someone calls
/// enumeratePasses on this PassRegistrationListener object.
///
/// passEnumerate - Callback function invoked when someone calls
/// enumeratePasses on this PassRegistrationListener object.
///
- virtual void passEnumerate(const PassInfo *
P
) {}
+ virtual void passEnumerate(const PassInfo *) {}
};
};