mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Make several variable declarations static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool>
|
||||
static cl::opt<bool>
|
||||
PrintAll("count-aa-print-all-queries", cl::ReallyHidden);
|
||||
cl::opt<bool>
|
||||
static cl::opt<bool>
|
||||
PrintAllFailures("count-aa-print-all-failed-queries", cl::ReallyHidden);
|
||||
|
||||
class VISIBILITY_HIDDEN AliasAnalysisCounter
|
||||
|
@@ -35,16 +35,17 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool> PrintAll("print-all-alias-modref-info", cl::ReallyHidden);
|
||||
static cl::opt<bool>
|
||||
PrintAll("print-all-alias-modref-info", cl::ReallyHidden);
|
||||
|
||||
cl::opt<bool> PrintNoAlias("print-no-aliases", cl::ReallyHidden);
|
||||
cl::opt<bool> PrintMayAlias("print-may-aliases", cl::ReallyHidden);
|
||||
cl::opt<bool> PrintMustAlias("print-must-aliases", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintNoAlias("print-no-aliases", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintMayAlias("print-may-aliases", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintMustAlias("print-must-aliases", cl::ReallyHidden);
|
||||
|
||||
cl::opt<bool> PrintNoModRef("print-no-modref", cl::ReallyHidden);
|
||||
cl::opt<bool> PrintMod("print-mod", cl::ReallyHidden);
|
||||
cl::opt<bool> PrintRef("print-ref", cl::ReallyHidden);
|
||||
cl::opt<bool> PrintModRef("print-modref", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintNoModRef("print-no-modref", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintMod("print-mod", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintRef("print-ref", cl::ReallyHidden);
|
||||
static cl::opt<bool> PrintModRef("print-modref", cl::ReallyHidden);
|
||||
|
||||
class VISIBILITY_HIDDEN AAEval : public FunctionPass {
|
||||
unsigned NoAlias, MayAlias, MustAlias;
|
||||
@@ -75,7 +76,7 @@ namespace {
|
||||
};
|
||||
|
||||
char AAEval::ID = 0;
|
||||
RegisterPass<AAEval>
|
||||
static RegisterPass<AAEval>
|
||||
X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator", false, true);
|
||||
}
|
||||
|
||||
|
@@ -31,7 +31,7 @@ using namespace llvm;
|
||||
namespace {
|
||||
// Control the calculation of non-local dependencies by only examining the
|
||||
// predecessors if the basic block has less than X amount (50 by default).
|
||||
cl::opt<int>
|
||||
static cl::opt<int>
|
||||
PredLimit("nonlocaldep-threshold", cl::Hidden, cl::init(50),
|
||||
cl::desc("Control the calculation of non-local"
|
||||
"dependencies (default = 50)"));
|
||||
|
@@ -24,7 +24,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
cl::opt<std::string>
|
||||
static cl::opt<std::string>
|
||||
ProfileInfoFilename("profile-info-file", cl::init("llvmprof.out"),
|
||||
cl::value_desc("filename"),
|
||||
cl::desc("Profile file loaded by -profile-loader"));
|
||||
|
Reference in New Issue
Block a user