Searched refs:MAI (Results 1 - 25 of 84) sorted by relevance

1234

/external/llvm/lib/MC/
H A DMCInst.cpp18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
40 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
44 getOperand(i).print(OS, MAI);
49 void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI, argument
60 getOperand(i).print(OS, MAI);
H A DMCSectionCOFF.cpp22 const MCAsmInfo &MAI) const {
31 void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, argument
35 if (ShouldOmitSectionDirective(SectionName, MAI)) {
H A DMCInstPrinter.cpp36 OS << " " << MAI.getCommentString() << " " << Annot;
H A DMCValue.cpp17 void MCValue::print(raw_ostream &OS, const MCAsmInfo *MAI) const {
H A DMCSectionELF.cpp24 const MCAsmInfo &MAI) const {
28 (Name == ".bss" && !MAI.usesELFSectionDirectiveForBSS()))
34 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, argument
37 if (ShouldOmitSectionDirective(SectionName, MAI)) {
65 if (MAI.usesSunStyleELFSectionSwitchSyntax() &&
106 if (MAI.getCommentString()[0] == '@')
H A DMCAsmStreamer.cpp41 const MCAsmInfo &MAI; member in class:__anon7462::MCAsmStreamer
74 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()),
299 OS.PadToColumn(MAI.getCommentColumn());
301 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
318 Section->PrintSwitchToSection(MAI, OS);
340 OS << *Symbol << MAI.getLabelSuffix();
348 case MCAF_Code16: OS << '\t'<< MAI.getCode16Directive(); break;
349 case MCAF_Code32: OS << '\t'<< MAI.getCode32Directive(); break;
350 case MCAF_Code64: OS << '\t'<< MAI.getCode64Directive(); break;
360 if (MAI
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DAsmLexer.h28 const MCAsmInfo &MAI; member in class:llvm::AsmLexer
42 AsmLexer(const MCAsmInfo &MAI);
53 const MCAsmInfo &getMAI() const { return MAI; }
/external/llvm/lib/Target/
H A DTargetInstrInfo.cpp112 const MCAsmInfo &MAI) const {
119 if (*Str == '\n' || strncmp(Str, MAI.getSeparatorString(),
120 strlen(MAI.getSeparatorString())) == 0)
123 Length += MAI.getMaxInstLength();
126 if (atInsnStart && strncmp(Str, MAI.getCommentString(),
127 strlen(MAI.getCommentString())) == 0)
H A DMangler.cpp49 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) { argument
54 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9')
59 bool AllowPeriod = MAI.doesAllowPeriodsInName();
60 bool AllowUTF8 = MAI.doesAllowUTF8();
70 const MCAsmInfo &MAI) {
73 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') {
78 bool AllowPeriod = MAI.doesAllowPeriodsInName();
79 bool AllowUTF8 = MAI.doesAllowUTF8();
112 const MCAsmInfo &MAI = Context.getAsmInfo(); local
119 const char *Prefix = MAI
69 appendMangledName(SmallVectorImpl<char> &OutName, StringRef Str, const MCAsmInfo &MAI) argument
[all...]
/external/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmLexer.cpp75 ARMBaseAsmLexer(const Target &T, const MCAsmInfo &MAI) argument
76 : MCTargetAsmLexer(T), AsmInfo(MAI) {
82 ARMAsmLexer(const Target &T, const MCRegisterInfo &MRI, const MCAsmInfo &MAI) argument
83 : ARMBaseAsmLexer(T, MAI) {
90 ThumbAsmLexer(const Target &T, const MCRegisterInfo &MRI,const MCAsmInfo &MAI) argument
91 : ARMBaseAsmLexer(T, MAI) {
/external/llvm/lib/Target/PTX/
H A DPTXMCAsmStreamer.cpp33 const MCAsmInfo &MAI; member in class:__anon7635::PTXMCAsmStreamer
50 : MCStreamer(Context), OS(os), MAI(Context.getAsmInfo()),
216 OS.PadToColumn(MAI.getCommentColumn());
218 OS << MAI.getCommentString() << ' ' << Comments.substr(0, Position) << '\n';
242 OS << *Symbol << MAI.getLabelSuffix();
340 OS << MAI.getData8bitsDirective(AddrSpace);
348 if (MAI.getAscizDirective() && Data.back() == 0) {
349 OS << MAI.getAscizDirective();
352 OS << MAI.getAsciiDirective();
366 case 1: Directive = MAI
521 Inst.dump_pretty(GetCommentOS(), &MAI, InstPrinter.get(), "\\n "); local
[all...]
/external/llvm/include/llvm/MC/
H A DMCInstPrinter.h29 const MCAsmInfo &MAI; member in class:llvm::MCInstPrinter
41 : CommentStream(0), MAI(mai), MII(mii), MRI(mri), AvailableFeatures(0) {}
H A DMCSectionCOFF.h50 bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const;
56 virtual void PrintSwitchToSection(const MCAsmInfo &MAI,
H A DMCSectionELF.h57 bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const;
65 void PrintSwitchToSection(const MCAsmInfo &MAI,
/external/llvm/lib/Target/MBlaze/InstPrinter/
H A DMBlazeInstPrinter.h24 MBlazeInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, argument
26 : MCInstPrinter(MAI, MII, MRI) {}
/external/llvm/lib/Target/MSP430/InstPrinter/
H A DMSP430InstPrinter.h24 MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, argument
26 : MCInstPrinter(MAI, MII, MRI) {}
/external/llvm/lib/Target/MBlaze/AsmParser/
H A DMBlazeAsmLexer.cpp73 MBlazeBaseAsmLexer(const Target &T, const MCAsmInfo &MAI) argument
74 : MCTargetAsmLexer(T), AsmInfo(MAI) {
81 const MCAsmInfo &MAI)
82 : MBlazeBaseAsmLexer(T, MAI) {
80 MBlazeAsmLexer(const Target &T, const MCRegisterInfo &MRI, const MCAsmInfo &MAI) argument
/external/llvm/lib/Target/CellSPU/MCTargetDesc/
H A DSPUMCTargetDesc.cpp55 MCAsmInfo *MAI = new SPULinuxMCAsmInfo(T, TT); local
60 MAI->addInitialFrameState(0, Dst, Src);
62 return MAI;
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.cpp56 MCAsmInfo *MAI = new HexagonMCAsmInfo(T, TT); local
61 MAI->addInitialFrameState(0, Dst, Src);
63 return MAI;
/external/llvm/lib/Target/XCore/MCTargetDesc/
H A DXCoreMCTargetDesc.cpp54 MCAsmInfo *MAI = new XCoreMCAsmInfo(T, TT); local
59 MAI->addInitialFrameState(0, Dst, Src);
61 return MAI;
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp65 MCAsmInfo *MAI; local
67 MAI = new PPCMCAsmInfoDarwin(isPPC64);
69 MAI = new PPCLinuxMCAsmInfo(isPPC64);
74 MAI->addInitialFrameState(0, Dst, Src);
76 return MAI;
110 const MCAsmInfo &MAI,
114 return new PPCInstPrinter(MAI, MII, MRI, SyntaxVariant);
108 createPPCMCInstPrinter(const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI) argument
/external/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp59 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); local
60 assert(MAI && "Unable to create target asm info!");
77 MCContext *Ctx = new MCContext(*MAI, *MRI, 0);
86 int AsmPrinterVariant = MAI->getAssemblerDialect();
88 *MAI, *MII, *MRI, *STI);
93 TheTarget, MAI, MRI,
H A DDisassembler.h63 llvm::OwningPtr<const llvm::MCAsmInfo> MAI; member in class:llvm::LLVMDisasmContext
94 MAI.reset(mAI);
103 const MCAsmInfo *getAsmInfo() const { return MAI.get(); }
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp115 *MAI));
166 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
167 MAI->getInlineAsmStart());
168 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
169 MAI->getInlineAsmEnd());
176 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
177 MAI->getInlineAsmStart());
202 int AsmPrinterVariant = MAI->getAssemblerDialect();
374 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+
375 MAI
[all...]
/external/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430MCTargetDesc.cpp63 const MCAsmInfo &MAI,
68 return new MSP430InstPrinter(MAI, MII, MRI);
61 createMSP430MCInstPrinter(const Target &T, unsigned SyntaxVariant, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &STI) argument

Completed in 235 milliseconds

1234