/external/llvm/lib/Target/ |
D | Mangler.cpp | 50 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo *MAI) { in NameNeedsEscaping() argument 55 if (!MAI->doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') in NameNeedsEscaping() 60 bool AllowPeriod = MAI->doesAllowPeriodsInName(); in NameNeedsEscaping() 61 bool AllowUTF8 = MAI->doesAllowUTF8(); in NameNeedsEscaping() 71 const MCAsmInfo *MAI) { in appendMangledName() argument 74 if (!MAI->doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') { in appendMangledName() 79 bool AllowPeriod = MAI->doesAllowPeriodsInName(); in appendMangledName() 80 bool AllowUTF8 = MAI->doesAllowUTF8(); in appendMangledName() 114 const MCAsmInfo *MAI = Context.getAsmInfo(); in getNameWithPrefix() local 121 const char *Prefix = MAI->getPrivateGlobalPrefix(); in getNameWithPrefix() [all …]
|
/external/llvm/unittests/Option/ |
D | OptionParsingTest.cpp | 70 unsigned MAI, MAC; in TEST() local 71 OwningPtr<InputArgList> AL(T.ParseArgs(Args, array_endof(Args), MAI, MAC)); in TEST() 113 unsigned MAI, MAC; in TEST() local 117 AL.reset(T.ParseArgs(Args, array_endof(Args), MAI, MAC, in TEST() 125 AL.reset(T.ParseArgs(Args, array_endof(Args), MAI, MAC, in TEST() 133 AL.reset(T.ParseArgs(NewArgs, array_endof(NewArgs), MAI, MAC)); in TEST() 142 unsigned MAI, MAC; in TEST() local 145 OwningPtr<InputArgList> AL(T.ParseArgs(MyArgs, array_endof(MyArgs), MAI, MAC)); in TEST() 151 unsigned MAI, MAC; in TEST() local 154 OwningPtr<InputArgList> AL(T.ParseArgs(MyArgs, array_endof(MyArgs), MAI, MAC)); in TEST() [all …]
|
/external/llvm/lib/MC/ |
D | MCAsmStreamer.cpp | 41 const MCAsmInfo *MAI; member in __anon4e1d5faf0111::MCAsmStreamer 74 : MCStreamer(SK_AsmStreamer, Context), OS(os), MAI(Context.getAsmInfo()), in MCAsmStreamer() 312 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL() 314 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL() 332 Section->PrintSwitchToSection(*MAI, OS, Subsection); in ChangeSection() 354 OS << *Symbol << MAI->getLabelSuffix(); in EmitLabel() 362 OS << *Symbol << MAI->getDebugLabelSuffix(); in EmitDebugLabel() 370 case MCAF_Code16: OS << '\t'<< MAI->getCode16Directive();break; in EmitAssemblerFlag() 371 case MCAF_Code32: OS << '\t'<< MAI->getCode32Directive();break; in EmitAssemblerFlag() 372 case MCAF_Code64: OS << '\t'<< MAI->getCode64Directive();break; in EmitAssemblerFlag() [all …]
|
D | MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() 42 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const { in print() 46 getOperand(i).print(OS, MAI); in print() 51 void MCInst::dump_pretty(raw_ostream &OS, const MCAsmInfo *MAI, in dump_pretty() argument 62 getOperand(i).print(OS, MAI); in dump_pretty()
|
D | MCSectionELF.cpp | 25 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective() 29 (Name == ".bss" && !MAI.usesELFSectionDirectiveForBSS())) in ShouldOmitSectionDirective() 35 void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() argument 39 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection() 70 if (MAI.usesSunStyleELFSectionSwitchSyntax() && in PrintSwitchToSection() 111 if (MAI.getCommentString()[0] == '@') in PrintSwitchToSection()
|
D | MCSectionCOFF.cpp | 22 const MCAsmInfo &MAI) const { in ShouldOmitSectionDirective() 42 void MCSectionCOFF::PrintSwitchToSection(const MCAsmInfo &MAI, in PrintSwitchToSection() argument 47 if (ShouldOmitSectionDirective(SectionName, MAI)) { in PrintSwitchToSection()
|
/external/llvm/lib/MC/MCDisassembler/ |
D | Disassembler.cpp | 53 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, Triple); in LLVMCreateDisasmCPU() local 54 if (!MAI) in LLVMCreateDisasmCPU() 70 MCContext *Ctx = new MCContext(MAI, MRI, 0); in LLVMCreateDisasmCPU() 91 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMCreateDisasmCPU() 93 *MAI, *MII, *MRI, *STI); in LLVMCreateDisasmCPU() 99 TheTarget, MAI, MRI, in LLVMCreateDisasmCPU() 222 const MCAsmInfo *MAI = DC->getAsmInfo(); in LLVMSetDisasmOptions() local 226 int AsmPrinterVariant = MAI->getAssemblerDialect(); in LLVMSetDisasmOptions() 229 AsmPrinterVariant, *MAI, *MII, *MRI, *STI); in LLVMSetDisasmOptions()
|
D | Disassembler.h | 63 llvm::OwningPtr<const llvm::MCAsmInfo> MAI; variable 94 MAI.reset(mAI); in LLVMDisasmContext() 111 const MCAsmInfo *getAsmInfo() const { return MAI.get(); } in getAsmInfo()
|
/external/llvm/lib/Target/XCore/MCTargetDesc/ |
D | XCoreMCTargetDesc.cpp | 56 MCAsmInfo *MAI = new XCoreMCAsmInfo(TT); in createXCoreMCAsmInfo() local 60 MAI->addInitialFrameState(Inst); in createXCoreMCAsmInfo() 62 return MAI; in createXCoreMCAsmInfo() 78 const MCAsmInfo &MAI, in createXCoreMCInstPrinter() argument 82 return new XCoreInstPrinter(MAI, MII, MRI); in createXCoreMCInstPrinter()
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 270 MCAsmInfo *MAI; in createX86MCAsmInfo() local 273 MAI = new X86_64MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 275 MAI = new X86MCAsmInfoDarwin(TheTriple); in createX86MCAsmInfo() 278 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo() 280 MAI = new X86MCAsmInfoMicrosoft(TheTriple); in createX86MCAsmInfo() 282 MAI = new X86MCAsmInfoGNUCOFF(TheTriple); in createX86MCAsmInfo() 285 MAI = new X86ELFMCAsmInfo(TheTriple); in createX86MCAsmInfo() 296 MAI->addInitialFrameState(Inst); in createX86MCAsmInfo() 302 MAI->addInitialFrameState(Inst2); in createX86MCAsmInfo() 304 return MAI; in createX86MCAsmInfo() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.cpp | 67 MCAsmInfo *MAI; in createPPCMCAsmInfo() local 69 MAI = new PPCMCAsmInfoDarwin(isPPC64); in createPPCMCAsmInfo() 71 MAI = new PPCLinuxMCAsmInfo(isPPC64); in createPPCMCAsmInfo() 77 MAI->addInitialFrameState(Inst); in createPPCMCAsmInfo() 79 return MAI; in createPPCMCAsmInfo() 119 const MCAsmInfo &MAI, in createPPCMCInstPrinter() argument 124 return new PPCInstPrinter(MAI, MII, MRI, isDarwin); in createPPCMCInstPrinter()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinterInlineAsm.cpp | 115 *MAI)); in EmitInlineAsm() 433 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 434 MAI->getInlineAsmStart()); in EmitInlineAsm() 435 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 436 MAI->getInlineAsmEnd()); in EmitInlineAsm() 443 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 444 MAI->getInlineAsmStart()); in EmitInlineAsm() 467 int AsmPrinterVariant = MAI->getAssemblerDialect(); in EmitInlineAsm() 481 OutStreamer.EmitRawText(Twine("\t")+MAI->getCommentString()+ in EmitInlineAsm() 482 MAI->getInlineAsmEnd()); in EmitInlineAsm() [all …]
|
D | AsmPrinter.cpp | 97 TM(tm), MAI(tm.getMCAsmInfo()), in AsmPrinter() 174 if (MAI->hasSingleParameterDotFile()) { in doInitialization() 194 if (MAI->doesSupportDebugInformation()) in doInitialization() 197 switch (MAI->getExceptionHandlingType()) { in doInitialization() 224 if (MAI->getWeakDefDirective() != 0) { in EmitLinkage() 234 } else if (MAI->getLinkOnceDirective() != 0) { in EmitLinkage() 282 if (MAI->hasDotTypeDotSizeDirective()) in EmitGlobalVariable() 311 if (MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable() 325 if (MAI->getLCOMMDirectiveAlignmentType() != LCOMM::NoAlignment) { in EmitGlobalVariable() 346 if (GVKind.isBSSExtern() && MAI->hasMachoZeroFillDirective()) { in EmitGlobalVariable() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | AsmLexer.h | 28 const MCAsmInfo &MAI; variable 42 AsmLexer(const MCAsmInfo &MAI); 53 const MCAsmInfo &getMAI() const { return MAI; } in getMAI()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 64 MCAsmInfo *MAI = new AArch64ELFMCAsmInfo(); in createAArch64MCAsmInfo() local 67 MAI->addInitialFrameState(Inst); in createAArch64MCAsmInfo() 69 return MAI; in createAArch64MCAsmInfo() 110 const MCAsmInfo &MAI, in createAArch64MCInstPrinter() argument 115 return new AArch64InstPrinter(MAI, MII, MRI, STI); in createAArch64MCInstPrinter()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCTargetDesc.cpp | 59 MCAsmInfo *MAI = new HexagonMCAsmInfo(TT); in createHexagonMCAsmInfo() local 64 MAI->addInitialFrameState(Inst); in createHexagonMCAsmInfo() 66 return MAI; in createHexagonMCAsmInfo()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 242 static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, tool_output_file *Out) { in AsLexInput() argument 244 AsmLexer Lexer(MAI); in AsLexInput() 322 MCAsmInfo &MAI, MCSubtargetInfo &STI) { in AssembleInput() argument 324 Str, MAI)); in AssembleInput() 385 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() local 386 assert(MAI && "Unable to create target asm info!"); in main() 391 MCContext Ctx(MAI.get(), MRI.get(), MOFI.get(), &SrcMgr); in main() 430 TheTarget->createMCInstPrinter(OutputAsmVariant, *MAI, *MCII, *MRI, *STI); in main() 459 Res = AsLexInput(SrcMgr, *MAI, Out.get()); in main() 462 Res = AssembleInput(ProgName, TheTarget, SrcMgr, Ctx, *Str, *MAI, *STI); in main()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCTargetDesc.cpp | 97 MCAsmInfo *MAI = new MipsMCAsmInfo(TT); in createMipsMCAsmInfo() local 101 MAI->addInitialFrameState(Inst); in createMipsMCAsmInfo() 103 return MAI; in createMipsMCAsmInfo() 120 const MCAsmInfo &MAI, in createMipsMCInstPrinter() argument 124 return new MipsInstPrinter(MAI, MII, MRI); in createMipsMCInstPrinter()
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCTargetDesc.cpp | 74 MCAsmInfo *MAI = new SystemZMCAsmInfo(TT); in createSystemZMCAsmInfo() local 78 MAI->addInitialFrameState(Inst); in createSystemZMCAsmInfo() 79 return MAI; in createSystemZMCAsmInfo() 151 const MCAsmInfo &MAI, in createSystemZMCInstPrinter() argument 155 return new SystemZInstPrinter(MAI, MII, MRI); in createSystemZMCInstPrinter()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/InstPrinter/ |
D | AMDGPUInstPrinter.h | 13 AMDGPUInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in AMDGPUInstPrinter() argument 15 : MCInstPrinter(MAI, MII, MRI) {} in AMDGPUInstPrinter()
|
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/ |
D | AMDGPUInstPrinter.h | 13 AMDGPUInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in AMDGPUInstPrinter() argument 15 : MCInstPrinter(MAI, MII, MRI) {} in AMDGPUInstPrinter()
|
/external/llvm/lib/Target/MSP430/InstPrinter/ |
D | MSP430InstPrinter.h | 24 MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in MSP430InstPrinter() argument 26 : MCInstPrinter(MAI, MII, MRI) {} in MSP430InstPrinter()
|
/external/llvm/lib/Target/XCore/InstPrinter/ |
D | XCoreInstPrinter.h | 26 XCoreInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, in XCoreInstPrinter() argument 28 : MCInstPrinter(MAI, MII, MRI) {} in XCoreInstPrinter()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmLexer.cpp | 24 AsmLexer::AsmLexer(const MCAsmInfo &_MAI) : MAI(_MAI) { in AsmLexer() 389 return Char == *MAI.getCommentString(); in isAtStartOfComment() 393 return strncmp(Ptr, MAI.getSeparatorString(), in isAtStatementSeparator() 394 strlen(MAI.getSeparatorString())) == 0; in isAtStatementSeparator() 412 CurPtr += strlen(MAI.getSeparatorString()) - 1; in LexToken() 414 StringRef(TokStart, strlen(MAI.getSeparatorString()))); in LexToken()
|
/external/icu4c/data/translit/ |
D | ThaiLogical_Latin.txt | 70 \u0E31 ↔ a\u0323 ; # THAI CHARACTER MAI HAN-AKAT 92 \u0E48 ↔ \u0300 ; # THAI CHARACTER MAI EK 93 \u0E49 ↔ \u0302 ; # THAI CHARACTER MAI THO 94 \u0E4A ↔ \u0301 ; # THAI CHARACTER MAI TRI 95 \u0E4B ↔ \u030C ; # THAI CHARACTER MAI CHATTAWA
|