mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
trailing whitespace
llvm-svn: 114680
This commit is contained in:
parent
bcafcce601
commit
ed295d62f5
@ -22,7 +22,7 @@
|
|||||||
namespace llvm {
|
namespace llvm {
|
||||||
class MCSection;
|
class MCSection;
|
||||||
class MCContext;
|
class MCContext;
|
||||||
|
|
||||||
/// MCAsmInfo - This class is intended to be used as a base class for asm
|
/// MCAsmInfo - This class is intended to be used as a base class for asm
|
||||||
/// properties and features specific to the target.
|
/// properties and features specific to the target.
|
||||||
namespace ExceptionHandling { enum ExceptionsType { None, Dwarf, SjLj }; }
|
namespace ExceptionHandling { enum ExceptionsType { None, Dwarf, SjLj }; }
|
||||||
@ -36,25 +36,25 @@ namespace llvm {
|
|||||||
/// HasSubsectionsViaSymbols - True if this target has the MachO
|
/// HasSubsectionsViaSymbols - True if this target has the MachO
|
||||||
/// .subsections_via_symbols directive.
|
/// .subsections_via_symbols directive.
|
||||||
bool HasSubsectionsViaSymbols; // Default is false.
|
bool HasSubsectionsViaSymbols; // Default is false.
|
||||||
|
|
||||||
/// HasMachoZeroFillDirective - True if this is a MachO target that supports
|
/// HasMachoZeroFillDirective - True if this is a MachO target that supports
|
||||||
/// the macho-specific .zerofill directive for emitting BSS Symbols.
|
/// the macho-specific .zerofill directive for emitting BSS Symbols.
|
||||||
bool HasMachoZeroFillDirective; // Default is false.
|
bool HasMachoZeroFillDirective; // Default is false.
|
||||||
|
|
||||||
/// HasMachoTBSSDirective - True if this is a MachO target that supports
|
/// HasMachoTBSSDirective - True if this is a MachO target that supports
|
||||||
/// the macho-specific .tbss directive for emitting thread local BSS Symbols
|
/// the macho-specific .tbss directive for emitting thread local BSS Symbols
|
||||||
bool HasMachoTBSSDirective; // Default is false.
|
bool HasMachoTBSSDirective; // Default is false.
|
||||||
|
|
||||||
/// HasStaticCtorDtorReferenceInStaticMode - True if the compiler should
|
/// HasStaticCtorDtorReferenceInStaticMode - True if the compiler should
|
||||||
/// emit a ".reference .constructors_used" or ".reference .destructors_used"
|
/// emit a ".reference .constructors_used" or ".reference .destructors_used"
|
||||||
/// directive after the a static ctor/dtor list. This directive is only
|
/// directive after the a static ctor/dtor list. This directive is only
|
||||||
/// emitted in Static relocation model.
|
/// emitted in Static relocation model.
|
||||||
bool HasStaticCtorDtorReferenceInStaticMode; // Default is false.
|
bool HasStaticCtorDtorReferenceInStaticMode; // Default is false.
|
||||||
|
|
||||||
/// MaxInstLength - This is the maximum possible length of an instruction,
|
/// MaxInstLength - This is the maximum possible length of an instruction,
|
||||||
/// which is needed to compute the size of an inline asm.
|
/// which is needed to compute the size of an inline asm.
|
||||||
unsigned MaxInstLength; // Defaults to 4.
|
unsigned MaxInstLength; // Defaults to 4.
|
||||||
|
|
||||||
/// PCSymbol - The symbol used to represent the current PC. Used in PC
|
/// PCSymbol - The symbol used to represent the current PC. Used in PC
|
||||||
/// relative expressions.
|
/// relative expressions.
|
||||||
const char *PCSymbol; // Defaults to "$".
|
const char *PCSymbol; // Defaults to "$".
|
||||||
@ -83,12 +83,12 @@ namespace llvm {
|
|||||||
/// pool entries that are completely private to the .s file and should not
|
/// pool entries that are completely private to the .s file and should not
|
||||||
/// have names in the .o file. This is often "." or "L".
|
/// have names in the .o file. This is often "." or "L".
|
||||||
const char *PrivateGlobalPrefix; // Defaults to "."
|
const char *PrivateGlobalPrefix; // Defaults to "."
|
||||||
|
|
||||||
/// LinkerPrivateGlobalPrefix - This prefix is used for symbols that should
|
/// LinkerPrivateGlobalPrefix - This prefix is used for symbols that should
|
||||||
/// be passed through the assembler but be removed by the linker. This
|
/// be passed through the assembler but be removed by the linker. This
|
||||||
/// is "l" on Darwin, currently used for some ObjC metadata.
|
/// is "l" on Darwin, currently used for some ObjC metadata.
|
||||||
const char *LinkerPrivateGlobalPrefix; // Defaults to ""
|
const char *LinkerPrivateGlobalPrefix; // Defaults to ""
|
||||||
|
|
||||||
/// InlineAsmStart/End - If these are nonempty, they contain a directive to
|
/// InlineAsmStart/End - If these are nonempty, they contain a directive to
|
||||||
/// emit before and after an inline assembly statement.
|
/// emit before and after an inline assembly statement.
|
||||||
const char *InlineAsmStart; // Defaults to "#APP\n"
|
const char *InlineAsmStart; // Defaults to "#APP\n"
|
||||||
@ -120,7 +120,7 @@ namespace llvm {
|
|||||||
/// AsciiDirective - This directive allows emission of an ascii string with
|
/// AsciiDirective - This directive allows emission of an ascii string with
|
||||||
/// the standard C escape characters embedded into it.
|
/// the standard C escape characters embedded into it.
|
||||||
const char *AsciiDirective; // Defaults to "\t.ascii\t"
|
const char *AsciiDirective; // Defaults to "\t.ascii\t"
|
||||||
|
|
||||||
/// AscizDirective - If not null, this allows for special handling of
|
/// AscizDirective - If not null, this allows for special handling of
|
||||||
/// zero terminated strings on this target. This is commonly supported as
|
/// zero terminated strings on this target. This is commonly supported as
|
||||||
/// ".asciz". If a target doesn't support this, it can be set to null.
|
/// ".asciz". If a target doesn't support this, it can be set to null.
|
||||||
@ -138,7 +138,7 @@ namespace llvm {
|
|||||||
/// which should be relocated as a 32-bit GP-relative offset, e.g. .gpword
|
/// which should be relocated as a 32-bit GP-relative offset, e.g. .gpword
|
||||||
/// on Mips or .gprel32 on Alpha.
|
/// on Mips or .gprel32 on Alpha.
|
||||||
const char *GPRel32Directive; // Defaults to NULL.
|
const char *GPRel32Directive; // Defaults to NULL.
|
||||||
|
|
||||||
/// getDataASDirective - Return the directive that should be used to emit
|
/// getDataASDirective - Return the directive that should be used to emit
|
||||||
/// data of the specified size to the specified numeric address space.
|
/// data of the specified size to the specified numeric address space.
|
||||||
virtual const char *getDataASDirective(unsigned Size, unsigned AS) const {
|
virtual const char *getDataASDirective(unsigned Size, unsigned AS) const {
|
||||||
@ -152,15 +152,15 @@ namespace llvm {
|
|||||||
bool SunStyleELFSectionSwitchSyntax; // Defaults to false.
|
bool SunStyleELFSectionSwitchSyntax; // Defaults to false.
|
||||||
|
|
||||||
/// UsesELFSectionDirectiveForBSS - This is true if this target uses ELF
|
/// UsesELFSectionDirectiveForBSS - This is true if this target uses ELF
|
||||||
/// '.section' directive before the '.bss' one. It's used for PPC/Linux
|
/// '.section' directive before the '.bss' one. It's used for PPC/Linux
|
||||||
/// which doesn't support the '.bss' directive only.
|
/// which doesn't support the '.bss' directive only.
|
||||||
bool UsesELFSectionDirectiveForBSS; // Defaults to false.
|
bool UsesELFSectionDirectiveForBSS; // Defaults to false.
|
||||||
|
|
||||||
/// HasMicrosoftFastStdCallMangling - True if this target uses microsoft
|
/// HasMicrosoftFastStdCallMangling - True if this target uses microsoft
|
||||||
/// style mangling for functions with X86_StdCall/X86_FastCall calling
|
/// style mangling for functions with X86_StdCall/X86_FastCall calling
|
||||||
/// convention.
|
/// convention.
|
||||||
bool HasMicrosoftFastStdCallMangling; // Defaults to false.
|
bool HasMicrosoftFastStdCallMangling; // Defaults to false.
|
||||||
|
|
||||||
//===--- Alignment Information ----------------------------------------===//
|
//===--- Alignment Information ----------------------------------------===//
|
||||||
|
|
||||||
/// AlignDirective - The directive used to emit round up to an alignment
|
/// AlignDirective - The directive used to emit round up to an alignment
|
||||||
@ -179,27 +179,27 @@ namespace llvm {
|
|||||||
unsigned TextAlignFillValue; // Defaults to 0
|
unsigned TextAlignFillValue; // Defaults to 0
|
||||||
|
|
||||||
//===--- Global Variable Emission Directives --------------------------===//
|
//===--- Global Variable Emission Directives --------------------------===//
|
||||||
|
|
||||||
/// GlobalDirective - This is the directive used to declare a global entity.
|
/// GlobalDirective - This is the directive used to declare a global entity.
|
||||||
///
|
///
|
||||||
const char *GlobalDirective; // Defaults to NULL.
|
const char *GlobalDirective; // Defaults to NULL.
|
||||||
|
|
||||||
/// ExternDirective - This is the directive used to declare external
|
/// ExternDirective - This is the directive used to declare external
|
||||||
/// globals.
|
/// globals.
|
||||||
///
|
///
|
||||||
const char *ExternDirective; // Defaults to NULL.
|
const char *ExternDirective; // Defaults to NULL.
|
||||||
|
|
||||||
/// HasSetDirective - True if the assembler supports the .set directive.
|
/// HasSetDirective - True if the assembler supports the .set directive.
|
||||||
bool HasSetDirective; // Defaults to true.
|
bool HasSetDirective; // Defaults to true.
|
||||||
|
|
||||||
/// HasLCOMMDirective - This is true if the target supports the .lcomm
|
/// HasLCOMMDirective - This is true if the target supports the .lcomm
|
||||||
/// directive.
|
/// directive.
|
||||||
bool HasLCOMMDirective; // Defaults to false.
|
bool HasLCOMMDirective; // Defaults to false.
|
||||||
|
|
||||||
/// COMMDirectiveAlignmentIsInBytes - True is COMMDirective's optional
|
/// COMMDirectiveAlignmentIsInBytes - True is COMMDirective's optional
|
||||||
/// alignment is to be specified in bytes instead of log2(n).
|
/// alignment is to be specified in bytes instead of log2(n).
|
||||||
bool COMMDirectiveAlignmentIsInBytes; // Defaults to true;
|
bool COMMDirectiveAlignmentIsInBytes; // Defaults to true;
|
||||||
|
|
||||||
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
|
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
|
||||||
/// directives, this is true for most ELF targets.
|
/// directives, this is true for most ELF targets.
|
||||||
bool HasDotTypeDotSizeDirective; // Defaults to true.
|
bool HasDotTypeDotSizeDirective; // Defaults to true.
|
||||||
@ -215,7 +215,7 @@ namespace llvm {
|
|||||||
/// WeakRefDirective - This directive, if non-null, is used to declare a
|
/// WeakRefDirective - This directive, if non-null, is used to declare a
|
||||||
/// global as being a weak undefined symbol.
|
/// global as being a weak undefined symbol.
|
||||||
const char *WeakRefDirective; // Defaults to NULL.
|
const char *WeakRefDirective; // Defaults to NULL.
|
||||||
|
|
||||||
/// WeakDefDirective - This directive, if non-null, is used to declare a
|
/// WeakDefDirective - This directive, if non-null, is used to declare a
|
||||||
/// global as being a weak defined symbol.
|
/// global as being a weak defined symbol.
|
||||||
const char *WeakDefDirective; // Defaults to NULL.
|
const char *WeakDefDirective; // Defaults to NULL.
|
||||||
@ -223,7 +223,7 @@ namespace llvm {
|
|||||||
/// LinkOnceDirective - This directive, if non-null is used to declare a
|
/// LinkOnceDirective - This directive, if non-null is used to declare a
|
||||||
/// global as being a weak defined symbol. This is used on cygwin/mingw.
|
/// global as being a weak defined symbol. This is used on cygwin/mingw.
|
||||||
const char *LinkOnceDirective; // Defaults to NULL.
|
const char *LinkOnceDirective; // Defaults to NULL.
|
||||||
|
|
||||||
/// HiddenVisibilityAttr - This attribute, if not MCSA_Invalid, is used to
|
/// HiddenVisibilityAttr - This attribute, if not MCSA_Invalid, is used to
|
||||||
/// declare a symbol as having hidden visibility.
|
/// declare a symbol as having hidden visibility.
|
||||||
MCSymbolAttr HiddenVisibilityAttr; // Defaults to MCSA_Hidden.
|
MCSymbolAttr HiddenVisibilityAttr; // Defaults to MCSA_Hidden.
|
||||||
@ -257,8 +257,8 @@ namespace llvm {
|
|||||||
|
|
||||||
/// DwarfSectionOffsetDirective - Special section offset directive.
|
/// DwarfSectionOffsetDirective - Special section offset directive.
|
||||||
const char* DwarfSectionOffsetDirective; // Defaults to NULL
|
const char* DwarfSectionOffsetDirective; // Defaults to NULL
|
||||||
|
|
||||||
/// DwarfUsesAbsoluteLabelForStmtList - True if DW_AT_stmt_list needs
|
/// DwarfUsesAbsoluteLabelForStmtList - True if DW_AT_stmt_list needs
|
||||||
/// absolute label instead of offset.
|
/// absolute label instead of offset.
|
||||||
bool DwarfUsesAbsoluteLabelForStmtList; // Defaults to true;
|
bool DwarfUsesAbsoluteLabelForStmtList; // Defaults to true;
|
||||||
|
|
||||||
@ -279,7 +279,7 @@ namespace llvm {
|
|||||||
static unsigned getULEB128Size(unsigned Value);
|
static unsigned getULEB128Size(unsigned Value);
|
||||||
|
|
||||||
bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
|
bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
|
||||||
|
|
||||||
// Data directive accessors.
|
// Data directive accessors.
|
||||||
//
|
//
|
||||||
const char *getData8bitsDirective(unsigned AS = 0) const {
|
const char *getData8bitsDirective(unsigned AS = 0) const {
|
||||||
@ -302,11 +302,11 @@ namespace llvm {
|
|||||||
virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const{
|
virtual const MCSection *getNonexecutableStackSection(MCContext &Ctx) const{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool usesSunStyleELFSectionSwitchSyntax() const {
|
bool usesSunStyleELFSectionSwitchSyntax() const {
|
||||||
return SunStyleELFSectionSwitchSyntax;
|
return SunStyleELFSectionSwitchSyntax;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool usesELFSectionDirectiveForBSS() const {
|
bool usesELFSectionDirectiveForBSS() const {
|
||||||
return UsesELFSectionDirectiveForBSS;
|
return UsesELFSectionDirectiveForBSS;
|
||||||
}
|
}
|
||||||
@ -314,7 +314,7 @@ namespace llvm {
|
|||||||
bool hasMicrosoftFastStdCallMangling() const {
|
bool hasMicrosoftFastStdCallMangling() const {
|
||||||
return HasMicrosoftFastStdCallMangling;
|
return HasMicrosoftFastStdCallMangling;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Accessors.
|
// Accessors.
|
||||||
//
|
//
|
||||||
bool hasMachoZeroFillDirective() const { return HasMachoZeroFillDirective; }
|
bool hasMachoZeroFillDirective() const { return HasMachoZeroFillDirective; }
|
||||||
@ -402,7 +402,7 @@ namespace llvm {
|
|||||||
const char *getWeakRefDirective() const { return WeakRefDirective; }
|
const char *getWeakRefDirective() const { return WeakRefDirective; }
|
||||||
const char *getWeakDefDirective() const { return WeakDefDirective; }
|
const char *getWeakDefDirective() const { return WeakDefDirective; }
|
||||||
const char *getLinkOnceDirective() const { return LinkOnceDirective; }
|
const char *getLinkOnceDirective() const { return LinkOnceDirective; }
|
||||||
|
|
||||||
MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;}
|
MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;}
|
||||||
MCSymbolAttr getProtectedVisibilityAttr() const {
|
MCSymbolAttr getProtectedVisibilityAttr() const {
|
||||||
return ProtectedVisibilityAttr;
|
return ProtectedVisibilityAttr;
|
||||||
|
Loading…
Reference in New Issue
Block a user