LLVM API Documentation
#include <MCAsmInfo.h>
This class is intended to be used as a base class for asm properties and features specific to the target.
Definition at line 58 of file MCAsmInfo.h.
MCAsmInfo::MCAsmInfo | ( | ) | [explicit] |
Definition at line 25 of file MCAsmInfo.cpp.
References AlignmentIsInBytes, AllowAtInName, AsciiDirective, AscizDirective, AssemblerDialect, CalleeSaveStackSlotSize, Code16Directive, Code32Directive, Code64Directive, COMMDirectiveAlignmentIsInBytes, CommentString, CompressDebugSections, Data16bitsDirective, Data32bitsDirective, Data64bitsDirective, Data8bitsDirective, DollarIsPC, DwarfFDESymbolsUseAbsDiff, DwarfRegNumForCFI, DwarfUsesRelocationsAcrossSections, ExceptionsType, GlobalDirective, GPRel32Directive, GPRel64Directive, HasAggressiveSymbolFolding, HasDotTypeDotSizeDirective, HasIdentDirective, HasLinkOnceDirective, HasMachoTBSSDirective, HasMachoZeroFillDirective, HasNoDeadStrip, HasSetDirective, HasSingleParameterDotFile, HasStaticCtorDtorReferenceInStaticMode, HasSubsectionsViaSymbols, HasWeakDefCanBeHiddenDirective, HasWeakDefDirective, HiddenDeclarationVisibilityAttr, HiddenVisibilityAttr, InlineAsmEnd, InlineAsmStart, llvm::WinEH::Invalid, IsLittleEndian, LabelSuffix, LCOMMDirectiveAlignmentType, LinkerPrivateGlobalPrefix, LinkerRequiresNonEmptyDwarfLines, MaxInstLength, llvm::MCSA_Hidden, llvm::MCSA_Protected, MinInstAlignment, NeedsDwarfSectionOffsetDirective, llvm::LCOMM::NoAlignment, llvm::None, PointerSize, PrivateGlobalPrefix, ProtectedVisibilityAttr, SeparatorString, StackGrowsUp, SunStyleELFSectionSwitchSyntax, SupportsDebugInformation, TextAlignFillValue, UseAssignmentForEHBegin, UseDataRegionDirectives, UseIntegratedAssembler, UseParensForSymbolVariant, UsesELFSectionDirectiveForBSS, WeakRefDirective, WinEHEncodingType, and ZeroDirective.
MCAsmInfo::~MCAsmInfo | ( | ) | [virtual] |
Definition at line 108 of file MCAsmInfo.cpp.
void llvm::MCAsmInfo::addInitialFrameState | ( | const MCCFIInstruction & | Inst | ) | [inline] |
Definition at line 490 of file MCAsmInfo.h.
References InitialFrameState.
Referenced by createAArch64MCAsmInfo(), createARMMCAsmInfo(), createHexagonMCAsmInfo(), createMipsMCAsmInfo(), createPPCMCAsmInfo(), createSparcMCAsmInfo(), createSparcV9MCAsmInfo(), createSystemZMCAsmInfo(), createX86MCAsmInfo(), and createXCoreMCAsmInfo().
bool llvm::MCAsmInfo::compressDebugSections | ( | ) | const [inline] |
Definition at line 506 of file MCAsmInfo.h.
References CompressDebugSections.
bool llvm::MCAsmInfo::doDwarfFDESymbolsUseAbsDiff | ( | ) | const [inline] |
Definition at line 486 of file MCAsmInfo.h.
References DwarfFDESymbolsUseAbsDiff.
Referenced by emitFDESymbol().
bool llvm::MCAsmInfo::doesAllowAtInName | ( | ) | const [inline] |
Definition at line 435 of file MCAsmInfo.h.
References AllowAtInName.
bool llvm::MCAsmInfo::doesDwarfUseRelocationsAcrossSections | ( | ) | const [inline] |
Definition at line 483 of file MCAsmInfo.h.
References DwarfUsesRelocationsAcrossSections.
Referenced by llvm::DwarfUnit::addLocalString(), addSectionLabel(), llvm::MCGenDwarfInfo::Emit(), llvm::DIEEntry::EmitValue(), llvm::DIELocList::EmitValue(), and llvm::DwarfCompileUnit::initStmtList().
bool llvm::MCAsmInfo::doesSupportDataRegionDirectives | ( | ) | const [inline] |
Definition at line 436 of file MCAsmInfo.h.
References UseDataRegionDirectives.
bool llvm::MCAsmInfo::doesSupportDebugInformation | ( | ) | const [inline] |
Definition at line 471 of file MCAsmInfo.h.
References SupportsDebugInformation.
Referenced by llvm::AsmPrinter::doInitialization().
bool llvm::MCAsmInfo::doesSupportExceptionHandling | ( | ) | const [inline] |
Definition at line 472 of file MCAsmInfo.h.
References ExceptionsType, and llvm::None.
bool llvm::MCAsmInfo::getAlignmentIsInBytes | ( | ) | const [inline] |
Definition at line 442 of file MCAsmInfo.h.
References AlignmentIsInBytes.
const char* llvm::MCAsmInfo::getAsciiDirective | ( | ) | const [inline] |
Definition at line 440 of file MCAsmInfo.h.
References AsciiDirective.
const char* llvm::MCAsmInfo::getAscizDirective | ( | ) | const [inline] |
Definition at line 441 of file MCAsmInfo.h.
References AscizDirective.
unsigned llvm::MCAsmInfo::getAssemblerDialect | ( | ) | const [inline] |
Definition at line 434 of file MCAsmInfo.h.
References AssemblerDialect.
Referenced by LLVMCreateDisasmCPU(), and LLVMSetDisasmOptions().
unsigned llvm::MCAsmInfo::getCalleeSaveStackSlotSize | ( | ) | const [inline] |
Get the callee-saved register stack slot size in bytes.
Definition at line 349 of file MCAsmInfo.h.
References CalleeSaveStackSlotSize.
Referenced by getDataAlignmentFactor().
const char* llvm::MCAsmInfo::getCode16Directive | ( | ) | const [inline] |
Definition at line 431 of file MCAsmInfo.h.
References Code16Directive.
const char* llvm::MCAsmInfo::getCode32Directive | ( | ) | const [inline] |
Definition at line 432 of file MCAsmInfo.h.
References Code32Directive.
const char* llvm::MCAsmInfo::getCode64Directive | ( | ) | const [inline] |
Definition at line 433 of file MCAsmInfo.h.
References Code64Directive.
bool llvm::MCAsmInfo::getCOMMDirectiveAlignmentIsInBytes | ( | ) | const [inline] |
Definition at line 447 of file MCAsmInfo.h.
References COMMDirectiveAlignmentIsInBytes.
unsigned llvm::MCAsmInfo::getCommentColumn | ( | ) | const [inline] |
This indicates the column (zero-based) at which asm comments should be printed.
Definition at line 414 of file MCAsmInfo.h.
Referenced by emitComments().
const char* llvm::MCAsmInfo::getCommentString | ( | ) | const [inline] |
Definition at line 416 of file MCAsmInfo.h.
References CommentString.
Referenced by llvm::AsmLexer::AsmLexer(), emitComments(), llvm::Mips16InstrInfo::getInlineAsmLength(), llvm::TargetInstrInfo::getInlineAsmLength(), llvm::AsmLexer::isAtStartOfComment(), llvm::MCInstPrinter::printAnnotation(), llvm::AsmPrinter::PrintSpecial(), and llvm::MCSectionELF::PrintSwitchToSection().
const char* llvm::MCAsmInfo::getData16bitsDirective | ( | ) | const [inline] |
Definition at line 364 of file MCAsmInfo.h.
References Data16bitsDirective.
const char* llvm::MCAsmInfo::getData32bitsDirective | ( | ) | const [inline] |
Definition at line 365 of file MCAsmInfo.h.
References Data32bitsDirective.
const char* llvm::MCAsmInfo::getData64bitsDirective | ( | ) | const [inline] |
Definition at line 366 of file MCAsmInfo.h.
References Data64bitsDirective.
const char* llvm::MCAsmInfo::getData8bitsDirective | ( | ) | const [inline] |
Definition at line 363 of file MCAsmInfo.h.
References Data8bitsDirective.
bool llvm::MCAsmInfo::getDollarIsPC | ( | ) | const [inline] |
Definition at line 409 of file MCAsmInfo.h.
References DollarIsPC.
ExceptionHandling llvm::MCAsmInfo::getExceptionHandlingType | ( | ) | const [inline] |
Definition at line 475 of file MCAsmInfo.h.
References ExceptionsType.
Referenced by llvm::TargetPassConfig::addPassesToHandleExceptions(), llvm::ARMException::beginFunction(), llvm::AsmPrinter::doInitialization(), llvm::AsmPrinter::emitCFIInstruction(), llvm::X86FrameLowering::emitEpilogue(), llvm::EHStreamer::emitExceptionTable(), llvm::X86FrameLowering::emitPrologue(), llvm::ARMException::endFunction(), llvm::ARMElfTargetObjectFile::getTTypeGlobalReference(), llvm::AsmPrinter::needsCFIMoves(), and llvm::AsmPrinter::needsSEHMoves().
const MCExpr * MCAsmInfo::getExprForFDESymbol | ( | const MCSymbol * | Sym, |
unsigned | Encoding, | ||
MCStreamer & | Streamer | ||
) | const [virtual] |
Reimplemented in llvm::SparcELFMCAsmInfo.
Definition at line 119 of file MCAsmInfo.cpp.
References llvm::MCSymbolRefExpr::Create(), llvm::MCBinaryExpr::CreateSub(), llvm::dwarf::DW_EH_PE_pcrel, llvm::MCStreamer::EmitLabel(), and llvm::MCStreamer::getContext().
Referenced by emitFDESymbol(), and getExprForPersonalitySymbol().
const MCExpr * MCAsmInfo::getExprForPersonalitySymbol | ( | const MCSymbol * | Sym, |
unsigned | Encoding, | ||
MCStreamer & | Streamer | ||
) | const [virtual] |
Reimplemented in llvm::X86_64MCAsmInfoDarwin, llvm::SparcELFMCAsmInfo, and llvm::AArch64MCAsmInfoDarwin.
Definition at line 112 of file MCAsmInfo.cpp.
References getExprForFDESymbol().
Referenced by EmitPersonality().
const char* llvm::MCAsmInfo::getGlobalDirective | ( | ) | const [inline] |
Definition at line 444 of file MCAsmInfo.h.
References GlobalDirective.
const char* llvm::MCAsmInfo::getGPRel32Directive | ( | ) | const [inline] |
Definition at line 368 of file MCAsmInfo.h.
References GPRel32Directive.
const char* llvm::MCAsmInfo::getGPRel64Directive | ( | ) | const [inline] |
Definition at line 367 of file MCAsmInfo.h.
References GPRel64Directive.
MCSymbolAttr llvm::MCAsmInfo::getHiddenDeclarationVisibilityAttr | ( | ) | const [inline] |
Definition at line 465 of file MCAsmInfo.h.
References HiddenDeclarationVisibilityAttr.
MCSymbolAttr llvm::MCAsmInfo::getHiddenVisibilityAttr | ( | ) | const [inline] |
Definition at line 464 of file MCAsmInfo.h.
References HiddenVisibilityAttr.
const std::vector<MCCFIInstruction>& llvm::MCAsmInfo::getInitialFrameState | ( | ) | const [inline] |
Definition at line 494 of file MCAsmInfo.h.
References InitialFrameState.
const char* llvm::MCAsmInfo::getInlineAsmEnd | ( | ) | const [inline] |
Definition at line 430 of file MCAsmInfo.h.
References InlineAsmEnd.
const char* llvm::MCAsmInfo::getInlineAsmStart | ( | ) | const [inline] |
Definition at line 429 of file MCAsmInfo.h.
References InlineAsmStart.
const char* llvm::MCAsmInfo::getLabelSuffix | ( | ) | const [inline] |
Definition at line 417 of file MCAsmInfo.h.
References LabelSuffix.
LCOMM::LCOMMType llvm::MCAsmInfo::getLCOMMDirectiveAlignmentType | ( | ) | const [inline] |
Definition at line 450 of file MCAsmInfo.h.
References LCOMMDirectiveAlignmentType.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
const char* llvm::MCAsmInfo::getLinkerPrivateGlobalPrefix | ( | ) | const [inline] |
Definition at line 424 of file MCAsmInfo.h.
References getPrivateGlobalPrefix(), hasLinkerPrivateGlobalPrefix(), and LinkerPrivateGlobalPrefix.
Referenced by llvm::MCContext::CreateLinkerPrivateTempSymbol().
bool llvm::MCAsmInfo::getLinkerRequiresNonEmptyDwarfLines | ( | ) | const [inline] |
Definition at line 404 of file MCAsmInfo.h.
References LinkerRequiresNonEmptyDwarfLines.
Referenced by llvm::MCDwarfLineTable::EmitCU().
unsigned llvm::MCAsmInfo::getMaxInstLength | ( | ) | const [inline] |
Definition at line 407 of file MCAsmInfo.h.
References MaxInstLength.
Referenced by llvm::Mips16InstrInfo::getInlineAsmLength(), and llvm::TargetInstrInfo::getInlineAsmLength().
unsigned llvm::MCAsmInfo::getMinInstAlignment | ( | ) | const [inline] |
Definition at line 408 of file MCAsmInfo.h.
References MinInstAlignment.
Referenced by llvm::MCDwarfLineTableHeader::Emit(), and ScaleAddrDelta().
virtual const MCSection* llvm::MCAsmInfo::getNonexecutableStackSection | ( | MCContext & | Ctx | ) | const [inline, virtual] |
Targets can implement this method to specify a section to switch to if the translation unit doesn't have any trampolines that require an executable stack.
Reimplemented in llvm::X86ELFMCAsmInfo, llvm::AMDGPUMCAsmInfo, and llvm::SystemZMCAsmInfo.
Definition at line 373 of file MCAsmInfo.h.
Referenced by llvm::AsmPrinter::doFinalization().
unsigned llvm::MCAsmInfo::getPointerSize | ( | ) | const [inline] |
Get the pointer size in bytes.
Definition at line 345 of file MCAsmInfo.h.
References PointerSize.
Referenced by llvm::MCDwarfFrameEmitter::Emit(), EmitDwarfLineTable(), EmitGenDwarfAranges(), EmitGenDwarfInfo(), EmitGenDwarfRanges(), and getSizeForEncoding().
const char* llvm::MCAsmInfo::getPrivateGlobalPrefix | ( | ) | const [inline] |
Definition at line 420 of file MCAsmInfo.h.
References PrivateGlobalPrefix.
Referenced by llvm::MCContext::CreateTempSymbol(), llvm::MCStreamer::getDwarfLineTableSymbol(), and getLinkerPrivateGlobalPrefix().
MCSymbolAttr llvm::MCAsmInfo::getProtectedVisibilityAttr | ( | ) | const [inline] |
Definition at line 468 of file MCAsmInfo.h.
References ProtectedVisibilityAttr.
const char* llvm::MCAsmInfo::getSeparatorString | ( | ) | const [inline] |
Definition at line 410 of file MCAsmInfo.h.
References SeparatorString.
Referenced by llvm::Mips16InstrInfo::getInlineAsmLength(), llvm::TargetInstrInfo::getInlineAsmLength(), llvm::AsmLexer::isAtStatementSeparator(), and llvm::AsmLexer::LexToken().
unsigned llvm::MCAsmInfo::getTextAlignFillValue | ( | ) | const [inline] |
Definition at line 443 of file MCAsmInfo.h.
References TextAlignFillValue.
const char* llvm::MCAsmInfo::getWeakRefDirective | ( | ) | const [inline] |
Definition at line 457 of file MCAsmInfo.h.
References WeakRefDirective.
Referenced by llvm::AsmPrinter::doFinalization().
WinEH::EncodingType llvm::MCAsmInfo::getWinEHEncodingType | ( | ) | const [inline] |
Definition at line 476 of file MCAsmInfo.h.
References WinEHEncodingType.
Referenced by llvm::AsmPrinter::doInitialization().
const char* llvm::MCAsmInfo::getZeroDirective | ( | ) | const [inline] |
Definition at line 439 of file MCAsmInfo.h.
References ZeroDirective.
bool llvm::MCAsmInfo::hasAggressiveSymbolFolding | ( | ) | const [inline] |
Definition at line 446 of file MCAsmInfo.h.
References HasAggressiveSymbolFolding.
Referenced by forceExpAbs().
bool llvm::MCAsmInfo::hasDotTypeDotSizeDirective | ( | ) | const [inline] |
Definition at line 453 of file MCAsmInfo.h.
References HasDotTypeDotSizeDirective.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::AsmPrinter::EmitFunctionBody(), llvm::AsmPrinter::EmitFunctionHeader(), and llvm::AsmPrinter::EmitGlobalVariable().
bool llvm::MCAsmInfo::hasIdentDirective | ( | ) | const [inline] |
Definition at line 455 of file MCAsmInfo.h.
References HasIdentDirective.
bool llvm::MCAsmInfo::hasLinkerPrivateGlobalPrefix | ( | ) | const [inline] |
Definition at line 421 of file MCAsmInfo.h.
References LinkerPrivateGlobalPrefix.
Referenced by getLinkerPrivateGlobalPrefix().
bool llvm::MCAsmInfo::hasLinkOnceDirective | ( | ) | const [inline] |
Definition at line 462 of file MCAsmInfo.h.
References HasLinkOnceDirective.
bool llvm::MCAsmInfo::hasMachoTBSSDirective | ( | ) | const [inline] |
Definition at line 400 of file MCAsmInfo.h.
References HasMachoTBSSDirective.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
bool llvm::MCAsmInfo::hasMachoZeroFillDirective | ( | ) | const [inline] |
Definition at line 399 of file MCAsmInfo.h.
References HasMachoZeroFillDirective.
Referenced by llvm::AsmPrinter::EmitGlobalVariable().
bool llvm::MCAsmInfo::hasNoDeadStrip | ( | ) | const [inline] |
Definition at line 456 of file MCAsmInfo.h.
References HasNoDeadStrip.
Referenced by llvm::AsmPrinter::EmitSpecialLLVMGlobal().
bool llvm::MCAsmInfo::hasSetDirective | ( | ) | const [inline] |
Definition at line 445 of file MCAsmInfo.h.
References HasSetDirective.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::AsmPrinter::EmitLabelDifference(), and llvm::AsmPrinter::EmitLabelOffsetDifference().
bool llvm::MCAsmInfo::hasSingleParameterDotFile | ( | ) | const [inline] |
Definition at line 454 of file MCAsmInfo.h.
References HasSingleParameterDotFile.
Referenced by llvm::AsmPrinter::doInitialization().
bool llvm::MCAsmInfo::hasStaticCtorDtorReferenceInStaticMode | ( | ) | const [inline] |
Definition at line 401 of file MCAsmInfo.h.
References HasStaticCtorDtorReferenceInStaticMode.
Referenced by llvm::AsmPrinter::EmitSpecialLLVMGlobal().
bool llvm::MCAsmInfo::hasSubsectionsViaSymbols | ( | ) | const [inline] |
Definition at line 359 of file MCAsmInfo.h.
References HasSubsectionsViaSymbols.
Referenced by llvm::AsmPrinter::EmitFunctionBody(), llvm::AsmPrinter::EmitGlobalConstant(), and llvm::MCExpr::EvaluateAsRelocatableImpl().
bool llvm::MCAsmInfo::hasWeakDefCanBeHiddenDirective | ( | ) | const [inline] |
Definition at line 459 of file MCAsmInfo.h.
References HasWeakDefCanBeHiddenDirective.
Referenced by canBeHidden().
bool llvm::MCAsmInfo::hasWeakDefDirective | ( | ) | const [inline] |
Definition at line 458 of file MCAsmInfo.h.
References HasWeakDefDirective.
bool llvm::MCAsmInfo::isExceptionHandlingDwarf | ( | ) | const [inline] |
Definition at line 477 of file MCAsmInfo.h.
References llvm::WinEH::ARM, llvm::DwarfCFI, ExceptionsType, and llvm::WinEH.
Referenced by llvm::EHStreamer::computeCallSiteTable(), llvm::EHStreamer::emitExceptionTable(), and llvm::DwarfCFIException::endModule().
bool llvm::MCAsmInfo::isLittleEndian | ( | ) | const [inline] |
True if the target is little endian.
Definition at line 354 of file MCAsmInfo.h.
References IsLittleEndian.
Referenced by llvm::MCStreamer::EmitIntValue().
bool llvm::MCAsmInfo::isStackGrowthDirectionUp | ( | ) | const [inline] |
True if target stack grow up.
Definition at line 357 of file MCAsmInfo.h.
References StackGrowsUp.
Referenced by getDataAlignmentFactor().
bool llvm::MCAsmInfo::needsDwarfSectionOffsetDirective | ( | ) | const [inline] |
Definition at line 393 of file MCAsmInfo.h.
References NeedsDwarfSectionOffsetDirective.
Referenced by EmitGenDwarfAranges(), EmitGenDwarfInfo(), llvm::AsmPrinter::EmitLabelPlusOffset(), and llvm::AsmPrinter::EmitSectionOffset().
void llvm::MCAsmInfo::setCompressDebugSections | ( | bool | CompressDebugSections | ) | [inline] |
Definition at line 508 of file MCAsmInfo.h.
References CompressDebugSections.
Referenced by llvm::LLVMTargetMachine::initAsmInfo().
virtual void llvm::MCAsmInfo::setUseIntegratedAssembler | ( | bool | Value | ) | [inline, virtual] |
Set whether assembly (inline or otherwise) should be parsed.
Reimplemented in llvm::ARMELFMCAsmInfo.
Definition at line 502 of file MCAsmInfo.h.
References UseIntegratedAssembler.
Referenced by llvm::LLVMTargetMachine::initAsmInfo().
bool llvm::MCAsmInfo::useAssignmentForEHBegin | ( | ) | const [inline] |
Definition at line 419 of file MCAsmInfo.h.
References UseAssignmentForEHBegin.
Referenced by llvm::DwarfCFIException::beginFunction().
bool llvm::MCAsmInfo::useDwarfRegNumForCFI | ( | ) | const [inline] |
Definition at line 487 of file MCAsmInfo.h.
References DwarfRegNumForCFI.
bool llvm::MCAsmInfo::useIntegratedAssembler | ( | ) | const [inline] |
Return true if assembly (inline or otherwise) should be parsed.
Definition at line 499 of file MCAsmInfo.h.
References UseIntegratedAssembler.
bool llvm::MCAsmInfo::useParensForSymbolVariant | ( | ) | const [inline] |
Definition at line 488 of file MCAsmInfo.h.
References UseParensForSymbolVariant.
Referenced by llvm::MCExpr::print().
bool llvm::MCAsmInfo::usesELFSectionDirectiveForBSS | ( | ) | const [inline] |
Definition at line 389 of file MCAsmInfo.h.
References UsesELFSectionDirectiveForBSS.
Referenced by llvm::MCSectionELF::ShouldOmitSectionDirective().
bool llvm::MCAsmInfo::usesSunStyleELFSectionSwitchSyntax | ( | ) | const [inline] |
Definition at line 385 of file MCAsmInfo.h.
References SunStyleELFSectionSwitchSyntax.
Referenced by llvm::MCSectionELF::PrintSwitchToSection().
bool llvm::MCAsmInfo::AlignmentIsInBytes [protected] |
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. Defaults to true.
Definition at line 215 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMCOFFMCAsmInfoMicrosoft::ARMCOFFMCAsmInfoMicrosoft(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), getAlignmentIsInBytes(), MCAsmInfo(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::MSP430MCAsmInfo::MSP430MCAsmInfo(), and llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo().
bool llvm::MCAsmInfo::AllowAtInName [protected] |
This is true if the assembler allows @ characters in symbol names. Defaults to false.
Definition at line 154 of file MCAsmInfo.h.
Referenced by doesAllowAtInName(), MCAsmInfo(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
const char* llvm::MCAsmInfo::AsciiDirective [protected] |
This directive allows emission of an ascii string with the standard C escape characters embedded into it. Defaults to "\t.ascii\t"
Definition at line 171 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getAsciiDirective(), MCAsmInfo(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
const char* llvm::MCAsmInfo::AscizDirective [protected] |
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. Defaults to "\t.asciz\t"
Definition at line 176 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getAscizDirective(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
unsigned llvm::MCAsmInfo::AssemblerDialect [protected] |
Which dialect of an assembler variant to use. Defaults to 0.
Definition at line 150 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getAssemblerDialect(), MCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
unsigned llvm::MCAsmInfo::CalleeSaveStackSlotSize [protected] |
Size of the stack slot reserved for callee-saved registers, in bytes. Default is same as pointer size.
Definition at line 69 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), getCalleeSaveStackSlotSize(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::MSP430MCAsmInfo::MSP430MCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), and llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin().
const char* llvm::MCAsmInfo::Code16Directive [protected] |
These are assembly directives that tells the assembler to interpret the following instructions differently. Defaults to ".code16", ".code32", ".code64".
Definition at line 145 of file MCAsmInfo.h.
Referenced by llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), getCode16Directive(), and MCAsmInfo().
const char* llvm::MCAsmInfo::Code32Directive [protected] |
Definition at line 146 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), getCode32Directive(), and MCAsmInfo().
const char* llvm::MCAsmInfo::Code64Directive [protected] |
Definition at line 147 of file MCAsmInfo.h.
Referenced by getCode64Directive(), and MCAsmInfo().
bool llvm::MCAsmInfo::COMMDirectiveAlignmentIsInBytes [protected] |
True is .comm's and .lcomms optional alignment is to be specified in bytes instead of log2(n). Defaults to true.
Definition at line 246 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getCOMMDirectiveAlignmentIsInBytes(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
const char* llvm::MCAsmInfo::CommentString [protected] |
This indicates the comment character used by the assembler. Defaults to "#"
Definition at line 118 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), getCommentString(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::MSP430MCAsmInfo::MSP430MCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
bool llvm::MCAsmInfo::CompressDebugSections [protected] |
Compress DWARF debug sections. Defaults to false.
Definition at line 338 of file MCAsmInfo.h.
Referenced by compressDebugSections(), MCAsmInfo(), and setCompressDebugSections().
const char* llvm::MCAsmInfo::Data16bitsDirective [protected] |
Definition at line 183 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getData16bitsDirective(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
const char* llvm::MCAsmInfo::Data32bitsDirective [protected] |
Definition at line 184 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getData32bitsDirective(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
const char* llvm::MCAsmInfo::Data64bitsDirective [protected] |
Definition at line 185 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), getData64bitsDirective(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
const char* llvm::MCAsmInfo::Data8bitsDirective [protected] |
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. Defaults to "\t.byte\t", "\t.short\t", "\t.long\t", "\t.quad\t"
Definition at line 182 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getData8bitsDirective(), MCAsmInfo(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
bool llvm::MCAsmInfo::DollarIsPC [protected] |
The '$' token, when not referencing an identifier or constant, refers to the current PC. Defaults to false.
Definition at line 110 of file MCAsmInfo.h.
Referenced by getDollarIsPC(), MCAsmInfo(), and llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo().
bool llvm::MCAsmInfo::DwarfFDESymbolsUseAbsDiff [protected] |
True if DWARF FDE symbol reference relocations should be replaced by an absolute difference.
Definition at line 314 of file MCAsmInfo.h.
Referenced by doDwarfFDESymbolsUseAbsDiff(), MCAsmInfo(), and llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin().
bool llvm::MCAsmInfo::DwarfRegNumForCFI [protected] |
True if dwarf register numbers are printed instead of symbolic register names in .cfi_* directives. Defaults to false.
Definition at line 318 of file MCAsmInfo.h.
Referenced by llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::ARMELFMCAsmInfo::setUseIntegratedAssembler(), useDwarfRegNumForCFI(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
True if Dwarf2 output generally uses relocations for references to other .debug_* sections.
Definition at line 310 of file MCAsmInfo.h.
Referenced by doesDwarfUseRelocationsAcrossSections(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
ExceptionHandling llvm::MCAsmInfo::ExceptionsType [protected] |
Exception handling format for the target. Defaults to None.
Definition at line 303 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), doesSupportExceptionHandling(), getExceptionHandlingType(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), isExceptionHandlingDwarf(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
const char* llvm::MCAsmInfo::GlobalDirective [protected] |
This is the directive used to declare a global entity. Defaults to NULL.
Definition at line 224 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getGlobalDirective(), MCAsmInfo(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
const char* llvm::MCAsmInfo::GPRel32Directive [protected] |
If non-null, a directive that is used to emit a word which should be relocated as a 32-bit GP-relative offset, e.g. .gpword on Mips or .gprel32 on Alpha. Defaults to NULL.
Definition at line 195 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getGPRel32Directive(), MCAsmInfo(), and llvm::MipsMCAsmInfo::MipsMCAsmInfo().
const char* llvm::MCAsmInfo::GPRel64Directive [protected] |
If non-null, a directive that is used to emit a word which should be relocated as a 64-bit GP-relative offset, e.g. .gpdword on Mips. Defaults to NULL.
Definition at line 190 of file MCAsmInfo.h.
Referenced by getGPRel64Directive(), MCAsmInfo(), and llvm::MipsMCAsmInfo::MipsMCAsmInfo().
bool llvm::MCAsmInfo::HasAggressiveSymbolFolding [protected] |
instead of
False if the assembler requires that we use
Lc = a - b .long Lc
.long a - b
Defaults to true.
Definition at line 242 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasAggressiveSymbolFolding(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasDotTypeDotSizeDirective [protected] |
True if the target has .type and .size directives, this is true for most ELF targets. Defaults to true.
Definition at line 254 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasDotTypeDotSizeDirective(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
bool llvm::MCAsmInfo::HasIdentDirective [protected] |
True if the target has a .ident directive, this is true for ELF targets. Defaults to false.
Definition at line 262 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), hasIdentDirective(), MCAsmInfo(), and llvm::MCAsmInfoELF::MCAsmInfoELF().
bool llvm::MCAsmInfo::HasLinkOnceDirective [protected] |
True if we have a .linkonce directive. This is used on cygwin/mingw. Defaults to false.
Definition at line 282 of file MCAsmInfo.h.
Referenced by hasLinkOnceDirective(), MCAsmInfo(), and llvm::MCAsmInfoCOFF::MCAsmInfoCOFF().
bool llvm::MCAsmInfo::HasMachoTBSSDirective [protected] |
True if this is a MachO target that supports the macho-specific .tbss directive for emitting thread local BSS Symbols. Default is false.
Definition at line 87 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasMachoTBSSDirective(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasMachoZeroFillDirective [protected] |
True if this is a MachO target that supports the macho-specific .zerofill directive for emitting BSS Symbols. Default is false.
Definition at line 83 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasMachoZeroFillDirective(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasNoDeadStrip [protected] |
True if this target supports the MachO .no_dead_strip directive. Defaults to false.
Definition at line 266 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasNoDeadStrip(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasSetDirective [protected] |
True if the assembler supports the .set directive. Defaults to true.
Definition at line 227 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasSetDirective(), MCAsmInfo(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
bool llvm::MCAsmInfo::HasSingleParameterDotFile [protected] |
True if the target has a single parameter .file directive, this is true for ELF targets. Defaults to true.
Definition at line 258 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), hasSingleParameterDotFile(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
True if the compiler should emit a ".reference .constructors_used" or ".reference .destructors_used" directive after the static ctor/dtor list. This directive is only emitted in Static relocation model. Default is false.
Definition at line 93 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasStaticCtorDtorReferenceInStaticMode(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasSubsectionsViaSymbols [protected] |
True if this target has the MachO .subsections_via_symbols directive. Default is false.
Definition at line 79 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), hasSubsectionsViaSymbols(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasWeakDefCanBeHiddenDirective [protected] |
True if we have a directive to declare a global as being a weak defined symbol that can be hidden (unexported). Defaults to false.
Definition at line 278 of file MCAsmInfo.h.
Referenced by hasWeakDefCanBeHiddenDirective(), MCAsmInfo(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), and llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin().
bool llvm::MCAsmInfo::HasWeakDefDirective [protected] |
True if we have a directive to declare a global as being a weak defined symbol. Defaults to false.
Definition at line 274 of file MCAsmInfo.h.
Referenced by hasWeakDefDirective(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
This attribute, if not MCSA_Invalid, is used to declare an undefined symbol as having hidden visibility. Defaults to MCSA_Hidden.
Definition at line 290 of file MCAsmInfo.h.
Referenced by getHiddenDeclarationVisibilityAttr(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
MCSymbolAttr llvm::MCAsmInfo::HiddenVisibilityAttr [protected] |
This attribute, if not MCSA_Invalid, is used to declare a symbol as having hidden visibility. Defaults to MCSA_Hidden.
Definition at line 286 of file MCAsmInfo.h.
Referenced by getHiddenVisibilityAttr(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
std::vector<MCCFIInstruction> llvm::MCAsmInfo::InitialFrameState [protected] |
Definition at line 326 of file MCAsmInfo.h.
Referenced by addInitialFrameState(), and getInitialFrameState().
const char* llvm::MCAsmInfo::InlineAsmEnd [protected] |
Definition at line 140 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getInlineAsmEnd(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
const char* llvm::MCAsmInfo::InlineAsmStart [protected] |
If these are nonempty, they contain a directive to emit before and after an inline assembly statement. Defaults to "#APP\n", "#NO_APP\n"
Definition at line 139 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getInlineAsmStart(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo().
bool llvm::MCAsmInfo::IsLittleEndian [protected] |
True if target is little endian. Default is true.
Definition at line 72 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), isLittleEndian(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), and llvm::SystemZMCAsmInfo::SystemZMCAsmInfo().
const char* llvm::MCAsmInfo::LabelSuffix [protected] |
This is appended to emitted labels. Defaults to ":".
Definition at line 121 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getLabelSuffix(), and MCAsmInfo().
Describes if the .lcomm directive for the target supports an alignment argument and how it is interpreted. Defaults to NoAlignment.
Definition at line 250 of file MCAsmInfo.h.
Referenced by getLCOMMDirectiveAlignmentType(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo().
const char* llvm::MCAsmInfo::LinkerPrivateGlobalPrefix [protected] |
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. The default of "" meast that for this system a plain private symbol should be used. Defaults to "".
Definition at line 135 of file MCAsmInfo.h.
Referenced by getLinkerPrivateGlobalPrefix(), hasLinkerPrivateGlobalPrefix(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
True if the linker has a bug and requires that the debug_line section be of a minimum size. In practice such a linker requires a non-empty line sequence if a file is present. Default to false.
Definition at line 98 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getLinkerRequiresNonEmptyDwarfLines(), MCAsmInfo(), and llvm::MCAsmInfoDarwin::MCAsmInfoDarwin().
unsigned llvm::MCAsmInfo::MaxInstLength [protected] |
This is the maximum possible length of an instruction, which is needed to compute the size of an inline asm. Defaults to 4.
Definition at line 102 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getMaxInstLength(), and MCAsmInfo().
unsigned llvm::MCAsmInfo::MinInstAlignment [protected] |
Every possible instruction length is a multiple of this value. Factored out in .debug_frame and .debug_line. Defaults to 1.
Definition at line 106 of file MCAsmInfo.h.
Referenced by getMinInstAlignment(), MCAsmInfo(), and llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo().
Definition at line 207 of file MCAsmInfo.h.
Referenced by MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), and needsDwarfSectionOffsetDirective().
unsigned llvm::MCAsmInfo::PointerSize [protected] |
Pointer size in bytes. Default is 4.
Definition at line 65 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), getPointerSize(), MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::MSP430MCAsmInfo::MSP430MCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
const char* llvm::MCAsmInfo::PrivateGlobalPrefix [protected] |
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. Defaults to "L"
Definition at line 129 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMCOFFMCAsmInfoMicrosoft::ARMCOFFMCAsmInfoMicrosoft(), getPrivateGlobalPrefix(), MCAsmInfo(), llvm::MCAsmInfoELF::MCAsmInfoELF(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
MCSymbolAttr llvm::MCAsmInfo::ProtectedVisibilityAttr [protected] |
This attribute, if not MCSA_Invalid, is used to declare a symbol as having protected visibility. Defaults to MCSA_Protected
Definition at line 294 of file MCAsmInfo.h.
Referenced by getProtectedVisibilityAttr(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
const char* llvm::MCAsmInfo::SeparatorString [protected] |
This string, if specified, is used to separate instructions from each other when on the same line. Defaults to ';'
Definition at line 114 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getSeparatorString(), and MCAsmInfo().
bool llvm::MCAsmInfo::StackGrowsUp [protected] |
True if target stack grow up. Default is false.
Definition at line 75 of file MCAsmInfo.h.
Referenced by isStackGrowthDirectionUp(), and MCAsmInfo().
bool llvm::MCAsmInfo::SunStyleELFSectionSwitchSyntax [protected] |
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. Defaults to false.
Definition at line 200 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), MCAsmInfo(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), and usesSunStyleELFSectionSwitchSyntax().
bool llvm::MCAsmInfo::SupportsDebugInformation [protected] |
True if target supports emission of debugging information. Defaults to false.
Definition at line 300 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), doesSupportDebugInformation(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().
unsigned llvm::MCAsmInfo::TextAlignFillValue [protected] |
If non-zero, this is used to fill the executable space created as the result of a alignment directive. Defaults to 0
Definition at line 219 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getTextAlignFillValue(), MCAsmInfo(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
bool llvm::MCAsmInfo::UseAssignmentForEHBegin [protected] |
Definition at line 124 of file MCAsmInfo.h.
Referenced by MCAsmInfo(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), and useAssignmentForEHBegin().
bool llvm::MCAsmInfo::UseDataRegionDirectives [protected] |
This is true if data region markers should be printed as ".data_region/.end_data_region" directives. If false, use "$d/$a" labels instead.
Definition at line 159 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), doesSupportDataRegionDirectives(), MCAsmInfo(), and llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin().
bool llvm::MCAsmInfo::UseIntegratedAssembler [protected] |
Should we use the integrated assembler? The integrated assembler should be enabled by default (by the constructors) when failing to parse a valid piece of assembly (inline or otherwise) is considered a bug. It may then be overridden after construction (see LLVMTargetMachine::initAsmInfo()).
Definition at line 335 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), llvm::ARMMCAsmInfoDarwin::ARMMCAsmInfoDarwin(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(), llvm::ARMELFMCAsmInfo::setUseIntegratedAssembler(), setUseIntegratedAssembler(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), useIntegratedAssembler(), llvm::X86ELFMCAsmInfo::X86ELFMCAsmInfo(), llvm::X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
bool llvm::MCAsmInfo::UseParensForSymbolVariant [protected] |
True if target uses parens to indicate the symbol variant instead of @. For example, foo(plt) instead of foo. Defaults to false.
Definition at line 322 of file MCAsmInfo.h.
Referenced by llvm::ARMCOFFMCAsmInfoGNU::ARMCOFFMCAsmInfoGNU(), llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(), MCAsmInfo(), and useParensForSymbolVariant().
bool llvm::MCAsmInfo::UsesELFSectionDirectiveForBSS [protected] |
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. Defaults to false.
Definition at line 205 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoDarwin::AArch64MCAsmInfoDarwin(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MSP430MCAsmInfo::MSP430MCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), and usesELFSectionDirectiveForBSS().
const char* llvm::MCAsmInfo::WeakRefDirective [protected] |
This directive, if non-null, is used to declare a global as being a weak undefined symbol. Defaults to NULL.
Definition at line 270 of file MCAsmInfo.h.
Referenced by llvm::AArch64MCAsmInfoELF::AArch64MCAsmInfoELF(), llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getWeakRefDirective(), MCAsmInfo(), llvm::MCAsmInfoCOFF::MCAsmInfoCOFF(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), and llvm::MCAsmInfoELF::MCAsmInfoELF().
Windows exception handling data (.pdata) encoding. Defaults to Invalid.
Definition at line 306 of file MCAsmInfo.h.
Referenced by getWinEHEncodingType(), MCAsmInfo(), llvm::X86MCAsmInfoGNUCOFF::X86MCAsmInfoGNUCOFF(), and llvm::X86MCAsmInfoMicrosoft::X86MCAsmInfoMicrosoft().
const char* llvm::MCAsmInfo::ZeroDirective [protected] |
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. Defaults to "\t.zero\t"
Definition at line 167 of file MCAsmInfo.h.
Referenced by llvm::AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(), getZeroDirective(), llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(), MCAsmInfo(), llvm::MCAsmInfoDarwin::MCAsmInfoDarwin(), llvm::MipsMCAsmInfo::MipsMCAsmInfo(), llvm::NVPTXMCAsmInfo::NVPTXMCAsmInfo(), llvm::PPCELFMCAsmInfo::PPCELFMCAsmInfo(), llvm::SparcELFMCAsmInfo::SparcELFMCAsmInfo(), llvm::SystemZMCAsmInfo::SystemZMCAsmInfo(), and llvm::XCoreMCAsmInfo::XCoreMCAsmInfo().