LLVM API Documentation

llvm::TargetAsmInfo Class Reference

#include <TargetAsmInfo.h>

Inheritance diagram for llvm::TargetAsmInfo:
[legend]
Collaboration diagram for llvm::TargetAsmInfo:
[legend]

List of all members.

Public Member Functions

 TargetAsmInfo ()
virtual ~TargetAsmInfo ()
const char * getData8bitsDirective (unsigned AS=0) const
const char * getData16bitsDirective (unsigned AS=0) const
const char * getData32bitsDirective (unsigned AS=0) const
const char * getData64bitsDirective (unsigned AS=0) const
bool usesSunStyleELFSectionSwitchSyntax () const
bool usesELFSectionDirectiveForBSS () const
const char * getZeroFillDirective () const
const char * getNonexecutableStackDirective () const
bool needsSet () const
unsigned getMaxInstLength () const
const char * getPCSymbol () const
char getSeparatorChar () const
unsigned getCommentColumn () const
const char * getCommentString () const
const char * getGlobalPrefix () const
const char * getPrivateGlobalPrefix () const
const char * getLinkerPrivateGlobalPrefix () const
const char * getJumpTableSpecialLabelPrefix () const
const char * getGlobalVarAddrPrefix () const
const char * getGlobalVarAddrSuffix () const
const char * getFunctionAddrPrefix () const
const char * getFunctionAddrSuffix () const
const char * getPersonalityPrefix () const
const char * getPersonalitySuffix () const
bool getNeedsIndirectEncoding () const
const char * getInlineAsmStart () const
const char * getInlineAsmEnd () const
unsigned getAssemblerDialect () const
bool doesAllowQuotesInName () const
const char * getZeroDirective () const
const char * getZeroDirectiveSuffix () const
const char * getAsciiDirective () const
const char * getAscizDirective () const
const char * getJumpTableDirective (bool isPIC) const
const char * getAlignDirective () const
bool getAlignmentIsInBytes () const
unsigned getTextAlignFillValue () const
const char * getGlobalDirective () const
const char * getExternDirective () const
const char * getSetDirective () const
const char * getLCOMMDirective () const
const char * getCOMMDirective () const
bool getCOMMDirectiveTakesAlignment () const
bool hasDotTypeDotSizeDirective () const
bool hasSingleParameterDotFile () const
const char * getUsedDirective () const
const char * getWeakRefDirective () const
const char * getWeakDefDirective () const
const char * getHiddenDirective () const
const char * getProtectedDirective () const
bool isAbsoluteDebugSectionOffsets () const
bool isAbsoluteEHSectionOffsets () const
bool hasLEB128 () const
bool hasDotLocAndDotFile () const
bool doesSupportDebugInformation () const
bool doesSupportExceptionHandling () const
ExceptionHandling::ExceptionsType getExceptionHandlingType () const
bool doesDwarfRequireFrameSection () const
bool doesDwarfUsesInlineInfoSection () const
bool is_EHSymbolPrivate () const
const char * getGlobalEHDirective () const
bool getSupportsWeakOmittedEHFrame () const
const char * getDwarfSectionOffsetDirective () const
const char *const * getAsmCBE () const

Static Public Member Functions

static unsigned getSLEB128Size (int Value)
static unsigned getULEB128Size (unsigned Value)

Protected Member Functions

virtual const char * getDataASDirective (unsigned Size, unsigned AS) const

Protected Attributes

const char * ZeroFillDirective
const char * NonexecutableStackDirective
bool NeedsSet
unsigned MaxInstLength
const char * PCSymbol
char SeparatorChar
unsigned CommentColumn
const char * CommentString
const char * GlobalPrefix
const char * PrivateGlobalPrefix
const char * LinkerPrivateGlobalPrefix
const char * JumpTableSpecialLabelPrefix
const char * GlobalVarAddrPrefix
const char * GlobalVarAddrSuffix
const char * FunctionAddrPrefix
const char * FunctionAddrSuffix
const char * PersonalityPrefix
const char * PersonalitySuffix
bool NeedsIndirectEncoding
const char * InlineAsmStart
const char * InlineAsmEnd
unsigned AssemblerDialect
 AssemblerDialect - Which dialect of an assembler variant to use.
bool AllowQuotesInName
const char * ZeroDirective
const char * ZeroDirectiveSuffix
const char * AsciiDirective
const char * AscizDirective
const char * Data8bitsDirective
const char * Data16bitsDirective
const char * Data32bitsDirective
const char * Data64bitsDirective
bool SunStyleELFSectionSwitchSyntax
bool UsesELFSectionDirectiveForBSS
const char * AlignDirective
bool AlignmentIsInBytes
unsigned TextAlignFillValue
const char * JumpTableDirective
const char * PICJumpTableDirective
const char * GlobalDirective
const char * ExternDirective
const char * SetDirective
const char * LCOMMDirective
const char * COMMDirective
bool COMMDirectiveTakesAlignment
bool HasDotTypeDotSizeDirective
bool HasSingleParameterDotFile
const char * UsedDirective
const char * WeakRefDirective
const char * WeakDefDirective
const char * HiddenDirective
const char * ProtectedDirective
bool AbsoluteDebugSectionOffsets
bool AbsoluteEHSectionOffsets
bool HasLEB128
bool HasDotLocAndDotFile
bool SupportsDebugInformation
ExceptionHandling::ExceptionsType ExceptionsType
bool DwarfRequiresFrameSection
bool DwarfUsesInlineInfoSection
bool Is_EHSymbolPrivate
const char * GlobalEHDirective
bool SupportsWeakOmittedEHFrame
const char * DwarfSectionOffsetDirective
 DwarfSectionOffsetDirective - Special section offset directive.
const char *const * AsmTransCBE


Detailed Description

Definition at line 30 of file TargetAsmInfo.h.


Constructor & Destructor Documentation

TargetAsmInfo::TargetAsmInfo (  )  [explicit]

TargetAsmInfo::~TargetAsmInfo (  )  [virtual]

Definition at line 88 of file TargetAsmInfo.cpp.


Member Function Documentation

virtual const char* llvm::TargetAsmInfo::getDataASDirective ( unsigned  Size,
unsigned  AS 
) const [inline, protected, virtual]

getDataASDirective - Return the directive that should be used to emit data of the specified size to the specified numeric address space.

Reimplemented in llvm::PIC16TargetAsmInfo.

Definition at line 158 of file TargetAsmInfo.h.

Referenced by getData16bitsDirective(), getData32bitsDirective(), getData64bitsDirective(), and getData8bitsDirective().

unsigned TargetAsmInfo::getSLEB128Size ( int  Value  )  [static]

getSLEB128Size - Compute the number of bytes required for a signed leb128 value.

Definition at line 101 of file TargetAsmInfo.cpp.

Referenced by llvm::DIEInteger::SizeOf().

unsigned TargetAsmInfo::getULEB128Size ( unsigned  Value  )  [static]

getULEB128Size - Compute the number of bytes required for an unsigned leb128 value.

Definition at line 92 of file TargetAsmInfo.cpp.

Referenced by llvm::DIEBlock::SizeOf(), and llvm::DIEInteger::SizeOf().

const char* llvm::TargetAsmInfo::getData8bitsDirective ( unsigned  AS = 0  )  const [inline]

const char* llvm::TargetAsmInfo::getData16bitsDirective ( unsigned  AS = 0  )  const [inline]

const char* llvm::TargetAsmInfo::getData32bitsDirective ( unsigned  AS = 0  )  const [inline]

const char* llvm::TargetAsmInfo::getData64bitsDirective ( unsigned  AS = 0  )  const [inline]

bool llvm::TargetAsmInfo::usesSunStyleELFSectionSwitchSyntax (  )  const [inline]

Definition at line 340 of file TargetAsmInfo.h.

References SunStyleELFSectionSwitchSyntax.

Referenced by llvm::MCSectionELF::PrintSwitchToSection().

bool llvm::TargetAsmInfo::usesELFSectionDirectiveForBSS (  )  const [inline]

const char* llvm::TargetAsmInfo::getZeroFillDirective (  )  const [inline]

Definition at line 350 of file TargetAsmInfo.h.

References ZeroFillDirective.

Referenced by llvm::X86ATTAsmPrinter::PrintGlobalVariable().

const char* llvm::TargetAsmInfo::getNonexecutableStackDirective (  )  const [inline]

bool llvm::TargetAsmInfo::needsSet (  )  const [inline]

Definition at line 356 of file TargetAsmInfo.h.

References NeedsSet.

Referenced by llvm::Dwarf::EmitDifference(), and llvm::Dwarf::EmitSectionOffset().

unsigned llvm::TargetAsmInfo::getMaxInstLength (  )  const [inline]

Definition at line 359 of file TargetAsmInfo.h.

References MaxInstLength.

Referenced by llvm::TargetInstrInfo::getInlineAsmLength().

const char* llvm::TargetAsmInfo::getPCSymbol (  )  const [inline]

Definition at line 362 of file TargetAsmInfo.h.

References PCSymbol.

Referenced by llvm::Dwarf::EmitReference().

char llvm::TargetAsmInfo::getSeparatorChar (  )  const [inline]

Definition at line 365 of file TargetAsmInfo.h.

References SeparatorChar.

Referenced by llvm::TargetInstrInfo::getInlineAsmLength().

unsigned llvm::TargetAsmInfo::getCommentColumn (  )  const [inline]

const char* llvm::TargetAsmInfo::getCommentString (  )  const [inline]

const char* llvm::TargetAsmInfo::getGlobalPrefix (  )  const [inline]

const char* llvm::TargetAsmInfo::getPrivateGlobalPrefix (  )  const [inline]

const char* llvm::TargetAsmInfo::getLinkerPrivateGlobalPrefix (  )  const [inline]

const char* llvm::TargetAsmInfo::getJumpTableSpecialLabelPrefix (  )  const [inline]

Definition at line 383 of file TargetAsmInfo.h.

References JumpTableSpecialLabelPrefix.

Referenced by llvm::AsmPrinter::EmitJumpTableInfo().

const char* llvm::TargetAsmInfo::getGlobalVarAddrPrefix (  )  const [inline]

const char* llvm::TargetAsmInfo::getGlobalVarAddrSuffix (  )  const [inline]

const char* llvm::TargetAsmInfo::getFunctionAddrPrefix (  )  const [inline]

const char* llvm::TargetAsmInfo::getFunctionAddrSuffix (  )  const [inline]

const char* llvm::TargetAsmInfo::getPersonalityPrefix (  )  const [inline]

Definition at line 398 of file TargetAsmInfo.h.

References PersonalityPrefix.

const char* llvm::TargetAsmInfo::getPersonalitySuffix (  )  const [inline]

Definition at line 401 of file TargetAsmInfo.h.

References PersonalitySuffix.

bool llvm::TargetAsmInfo::getNeedsIndirectEncoding (  )  const [inline]

const char* llvm::TargetAsmInfo::getInlineAsmStart (  )  const [inline]

Definition at line 407 of file TargetAsmInfo.h.

References InlineAsmStart.

Referenced by llvm::AsmPrinter::printInlineAsm().

const char* llvm::TargetAsmInfo::getInlineAsmEnd (  )  const [inline]

Definition at line 410 of file TargetAsmInfo.h.

References InlineAsmEnd.

Referenced by llvm::AsmPrinter::printInlineAsm().

unsigned llvm::TargetAsmInfo::getAssemblerDialect (  )  const [inline]

Definition at line 413 of file TargetAsmInfo.h.

References AssemblerDialect.

Referenced by createX86CodePrinterPass(), and llvm::AsmPrinter::printInlineAsm().

bool llvm::TargetAsmInfo::doesAllowQuotesInName (  )  const [inline]

Definition at line 416 of file TargetAsmInfo.h.

References AllowQuotesInName.

Referenced by llvm::AsmPrinter::doInitialization().

const char* llvm::TargetAsmInfo::getZeroDirective (  )  const [inline]

Definition at line 419 of file TargetAsmInfo.h.

References ZeroDirective.

Referenced by llvm::AsmPrinter::EmitZeros().

const char* llvm::TargetAsmInfo::getZeroDirectiveSuffix (  )  const [inline]

Definition at line 422 of file TargetAsmInfo.h.

References ZeroDirectiveSuffix.

Referenced by llvm::AsmPrinter::EmitZeros().

const char* llvm::TargetAsmInfo::getAsciiDirective (  )  const [inline]

Definition at line 425 of file TargetAsmInfo.h.

References AsciiDirective.

Referenced by llvm::AsmPrinter::EmitString().

const char* llvm::TargetAsmInfo::getAscizDirective (  )  const [inline]

Definition at line 428 of file TargetAsmInfo.h.

References AscizDirective.

Referenced by llvm::AsmPrinter::EmitString().

const char* llvm::TargetAsmInfo::getJumpTableDirective ( bool  isPIC  )  const [inline]

Definition at line 431 of file TargetAsmInfo.h.

References JumpTableDirective, and PICJumpTableDirective.

Referenced by llvm::AsmPrinter::printPICJumpTableEntry().

const char* llvm::TargetAsmInfo::getAlignDirective (  )  const [inline]

Definition at line 434 of file TargetAsmInfo.h.

References AlignDirective.

bool llvm::TargetAsmInfo::getAlignmentIsInBytes (  )  const [inline]

Definition at line 437 of file TargetAsmInfo.h.

References AlignmentIsInBytes.

Referenced by llvm::X86ATTAsmPrinter::PrintGlobalVariable().

unsigned llvm::TargetAsmInfo::getTextAlignFillValue (  )  const [inline]

Definition at line 440 of file TargetAsmInfo.h.

References TextAlignFillValue.

Referenced by llvm::AsmPrinter::EmitAlignment().

const char* llvm::TargetAsmInfo::getGlobalDirective (  )  const [inline]

Definition at line 443 of file TargetAsmInfo.h.

References GlobalDirective.

Referenced by EmitCamlGlobal().

const char* llvm::TargetAsmInfo::getExternDirective (  )  const [inline]

Definition at line 446 of file TargetAsmInfo.h.

References ExternDirective.

const char* llvm::TargetAsmInfo::getSetDirective (  )  const [inline]

const char* llvm::TargetAsmInfo::getLCOMMDirective (  )  const [inline]

Definition at line 452 of file TargetAsmInfo.h.

References LCOMMDirective.

Referenced by llvm::X86ATTAsmPrinter::PrintGlobalVariable().

const char* llvm::TargetAsmInfo::getCOMMDirective (  )  const [inline]

Definition at line 455 of file TargetAsmInfo.h.

References COMMDirective.

Referenced by llvm::X86ATTAsmPrinter::PrintGlobalVariable().

bool llvm::TargetAsmInfo::getCOMMDirectiveTakesAlignment (  )  const [inline]

Definition at line 458 of file TargetAsmInfo.h.

References COMMDirectiveTakesAlignment.

Referenced by llvm::X86ATTAsmPrinter::PrintGlobalVariable().

bool llvm::TargetAsmInfo::hasDotTypeDotSizeDirective (  )  const [inline]

bool llvm::TargetAsmInfo::hasSingleParameterDotFile (  )  const [inline]

Definition at line 464 of file TargetAsmInfo.h.

References HasSingleParameterDotFile.

Referenced by llvm::AsmPrinter::doInitialization().

const char* llvm::TargetAsmInfo::getUsedDirective (  )  const [inline]

Definition at line 467 of file TargetAsmInfo.h.

References UsedDirective.

Referenced by llvm::AsmPrinter::EmitSpecialLLVMGlobal().

const char* llvm::TargetAsmInfo::getWeakRefDirective (  )  const [inline]

Definition at line 470 of file TargetAsmInfo.h.

References WeakRefDirective.

Referenced by llvm::AsmPrinter::doFinalization().

const char* llvm::TargetAsmInfo::getWeakDefDirective (  )  const [inline]

const char* llvm::TargetAsmInfo::getHiddenDirective (  )  const [inline]

Definition at line 476 of file TargetAsmInfo.h.

References HiddenDirective.

Referenced by llvm::AsmPrinter::printVisibility().

const char* llvm::TargetAsmInfo::getProtectedDirective (  )  const [inline]

Definition at line 479 of file TargetAsmInfo.h.

References ProtectedDirective.

Referenced by llvm::AsmPrinter::printVisibility().

bool llvm::TargetAsmInfo::isAbsoluteDebugSectionOffsets (  )  const [inline]

Definition at line 482 of file TargetAsmInfo.h.

References AbsoluteDebugSectionOffsets.

Referenced by llvm::Dwarf::EmitSectionOffset().

bool llvm::TargetAsmInfo::isAbsoluteEHSectionOffsets (  )  const [inline]

Definition at line 485 of file TargetAsmInfo.h.

References AbsoluteEHSectionOffsets.

Referenced by llvm::Dwarf::EmitSectionOffset().

bool llvm::TargetAsmInfo::hasLEB128 (  )  const [inline]

Definition at line 488 of file TargetAsmInfo.h.

References HasLEB128.

Referenced by llvm::AsmPrinter::EmitSLEB128Bytes(), and llvm::AsmPrinter::EmitULEB128Bytes().

bool llvm::TargetAsmInfo::hasDotLocAndDotFile (  )  const [inline]

bool llvm::TargetAsmInfo::doesSupportDebugInformation (  )  const [inline]

bool llvm::TargetAsmInfo::doesSupportExceptionHandling (  )  const [inline]

ExceptionHandling::ExceptionsType llvm::TargetAsmInfo::getExceptionHandlingType (  )  const [inline]

Definition at line 500 of file TargetAsmInfo.h.

References ExceptionsType.

Referenced by llvm::DwarfException::EndModule().

bool llvm::TargetAsmInfo::doesDwarfRequireFrameSection (  )  const [inline]

Definition at line 503 of file TargetAsmInfo.h.

References DwarfRequiresFrameSection.

bool llvm::TargetAsmInfo::doesDwarfUsesInlineInfoSection (  )  const [inline]

bool llvm::TargetAsmInfo::is_EHSymbolPrivate (  )  const [inline]

Definition at line 509 of file TargetAsmInfo.h.

References Is_EHSymbolPrivate.

Referenced by llvm::AsmPrinter::getCurrentFunctionEHName().

const char* llvm::TargetAsmInfo::getGlobalEHDirective (  )  const [inline]

Definition at line 512 of file TargetAsmInfo.h.

References GlobalEHDirective.

bool llvm::TargetAsmInfo::getSupportsWeakOmittedEHFrame (  )  const [inline]

Definition at line 515 of file TargetAsmInfo.h.

References SupportsWeakOmittedEHFrame.

const char* llvm::TargetAsmInfo::getDwarfSectionOffsetDirective (  )  const [inline]

Definition at line 518 of file TargetAsmInfo.h.

References DwarfSectionOffsetDirective.

Referenced by llvm::Dwarf::PrintRelDirective().

const char* const* llvm::TargetAsmInfo::getAsmCBE (  )  const [inline]

Definition at line 521 of file TargetAsmInfo.h.

References AsmTransCBE.


Member Data Documentation

const char* llvm::TargetAsmInfo::ZeroFillDirective [protected]

ZeroFillDirective - Directive for emitting a global to the ZeroFill section on this target. Null if this target doesn't support zerofill.

Definition at line 38 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getZeroFillDirective(), and TargetAsmInfo().

NonexecutableStackDirective - Directive for declaring to the linker and beyond that the emitted code does not require stack memory to be executable.

Definition at line 43 of file TargetAsmInfo.h.

Referenced by getNonexecutableStackDirective(), llvm::SystemZTargetAsmInfo::SystemZTargetAsmInfo(), TargetAsmInfo(), and llvm::X86ELFTargetAsmInfo::X86ELFTargetAsmInfo().

NeedsSet - True if target asm treats expressions in data directives as linktime-relocatable. For assembly-time computation, we need to use a .set. Thus: .set w, x-y .long w is computed at assembly time, while .long x-y is relocated if the relative locations of x and y change at linktime. We want both these things in different places.

Definition at line 54 of file TargetAsmInfo.h.

Referenced by llvm::ARMELFTargetAsmInfo::ARMELFTargetAsmInfo(), llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), needsSet(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), and TargetAsmInfo().

MaxInstLength - This is the maximum possible length of an instruction, which is needed to compute the size of an inline asm.

Definition at line 58 of file TargetAsmInfo.h.

Referenced by getMaxInstLength(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::PCSymbol [protected]

SeparatorChar - This character, if specified, is used to separate instructions from each other when on the same line. This is used to measure inline asm instructions.

Definition at line 67 of file TargetAsmInfo.h.

Referenced by getSeparatorChar(), and TargetAsmInfo().

CommentColumn - This indicates the comment num (zero-based) at which asm comments should be printed.

Definition at line 71 of file TargetAsmInfo.h.

Referenced by getCommentColumn(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::CommentString [protected]

const char* llvm::TargetAsmInfo::GlobalPrefix [protected]

LinkerPrivateGlobalPrefix - This prefix is used for symbols that should be passed through the assembler but be removed by the linker. This is "l" on Darwin, currently used for some ObjC metadata.

Definition at line 89 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getLinkerPrivateGlobalPrefix(), and TargetAsmInfo().

JumpTableSpecialLabelPrefix - If not null, a extra (dead) label is emitted before jump tables with the specified prefix.

Definition at line 93 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getJumpTableSpecialLabelPrefix(), and TargetAsmInfo().

GlobalVarAddrPrefix/Suffix - If these are nonempty, these strings will enclose any GlobalVariable (that isn't a function)

Definition at line 98 of file TargetAsmInfo.h.

Referenced by getGlobalVarAddrPrefix(), and TargetAsmInfo().

Definition at line 99 of file TargetAsmInfo.h.

Referenced by getGlobalVarAddrSuffix(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::FunctionAddrPrefix [protected]

FunctionAddrPrefix/Suffix - If these are nonempty, these strings will enclose any GlobalVariable that points to a function.

Definition at line 104 of file TargetAsmInfo.h.

Referenced by getFunctionAddrPrefix(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::FunctionAddrSuffix [protected]

Definition at line 105 of file TargetAsmInfo.h.

Referenced by getFunctionAddrSuffix(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::PersonalityPrefix [protected]

PersonalityPrefix/Suffix - If these are nonempty, these strings will enclose any personality function in the common frame section.

Definition at line 110 of file TargetAsmInfo.h.

Referenced by getPersonalityPrefix(), TargetAsmInfo(), and llvm::X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo().

const char* llvm::TargetAsmInfo::PersonalitySuffix [protected]

NeedsIndirectEncoding - If set, we need to set the indirect encoding bit for EH in Dwarf.

Definition at line 116 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getNeedsIndirectEncoding(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::InlineAsmStart [protected]

InlineAsmStart/End - If these are nonempty, they contain a directive to emit before and after an inline assembly statement.

Definition at line 120 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getInlineAsmStart(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::InlineAsmEnd [protected]

AllowQuotesInName - This is true if the assembler allows for complex symbol names to be surrounded in quotes. This defaults to false.

Definition at line 128 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), doesAllowQuotesInName(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::ZeroDirective [protected]

ZeroDirective - this should be set to the directive used to get some number of zero bytes emitted to the current section. Common cases are "\t.zero\t" and "\t.space\t". If this is set to null, the Data*bitsDirective's will be used to emit zero bytes.

Definition at line 136 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getZeroDirective(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), TargetAsmInfo(), llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

const char* llvm::TargetAsmInfo::AsciiDirective [protected]

AsciiDirective - This directive allows emission of an ascii string with the standard C escape characters embedded into it.

Definition at line 141 of file TargetAsmInfo.h.

Referenced by getAsciiDirective(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), TargetAsmInfo(), and llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo().

const char* llvm::TargetAsmInfo::AscizDirective [protected]

AscizDirective - If not null, this allows for special handling of 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.

Definition at line 146 of file TargetAsmInfo.h.

Referenced by getAscizDirective(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), TargetAsmInfo(), llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

const char* llvm::TargetAsmInfo::Data8bitsDirective [protected]

DataDirectives - These directives are used to output some unit of integer data to the current section. If a data directive is set to null, smaller data directives will be used to emit the large sizes.

Definition at line 151 of file TargetAsmInfo.h.

Referenced by getData8bitsDirective(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), TargetAsmInfo(), and llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo().

SunStyleELFSectionSwitchSyntax - This is true if this target uses "Sun Style" syntax for section switching ("#alloc,#write" etc) instead of the normal ELF syntax (,"a,w") in .section directives.

Definition at line 166 of file TargetAsmInfo.h.

Referenced by llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), TargetAsmInfo(), and usesSunStyleELFSectionSwitchSyntax().

UsesELFSectionDirectiveForBSS - This is true if this target uses ELF '.section' directive before the '.bss' one. It's used for PPC/Linux which doesn't support the '.bss' directive only.

Definition at line 171 of file TargetAsmInfo.h.

Referenced by llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), TargetAsmInfo(), and usesELFSectionDirectiveForBSS().

const char* llvm::TargetAsmInfo::AlignDirective [protected]

AlignDirective - The directive used to emit round up to an alignment boundary.

Definition at line 178 of file TargetAsmInfo.h.

Referenced by getAlignDirective(), TargetAsmInfo(), and llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo().

TextAlignFillValue - If non-zero, this is used to fill the executable space created as the result of a alignment directive.

Definition at line 188 of file TargetAsmInfo.h.

Referenced by getTextAlignFillValue(), TargetAsmInfo(), and llvm::X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo().

const char* llvm::TargetAsmInfo::JumpTableDirective [protected]

JumpTableDirective - if non-null, the directive to emit before jump table entries. FIXME: REMOVE THIS.

Definition at line 194 of file TargetAsmInfo.h.

Referenced by getJumpTableDirective(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::GlobalDirective [protected]

GlobalDirective - This is the directive used to declare a global entity.

Definition at line 202 of file TargetAsmInfo.h.

Referenced by getGlobalDirective(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::ExternDirective [protected]

ExternDirective - This is the directive used to declare external globals.

Definition at line 207 of file TargetAsmInfo.h.

Referenced by getExternDirective(), and llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo().

const char* llvm::TargetAsmInfo::SetDirective [protected]

const char* llvm::TargetAsmInfo::LCOMMDirective [protected]

LCOMMDirective - This is the name of a directive (if supported) that can be used to efficiently declare a local (internal) block of zero initialized data in the .bss/.data section. The syntax expected is:

<LCOMMDirective> SYMBOLNAME LENGTHINBYTES, ALIGNMENT
    /// 

Definition at line 218 of file TargetAsmInfo.h.

Referenced by llvm::ARMELFTargetAsmInfo::ARMELFTargetAsmInfo(), llvm::COFFTargetAsmInfo::COFFTargetAsmInfo(), llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getLCOMMDirective(), llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::COMMDirective [protected]

Definition at line 220 of file TargetAsmInfo.h.

Referenced by getCOMMDirective(), and TargetAsmInfo().

HasDotTypeDotSizeDirective - True if the target has .type and .size directives, this is true for most ELF targets.

Definition at line 228 of file TargetAsmInfo.h.

Referenced by llvm::COFFTargetAsmInfo::COFFTargetAsmInfo(), llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), hasDotTypeDotSizeDirective(), TargetAsmInfo(), and llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo().

HasSingleParameterDotFile - True if the target has a single parameter .file directive, this is true for ELF targets.

Definition at line 232 of file TargetAsmInfo.h.

Referenced by llvm::COFFTargetAsmInfo::COFFTargetAsmInfo(), llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), hasSingleParameterDotFile(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), TargetAsmInfo(), and llvm::X86WinTargetAsmInfo::X86WinTargetAsmInfo().

const char* llvm::TargetAsmInfo::UsedDirective [protected]

UsedDirective - This directive, if non-null, is used to declare a global as being used somehow that the assembler can't see. This prevents dead code elimination on some targets.

Definition at line 237 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getUsedDirective(), llvm::PPCLinuxTargetAsmInfo::PPCLinuxTargetAsmInfo(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::WeakRefDirective [protected]

const char* llvm::TargetAsmInfo::WeakDefDirective [protected]

WeakDefDirective - This directive, if non-null, is used to declare a global as being a weak defined symbol.

Definition at line 245 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getWeakDefDirective(), TargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

const char* llvm::TargetAsmInfo::HiddenDirective [protected]

HiddenDirective - This directive, if non-null, is used to declare a global or function as having hidden visibility.

Definition at line 249 of file TargetAsmInfo.h.

Referenced by llvm::COFFTargetAsmInfo::COFFTargetAsmInfo(), llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getHiddenDirective(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::ProtectedDirective [protected]

ProtectedDirective - This directive, if non-null, is used to declare a global or function as having protected visibility.

Definition at line 253 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getProtectedDirective(), and TargetAsmInfo().

hasDotLocAndDotFile - True if target asm supports .loc and .file directives for emitting debugging information.

Definition at line 272 of file TargetAsmInfo.h.

Referenced by hasDotLocAndDotFile(), llvm::SPULinuxTargetAsmInfo::SPULinuxTargetAsmInfo(), and TargetAsmInfo().

RequiresFrameSection - true if the Dwarf2 output needs a frame section

Definition at line 286 of file TargetAsmInfo.h.

Referenced by llvm::ARMELFTargetAsmInfo::ARMELFTargetAsmInfo(), doesDwarfRequireFrameSection(), and TargetAsmInfo().

DwarfUsesInlineInfoSection - True if DwarfDebugInlineSection is used to encode inline subroutine information.

Definition at line 290 of file TargetAsmInfo.h.

Referenced by doesDwarfUsesInlineInfoSection(), TargetAsmInfo(), and llvm::X86DarwinTargetAsmInfo::X86DarwinTargetAsmInfo().

Is_EHSymbolPrivate - If set, the "_foo.eh" is made private so that it doesn't show up in the symbol table of the object file.

Definition at line 294 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), is_EHSymbolPrivate(), and TargetAsmInfo().

const char* llvm::TargetAsmInfo::GlobalEHDirective [protected]

GlobalEHDirective - This is the directive used to make exception frame tables globally visible.

Definition at line 299 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getGlobalEHDirective(), and TargetAsmInfo().

SupportsWeakEmptyEHFrame - True if target assembler and linker will handle a weak_definition of constant 0 for an omitted EH frame.

Definition at line 303 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), getSupportsWeakOmittedEHFrame(), and TargetAsmInfo().

DwarfSectionOffsetDirective - Special section offset directive.

Definition at line 306 of file TargetAsmInfo.h.

Referenced by llvm::COFFTargetAsmInfo::COFFTargetAsmInfo(), getDwarfSectionOffsetDirective(), and TargetAsmInfo().

const char* const* llvm::TargetAsmInfo::AsmTransCBE [protected]


The documentation for this class was generated from the following files: