/external/llvm/lib/Target/ |
D | Mangler.cpp | 48 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) { in NameNeedsEscaping() argument 53 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') in NameNeedsEscaping() 58 bool AllowPeriod = MAI.doesAllowPeriodsInName(); in NameNeedsEscaping() 68 const MCAsmInfo &MAI) { in appendMangledName() argument 71 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') { in appendMangledName() 76 bool AllowPeriod = MAI.doesAllowPeriodsInName(); in appendMangledName() 109 const MCAsmInfo &MAI = Context.getAsmInfo(); in getNameWithPrefix() local 116 const char *Prefix = MAI.getPrivateGlobalPrefix(); in getNameWithPrefix() 119 const char *Prefix = MAI.getLinkerPrivateGlobalPrefix(); in getNameWithPrefix() 123 const char *Prefix = MAI.getGlobalPrefix(); in getNameWithPrefix() [all …]
|
D | TargetInstrInfo.cpp | 154 const MCAsmInfo &MAI) const { in getInlineAsmLength() 161 if (*Str == '\n' || strncmp(Str, MAI.getSeparatorString(), in getInlineAsmLength() 162 strlen(MAI.getSeparatorString())) == 0) in getInlineAsmLength() 165 Length += MAI.getMaxInstLength(); in getInlineAsmLength() 168 if (atInsnStart && strncmp(Str, MAI.getCommentString(), in getInlineAsmLength() 169 strlen(MAI.getCommentString())) == 0) in getInlineAsmLength()
|
/external/llvm/lib/Target/PTX/ |
D | PTXMCAsmStreamer.cpp | 32 const MCAsmInfo &MAI; member in __anonc6ad3e660111::PTXMCAsmStreamer 49 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in PTXMCAsmStreamer() 212 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL() 214 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL() 238 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel() 335 OS << MAI.getData8bitsDirective(AddrSpace); in EmitBytes() 343 if (MAI.getAscizDirective() && Data.back() == 0) { in EmitBytes() 344 OS << MAI.getAscizDirective(); in EmitBytes() 347 OS << MAI.getAsciiDirective(); in EmitBytes() 361 case 1: Directive = MAI.getData8bitsDirective(AddrSpace); break; in EmitValueImpl() [all …]
|
/external/llvm/lib/MC/ |
D | MCAsmStreamer.cpp | 41 const MCAsmInfo &MAI; member in __anon4e5dbde80111::MCAsmStreamer 70 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer() 289 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL() 291 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL() 308 Section->PrintSwitchToSection(MAI, OS); in ChangeSection() 330 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel() 350 if (MAI.hasSubsectionsViaSymbols()) in EmitThumbFunc() 395 assert(MAI.hasDotTypeDotSizeDirective() && "Symbol Attr not supported"); in EmitSymbolAttribute() 397 << ((MAI.getCommentString()[0] != '@') ? '@' : '%'); in EmitSymbolAttribute() 411 OS << MAI.getGlobalDirective(); in EmitSymbolAttribute() [all …]
|
D | MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() 38 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() 42 getOperand(i).print(OS, MAI); in print() 47 void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI, in dump_pretty() argument 58 getOperand(i).print(OS, MAI); in dump_pretty()
|
D | MCSectionELF.cpp | 24 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective() 28 (Name == ".bss" && !MAI.usesELFSectionDirectiveForBSS())) in ShouldOmitSectionDirective() 34 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() argument 37 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection() 65 if (MAI.usesSunStyleELFSectionSwitchSyntax() && in PrintSwitchToSection() 106 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
|
D | MCSectionCOFF.cpp | 22 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective() 31 void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() argument 35 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
|
D | MCContext.cpp | 33 MAI(mai), MRI(mri), MOFI(mofi), TAI(tai), in MCContext() 88 isTemporary = Name.startswith(MAI.getPrivateGlobalPrefix()); in CreateSymbol() 118 << MAI.getPrivateGlobalPrefix() << "tmp" << NextUniqueID++; in CreateTempSymbol() 137 return GetOrCreateSymbol(Twine(MAI.getPrivateGlobalPrefix()) + in CreateDirectionalLocalSymbol() 144 return GetOrCreateSymbol(Twine(MAI.getPrivateGlobalPrefix()) + in GetDirectionalLocalSymbol()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 115 *MAI)); in EmitInlineAsm() 165 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 166 MAI->getInlineAsmStart()); in EmitInlineAsm() 167 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 168 MAI->getInlineAsmEnd()); in EmitInlineAsm() 175 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 176 MAI->getInlineAsmStart()); in EmitInlineAsm() 201 int AsmPrinterVariant = MAI->getAssemblerDialect(); in EmitInlineAsm() 369 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 370 MAI->getInlineAsmEnd()); in EmitInlineAsm() [all …]
|
D | AsmPrinter.cpp | 101 TM(tm), MAI(tm.getMCAsmInfo()), in AsmPrinter() 172 if (MAI->hasSingleParameterDotFile()) { in doInitialization() 193 if (MAI->doesSupportDebugInformation()) in doInitialization() 196 switch (MAI->getExceptionHandlingType()) { in doInitialization() 226 if (MAI->getWeakDefDirective() != 0) { in EmitLinkage() 236 } else if (MAI->getLinkOnceDirective() != 0) { in EmitLinkage() 284 if (MAI->hasDotTypeDotSizeDirective()) in EmitGlobalVariable() 313 if (MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable() 321 if (MAI->hasLCOMMDirective()) { in EmitGlobalVariable() 343 if (GVKind.isBSSExtern() && MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable() [all …]
|
/external/llvm/lib/Target/ARM/AsmParser/ |
D | ARMAsmLexer.cpp | 79 ARMBaseAsmLexer(const Target &T, const MCAsmInfo &MAI) in ARMBaseAsmLexer() argument 80 : TargetAsmLexer(T), AsmInfo(MAI) { in ARMBaseAsmLexer() 86 ARMAsmLexer(const Target &T, const MCAsmInfo &MAI) in ARMAsmLexer() argument 87 : ARMBaseAsmLexer(T, MAI) { in ARMAsmLexer() 99 ThumbAsmLexer(const Target &T, const MCAsmInfo &MAI) in ThumbAsmLexer() argument 100 : ARMBaseAsmLexer(T, MAI) { in ThumbAsmLexer()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.cpp | 56 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); in LLVMCreateDisasm() local 57 assert(MAI && "Unable to create target asm info!"); in LLVMCreateDisasm() 78 MCContext *Ctx = new MCContext(*MAI, *MRI, 0, tai); in LLVMCreateDisasm() 87 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMCreateDisasm() 89 *MAI); in LLVMCreateDisasm() 94 TheTarget, MAI, MRI, TM, tai, in LLVMCreateDisasm()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 78 MCAsmInfo *MAI; in createPPCMCAsmInfo() local 80 MAI = new PPCMCAsmInfoDarwin(isPPC64); in createPPCMCAsmInfo() 82 MAI = new PPCLinuxMCAsmInfo(isPPC64); in createPPCMCAsmInfo() 87 MAI->addInitialFrameState(0, Dst, Src); in createPPCMCAsmInfo() 89 return MAI; in createPPCMCAsmInfo()
|
/external/llvm/lib/Target/MBlaze/AsmParser/ |
D | MBlazeAsmLexer.cpp | 78 MBlazeBaseAsmLexer(const Target &T, const MCAsmInfo &MAI) in MBlazeBaseAsmLexer() argument 79 : TargetAsmLexer(T), AsmInfo(MAI) { in MBlazeBaseAsmLexer() 85 MBlazeAsmLexer(const Target &T, const MCAsmInfo &MAI) in MBlazeAsmLexer() argument 86 : MBlazeBaseAsmLexer(T, MAI) { in MBlazeAsmLexer()
|
/external/llvm/include/llvm/MC/MCParser/ |
D | AsmLexer.h | 31 const MCAsmInfo &MAI; variable 44 AsmLexer(const MCAsmInfo &MAI); 54 const MCAsmInfo &getMAI() const { return MAI; } in getMAI()
|
/external/llvm/lib/Target/CellSPU/MCTargetDesc/ |
D | SPUMCTargetDesc.cpp | 67 MCAsmInfo *MAI = new SPULinuxMCAsmInfo(T, TT); in createSPUMCAsmInfo() local 72 MAI->addInitialFrameState(0, Dst, Src); in createSPUMCAsmInfo() 74 return MAI; in createSPUMCAsmInfo()
|
/external/llvm/lib/Target/XCore/MCTargetDesc/ |
D | XCoreMCTargetDesc.cpp | 65 MCAsmInfo *MAI = new XCoreMCAsmInfo(T, TT); in createXCoreMCAsmInfo() local 70 MAI->addInitialFrameState(0, Dst, Src); in createXCoreMCAsmInfo() 72 return MAI; in createXCoreMCAsmInfo()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 67 MCAsmInfo *MAI = new MipsMCAsmInfo(T, TT); in createMipsMCAsmInfo() local 71 MAI->addInitialFrameState(0, Dst, Src); in createMipsMCAsmInfo() 73 return MAI; in createMipsMCAsmInfo()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 216 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AsLexInput() local 217 assert(MAI && "Unable to create target asm info!"); in AsLexInput() 219 AsmLexer Lexer(*MAI); in AsLexInput() 326 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AssembleInput() local 327 assert(MAI && "Unable to create target asm info!"); in AssembleInput() 354 MCContext Ctx(*MAI, *MRI, MOFI.get(), tai); in AssembleInput() 378 TheTarget->createMCInstPrinter(OutputAsmVariant, *MAI); in AssembleInput() 405 *Str.get(), *MAI)); in AssembleInput()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 307 MCAsmInfo *MAI; in createX86MCAsmInfo() local 310 MAI = new X86_64MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 312 MAI = new X86MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 314 MAI = new X86MCAsmInfoCOFF(TheTriple); in createX86MCAsmInfo() 316 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo() 326 MAI->addInitialFrameState(0, Dst, Src); in createX86MCAsmInfo() 331 MAI->addInitialFrameState(0, CSDst, CSSrc); in createX86MCAsmInfo() 333 return MAI; in createX86MCAsmInfo()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 24 AsmLexer::AsmLexer(const MCAsmInfo &_MAI) : MAI(_MAI) { in AsmLexer() 339 return Char == *MAI.getCommentString(); in isAtStartOfComment() 343 return strncmp(Ptr, MAI.getSeparatorString(), in isAtStatementSeparator() 344 strlen(MAI.getSeparatorString())) == 0; in isAtStatementSeparator() 355 CurPtr += strlen(MAI.getSeparatorString()) - 1; in LexToken() 357 StringRef(TokStart, strlen(MAI.getSeparatorString()))); in LexToken()
|
/external/llvm/lib/Target/MSP430/InstPrinter/ |
D | MSP430InstPrinter.h | 24 MSP430InstPrinter(const MCAsmInfo &MAI) in MSP430InstPrinter() argument 25 : MCInstPrinter(MAI) {} in MSP430InstPrinter()
|
/external/llvm/include/llvm/MC/ |
D | MCInstPrinter.h | 27 const MCAsmInfo &MAI; variable 33 : CommentStream(0), MAI(mai), AvailableFeatures(0) {} in MCInstPrinter()
|
D | MCSectionCOFF.h | 50 bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const; 56 virtual void PrintSwitchToSection(const MCAsmInfo &MAI,
|
/external/llvm/lib/Target/MBlaze/InstPrinter/ |
D | MBlazeInstPrinter.h | 24 MBlazeInstPrinter(const MCAsmInfo &MAI) in MBlazeInstPrinter() argument 25 : MCInstPrinter(MAI) {} in MBlazeInstPrinter()
|