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 (const TargetMachine &TM)
virtual ~TargetAsmInfo ()
const Section * getNamedSection (const char *Name, unsigned Flags=SectionFlags::None, bool Override=false) const
const Section * getUnnamedSection (const char *Directive, unsigned Flags=SectionFlags::None, bool Override=false) const
virtual unsigned getInlineAsmLength (const char *Str) const
virtual bool ExpandInlineAsm (CallInst *CI) const
virtual bool emitUsedDirectiveFor (const GlobalValue *GV, Mangler *Mang) const
virtual unsigned PreferredEHDataFormat (DwarfEncoding::Target Reason, bool Global) const
virtual SectionKind::Kind SectionKindForGlobal (const GlobalValue *GV) const
virtual unsigned SectionFlagsForGlobal (const GlobalValue *GV=NULL, const char *name=NULL) const
virtual const Section * SectionForGlobal (const GlobalValue *GV) const
virtual std::string UniqueSectionForGlobal (const GlobalValue *GV, SectionKind::Kind kind) const
const std::string & getSectionFlags (unsigned Flags) const
virtual std::string printSectionFlags (unsigned flags) const
virtual const Section * SelectSectionForGlobal (const GlobalValue *GV) const
virtual const Section * SelectSectionForMachineConst (const Type *Ty) const
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
const Section * getTextSection () const
const Section * getDataSection () const
const char * getBSSSection () const
const Section * getBSSSection_ () const
const Section * getReadOnlySection () const
const Section * getSmallDataSection () const
const Section * getSmallBSSSection () const
const Section * getSmallRODataSection () const
const Section * getTLSDataSection () const
const Section * getTLSBSSSection () const
const char * getZeroFillDirective () const
const char * getNonexecutableStackDirective () const
bool needsSet () const
const char * getPCSymbol () const
char getSeparatorChar () const
const char * getCommentString () const
const char * getGlobalPrefix () const
const char * getPrivateGlobalPrefix () const
virtual const char * getEHGlobalPrefix () const
const char * getLessPrivateGlobalPrefix () 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
const char * getStringConstantPrefix () const
const char * getZeroDirective () const
const char * getZeroDirectiveSuffix () const
const char * getAsciiDirective () const
const char * getAscizDirective () const
const char * getJumpTableDirective () const
const char * getAlignDirective () const
bool getAlignmentIsInBytes () const
unsigned getTextAlignFillValue () const
const char * getSwitchToSectionDirective () const
const char * getTextSectionStartSuffix () const
const char * getDataSectionStartSuffix () const
const char * getSectionEndDirectiveSuffix () const
const char * getConstantPoolSection () const
const char * getJumpTableDataSection () const
const char * getCStringSection () const
const Section * getCStringSection_ () const
const char * getStaticCtorsSection () const
const char * getStaticDtorsSection () const
const char * getGlobalDirective () 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
bool doesDwarfRequireFrameSection () const
bool doesSupportMacInfoSection () const
bool doesRequireNonLocalEHFrameLabel () const
const char * getGlobalEHDirective () const
bool getSupportsWeakOmittedEHFrame () const
const char * getDwarfSectionOffsetDirective () const
const char * getDwarfAbbrevSection () const
const char * getDwarfInfoSection () const
const char * getDwarfLineSection () const
const char * getDwarfFrameSection () const
const char * getDwarfPubNamesSection () const
const char * getDwarfPubTypesSection () const
const char * getDwarfStrSection () const
const char * getDwarfLocSection () const
const char * getDwarfARangesSection () const
const char * getDwarfRangesSection () const
const char * getDwarfMacInfoSection () const
const char * getDwarfEHFrameSection () const
const char * getDwarfExceptionSection () 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 * getASDirective (unsigned size, unsigned AS) const

Protected Attributes

const TargetMachine & TM
 TM - The current TargetMachine.
const Section * TextSection
const Section * DataSection
const char * BSSSection
const Section * BSSSection_
const Section * ReadOnlySection
const Section * SmallDataSection
const Section * SmallBSSSection
const Section * SmallRODataSection
const Section * TLSDataSection
const Section * TLSBSSSection
const char * ZeroFillDirective
const char * NonexecutableStackDirective
bool NeedsSet
unsigned MaxInstLength
const char * PCSymbol
char SeparatorChar
const char * CommentString
const char * GlobalPrefix
const char * PrivateGlobalPrefix
const char * LessPrivateGlobalPrefix
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.
const char * StringConstantPrefix
const char * ZeroDirective
const char * ZeroDirectiveSuffix
const char * AsciiDirective
const char * AscizDirective
const char * Data8bitsDirective
const char * Data16bitsDirective
const char * Data32bitsDirective
const char * Data64bitsDirective
const char * AlignDirective
bool AlignmentIsInBytes
unsigned TextAlignFillValue
const char * SwitchToSectionDirective
const char * TextSectionStartSuffix
const char * DataSectionStartSuffix
const char * SectionEndDirectiveSuffix
const char * ConstantPoolSection
const char * JumpTableDataSection
const char * JumpTableDirective
const char * CStringSection
const Section * CStringSection_
const char * StaticCtorsSection
const char * StaticDtorsSection
const char * GlobalDirective
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
bool SupportsExceptionHandling
bool DwarfRequiresFrameSection
bool SupportsMacInfoSection
bool NonLocalEHFrameLabel
const char * GlobalEHDirective
bool SupportsWeakOmittedEHFrame
const char * DwarfSectionOffsetDirective
 DwarfSectionOffsetDirective - Special section offset directive.
const char * DwarfAbbrevSection
const char * DwarfInfoSection
const char * DwarfLineSection
const char * DwarfFrameSection
const char * DwarfPubNamesSection
const char * DwarfPubTypesSection
const char * DwarfStrSection
const char * DwarfLocSection
const char * DwarfARangesSection
const char * DwarfRangesSection
const char * DwarfMacInfoSection
const char * DwarfEHFrameSection
const char * DwarfExceptionSection
const char *const * AsmTransCBE


Detailed Description

TargetAsmInfo - This class is intended to be used as a base class for asm properties and features specific to the target.

Definition at line 123 of file TargetAsmInfo.h.


Constructor & Destructor Documentation

TargetAsmInfo::TargetAsmInfo ( const TargetMachine &  TM  )  [explicit]

Definition at line 126 of file TargetAsmInfo.cpp.

TargetAsmInfo::~TargetAsmInfo (  )  [virtual]

Definition at line 131 of file TargetAsmInfo.cpp.


Member Function Documentation

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

getASDirective - Targets can override it to provide different data directives for various sizes and non-default address spaces.

Definition at line 303 of file TargetAsmInfo.h.

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

const Section * TargetAsmInfo::getNamedSection ( const char *  Name,
unsigned  Flags = SectionFlags::None,
bool  Override = false 
) const

const Section * TargetAsmInfo::getUnnamedSection ( const char *  Directive,
unsigned  Flags = SectionFlags::None,
bool  Override = false 
) const

unsigned TargetAsmInfo::getInlineAsmLength ( const char *  Str  )  const [virtual]

Measure the specified inline asm to determine an approximation of its length.

Measure the specified inline asm to determine an approximation of its length. Comments (which run till the next SeparatorChar or newline) do not count as an instruction. Any other non-whitespace text is considered an instruction, with multiple instructions separated by SeparatorChar or newlines. Variable-length instructions are not handled here; this function may be overloaded in the target code to do that.

Reimplemented in llvm::ARMTargetAsmInfo< llvm::DarwinTargetAsmInfo >, and llvm::ARMTargetAsmInfo< llvm::ELFTargetAsmInfo >.

Definition at line 142 of file TargetAsmInfo.cpp.

References CommentString, MaxInstLength, and SeparatorChar.

Referenced by llvm::PPCInstrInfo::GetInstSizeInBytes(), llvm::ARMInstrInfo::GetInstSizeInBytes(), and GetInstSizeWithDesc().

virtual bool llvm::TargetAsmInfo::ExpandInlineAsm ( CallInst *  CI  )  const [inline, virtual]

ExpandInlineAsm - This hook allows the target to expand an inline asm call to be explicit llvm code if it wants to. This is useful for turning simple inline asms into LLVM intrinsics, which gives the compiler more information about the behavior of the code.

Reimplemented in llvm::X86TargetAsmInfo< llvm::DarwinTargetAsmInfo >, llvm::X86TargetAsmInfo< llvm::ELFTargetAsmInfo >, and llvm::X86TargetAsmInfo< llvm::TargetAsmInfo >.

Definition at line 555 of file TargetAsmInfo.h.

virtual bool llvm::TargetAsmInfo::emitUsedDirectiveFor ( const GlobalValue *  GV,
Mangler *  Mang 
) const [inline, virtual]

emitUsedDirectiveFor - This hook allows targets to selectively decide not to emit the UsedDirective for some symbols in llvm.used.

Reimplemented in llvm::DarwinTargetAsmInfo.

Definition at line 561 of file TargetAsmInfo.h.

unsigned TargetAsmInfo::PreferredEHDataFormat ( DwarfEncoding::Target  Reason,
bool  Global 
) const [virtual]

PreferredEHDataFormat - This hook allows the target to select data format used for encoding pointers in exception handling data. Reason is 0 for data, 1 for code labels, 2 for function pointers. Global is true if the symbol can be relocated.

Definition at line 160 of file TargetAsmInfo.cpp.

References llvm::dwarf::DW_EH_PE_absptr.

Referenced by llvm::SPULinuxTargetAsmInfo::PreferredEHDataFormat(), and llvm::PPCLinuxTargetAsmInfo::PreferredEHDataFormat().

SectionKind::Kind TargetAsmInfo::SectionKindForGlobal ( const GlobalValue *  GV  )  const [virtual]

unsigned TargetAsmInfo::SectionFlagsForGlobal ( const GlobalValue *  GV = NULL,
const char *  name = NULL 
) const [virtual]

const Section * TargetAsmInfo::SectionForGlobal ( const GlobalValue *  GV  )  const [virtual]

SectionForGlobal - This hooks returns proper section name for given global with all necessary flags and marks.

Definition at line 292 of file TargetAsmInfo.cpp.

References getNamedSection(), llvm::GlobalValue::getSection(), llvm::GlobalValue::hasSection(), SectionFlagsForGlobal(), and SelectSectionForGlobal().

Referenced by llvm::X86ATTAsmPrinter::emitFunctionHeader(), llvm::AsmPrinter::EmitJumpTableInfo(), and llvm::X86ATTAsmPrinter::printModuleLevelGV().

std::string TargetAsmInfo::UniqueSectionForGlobal ( const GlobalValue *  GV,
SectionKind::Kind  kind 
) const [virtual]

const std::string & TargetAsmInfo::getSectionFlags ( unsigned  Flags  )  const

virtual std::string llvm::TargetAsmInfo::printSectionFlags ( unsigned  flags  )  const [inline, virtual]

Reimplemented in llvm::ELFTargetAsmInfo, llvm::SparcELFTargetAsmInfo, and llvm::XCoreTargetAsmInfo.

Definition at line 594 of file TargetAsmInfo.h.

Referenced by getSectionFlags().

const Section * TargetAsmInfo::SelectSectionForGlobal ( const GlobalValue *  GV  )  const [virtual]

const Section * TargetAsmInfo::SelectSectionForMachineConst ( const Type *  Ty  )  const [virtual]

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

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

Definition at line 416 of file TargetAsmInfo.cpp.

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

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

Definition at line 407 of file TargetAsmInfo.cpp.

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]

const Section* llvm::TargetAsmInfo::getTextSection (  )  const [inline]

Definition at line 628 of file TargetAsmInfo.h.

References TextSection.

Referenced by llvm::AsmPrinter::doFinalization(), and SelectSectionForGlobal().

const Section* llvm::TargetAsmInfo::getDataSection (  )  const [inline]

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

Definition at line 634 of file TargetAsmInfo.h.

References BSSSection.

const Section* llvm::TargetAsmInfo::getBSSSection_ (  )  const [inline]

const Section* llvm::TargetAsmInfo::getReadOnlySection (  )  const [inline]

const Section* llvm::TargetAsmInfo::getSmallDataSection (  )  const [inline]

Definition at line 643 of file TargetAsmInfo.h.

References SmallDataSection.

Referenced by llvm::MipsTargetAsmInfo::SelectSectionForGlobal().

const Section* llvm::TargetAsmInfo::getSmallBSSSection (  )  const [inline]

Definition at line 646 of file TargetAsmInfo.h.

References SmallBSSSection.

Referenced by llvm::MipsTargetAsmInfo::SelectSectionForGlobal().

const Section* llvm::TargetAsmInfo::getSmallRODataSection (  )  const [inline]

Definition at line 649 of file TargetAsmInfo.h.

References SmallRODataSection.

const Section* llvm::TargetAsmInfo::getTLSDataSection (  )  const [inline]

Definition at line 652 of file TargetAsmInfo.h.

References TLSDataSection.

const Section* llvm::TargetAsmInfo::getTLSBSSSection (  )  const [inline]

Definition at line 655 of file TargetAsmInfo.h.

References TLSBSSSection.

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

Definition at line 658 of file TargetAsmInfo.h.

References ZeroFillDirective.

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

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

Definition at line 661 of file TargetAsmInfo.h.

References NonexecutableStackDirective.

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

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

Definition at line 664 of file TargetAsmInfo.h.

References NeedsSet.

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

Definition at line 667 of file TargetAsmInfo.h.

References PCSymbol.

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

Definition at line 670 of file TargetAsmInfo.h.

References SeparatorChar.

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

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

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

virtual const char* llvm::TargetAsmInfo::getEHGlobalPrefix (  )  const [inline, virtual]

EHGlobalPrefix - Prefix for EH_frame and the .eh symbols. This is normally PrivateGlobalPrefix, but some targets want these symbols to be visible.

Definition at line 685 of file TargetAsmInfo.h.

References PrivateGlobalPrefix.

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

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

Definition at line 688 of file TargetAsmInfo.h.

References LessPrivateGlobalPrefix.

Referenced by llvm::DarwinTargetAsmInfo::emitUsedDirectiveFor().

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

Definition at line 691 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 706 of file TargetAsmInfo.h.

References PersonalityPrefix.

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

Definition at line 709 of file TargetAsmInfo.h.

References PersonalitySuffix.

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

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

Definition at line 715 of file TargetAsmInfo.h.

References InlineAsmStart.

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

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

Definition at line 718 of file TargetAsmInfo.h.

References InlineAsmEnd.

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

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

Definition at line 721 of file TargetAsmInfo.h.

References AssemblerDialect.

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

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

Definition at line 724 of file TargetAsmInfo.h.

References StringConstantPrefix.

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

Definition at line 727 of file TargetAsmInfo.h.

References ZeroDirective.

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

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

Definition at line 730 of file TargetAsmInfo.h.

References ZeroDirectiveSuffix.

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

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

Definition at line 733 of file TargetAsmInfo.h.

References AsciiDirective.

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

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

Definition at line 736 of file TargetAsmInfo.h.

References AscizDirective.

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

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

Definition at line 739 of file TargetAsmInfo.h.

References JumpTableDirective.

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

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

Definition at line 742 of file TargetAsmInfo.h.

References AlignDirective.

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

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

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

Definition at line 748 of file TargetAsmInfo.h.

References TextAlignFillValue.

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

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

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

Definition at line 754 of file TargetAsmInfo.h.

References TextSectionStartSuffix.

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

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

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

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

Definition at line 763 of file TargetAsmInfo.h.

References ConstantPoolSection.

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

Definition at line 766 of file TargetAsmInfo.h.

References JumpTableDataSection.

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

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

Definition at line 769 of file TargetAsmInfo.h.

References CStringSection.

Referenced by llvm::ELFTargetAsmInfo::MergeableStringSection().

const Section* llvm::TargetAsmInfo::getCStringSection_ (  )  const [inline]

Definition at line 772 of file TargetAsmInfo.h.

References CStringSection_.

Referenced by llvm::DarwinTargetAsmInfo::MergeableStringSection().

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

Definition at line 775 of file TargetAsmInfo.h.

References StaticCtorsSection.

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

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

Definition at line 778 of file TargetAsmInfo.h.

References StaticDtorsSection.

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

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

Definition at line 781 of file TargetAsmInfo.h.

References GlobalDirective.

Referenced by EmitCamlGlobal().

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

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

Definition at line 787 of file TargetAsmInfo.h.

References LCOMMDirective.

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

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

Definition at line 790 of file TargetAsmInfo.h.

References COMMDirective.

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

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

Definition at line 793 of file TargetAsmInfo.h.

References COMMDirectiveTakesAlignment.

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

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

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

Definition at line 799 of file TargetAsmInfo.h.

References HasSingleParameterDotFile.

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

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

Definition at line 802 of file TargetAsmInfo.h.

References UsedDirective.

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

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

Definition at line 805 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 811 of file TargetAsmInfo.h.

References HiddenDirective.

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

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

Definition at line 814 of file TargetAsmInfo.h.

References ProtectedDirective.

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

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

Definition at line 817 of file TargetAsmInfo.h.

References AbsoluteDebugSectionOffsets.

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

Definition at line 820 of file TargetAsmInfo.h.

References AbsoluteEHSectionOffsets.

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

Definition at line 823 of file TargetAsmInfo.h.

References HasLEB128.

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

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

Definition at line 826 of file TargetAsmInfo.h.

References HasDotLocAndDotFile.

Referenced by llvm::TargetLowering::TargetLowering().

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

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

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

Definition at line 835 of file TargetAsmInfo.h.

References DwarfRequiresFrameSection.

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

Definition at line 838 of file TargetAsmInfo.h.

References SupportsMacInfoSection.

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

Definition at line 841 of file TargetAsmInfo.h.

References NonLocalEHFrameLabel.

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

Definition at line 844 of file TargetAsmInfo.h.

References GlobalEHDirective.

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

Definition at line 847 of file TargetAsmInfo.h.

References SupportsWeakOmittedEHFrame.

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

Definition at line 850 of file TargetAsmInfo.h.

References DwarfSectionOffsetDirective.

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

Definition at line 853 of file TargetAsmInfo.h.

References DwarfAbbrevSection.

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

Definition at line 856 of file TargetAsmInfo.h.

References DwarfInfoSection.

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

Definition at line 859 of file TargetAsmInfo.h.

References DwarfLineSection.

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

Definition at line 862 of file TargetAsmInfo.h.

References DwarfFrameSection.

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

Definition at line 865 of file TargetAsmInfo.h.

References DwarfPubNamesSection.

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

Definition at line 868 of file TargetAsmInfo.h.

References DwarfPubTypesSection.

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

Definition at line 871 of file TargetAsmInfo.h.

References DwarfStrSection.

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

Definition at line 874 of file TargetAsmInfo.h.

References DwarfLocSection.

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

Definition at line 877 of file TargetAsmInfo.h.

References DwarfARangesSection.

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

Definition at line 880 of file TargetAsmInfo.h.

References DwarfRangesSection.

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

Definition at line 883 of file TargetAsmInfo.h.

References DwarfMacInfoSection.

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

Definition at line 886 of file TargetAsmInfo.h.

References DwarfEHFrameSection.

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

Definition at line 889 of file TargetAsmInfo.h.

References DwarfExceptionSection.

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

Definition at line 892 of file TargetAsmInfo.h.

References AsmTransCBE.


Member Data Documentation

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

BSSSection - Section directive for uninitialized data. Null if this target doesn't support a BSS section.

Definition at line 147 of file TargetAsmInfo.h.

Referenced by getBSSSection(), and llvm::MipsTargetAsmInfo::MipsTargetAsmInfo().

ReadOnlySection - This is the directive that is emitted to switch to a read-only section for constant data (e.g. data declared const, jump tables).

Definition at line 153 of file TargetAsmInfo.h.

Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), getReadOnlySection(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

SmallDataSection - This is the directive that is emitted to switch to a small data section.

Definition at line 158 of file TargetAsmInfo.h.

Referenced by getSmallDataSection(), and llvm::MipsTargetAsmInfo::MipsTargetAsmInfo().

SmallBSSSection - This is the directive that is emitted to switch to a small bss section.

Definition at line 163 of file TargetAsmInfo.h.

Referenced by getSmallBSSSection(), and llvm::MipsTargetAsmInfo::MipsTargetAsmInfo().

SmallRODataSection - This is the directive that is emitted to switch to a small read-only data section.

Definition at line 168 of file TargetAsmInfo.h.

Referenced by getSmallRODataSection().

TLSDataSection - Section directive for Thread Local data.

Definition at line 172 of file TargetAsmInfo.h.

Referenced by llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), getTLSDataSection(), and llvm::ELFTargetAsmInfo::SelectSectionForGlobal().

TLSBSSSection - Section directive for Thread Local uninitialized data. Null if this target doesn't support a BSS section.

Definition at line 177 of file TargetAsmInfo.h.

Referenced by llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), getTLSBSSSection(), and llvm::ELFTargetAsmInfo::SelectSectionForGlobal().

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 181 of file TargetAsmInfo.h.

Referenced by getZeroFillDirective().

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

Definition at line 186 of file TargetAsmInfo.h.

Referenced by getNonexecutableStackDirective().

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 197 of file TargetAsmInfo.h.

Referenced by needsSet().

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

Definition at line 201 of file TargetAsmInfo.h.

Referenced by getInlineAsmLength().

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

PCSymbol - The symbol used to represent the current PC. Used in PC relative expressions.

Definition at line 205 of file TargetAsmInfo.h.

Referenced by getPCSymbol().

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 210 of file TargetAsmInfo.h.

Referenced by getInlineAsmLength(), and getSeparatorChar().

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

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

GlobalPrefix - If this is set to a non-empty string, it is prepended onto all global symbols. This is often used for "_" or ".".

Definition at line 218 of file TargetAsmInfo.h.

Referenced by getGlobalPrefix().

PrivateGlobalPrefix - This prefix is used for globals like constant pool entries that are completely private to the .s file and should not have names in the .o file. This is often "." or "L".

Definition at line 223 of file TargetAsmInfo.h.

Referenced by llvm::AlphaTargetAsmInfo::AlphaTargetAsmInfo(), getEHGlobalPrefix(), getPrivateGlobalPrefix(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

LessPrivateGlobalPrefix - 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 228 of file TargetAsmInfo.h.

Referenced by getLessPrivateGlobalPrefix().

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

Definition at line 232 of file TargetAsmInfo.h.

Referenced by getJumpTableSpecialLabelPrefix().

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

Definition at line 237 of file TargetAsmInfo.h.

Referenced by getGlobalVarAddrPrefix(), and llvm::IA64TargetAsmInfo::IA64TargetAsmInfo().

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

FunctionAddrPrefix/Suffix - If these are nonempty, these strings will enclose any GlobalVariable that points to a function. For example, this is used by the IA64 backend to materialize function descriptors, by decorating the ".data8" object with the

@fptr( ) 
link-relocation operator.

Definition at line 247 of file TargetAsmInfo.h.

Referenced by getFunctionAddrPrefix(), and llvm::IA64TargetAsmInfo::IA64TargetAsmInfo().

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

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 253 of file TargetAsmInfo.h.

Referenced by getPersonalityPrefix().

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

Definition at line 254 of file TargetAsmInfo.h.

Referenced by getPersonalitySuffix().

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

Definition at line 259 of file TargetAsmInfo.h.

Referenced by getNeedsIndirectEncoding().

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 263 of file TargetAsmInfo.h.

Referenced by getInlineAsmStart().

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

Definition at line 264 of file TargetAsmInfo.h.

Referenced by getInlineAsmEnd().

AssemblerDialect - Which dialect of an assembler variant to use.

Definition at line 267 of file TargetAsmInfo.h.

Referenced by getAssemblerDialect().

StringConstantPrefix - Prefix for FEs to use when generating unnamed constant strings. These names get run through the Mangler later; if you want the Mangler not to add the GlobalPrefix as well, use '' as the first character.

Definition at line 273 of file TargetAsmInfo.h.

Referenced by getStringConstantPrefix().

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 281 of file TargetAsmInfo.h.

Referenced by getZeroDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

Definition at line 282 of file TargetAsmInfo.h.

Referenced by getZeroDirectiveSuffix().

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 286 of file TargetAsmInfo.h.

Referenced by getAsciiDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), and llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo().

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 291 of file TargetAsmInfo.h.

Referenced by getAscizDirective(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), 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 296 of file TargetAsmInfo.h.

Referenced by getData8bitsDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), and llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo().

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

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

Definition at line 315 of file TargetAsmInfo.h.

Referenced by getAlignDirective().

AlignmentIsInBytes - If this is true (the default) then the asmprinter emits ".align N" directives, where N is the number of bytes to align to. Otherwise, it emits ".align log2(N)", e.g. 3 to align to an 8 byte boundary.

Definition at line 321 of file TargetAsmInfo.h.

Referenced by llvm::AlphaTargetAsmInfo::AlphaTargetAsmInfo(), getAlignmentIsInBytes(), and llvm::MipsTargetAsmInfo::MipsTargetAsmInfo().

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

Definition at line 325 of file TargetAsmInfo.h.

Referenced by getTextAlignFillValue().

SwitchToSectionDirective - This is the directive used when we want to emit a global to an arbitrary section. The section name is emited after this.

Definition at line 332 of file TargetAsmInfo.h.

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

TextSectionStartSuffix - This is printed after each start of section directive for text sections.

Definition at line 336 of file TargetAsmInfo.h.

Referenced by getTextSectionStartSuffix().

DataSectionStartSuffix - This is printed after each start of section directive for data sections.

Definition at line 340 of file TargetAsmInfo.h.

Referenced by getDataSectionStartSuffix().

SectionEndDirectiveSuffix - If non-null, the asm printer will close each section with the section name and this suffix printed.

Definition at line 344 of file TargetAsmInfo.h.

Referenced by getSectionEndDirectiveSuffix().

ConstantPoolSection - This is the section that we SwitchToSection right before emitting the constant pool for a function.

Definition at line 348 of file TargetAsmInfo.h.

Referenced by getConstantPoolSection(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

JumpTableDataSection - This is the section that we SwitchToSection right before emitting the jump tables for a function when the relocation model is not PIC.

Definition at line 353 of file TargetAsmInfo.h.

Referenced by llvm::AlphaTargetAsmInfo::AlphaTargetAsmInfo(), getJumpTableDataSection(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

JumpTableDirective - if non-null, the directive to emit before a jump table.

Definition at line 357 of file TargetAsmInfo.h.

Referenced by llvm::AlphaTargetAsmInfo::AlphaTargetAsmInfo(), getJumpTableDirective(), and llvm::MipsTargetAsmInfo::MipsTargetAsmInfo().

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

CStringSection - If not null, this allows for special handling of cstring constants (null terminated string that does not contain any other null bytes) on this target. This is commonly supported as ".cstring".

Definition at line 363 of file TargetAsmInfo.h.

Referenced by getCStringSection(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), and llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo().

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

StaticCtorsSection - This is the directive that is emitted to switch to a section to emit the static constructor list. Defaults to "\t.section .ctors,\"aw\",@progbits".

Definition at line 369 of file TargetAsmInfo.h.

Referenced by getStaticCtorsSection().

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

StaticDtorsSection - This is the directive that is emitted to switch to a section to emit the static destructor list. Defaults to "\t.section .dtors,\"aw\",@progbits".

Definition at line 374 of file TargetAsmInfo.h.

Referenced by getStaticDtorsSection().

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

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

Definition at line 380 of file TargetAsmInfo.h.

Referenced by getGlobalDirective().

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

SetDirective - This is the name of a directive that can be used to tell the assembler to set the value of a variable to some expression.

Definition at line 384 of file TargetAsmInfo.h.

Referenced by getSetDirective(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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 391 of file TargetAsmInfo.h.

Referenced by getLCOMMDirective().

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

Definition at line 393 of file TargetAsmInfo.h.

Referenced by getCOMMDirective().

COMMDirectiveTakesAlignment - True if COMMDirective take a third argument that specifies the alignment of the declaration.

Definition at line 397 of file TargetAsmInfo.h.

Referenced by getCOMMDirectiveTakesAlignment(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), and llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo().

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

Definition at line 401 of file TargetAsmInfo.h.

Referenced by hasDotTypeDotSizeDirective().

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

Definition at line 405 of file TargetAsmInfo.h.

Referenced by hasSingleParameterDotFile().

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 410 of file TargetAsmInfo.h.

Referenced by getUsedDirective().

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

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

Definition at line 414 of file TargetAsmInfo.h.

Referenced by llvm::AlphaTargetAsmInfo::AlphaTargetAsmInfo(), getWeakRefDirective(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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 418 of file TargetAsmInfo.h.

Referenced by getWeakDefDirective(), 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 422 of file TargetAsmInfo.h.

Referenced by getHiddenDirective().

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 426 of file TargetAsmInfo.h.

Referenced by getProtectedDirective().

AbsoluteDebugSectionOffsets - True if we should emit abolute section offsets for debug information. Defaults to false.

Definition at line 432 of file TargetAsmInfo.h.

Referenced by isAbsoluteDebugSectionOffsets(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

AbsoluteEHSectionOffsets - True if we should emit abolute section offsets for EH information. Defaults to false.

Definition at line 436 of file TargetAsmInfo.h.

Referenced by isAbsoluteEHSectionOffsets().

HasLEB128 - True if target asm supports leb128 directives.

Definition at line 440 of file TargetAsmInfo.h.

Referenced by hasLEB128(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

Definition at line 445 of file TargetAsmInfo.h.

Referenced by hasDotLocAndDotFile().

SupportsDebugInformation - True if target supports emission of debugging information.

Definition at line 449 of file TargetAsmInfo.h.

Referenced by doesSupportDebugInformation().

SupportsExceptionHandling - True if target supports exception handling.

Definition at line 454 of file TargetAsmInfo.h.

Referenced by doesSupportExceptionHandling().

RequiresFrameSection - true if the Dwarf2 output needs a frame section

Definition at line 458 of file TargetAsmInfo.h.

Referenced by doesDwarfRequireFrameSection().

SupportsMacInfo - true if the Dwarf output supports macro information

Definition at line 462 of file TargetAsmInfo.h.

Referenced by doesSupportMacInfoSection().

NonLocalEHFrameLabel - If set, the EH_frame label needs to be non-local.

Definition at line 466 of file TargetAsmInfo.h.

Referenced by doesRequireNonLocalEHFrameLabel().

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

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

Definition at line 471 of file TargetAsmInfo.h.

Referenced by getGlobalEHDirective().

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

Definition at line 475 of file TargetAsmInfo.h.

Referenced by getSupportsWeakOmittedEHFrame().

DwarfSectionOffsetDirective - Special section offset directive.

Definition at line 478 of file TargetAsmInfo.h.

Referenced by getDwarfSectionOffsetDirective().

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

DwarfAbbrevSection - Section directive for Dwarf abbrev.

Definition at line 482 of file TargetAsmInfo.h.

Referenced by getDwarfAbbrevSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfInfoSection - Section directive for Dwarf info.

Definition at line 486 of file TargetAsmInfo.h.

Referenced by getDwarfInfoSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfLineSection - Section directive for Dwarf info.

Definition at line 490 of file TargetAsmInfo.h.

Referenced by getDwarfLineSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfFrameSection - Section directive for Dwarf info.

Definition at line 494 of file TargetAsmInfo.h.

Referenced by getDwarfFrameSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

DwarfPubNamesSection - Section directive for Dwarf info.

Definition at line 498 of file TargetAsmInfo.h.

Referenced by getDwarfPubNamesSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

DwarfPubTypesSection - Section directive for Dwarf info.

Definition at line 502 of file TargetAsmInfo.h.

Referenced by getDwarfPubTypesSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfStrSection - Section directive for Dwarf info.

Definition at line 506 of file TargetAsmInfo.h.

Referenced by getDwarfStrSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfLocSection - Section directive for Dwarf info.

Definition at line 510 of file TargetAsmInfo.h.

Referenced by getDwarfLocSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

DwarfARangesSection - Section directive for Dwarf info.

Definition at line 514 of file TargetAsmInfo.h.

Referenced by getDwarfARangesSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

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

DwarfRangesSection - Section directive for Dwarf info.

Definition at line 518 of file TargetAsmInfo.h.

Referenced by getDwarfRangesSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

DwarfMacInfoSection - Section directive for Dwarf info.

Definition at line 522 of file TargetAsmInfo.h.

Referenced by getDwarfMacInfoSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().

DwarfEHFrameSection - Section directive for Exception frames.

Definition at line 526 of file TargetAsmInfo.h.

Referenced by getDwarfEHFrameSection().

DwarfExceptionSection - Section directive for Exception table.

Definition at line 530 of file TargetAsmInfo.h.

Referenced by getDwarfExceptionSection().

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

Definition at line 534 of file TargetAsmInfo.h.

Referenced by getAsmCBE().


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