LLVM API Documentation
#include <TargetAsmInfo.h>
Definition at line 123 of file TargetAsmInfo.h.
| 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.
| 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 |
Definition at line 367 of file TargetAsmInfo.cpp.
References llvm::Section::Flags, llvm::SectionFlags::Invalid, llvm::Section::Name, and llvm::SectionFlags::Named.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), SectionForGlobal(), SelectSectionForGlobal(), llvm::ELFTargetAsmInfo::SelectSectionForGlobal(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| const Section * TargetAsmInfo::getUnnamedSection | ( | const char * | Directive, | |
| unsigned | Flags = SectionFlags::None, |
|||
| bool | Override = false | |||
| ) | const |
Definition at line 381 of file TargetAsmInfo.cpp.
References llvm::Section::Flags, llvm::SectionFlags::Invalid, llvm::Section::Name, and Named.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
| 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] |
SectionKindForGlobal - This hook allows the target to select proper section kind used for global emission.
Reimplemented in llvm::MipsTargetAsmInfo.
Definition at line 194 of file TargetAsmInfo.cpp.
References llvm::SectionKind::BSS, llvm::CallingConv::C, llvm::Constant::ContainsRelocations(), llvm::SectionKind::Data, llvm::dyn_cast(), llvm::GlobalVariable::getInitializer(), llvm::GlobalVariable::isConstant(), isConstantString(), isSuitableForBSS(), llvm::GlobalVariable::isThreadLocal(), llvm::SectionKind::ROData, llvm::SectionKind::RODataMergeConst, llvm::SectionKind::RODataMergeStr, llvm::SectionKind::Text, llvm::SectionKind::ThreadBSS, and llvm::SectionKind::ThreadData.
Referenced by llvm::XCoreTargetAsmInfo::SectionFlagsForGlobal(), SectionFlagsForGlobal(), llvm::MipsTargetAsmInfo::SectionKindForGlobal(), llvm::XCoreTargetAsmInfo::SelectSectionForGlobal(), SelectSectionForGlobal(), llvm::ELFTargetAsmInfo::SelectSectionForGlobal(), and llvm::DarwinTargetAsmInfo::SelectSectionForGlobal().
| unsigned TargetAsmInfo::SectionFlagsForGlobal | ( | const GlobalValue * | GV = NULL, |
|
| const char * | name = NULL | |||
| ) | const [virtual] |
SectionFlagsForGlobal - This hook allows the target to select proper section flags either for given global or for section.
Reimplemented in llvm::MipsTargetAsmInfo, and llvm::XCoreTargetAsmInfo.
Definition at line 227 of file TargetAsmInfo.cpp.
References llvm::SectionFlags::BSS, llvm::SectionKind::BSS, llvm::SectionFlags::Code, llvm::SectionKind::Data, Kind, llvm::SectionFlags::Linkonce, llvm::GlobalValue::mayBeOverridden(), llvm::SectionFlags::Named, llvm::SectionFlags::None, llvm::SectionKind::ROData, llvm::SectionKind::RODataMergeConst, llvm::SectionKind::RODataMergeStr, SectionKindForGlobal(), llvm::SectionFlags::Small, llvm::SectionKind::SmallBSS, llvm::SectionKind::SmallData, llvm::SectionKind::SmallROData, llvm::SectionKind::Text, llvm::SectionKind::ThreadBSS, llvm::SectionKind::ThreadData, llvm::SectionFlags::TLS, and llvm::SectionFlags::Writeable.
Referenced by llvm::AsmPrinter::EmitJumpTableInfo(), llvm::XCoreTargetAsmInfo::SectionFlagsForGlobal(), llvm::MipsTargetAsmInfo::SectionFlagsForGlobal(), SectionForGlobal(), SelectSectionForGlobal(), and llvm::ELFTargetAsmInfo::SelectSectionForGlobal().
| 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] |
Reimplemented in llvm::DarwinTargetAsmInfo.
Definition at line 337 of file TargetAsmInfo.cpp.
References llvm::SectionKind::BSS, llvm::SectionKind::Data, llvm::Value::getName(), llvm::SectionKind::ROData, llvm::SectionKind::RODataMergeConst, llvm::SectionKind::RODataMergeStr, llvm::SectionKind::SmallBSS, llvm::SectionKind::SmallData, llvm::SectionKind::SmallROData, llvm::SectionKind::Text, llvm::SectionKind::ThreadBSS, and llvm::SectionKind::ThreadData.
Referenced by SelectSectionForGlobal(), and llvm::ELFTargetAsmInfo::SelectSectionForGlobal().
| const std::string & TargetAsmInfo::getSectionFlags | ( | unsigned | Flags | ) | const |
Definition at line 395 of file TargetAsmInfo.cpp.
References llvm::DenseMap< KeyT, ValueT, KeyInfoT, ValueInfoT >::end(), llvm::DenseMap< KeyT, ValueT, KeyInfoT, ValueInfoT >::find(), llvm::DenseMap< KeyT, ValueT, KeyInfoT, ValueInfoT >::insert(), and printSectionFlags().
Referenced by llvm::AsmPrinter::SwitchToSection().
| 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] |
Reimplemented in llvm::DarwinTargetAsmInfo, llvm::ELFTargetAsmInfo, llvm::MipsTargetAsmInfo, and llvm::XCoreTargetAsmInfo.
Definition at line 310 of file TargetAsmInfo.cpp.
References getBSSSection_(), getDataSection(), getNamedSection(), getReadOnlySection(), getTextSection(), llvm::SectionKind::isBSS(), llvm::SectionKind::isReadOnly(), Kind, llvm::GlobalValue::mayBeOverridden(), Name, SectionFlagsForGlobal(), SectionKindForGlobal(), llvm::SectionKind::Text, and UniqueSectionForGlobal().
Referenced by SectionForGlobal().
Reimplemented in llvm::DarwinTargetAsmInfo, llvm::ELFTargetAsmInfo, and llvm::XCoreTargetAsmInfo.
Definition at line 331 of file TargetAsmInfo.cpp.
References getDataSection().
Referenced by llvm::AsmPrinter::EmitConstantPool().
| 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.
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] |
Definition at line 612 of file TargetAsmInfo.h.
References Data8bitsDirective, and getASDirective().
Referenced by llvm::AsmPrinter::EmitInt8(), llvm::AsmPrinter::EmitSLEB128Bytes(), llvm::AsmPrinter::EmitULEB128Bytes(), llvm::AsmPrinter::EmitZeros(), and llvm::AsmPrinter::printDataDirective().
| const char* llvm::TargetAsmInfo::getData16bitsDirective | ( | unsigned | AS = 0 |
) | const [inline] |
Definition at line 615 of file TargetAsmInfo.h.
References Data16bitsDirective, and getASDirective().
Referenced by llvm::AsmPrinter::EmitInt16(), and llvm::AsmPrinter::printDataDirective().
| const char* llvm::TargetAsmInfo::getData32bitsDirective | ( | unsigned | AS = 0 |
) | const [inline] |
Definition at line 618 of file TargetAsmInfo.h.
References Data32bitsDirective, and getASDirective().
Referenced by llvm::AsmPrinter::EmitInt32(), llvm::AsmPrinter::printDataDirective(), llvm::X86ATTAsmPrinter::printHiddenGVStub(), llvm::X86ATTAsmPrinter::printPICJumpTableEntry(), and llvm::AsmPrinter::printPICJumpTableEntry().
| const char* llvm::TargetAsmInfo::getData64bitsDirective | ( | unsigned | AS = 0 |
) | const [inline] |
Definition at line 621 of file TargetAsmInfo.h.
References Data64bitsDirective, and getASDirective().
Referenced by llvm::AsmPrinter::EmitInt64(), llvm::AsmPrinter::printDataDirective(), llvm::X86ATTAsmPrinter::printPICJumpTableEntry(), and llvm::AsmPrinter::printPICJumpTableEntry().
| 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] |
Definition at line 631 of file TargetAsmInfo.h.
References DataSection.
Referenced by llvm::X86IntelAsmPrinter::doFinalization(), llvm::X86ATTAsmPrinter::doFinalization(), SelectSectionForGlobal(), and SelectSectionForMachineConst().
| const char* llvm::TargetAsmInfo::getBSSSection | ( | ) | const [inline] |
| const Section* llvm::TargetAsmInfo::getBSSSection_ | ( | ) | const [inline] |
Definition at line 637 of file TargetAsmInfo.h.
References BSSSection_.
Referenced by llvm::XCoreTargetAsmInfo::SelectSectionForGlobal(), SelectSectionForGlobal(), and llvm::ELFTargetAsmInfo::SelectSectionForGlobal().
| const Section* llvm::TargetAsmInfo::getReadOnlySection | ( | ) | const [inline] |
Definition at line 640 of file TargetAsmInfo.h.
References ReadOnlySection.
Referenced by llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), llvm::DarwinTargetAsmInfo::MergeableConstSection(), llvm::XCoreTargetAsmInfo::MergeableStringSection(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::DarwinTargetAsmInfo::MergeableStringSection(), llvm::XCoreTargetAsmInfo::SelectSectionForGlobal(), SelectSectionForGlobal(), llvm::ELFTargetAsmInfo::SelectSectionForGlobal(), llvm::DarwinTargetAsmInfo::SelectSectionForGlobal(), and llvm::DarwinTargetAsmInfo::SelectSectionForMachineConst().
| 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] |
| const Section* llvm::TargetAsmInfo::getTLSDataSection | ( | ) | const [inline] |
| const Section* llvm::TargetAsmInfo::getTLSBSSSection | ( | ) | const [inline] |
| 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] |
| const char* llvm::TargetAsmInfo::getPCSymbol | ( | ) | const [inline] |
| char llvm::TargetAsmInfo::getSeparatorChar | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getCommentString | ( | ) | const [inline] |
Definition at line 673 of file TargetAsmInfo.h.
References CommentString.
Referenced by llvm::X86IntelAsmPrinter::doFinalization(), llvm::AsmPrinter::doInitialization(), llvm::AsmPrinter::EmitGlobalConstant(), llvm::AsmPrinter::EOL(), llvm::AsmPrinter::printBasicBlockLabel(), llvm::AsmPrinter::printImplicitDef(), llvm::X86ATTAsmPrinter::printModuleLevelGV(), printSOImm(), and llvm::AsmPrinter::PrintSpecial().
| const char* llvm::TargetAsmInfo::getGlobalPrefix | ( | ) | const [inline] |
Definition at line 676 of file TargetAsmInfo.h.
References GlobalPrefix.
Referenced by llvm::AsmPrinter::doInitialization(), EmitCamlGlobal(), llvm::AsmPrinter::getCurrentFunctionEHName(), llvm::MachOSym::MachOSym(), llvm::X86IntelAsmPrinter::printOp(), and llvm::X86ATTAsmPrinter::printOperand().
| const char* llvm::TargetAsmInfo::getPrivateGlobalPrefix | ( | ) | const [inline] |
Definition at line 679 of file TargetAsmInfo.h.
References PrivateGlobalPrefix.
Referenced by llvm::AsmPrinter::doInitialization(), llvm::AsmPrinter::EmitConstantPool(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::DarwinTargetAsmInfo::emitUsedDirectiveFor(), llvm::MachOSym::MachOSym(), llvm::AsmPrinter::printBasicBlockLabel(), llvm::AsmPrinter::printLabel(), llvm::X86IntelAsmPrinter::printOp(), llvm::X86ATTAsmPrinter::printOperand(), llvm::X86ATTAsmPrinter::printPICJumpTableEntry(), llvm::AsmPrinter::printPICJumpTableEntry(), llvm::X86IntelAsmPrinter::printPICJumpTableSetLabel(), llvm::X86ATTAsmPrinter::printPICJumpTableSetLabel(), llvm::AsmPrinter::printPICJumpTableSetLabel(), llvm::AsmPrinter::PrintSpecial(), and llvm::AsmPrinter::printSuffixedName().
| 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] |
Definition at line 694 of file TargetAsmInfo.h.
References GlobalVarAddrPrefix.
Referenced by llvm::AsmPrinter::EmitConstantValueOnly(), and llvm::AsmPrinter::getGlobalLinkName().
| const char* llvm::TargetAsmInfo::getGlobalVarAddrSuffix | ( | ) | const [inline] |
Definition at line 697 of file TargetAsmInfo.h.
References GlobalVarAddrSuffix.
Referenced by llvm::AsmPrinter::EmitConstantValueOnly(), and llvm::AsmPrinter::getGlobalLinkName().
| const char* llvm::TargetAsmInfo::getFunctionAddrPrefix | ( | ) | const [inline] |
Definition at line 700 of file TargetAsmInfo.h.
References FunctionAddrPrefix.
Referenced by llvm::AsmPrinter::EmitConstantValueOnly(), and llvm::AsmPrinter::getGlobalLinkName().
| const char* llvm::TargetAsmInfo::getFunctionAddrSuffix | ( | ) | const [inline] |
Definition at line 703 of file TargetAsmInfo.h.
References FunctionAddrSuffix.
Referenced by llvm::AsmPrinter::EmitConstantValueOnly(), and llvm::AsmPrinter::getGlobalLinkName().
| const char* llvm::TargetAsmInfo::getPersonalityPrefix | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getPersonalitySuffix | ( | ) | const [inline] |
| bool llvm::TargetAsmInfo::getNeedsIndirectEncoding | ( | ) | const [inline] |
Definition at line 712 of file TargetAsmInfo.h.
References NeedsIndirectEncoding.
Referenced by llvm::JITDwarfEmitter::EmitDwarfTable(), and llvm::JITDwarfEmitter::GetDwarfTableSizeInBytes().
| 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] |
| 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] |
Definition at line 745 of file TargetAsmInfo.h.
References AlignmentIsInBytes.
Referenced by llvm::AsmPrinter::EmitAlignment(), and llvm::X86ATTAsmPrinter::printModuleLevelGV().
| 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] |
Definition at line 751 of file TargetAsmInfo.h.
References SwitchToSectionDirective.
Referenced by llvm::AsmPrinter::SwitchToDataSection(), llvm::AsmPrinter::SwitchToSection(), and llvm::AsmPrinter::SwitchToTextSection().
| 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] |
Definition at line 757 of file TargetAsmInfo.h.
References DataSectionStartSuffix.
Referenced by llvm::AsmPrinter::SwitchToDataSection(), and llvm::AsmPrinter::SwitchToSection().
| const char* llvm::TargetAsmInfo::getSectionEndDirectiveSuffix | ( | ) | const [inline] |
Definition at line 760 of file TargetAsmInfo.h.
References SectionEndDirectiveSuffix.
Referenced by llvm::AsmPrinter::SwitchToDataSection(), llvm::AsmPrinter::SwitchToSection(), and llvm::AsmPrinter::SwitchToTextSection().
| const char* llvm::TargetAsmInfo::getConstantPoolSection | ( | ) | const [inline] |
| 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] |
Definition at line 784 of file TargetAsmInfo.h.
References SetDirective.
Referenced by llvm::AsmPrinter::doFinalization(), llvm::AsmPrinter::EmitJumpTableInfo(), llvm::AsmPrinter::printPICJumpTableEntry(), llvm::X86IntelAsmPrinter::printPICJumpTableSetLabel(), llvm::X86ATTAsmPrinter::printPICJumpTableSetLabel(), and llvm::AsmPrinter::printPICJumpTableSetLabel().
| 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] |
Definition at line 796 of file TargetAsmInfo.h.
References HasDotTypeDotSizeDirective.
Referenced by llvm::X86ATTAsmPrinter::printModuleLevelGV(), and llvm::X86ATTAsmPrinter::runOnMachineFunction().
| 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] |
Definition at line 808 of file TargetAsmInfo.h.
References WeakDefDirective.
Referenced by llvm::X86ATTAsmPrinter::emitFunctionHeader(), and llvm::X86ATTAsmPrinter::printModuleLevelGV().
| 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] |
| bool llvm::TargetAsmInfo::isAbsoluteEHSectionOffsets | ( | ) | const [inline] |
| 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] |
Definition at line 829 of file TargetAsmInfo.h.
References SupportsDebugInformation.
Referenced by llvm::X86ATTAsmPrinter::doInitialization(), and llvm::X86ATTAsmPrinter::runOnMachineFunction().
| bool llvm::TargetAsmInfo::doesSupportExceptionHandling | ( | ) | const [inline] |
Definition at line 832 of file TargetAsmInfo.h.
References SupportsExceptionHandling.
Referenced by llvm::X86ATTAsmPrinter::doFinalization(), and llvm::X86ATTAsmPrinter::runOnMachineFunction().
| bool llvm::TargetAsmInfo::doesDwarfRequireFrameSection | ( | ) | const [inline] |
| bool llvm::TargetAsmInfo::doesSupportMacInfoSection | ( | ) | const [inline] |
| bool llvm::TargetAsmInfo::doesRequireNonLocalEHFrameLabel | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getGlobalEHDirective | ( | ) | const [inline] |
| bool llvm::TargetAsmInfo::getSupportsWeakOmittedEHFrame | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfSectionOffsetDirective | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfAbbrevSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfInfoSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfLineSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfFrameSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfPubNamesSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfPubTypesSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfStrSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfLocSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfARangesSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfRangesSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfMacInfoSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfEHFrameSection | ( | ) | const [inline] |
| const char* llvm::TargetAsmInfo::getDwarfExceptionSection | ( | ) | const [inline] |
| const char* const* llvm::TargetAsmInfo::getAsmCBE | ( | ) | const [inline] |
const TargetMachine& llvm::TargetAsmInfo::TM [protected] |
TM - The current TargetMachine.
Definition at line 130 of file TargetAsmInfo.h.
Referenced by llvm::XCoreTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableConstSection(), llvm::DarwinTargetAsmInfo::MergeableConstSection(), llvm::ELFTargetAsmInfo::MergeableStringSection(), llvm::DarwinTargetAsmInfo::MergeableStringSection(), llvm::MipsTargetAsmInfo::SectionKindForGlobal(), llvm::DarwinTargetAsmInfo::SelectSectionForGlobal(), and llvm::DarwinTargetAsmInfo::SelectSectionForMachineConst().
const Section* llvm::TargetAsmInfo::TextSection [protected] |
TextSection - Section directive for standard text.
Definition at line 138 of file TargetAsmInfo.h.
Referenced by getTextSection(), llvm::ELFTargetAsmInfo::SelectSectionForGlobal(), llvm::DarwinTargetAsmInfo::SelectSectionForGlobal(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const Section* llvm::TargetAsmInfo::DataSection [protected] |
DataSection - Section directive for standard data.
Definition at line 142 of file TargetAsmInfo.h.
Referenced by getDataSection(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::XCoreTargetAsmInfo::SelectSectionForGlobal(), llvm::ELFTargetAsmInfo::SelectSectionForGlobal(), llvm::DarwinTargetAsmInfo::SelectSectionForGlobal(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
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().
const Section* llvm::TargetAsmInfo::BSSSection_ [protected] |
Definition at line 148 of file TargetAsmInfo.h.
Referenced by llvm::ELFTargetAsmInfo::ELFTargetAsmInfo(), getBSSSection_(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const Section* llvm::TargetAsmInfo::ReadOnlySection [protected] |
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().
const Section* llvm::TargetAsmInfo::SmallDataSection [protected] |
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().
const Section* llvm::TargetAsmInfo::SmallBSSSection [protected] |
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().
const Section* llvm::TargetAsmInfo::SmallRODataSection [protected] |
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().
const Section* llvm::TargetAsmInfo::TLSDataSection [protected] |
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().
const Section* llvm::TargetAsmInfo::TLSBSSSection [protected] |
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().
const char* llvm::TargetAsmInfo::NonexecutableStackDirective [protected] |
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().
bool llvm::TargetAsmInfo::NeedsSet [protected] |
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().
unsigned llvm::TargetAsmInfo::MaxInstLength [protected] |
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().
char llvm::TargetAsmInfo::SeparatorChar [protected] |
SeparatorChar - This character, if specified, is used to separate instructions from each other when on the same line. This is used to measure inline asm instructions.
Definition at line 210 of file TargetAsmInfo.h.
Referenced by getInlineAsmLength(), and getSeparatorChar().
const char* llvm::TargetAsmInfo::CommentString [protected] |
CommentString - This indicates the comment character used by the assembler.
Definition at line 214 of file TargetAsmInfo.h.
Referenced by getCommentString(), getInlineAsmLength(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::ELFTargetAsmInfo::printSectionFlags(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
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().
const char* llvm::TargetAsmInfo::PrivateGlobalPrefix [protected] |
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().
const char* llvm::TargetAsmInfo::LessPrivateGlobalPrefix [protected] |
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().
const char* llvm::TargetAsmInfo::JumpTableSpecialLabelPrefix [protected] |
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().
const char* llvm::TargetAsmInfo::GlobalVarAddrPrefix [protected] |
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::GlobalVarAddrSuffix [protected] |
Definition at line 238 of file TargetAsmInfo.h.
Referenced by getGlobalVarAddrSuffix(), 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( )
Definition at line 247 of file TargetAsmInfo.h.
Referenced by getFunctionAddrPrefix(), and llvm::IA64TargetAsmInfo::IA64TargetAsmInfo().
const char* llvm::TargetAsmInfo::FunctionAddrSuffix [protected] |
Definition at line 248 of file TargetAsmInfo.h.
Referenced by getFunctionAddrSuffix(), and llvm::IA64TargetAsmInfo::IA64TargetAsmInfo().
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] |
bool llvm::TargetAsmInfo::NeedsIndirectEncoding [protected] |
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] |
unsigned llvm::TargetAsmInfo::AssemblerDialect [protected] |
AssemblerDialect - Which dialect of an assembler variant to use.
Definition at line 267 of file TargetAsmInfo.h.
Referenced by getAssemblerDialect().
const char* llvm::TargetAsmInfo::StringConstantPrefix [protected] |
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().
const char* llvm::TargetAsmInfo::ZeroDirectiveSuffix [protected] |
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::Data16bitsDirective [protected] |
Definition at line 297 of file TargetAsmInfo.h.
Referenced by getData16bitsDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const char* llvm::TargetAsmInfo::Data32bitsDirective [protected] |
Definition at line 298 of file TargetAsmInfo.h.
Referenced by getData32bitsDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::PIC16TargetAsmInfo::PIC16TargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const char* llvm::TargetAsmInfo::Data64bitsDirective [protected] |
Definition at line 299 of file TargetAsmInfo.h.
Referenced by getData64bitsDirective(), llvm::IA64TargetAsmInfo::IA64TargetAsmInfo(), llvm::MipsTargetAsmInfo::MipsTargetAsmInfo(), llvm::SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
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().
bool llvm::TargetAsmInfo::AlignmentIsInBytes [protected] |
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().
unsigned llvm::TargetAsmInfo::TextAlignFillValue [protected] |
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().
const char* llvm::TargetAsmInfo::SwitchToSectionDirective [protected] |
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().
const char* llvm::TargetAsmInfo::TextSectionStartSuffix [protected] |
TextSectionStartSuffix - This is printed after each start of section directive for text sections.
Definition at line 336 of file TargetAsmInfo.h.
Referenced by getTextSectionStartSuffix().
const char* llvm::TargetAsmInfo::DataSectionStartSuffix [protected] |
DataSectionStartSuffix - This is printed after each start of section directive for data sections.
Definition at line 340 of file TargetAsmInfo.h.
Referenced by getDataSectionStartSuffix().
const char* llvm::TargetAsmInfo::SectionEndDirectiveSuffix [protected] |
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().
const char* llvm::TargetAsmInfo::ConstantPoolSection [protected] |
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().
const char* llvm::TargetAsmInfo::JumpTableDataSection [protected] |
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 Section* llvm::TargetAsmInfo::CStringSection_ [protected] |
Definition at line 364 of file TargetAsmInfo.h.
Referenced by llvm::DarwinTargetAsmInfo::DarwinTargetAsmInfo(), and getCStringSection_().
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] |
bool llvm::TargetAsmInfo::COMMDirectiveTakesAlignment [protected] |
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().
bool llvm::TargetAsmInfo::HasDotTypeDotSizeDirective [protected] |
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().
bool llvm::TargetAsmInfo::HasSingleParameterDotFile [protected] |
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().
bool llvm::TargetAsmInfo::AbsoluteDebugSectionOffsets [protected] |
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().
bool llvm::TargetAsmInfo::AbsoluteEHSectionOffsets [protected] |
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().
bool llvm::TargetAsmInfo::HasLEB128 [protected] |
HasLEB128 - True if target asm supports leb128 directives.
Definition at line 440 of file TargetAsmInfo.h.
Referenced by hasLEB128(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
bool llvm::TargetAsmInfo::HasDotLocAndDotFile [protected] |
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().
bool llvm::TargetAsmInfo::SupportsDebugInformation [protected] |
SupportsDebugInformation - True if target supports emission of debugging information.
Definition at line 449 of file TargetAsmInfo.h.
Referenced by doesSupportDebugInformation().
bool llvm::TargetAsmInfo::SupportsExceptionHandling [protected] |
SupportsExceptionHandling - True if target supports exception handling.
Definition at line 454 of file TargetAsmInfo.h.
Referenced by doesSupportExceptionHandling().
bool llvm::TargetAsmInfo::DwarfRequiresFrameSection [protected] |
RequiresFrameSection - true if the Dwarf2 output needs a frame section
Definition at line 458 of file TargetAsmInfo.h.
Referenced by doesDwarfRequireFrameSection().
bool llvm::TargetAsmInfo::SupportsMacInfoSection [protected] |
SupportsMacInfo - true if the Dwarf output supports macro information
Definition at line 462 of file TargetAsmInfo.h.
Referenced by doesSupportMacInfoSection().
bool llvm::TargetAsmInfo::NonLocalEHFrameLabel [protected] |
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().
bool llvm::TargetAsmInfo::SupportsWeakOmittedEHFrame [protected] |
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().
const char* llvm::TargetAsmInfo::DwarfSectionOffsetDirective [protected] |
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().
const char* llvm::TargetAsmInfo::DwarfPubNamesSection [protected] |
DwarfPubNamesSection - Section directive for Dwarf info.
Definition at line 498 of file TargetAsmInfo.h.
Referenced by getDwarfPubNamesSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const char* llvm::TargetAsmInfo::DwarfPubTypesSection [protected] |
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().
const char* llvm::TargetAsmInfo::DwarfARangesSection [protected] |
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().
const char* llvm::TargetAsmInfo::DwarfMacInfoSection [protected] |
DwarfMacInfoSection - Section directive for Dwarf info.
Definition at line 522 of file TargetAsmInfo.h.
Referenced by getDwarfMacInfoSection(), and llvm::XCoreTargetAsmInfo::XCoreTargetAsmInfo().
const char* llvm::TargetAsmInfo::DwarfEHFrameSection [protected] |
DwarfEHFrameSection - Section directive for Exception frames.
Definition at line 526 of file TargetAsmInfo.h.
Referenced by getDwarfEHFrameSection().
const char* llvm::TargetAsmInfo::DwarfExceptionSection [protected] |
DwarfExceptionSection - Section directive for Exception table.
Definition at line 530 of file TargetAsmInfo.h.
Referenced by getDwarfExceptionSection().
const char* const* llvm::TargetAsmInfo::AsmTransCBE [protected] |