mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-01 15:40:46 +00:00
Mark some command line flags as hidden
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f47ffe08f9
commit
fe16848601
@ -45,7 +45,7 @@ typedef enum {
|
||||
} HWMultUseMode;
|
||||
|
||||
static cl::opt<HWMultUseMode>
|
||||
HWMultMode("msp430-hwmult-mode",
|
||||
HWMultMode("msp430-hwmult-mode", cl::Hidden,
|
||||
cl::desc("Hardware multiplier use mode"),
|
||||
cl::init(HWMultNoIntr),
|
||||
cl::values(
|
||||
|
@ -53,14 +53,14 @@ bool RegAllocNilUsed = true;
|
||||
#define DEPOTNAME "__local_depot"
|
||||
|
||||
static cl::opt<bool>
|
||||
EmitLineNumbers("nvptx-emit-line-numbers",
|
||||
EmitLineNumbers("nvptx-emit-line-numbers", cl::Hidden,
|
||||
cl::desc("NVPTX Specific: Emit Line numbers even without -G"),
|
||||
cl::init(true));
|
||||
|
||||
namespace llvm { bool InterleaveSrcInPtx = false; }
|
||||
|
||||
static cl::opt<bool, true>
|
||||
InterleaveSrc("nvptx-emit-src", cl::ZeroOrMore,
|
||||
InterleaveSrc("nvptx-emit-src", cl::ZeroOrMore, cl::Hidden,
|
||||
cl::desc("NVPTX Specific: Emit source line in ptx file"),
|
||||
cl::location(llvm::InterleaveSrcInPtx));
|
||||
|
||||
|
@ -26,24 +26,24 @@
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<int>
|
||||
FMAContractLevel("nvptx-fma-level", cl::ZeroOrMore,
|
||||
FMAContractLevel("nvptx-fma-level", cl::ZeroOrMore, cl::Hidden,
|
||||
cl::desc("NVPTX Specific: FMA contraction (0: don't do it"
|
||||
" 1: do it 2: do it aggressively"),
|
||||
cl::init(2));
|
||||
|
||||
static cl::opt<int> UsePrecDivF32(
|
||||
"nvptx-prec-divf32", cl::ZeroOrMore,
|
||||
"nvptx-prec-divf32", cl::ZeroOrMore, cl::Hidden,
|
||||
cl::desc("NVPTX Specifies: 0 use div.approx, 1 use div.full, 2 use"
|
||||
" IEEE Compliant F32 div.rnd if avaiable."),
|
||||
cl::init(2));
|
||||
|
||||
static cl::opt<bool>
|
||||
UsePrecSqrtF32("nvptx-prec-sqrtf32",
|
||||
UsePrecSqrtF32("nvptx-prec-sqrtf32", cl::Hidden,
|
||||
cl::desc("NVPTX Specific: 0 use sqrt.approx, 1 use sqrt.rn."),
|
||||
cl::init(true));
|
||||
|
||||
static cl::opt<bool>
|
||||
FtzEnabled("nvptx-f32ftz", cl::ZeroOrMore,
|
||||
FtzEnabled("nvptx-f32ftz", cl::ZeroOrMore, cl::Hidden,
|
||||
cl::desc("NVPTX Specific: Flush f32 subnormals to sign-preserving zero."),
|
||||
cl::init(false));
|
||||
|
||||
|
@ -79,7 +79,7 @@ ModulePass *llvm::createNVVMReflectPass(const StringMap<int>& Mapping) {
|
||||
}
|
||||
|
||||
static cl::opt<bool>
|
||||
NVVMReflectEnabled("nvvm-reflect-enable", cl::init(true),
|
||||
NVVMReflectEnabled("nvvm-reflect-enable", cl::init(true), cl::Hidden,
|
||||
cl::desc("NVVM reflection, enabled by default"));
|
||||
|
||||
char NVVMReflect::ID = 0;
|
||||
@ -88,7 +88,7 @@ INITIALIZE_PASS(NVVMReflect, "nvvm-reflect",
|
||||
false)
|
||||
|
||||
static cl::list<std::string>
|
||||
ReflectList("nvvm-reflect-list", cl::value_desc("name=<int>"),
|
||||
ReflectList("nvvm-reflect-list", cl::value_desc("name=<int>"), cl::Hidden,
|
||||
cl::desc("A list of string=num assignments"),
|
||||
cl::ValueRequired);
|
||||
|
||||
|
@ -114,14 +114,14 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT,
|
||||
// Command line options for x86
|
||||
//===----------------------------------------------------------------------===//
|
||||
static cl::opt<bool>
|
||||
UseVZeroUpper("x86-use-vzeroupper",
|
||||
UseVZeroUpper("x86-use-vzeroupper", cl::Hidden,
|
||||
cl::desc("Minimize AVX to SSE transition penalty"),
|
||||
cl::init(true));
|
||||
|
||||
// Temporary option to control early if-conversion for x86 while adding machine
|
||||
// models.
|
||||
static cl::opt<bool>
|
||||
X86EarlyIfConv("x86-early-ifcvt",
|
||||
X86EarlyIfConv("x86-early-ifcvt", cl::Hidden,
|
||||
cl::desc("Enable early if-conversion on X86"));
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -29,7 +29,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool>
|
||||
RunLoopVectorization("vectorize-loops",
|
||||
RunLoopVectorization("vectorize-loops", cl::Hidden,
|
||||
cl::desc("Run the Loop vectorization passes"));
|
||||
|
||||
static cl::opt<bool>
|
||||
@ -38,11 +38,11 @@ LateVectorization("late-vectorize", cl::init(true), cl::Hidden,
|
||||
"pipeline (after the inliner)"));
|
||||
|
||||
static cl::opt<bool>
|
||||
RunSLPVectorization("vectorize-slp",
|
||||
RunSLPVectorization("vectorize-slp", cl::Hidden,
|
||||
cl::desc("Run the SLP vectorization passes"));
|
||||
|
||||
static cl::opt<bool>
|
||||
RunBBVectorization("vectorize-slp-aggressive",
|
||||
RunBBVectorization("vectorize-slp-aggressive", cl::Hidden,
|
||||
cl::desc("Run the BB vectorization passes"));
|
||||
|
||||
static cl::opt<bool>
|
||||
|
Loading…
Reference in New Issue
Block a user