Home
last modified time | relevance | path

Searched refs:MAI (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/external/llvm/unittests/Option/
DOptionParsingTest.cpp69 unsigned MAI, MAC; in TEST() local
70 InputArgList AL = T.ParseArgs(Args, MAI, MAC); in TEST()
112 unsigned MAI, MAC; in TEST() local
115 InputArgList AL = T.ParseArgs(Args, MAI, MAC, in TEST()
123 AL = T.ParseArgs(Args, MAI, MAC, in TEST()
131 AL = T.ParseArgs(NewArgs, MAI, MAC); in TEST()
140 unsigned MAI, MAC; in TEST() local
143 InputArgList AL = T.ParseArgs(MyArgs, MAI, MAC); in TEST()
149 unsigned MAI, MAC; in TEST() local
152 InputArgList AL = T.ParseArgs(MyArgs, MAI, MAC); in TEST()
[all …]
/external/llvm/lib/MC/
DMCAsmStreamer.cpp44 const MCAsmInfo *MAI; member in __anoncfecf8ee0111::MCAsmStreamer
67 MAI(Context.getAsmInfo()), InstPrinter(printer), Emitter(emitter), in MCAsmStreamer()
312 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
330 OS << MAI->getCommentString() << T; in emitRawComment()
336 if (c.equals(StringRef(MAI->getSeparatorString()))) in addExplicitComment()
340 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
349 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
356 } else if (c.startswith(StringRef(MAI->getCommentString()))) { in addExplicitComment()
380 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection()
[all …]
DMCSectionELF.cpp25 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective()
30 return MAI.shouldOmitSectionDirective(Name); in ShouldOmitSectionDirective()
56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() argument
60 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
64 Subsection->print(OS, &MAI); in PrintSwitchToSection()
74 if (MAI.usesSunStyleELFSectionSwitchSyntax() && in PrintSwitchToSection()
119 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
157 Subsection->print(OS, &MAI); in PrintSwitchToSection()
DMCSymbol.cpp54 void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print()
59 if (!MAI || MAI->isValidUnquotedName(Name)) { in print()
64 if (MAI && !MAI->supportsNameQuoting()) in print()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCAsmStreamer.cpp46 const MCAsmInfo *MAI; member in __anonc25664460111::MCAsmStreamer
69 MAI(Context.getAsmInfo()), InstPrinter(printer), in MCAsmStreamer()
357 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
359 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
375 OS << MAI->getCommentString() << T; in emitRawComment()
381 if (c.equals(StringRef(MAI->getSeparatorString()))) in addExplicitComment()
385 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
394 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
401 } else if (c.startswith(StringRef(MAI->getCommentString()))) { in addExplicitComment()
407 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
[all …]
DMCSectionWasm.cpp23 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective()
24 return MAI.shouldOmitSectionDirective(Name); in ShouldOmitSectionDirective()
50 void MCSectionWasm::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() argument
54 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
58 Subsection->print(OS, &MAI); in PrintSwitchToSection()
75 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
89 Subsection->print(OS, &MAI); in PrintSwitchToSection()
DMCSectionELF.cpp26 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective()
30 return MAI.shouldOmitSectionDirective(Name); in ShouldOmitSectionDirective()
56 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() argument
59 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
63 Subsection->print(OS, &MAI); in PrintSwitchToSection()
73 if (MAI.usesSunStyleELFSectionSwitchSyntax() && in PrintSwitchToSection()
126 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
183 Subsection->print(OS, &MAI); in PrintSwitchToSection()
DMCSymbol.cpp60 void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print()
65 if (!MAI || MAI->isValidUnquotedName(Name)) { in print()
70 if (MAI && !MAI->supportsNameQuoting()) in print()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Option/
DOptionParsingTest.cpp70 unsigned MAI, MAC; in TEST() local
71 InputArgList AL = T.ParseArgs(Args, MAI, MAC); in TEST()
113 unsigned MAI, MAC; in TEST() local
116 InputArgList AL = T.ParseArgs(Args, MAI, MAC, in TEST()
124 AL = T.ParseArgs(Args, MAI, MAC, in TEST()
132 AL = T.ParseArgs(NewArgs, MAI, MAC); in TEST()
141 unsigned MAI, MAC; in TEST() local
144 InputArgList AL = T.ParseArgs(MyArgs, MAI, MAC); in TEST()
150 unsigned MAI, MAC; in TEST() local
153 InputArgList AL = T.ParseArgs(MyArgs, MAI, MAC); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXMCAsmStreamer.cpp32 const MCAsmInfo &MAI; member in __anon2f41fc580111::PTXMCAsmStreamer
49 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in PTXMCAsmStreamer()
214 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL()
216 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL()
240 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel()
338 OS << MAI.getData8bitsDirective(AddrSpace); in EmitBytes()
346 if (MAI.getAscizDirective() && Data.back() == 0) { in EmitBytes()
347 OS << MAI.getAscizDirective(); in EmitBytes()
350 OS << MAI.getAsciiDirective(); in EmitBytes()
364 case 1: Directive = MAI.getData8bitsDirective(AddrSpace); break; in EmitValueImpl()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/
DMangler.cpp48 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 …]
/external/swiftshader/third_party/LLVM/lib/MC/
DMCAsmStreamer.cpp40 const MCAsmInfo &MAI; member in __anon1c40df1a0111::MCAsmStreamer
69 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer()
290 OS.PadToColumn(MAI.getCommentColumn()); in EmitCommentsAndEOL()
292 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n'; in EmitCommentsAndEOL()
309 Section->PrintSwitchToSection(MAI, OS); in ChangeSection()
331 OS << *Symbol << MAI.getLabelSuffix(); in EmitLabel()
340 case MCAF_Code16: OS << '\t'<< MAI.getCode16Directive(); break; in EmitAssemblerFlag()
341 case MCAF_Code32: OS << '\t'<< MAI.getCode32Directive(); break; in EmitAssemblerFlag()
342 case MCAF_Code64: OS << '\t'<< MAI.getCode64Directive(); break; in EmitAssemblerFlag()
352 if (MAI.hasSubsectionsViaSymbols()) in EmitThumbFunc()
[all …]
DMCInst.cpp18 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()
DMCSectionELF.cpp24 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp37 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcMCAsmInfo() local
40 MAI->addInitialFrameState(Inst); in createSparcMCAsmInfo()
41 return MAI; in createSparcMCAsmInfo()
46 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcV9MCAsmInfo() local
49 MAI->addInitialFrameState(Inst); in createSparcV9MCAsmInfo()
50 return MAI; in createSparcV9MCAsmInfo()
86 const MCAsmInfo &MAI, in createSparcMCInstPrinter() argument
89 return new SparcInstPrinter(MAI, MII, MRI); in createSparcMCInstPrinter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp72 MCAsmInfo *MAI; in createAArch64MCAsmInfo() local
74 MAI = new AArch64MCAsmInfoDarwin(); in createAArch64MCAsmInfo()
76 MAI = new AArch64MCAsmInfoMicrosoftCOFF(); in createAArch64MCAsmInfo()
78 MAI = new AArch64MCAsmInfoGNUCOFF(); in createAArch64MCAsmInfo()
81 MAI = new AArch64MCAsmInfoELF(TheTriple); in createAArch64MCAsmInfo()
87 MAI->addInitialFrameState(Inst); in createAArch64MCAsmInfo()
89 return MAI; in createAArch64MCAsmInfo()
94 const MCAsmInfo &MAI, in createAArch64MCInstPrinter() argument
98 return new AArch64InstPrinter(MAI, MII, MRI); in createAArch64MCInstPrinter()
100 return new AArch64AppleInstPrinter(MAI, MII, MRI); in createAArch64MCInstPrinter()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp58 MCAsmInfo *MAI; in createAArch64MCAsmInfo() local
60 MAI = new AArch64MCAsmInfoDarwin(); in createAArch64MCAsmInfo()
63 MAI = new AArch64MCAsmInfoELF(TheTriple); in createAArch64MCAsmInfo()
69 MAI->addInitialFrameState(Inst); in createAArch64MCAsmInfo()
71 return MAI; in createAArch64MCAsmInfo()
93 const MCAsmInfo &MAI, in createAArch64MCInstPrinter() argument
97 return new AArch64InstPrinter(MAI, MII, MRI); in createAArch64MCInstPrinter()
99 return new AArch64AppleInstPrinter(MAI, MII, MRI); in createAArch64MCInstPrinter()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp37 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcMCAsmInfo() local
40 MAI->addInitialFrameState(Inst); in createSparcMCAsmInfo()
41 return MAI; in createSparcMCAsmInfo()
46 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcV9MCAsmInfo() local
49 MAI->addInitialFrameState(Inst); in createSparcV9MCAsmInfo()
50 return MAI; in createSparcV9MCAsmInfo()
123 const MCAsmInfo &MAI, in createSparcMCInstPrinter() argument
126 return new SparcInstPrinter(MAI, MII, MRI); in createSparcMCInstPrinter()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp114 *MAI)); in EmitInlineAsm()
163 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm()
164 MAI->getInlineAsmStart()); in EmitInlineAsm()
165 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm()
166 MAI->getInlineAsmEnd()); in EmitInlineAsm()
173 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm()
174 MAI->getInlineAsmStart()); in EmitInlineAsm()
199 int AsmPrinterVariant = MAI->getAssemblerDialect(); in EmitInlineAsm()
367 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm()
368 MAI->getInlineAsmEnd()); in EmitInlineAsm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp82 MCAsmInfo *MAI; in createPPCMCAsmInfo() local
84 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo()
86 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
92 MAI->addInitialFrameState(Inst); in createPPCMCAsmInfo()
94 return MAI; in createPPCMCAsmInfo()
123 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitLocalEntry() local
126 S->print(OS, MAI); in emitLocalEntry()
128 LocalOffset->print(OS, MAI); in emitLocalEntry()
239 const MCAsmInfo &MAI, in createPPCMCInstPrinter() argument
242 return new PPCInstPrinter(MAI, MII, MRI, T); in createPPCMCInstPrinter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp61 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, TT); in LLVMCreateDisasmCPUFeatures() local
62 if (!MAI) in LLVMCreateDisasmCPUFeatures()
75 MCContext *Ctx = new MCContext(MAI, MRI, nullptr); in LLVMCreateDisasmCPUFeatures()
94 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMCreateDisasmCPUFeatures()
96 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMCreateDisasmCPUFeatures()
102 TheTarget, MAI, MRI, STI, MII, Ctx, DisAsm, IP); in LLVMCreateDisasmCPUFeatures()
140 const MCAsmInfo *MAI = DC->getAsmInfo(); in emitComments() local
141 StringRef CommentBegin = MAI->getCommentString(); in emitComments()
142 unsigned CommentColumn = MAI->getCommentColumn(); in emitComments()
316 const MCAsmInfo *MAI = DC->getAsmInfo(); in LLVMSetDisasmOptions() local
[all …]
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp51 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, TT); in LLVMCreateDisasmCPUFeatures() local
52 if (!MAI) in LLVMCreateDisasmCPUFeatures()
65 MCContext *Ctx = new MCContext(MAI, MRI, nullptr); in LLVMCreateDisasmCPUFeatures()
84 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMCreateDisasmCPUFeatures()
86 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI); in LLVMCreateDisasmCPUFeatures()
92 TheTarget, MAI, MRI, STI, MII, Ctx, DisAsm, IP); in LLVMCreateDisasmCPUFeatures()
130 const MCAsmInfo *MAI = DC->getAsmInfo(); in emitComments() local
131 const char *CommentBegin = MAI->getCommentString(); in emitComments()
132 unsigned CommentColumn = MAI->getCommentColumn(); in emitComments()
307 const MCAsmInfo *MAI = DC->getAsmInfo(); in LLVMSetDisasmOptions() local
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp74 MCAsmInfo *MAI; in createPPCMCAsmInfo() local
76 MAI = new PPCMCAsmInfoDarwin(isPPC64, TheTriple); in createPPCMCAsmInfo()
78 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
84 MAI->addInitialFrameState(Inst); in createPPCMCAsmInfo()
86 return MAI; in createPPCMCAsmInfo()
119 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitLocalEntry() local
122 S->print(OS, MAI); in emitLocalEntry()
124 LocalOffset->print(OS, MAI); in emitLocalEntry()
224 const MCAsmInfo &MAI, in createPPCMCInstPrinter() argument
227 return new PPCInstPrinter(MAI, MII, MRI, T.isOSDarwin()); in createPPCMCInstPrinter()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp64 MCAsmInfo *MAI; in createPPCMCAsmInfo() local
66 MAI = new PPCMCAsmInfoDarwin(isPPC64); in createPPCMCAsmInfo()
68 MAI = new PPCLinuxMCAsmInfo(isPPC64); in createPPCMCAsmInfo()
73 MAI->addInitialFrameState(0, Dst, Src); in createPPCMCAsmInfo()
75 return MAI; in createPPCMCAsmInfo()
108 const MCAsmInfo &MAI, in createPPCMCInstPrinter() argument
110 return new PPCInstPrinter(MAI, SyntaxVariant); in createPPCMCInstPrinter()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmLexer.cpp78 ARMBaseAsmLexer(const Target &T, const MCAsmInfo &MAI) in ARMBaseAsmLexer() argument
79 : MCTargetAsmLexer(T), AsmInfo(MAI) { in ARMBaseAsmLexer()
85 ARMAsmLexer(const Target &T, const MCRegisterInfo &MRI, const MCAsmInfo &MAI) in ARMAsmLexer() argument
86 : ARMBaseAsmLexer(T, MAI) { in ARMAsmLexer()
93 ThumbAsmLexer(const Target &T, const MCRegisterInfo &MRI,const MCAsmInfo &MAI) in ThumbAsmLexer() argument
94 : ARMBaseAsmLexer(T, MAI) { in ThumbAsmLexer()

12345678910>>...17