aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetMachine.h14
-rw-r--r--include/llvm/Target/TargetOptions.h4
2 files changed, 12 insertions, 6 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index 0be3286f71..c4c0b0ec24 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -174,6 +174,7 @@ public:
static Reloc::Model getRelocationModel();
/// setRelocationModel - Sets the code generation relocation model.
+ ///
static void setRelocationModel(Reloc::Model Model);
/// getCodeModel - Returns the code model. The choices are small, kernel,
@@ -181,8 +182,17 @@ public:
static CodeModel::Model getCodeModel();
/// setCodeModel - Sets the code model.
+ ///
static void setCodeModel(CodeModel::Model Model);
+ /// getAsmVerbosityDefault - Returns the default value of asm verbosity.
+ ///
+ static bool getAsmVerbosityDefault();
+
+ /// setAsmVerbosityDefault - Set the default value of asm verbosity. Default
+ /// is false.
+ static void setAsmVerbosityDefault(bool);
+
/// CodeGenFileType - These enums are meant to be passed into
/// addPassesToEmitFile to indicate what type of file to emit.
enum CodeGenFileType {
@@ -319,8 +329,8 @@ public:
/// addAssemblyEmitter - This pass should be overridden by the target to add
/// the asmprinter, if asm emission is supported. If this is not supported,
/// 'true' should be returned.
- virtual bool addAssemblyEmitter(PassManagerBase &, bool /*Fast*/,
- raw_ostream &) {
+ virtual bool addAssemblyEmitter(PassManagerBase &, bool /*Fast*/,
+ bool /* VerboseAsmDefault */, raw_ostream &) {
return true;
}
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 276ea135c7..e10384d7df 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -104,10 +104,6 @@ namespace llvm {
/// realigned, if needed.
extern bool RealignStack;
- /// VerboseAsm - When this flag is set, the asm printer prints additional
- /// comments to asm directives.
- extern bool VerboseAsm;
-
/// DisableJumpTables - This flag indicates jump tables should not be
/// generated.
extern bool DisableJumpTables;