Home
last modified time | relevance | path

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

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAsmStreamer.cpp47 const MCAsmInfo *MAI; member in __anonca400b9a0111::MCAsmStreamer
70 MAI(Context.getAsmInfo()), InstPrinter(printer), in MCAsmStreamer()
380 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
382 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
398 OS << MAI->getCommentString() << T; in emitRawComment()
404 if (c.equals(StringRef(MAI->getSeparatorString()))) in addExplicitComment()
408 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
417 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
424 } else if (c.startswith(StringRef(MAI->getCommentString()))) { in addExplicitComment()
430 ExplicitCommentToEmit.append(MAI->getCommentString()); in addExplicitComment()
[all …]
DMCSectionWasm.cpp20 const MCAsmInfo &MAI) const { in shouldOmitSectionDirective()
21 return MAI.shouldOmitSectionDirective(Name); in shouldOmitSectionDirective()
47 void MCSectionWasm::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() argument
51 if (shouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
55 Subsection->print(OS, &MAI); in PrintSwitchToSection()
73 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
87 Subsection->print(OS, &MAI); in PrintSwitchToSection()
DMCSectionELF.cpp23 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective()
27 return MAI.shouldOmitSectionDirective(Name); in ShouldOmitSectionDirective()
53 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() argument
56 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
60 Subsection->print(OS, &MAI); in PrintSwitchToSection()
70 if (MAI.usesSunStyleELFSectionSwitchSyntax() && in PrintSwitchToSection()
126 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
187 Subsection->print(OS, &MAI); in PrintSwitchToSection()
DMCSymbol.cpp59 void MCSymbol::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print()
64 if (!MAI || MAI->isValidUnquotedName(Name)) { in print()
69 if (MAI && !MAI->supportsNameQuoting()) in print()
DMCSectionCOFF.cpp20 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective()
37 void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, in PrintSwitchToSection() argument
41 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
101 COMDATSymbol->print(OS, &MAI); in PrintSwitchToSection()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCTargetDesc.cpp85 MCAsmInfo *MAI; in createPPCMCAsmInfo() local
87 MAI = new PPCXCOFFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
89 MAI = new PPCELFMCAsmInfo(isPPC64, TheTriple); in createPPCMCAsmInfo()
95 MAI->addInitialFrameState(Inst); in createPPCMCAsmInfo()
97 return MAI; in createPPCMCAsmInfo()
110 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitTCEntry() local
112 OS << (MAI->getSymbolsHaveSMC() in emitTCEntry()
129 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo(); in emitLocalEntry() local
132 S->print(OS, MAI); in emitLocalEntry()
134 LocalOffset->print(OS, MAI); in emitLocalEntry()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCTargetDesc.cpp38 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcMCAsmInfo() local
41 MAI->addInitialFrameState(Inst); in createSparcMCAsmInfo()
42 return MAI; in createSparcMCAsmInfo()
48 MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT); in createSparcV9MCAsmInfo() local
51 MAI->addInitialFrameState(Inst); in createSparcV9MCAsmInfo()
52 return MAI; in createSparcV9MCAsmInfo()
88 const MCAsmInfo &MAI, in createSparcMCInstPrinter() argument
91 return new SparcInstPrinter(MAI, MII, MRI); in createSparcMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp62 std::unique_ptr<const MCAsmInfo> MAI( in LLVMCreateDisasmCPUFeatures() local
64 if (!MAI) in LLVMCreateDisasmCPUFeatures()
77 std::unique_ptr<MCContext> Ctx(new MCContext(MAI.get(), MRI.get(), nullptr)); in LLVMCreateDisasmCPUFeatures()
97 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMCreateDisasmCPUFeatures()
99 Triple(TT), AsmPrinterVariant, *MAI, *MII, *MRI)); in LLVMCreateDisasmCPUFeatures()
104 TT, DisInfo, TagType, GetOpInfo, SymbolLookUp, TheTarget, std::move(MAI), in LLVMCreateDisasmCPUFeatures()
144 const MCAsmInfo *MAI = DC->getAsmInfo(); in emitComments() local
145 StringRef CommentBegin = MAI->getCommentString(); in emitComments()
146 unsigned CommentColumn = MAI->getCommentColumn(); in emitComments()
320 const MCAsmInfo *MAI = DC->getAsmInfo(); in LLVMSetDisasmOptions() local
[all …]
DDisassembler.h62 std::unique_ptr<const llvm::MCAsmInfo> MAI; variable
89 std::unique_ptr<const MCAsmInfo> &&MAI, in LLVMDisasmContext() argument
98 MAI(std::move(MAI)), MRI(std::move(MRI)), MSI(std::move(MSI)), in LLVMDisasmContext()
110 const MCAsmInfo *getAsmInfo() const { return MAI.get(); } in getAsmInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/MCTargetDesc/
DARCMCTargetDesc.cpp57 MCAsmInfo *MAI = new ARCMCAsmInfo(TT); in createARCMCAsmInfo() local
61 MAI->addInitialFrameState(Inst); in createARCMCAsmInfo()
63 return MAI; in createARCMCAsmInfo()
68 const MCAsmInfo &MAI, in createARCMCInstPrinter() argument
71 return new ARCInstPrinter(MAI, MII, MRI); in createARCMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/MCTargetDesc/
DVEMCTargetDesc.cpp36 MCAsmInfo *MAI = new VEELFMCAsmInfo(TT); in createVEMCAsmInfo() local
39 MAI->addInitialFrameState(Inst); in createVEMCAsmInfo()
40 return MAI; in createVEMCAsmInfo()
76 const MCAsmInfo &MAI, in createVEMCInstPrinter() argument
79 return new VEInstPrinter(MAI, MII, MRI); in createVEMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCTargetDesc.cpp56 MCAsmInfo *MAI = new RISCVMCAsmInfo(TT); in createRISCVMCAsmInfo() local
60 MAI->addInitialFrameState(Inst); in createRISCVMCAsmInfo()
62 return MAI; in createRISCVMCAsmInfo()
75 const MCAsmInfo &MAI, in createRISCVMCInstPrinter() argument
78 return new RISCVInstPrinter(MAI, MII, MRI); in createRISCVMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/MCTargetDesc/
DXCoreMCTargetDesc.cpp60 MCAsmInfo *MAI = new XCoreMCAsmInfo(TT); in createXCoreMCAsmInfo() local
64 MAI->addInitialFrameState(Inst); in createXCoreMCAsmInfo()
66 return MAI; in createXCoreMCAsmInfo()
71 const MCAsmInfo &MAI, in createXCoreMCInstPrinter() argument
74 return new XCoreInstPrinter(MAI, MII, MRI); in createXCoreMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPerfHintAnalysis.cpp319 MemAccessInfo MAI = makeMemAccessInfo(const_cast<Instruction *>(Inst)); in isLargeStride() local
320 bool IsLargeStride = MAI.isLargeStride(LastAccess); in isLargeStride()
321 if (MAI.Base) in isLargeStride()
322 LastAccess = std::move(MAI); in isLargeStride()
329 MemAccessInfo MAI; in makeMemAccessInfo() local
335 return MAI; in makeMemAccessInfo()
337 MAI.V = MO; in makeMemAccessInfo()
338 MAI.Base = GetPointerBaseWithConstantOffset(MO, MAI.Offset, *DL); in makeMemAccessInfo()
339 return MAI; in makeMemAccessInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp192 MCAsmInfo *MAI; in createARMMCAsmInfo() local
194 MAI = new ARMMCAsmInfoDarwin(TheTriple); in createARMMCAsmInfo()
196 MAI = new ARMCOFFMCAsmInfoMicrosoft(); in createARMMCAsmInfo()
198 MAI = new ARMCOFFMCAsmInfoGNU(); in createARMMCAsmInfo()
200 MAI = new ARMELFMCAsmInfo(TheTriple); in createARMMCAsmInfo()
203 MAI->addInitialFrameState(MCCFIInstruction::createDefCfa(nullptr, Reg, 0)); in createARMMCAsmInfo()
205 return MAI; in createARMMCAsmInfo()
230 const MCAsmInfo &MAI, in createARMMCInstPrinter() argument
234 return new ARMInstPrinter(MAI, MII, MRI); in createARMMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiInstPrinter.cpp159 Op.getExpr()->print(OS, &MAI); in printOperand()
172 Op.getExpr()->print(OS, &MAI); in printMemImmOperand()
185 Op.getExpr()->print(OS, &MAI); in printHi16ImmOperand()
197 Op.getExpr()->print(OS, &MAI); in printHi16AndImmOperand()
209 Op.getExpr()->print(OS, &MAI); in printLo16AndImmOperand()
226 static void printMemoryImmediateOffset(const MCAsmInfo &MAI, in printMemoryImmediateOffset() argument
234 OffsetOp.getExpr()->print(OS, &MAI); in printMemoryImmediateOffset()
246 printMemoryImmediateOffset<16>(MAI, OffsetOp, OS); in printMemRiOperand()
282 printMemoryImmediateOffset<10>(MAI, OffsetOp, OS); in printMemSplsOperand()
DLanaiMCExpr.cpp22 void LanaiMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
24 Expr->print(OS, MAI); in printImpl()
41 Expr->print(OS, MAI); in printImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp189 : MachineFunctionPass(ID), TM(tm), MAI(tm.getMCAsmInfo()), in AsmPrinter()
287 if (MAI->hasSingleParameterDotFile()) { in doInitialization()
314 if (MAI->doesSupportDebugInformation()) { in doInitialization()
331 switch (MAI->getExceptionHandlingType()) { in doInitialization()
336 if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI) in doInitialization()
354 switch (MAI->getExceptionHandlingType()) { in doInitialization()
365 switch (MAI->getWinEHEncodingType()) { in doInitialization()
393 static bool canBeHidden(const GlobalValue *GV, const MCAsmInfo &MAI) { in canBeHidden() argument
394 if (!MAI.hasWeakDefCanBeHiddenDirective()) in canBeHidden()
408 if (MAI->hasWeakDefDirective()) { in EmitLinkage()
[all …]
DAsmPrinterInlineAsm.cpp139 DiagInfo->SrcMgr, OutContext, *OutStreamer, *MAI, BufNum)); in EmitInlineAsm()
463 Sym->print(OS, AP->MAI); in EmitGCCInlineAsmStr()
467 Sym->print(OS, AP->MAI); in EmitGCCInlineAsmStr()
511 OutStreamer->emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm()
512 OutStreamer->emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm()
518 OutStreamer->emitRawComment(MAI->getInlineAsmStart()); in EmitInlineAsm()
542 int AsmPrinterVariant = MAI->getAssemblerDialect(); in EmitInlineAsm()
592 OutStreamer->emitRawComment(MAI->getInlineAsmEnd()); in EmitInlineAsm()
608 OS << MAI->getCommentString(); in PrintSpecial()
631 getSymbol(MO.getGlobal())->print(OS, MAI); in PrintSymbolOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCTargetDesc.cpp86 MCAsmInfo *MAI = new MipsMCAsmInfo(TT, Options); in createMipsMCAsmInfo() local
90 MAI->addInitialFrameState(Inst); in createMipsMCAsmInfo()
92 return MAI; in createMipsMCAsmInfo()
97 const MCAsmInfo &MAI, in createMipsMCInstPrinter() argument
100 return new MipsInstPrinter(MAI, MII, MRI); in createMipsMCInstPrinter()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.h27 explicit HexagonInstPrinter(MCAsmInfo const &MAI, MCInstrInfo const &MII, in HexagonInstPrinter() argument
29 : MCInstPrinter(MAI, MII, MRI), MII(MII) {} in HexagonInstPrinter()
41 MCAsmInfo const &getMAI() const { return MAI; } in getMAI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DAsmLexer.h26 const MCAsmInfo &MAI; variable
39 AsmLexer(const MCAsmInfo &MAI);
51 const MCAsmInfo &getMAI() const { return MAI; } in getMAI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCExpr.h49 void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override { in printImpl() argument
50 if (!MAI || MAI->getAssemblerDialect() == 0) in printImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp23 void NVPTXFloatMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
60 const MCAsmInfo *MAI) const { in printImpl()
62 SymExpr->print(OS, MAI); in printImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp33 AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) { in AsmLexer() argument
34 AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@"); in AsmLexer()
534 StringRef CommentString = MAI.getCommentString(); in isAtStartOfComment()
547 return strncmp(Ptr, MAI.getSeparatorString(), in isAtStatementSeparator()
548 strlen(MAI.getSeparatorString())) == 0; in isAtStatementSeparator()
578 CurPtr += strlen(MAI.getSeparatorString()) - 1; in LexToken()
582 StringRef(TokStart, strlen(MAI.getSeparatorString()))); in LexToken()
676 if (MAI.hasMipsExpressions()) { in LexToken()

12345678