Home
last modified time | relevance | path

Searched refs:MCOptions (Results 1 – 25 of 93) sorted by relevance

1234

/external/llvm-project/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp55 *MRI, getTargetTriple().str(), Options.MCOptions); in initAsmInfo()
67 TmpAsmInfo->setPreserveAsmComments(Options.MCOptions.PreserveAsmComments); in initAsmInfo()
124 if (Options.MCOptions.MCSaveTempLabels) in addAsmPrinter()
141 if (Options.MCOptions.ShowMCEncoding) in addAsmPrinter()
145 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in addAsmPrinter()
148 Context, std::move(FOut), Options.MCOptions.AsmVerbose, in addAsmPrinter()
149 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE), in addAsmPrinter()
150 std::move(MAB), Options.MCOptions.ShowMCInst); in addAsmPrinter()
159 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addAsmPrinter()
168 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addAsmPrinter()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp52 *MRI, getTargetTriple().str(), Options.MCOptions); in initAsmInfo()
64 TmpAsmInfo->setPreserveAsmComments(Options.MCOptions.PreserveAsmComments); in initAsmInfo()
121 if (Options.MCOptions.MCSaveTempLabels) in addAsmPrinter()
138 if (Options.MCOptions.ShowMCEncoding) in addAsmPrinter()
142 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in addAsmPrinter()
145 Context, std::move(FOut), Options.MCOptions.AsmVerbose, in addAsmPrinter()
146 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, std::move(MCE), in addAsmPrinter()
147 std::move(MAB), Options.MCOptions.ShowMCInst); in addAsmPrinter()
156 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addAsmPrinter()
168 std::unique_ptr<MCCodeEmitter>(MCE), STI, Options.MCOptions.MCRelaxAll, in addAsmPrinter()
[all …]
/external/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp73 TmpAsmInfo->setPreserveAsmComments(Options.MCOptions.PreserveAsmComments); in initAsmInfo()
201 if (Options.MCOptions.MCSaveTempLabels) in addPassesToEmitFile()
218 if (Options.MCOptions.ShowMCEncoding) in addPassesToEmitFile()
225 *Context, std::move(FOut), Options.MCOptions.AsmVerbose, in addPassesToEmitFile()
226 Options.MCOptions.MCUseDwarfDirectory, InstPrinter, MCE, MAB, in addPassesToEmitFile()
227 Options.MCOptions.ShowMCInst); in addPassesToEmitFile()
245 T, *Context, *MAB, Out, MCE, STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitFile()
246 Options.MCOptions.MCIncrementalLinkerCompatible, in addPassesToEmitFile()
282 if (Options.MCOptions.MCSaveTempLabels) in addPassesToEmitMC()
298 T, *Ctx, *MAB, Out, MCE, STI, Options.MCOptions.MCRelaxAll, in addPassesToEmitMC()
[all …]
/external/llvm-project/llvm/tools/llvm-mc/
Dllvm-mc.cpp289 MCInstrInfo &MCII, MCTargetOptions const &MCOptions) { in AssembleInput() argument
293 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
327 const MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in main() local
362 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
380 MCContext Ctx(MAI.get(), MRI.get(), &MOFI, &SrcMgr, &MCOptions); in main()
388 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main()
395 if (MCOptions.Dwarf64) { in main()
500 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in main()
518 MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions); in main()
523 std::unique_ptr<MCCodeEmitter>(CE), *STI, MCOptions.MCRelaxAll, in main()
[all …]
DDisassembler.cpp136 const MCTargetOptions &MCOptions) { in disassemble() argument
145 T.createMCAsmInfo(*MRI, Triple, MCOptions)); in disassemble()
/external/llvm/lib/MC/MCParser/
DMCTargetAsmParser.cpp14 MCTargetAsmParser::MCTargetAsmParser(MCTargetOptions const &MCOptions, in MCTargetAsmParser() argument
16 : AvailableFeatures(0), ParsingInlineAsm(false), MCOptions(MCOptions), in MCTargetAsmParser()
/external/llvm-project/llvm/lib/MC/MCParser/
DMCTargetAsmParser.cpp14 MCTargetAsmParser::MCTargetAsmParser(MCTargetOptions const &MCOptions, in MCTargetAsmParser() argument
17 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCTargetAsmParser.cpp14 MCTargetAsmParser::MCTargetAsmParser(MCTargetOptions const &MCOptions, in MCTargetAsmParser() argument
17 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
/external/llvm-project/llvm/tools/llvm-mc-assemble-fuzzer/
Dllvm-mc-assemble-fuzzer.cpp109 MCInstrInfo &MCII, MCTargetOptions &MCOptions) { in AssembleInput() argument
116 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
165 MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in AssembleOneInput() local
167 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in AssembleOneInput()
232 MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions); in AssembleOneInput()
236 MCOptions.MCRelaxAll, MCOptions.MCIncrementalLinkerCompatible, in AssembleOneInput()
240 *MCII, MCOptions); in AssembleOneInput()
/external/llvm-project/llvm/tools/llvm-ml/
Dllvm-ml.cpp130 MCInstrInfo &MCII, MCTargetOptions &MCOptions, in AssembleInput() argument
135 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
232 MCTargetOptions MCOptions; in main() local
233 MCOptions.AssemblyLanguage = "masm"; in main()
272 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
343 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in main()
359 MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions); in main()
363 MCOptions.MCRelaxAll, MCOptions.MCIncrementalLinkerCompatible, in main()
395 *MCII, MCOptions, InputArgs); in main()
DDisassembler.cpp136 MCTargetOptions MCOptions; in disassemble() local
138 T.createMCAsmInfo(*MRI, Triple, MCOptions)); in disassemble()
/external/llvm-project/clang/tools/driver/
Dcc1as_main.cpp359 MCTargetOptions MCOptions; in ExecuteAssembler() local
361 TheTarget->createMCAsmInfo(*MRI, Opts.Triple, MCOptions)); in ExecuteAssembler()
385 MCContext Ctx(MAI.get(), MRI.get(), MOFI.get(), &SrcMgr, &MCOptions); in ExecuteAssembler()
440 MCOptions.MCNoWarn = Opts.NoWarn; in ExecuteAssembler()
441 MCOptions.MCFatalWarnings = Opts.FatalWarnings; in ExecuteAssembler()
442 MCOptions.ABIName = Opts.TargetABI; in ExecuteAssembler()
453 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssembler()
473 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssembler()
508 TheTarget->createMCAsmParser(*STI, *Parser, *MCII, MCOptions)); in ExecuteAssembler()
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp351 MCInstrInfo &MCII, MCTargetOptions &MCOptions) { in AssembleInput() argument
355 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
390 MCTargetOptions MCOptions = InitMCTargetOptionsFromFlags(); in main() local
450 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main()
529 TheTriple, Ctx, *MAB, *OS, CE, *STI, MCOptions.MCRelaxAll, in main()
530 MCOptions.MCIncrementalLinkerCompatible, in main()
544 *MCII, MCOptions); in main()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmInstrumentation.h30 CreateX86AsmInstrumentation(const MCTargetOptions &MCOptions,
51 CreateX86AsmInstrumentation(const MCTargetOptions &MCOptions,
/external/llvm-project/llvm/unittests/MC/
DMCInstPrinter.cpp44 MCTargetOptions MCOptions; in MCInstPrinterTest() local
45 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in MCInstPrinterTest()
DDwarfLineTables.cpp41 MCTargetOptions MCOptions; in Context() local
42 MAI.reset(TheTarget->createMCAsmInfo(*MRI, Triple, MCOptions)); in Context()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp77 const MCTargetOptions &MCOptions, in EmitInlineAsm() argument
136 STI, *Parser, *MII, MCOptions)); in EmitInlineAsm()
488 MCTargetOptions MCOptions = TM.Options.MCOptions; in EmitInlineAsm() local
489 MCOptions.SanitizeAddress = in EmitInlineAsm()
492 EmitInlineAsm(OS.str(), getSubtargetInfo(), MCOptions, LocMD, in EmitInlineAsm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DModuleSymbolTable.cpp86 MCTargetOptions MCOptions; in initializeRecordStreamer() local
87 std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TT.str(), MCOptions)); in initializeRecordStreamer()
114 T->createMCAsmParser(*STI, *Parser, *MCII, MCOptions)); in initializeRecordStreamer()
/external/llvm-project/llvm/lib/Object/
DModuleSymbolTable.cpp88 MCTargetOptions MCOptions; in initializeRecordStreamer() local
89 std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TT.str(), MCOptions)); in initializeRecordStreamer()
116 T->createMCAsmParser(*STI, *Parser, *MCII, MCOptions)); in initializeRecordStreamer()
/external/llvm-project/llvm/tools/llc/
Dllc.cpp434 Options.MCOptions.ShowMCEncoding = ShowMCEncoding; in compileModule()
435 Options.MCOptions.MCUseDwarfDirectory = EnableDwarfDirectory; in compileModule()
436 Options.MCOptions.AsmVerbose = AsmVerbose; in compileModule()
437 Options.MCOptions.PreserveAsmComments = PreserveComments; in compileModule()
438 Options.MCOptions.IASSearchPaths = IncludeDirs; in compileModule()
439 Options.MCOptions.SplitDwarfFile = SplitDwarfFile; in compileModule()
/external/llvm/include/llvm/Target/
DTargetOptions.h261 MCTargetOptions MCOptions; variable
290 ARE_EQUAL(MCOptions) &&
/external/llvm-project/clang/lib/CodeGen/
DBackendUtil.cpp563 Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile; in initTargetOptions()
564 Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll; in initTargetOptions()
565 Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; in initTargetOptions()
566 Options.MCOptions.MCUseDwarfDirectory = !CodeGenOpts.NoDwarfDirectoryAsm; in initTargetOptions()
567 Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack; in initTargetOptions()
568 Options.MCOptions.MCIncrementalLinkerCompatible = in initTargetOptions()
570 Options.MCOptions.MCFatalWarnings = CodeGenOpts.FatalWarnings; in initTargetOptions()
571 Options.MCOptions.MCNoWarn = CodeGenOpts.NoWarn; in initTargetOptions()
572 Options.MCOptions.AsmVerbose = CodeGenOpts.AsmVerbose; in initTargetOptions()
573 Options.MCOptions.PreserveAsmComments = CodeGenOpts.PreserveAsmComments; in initTargetOptions()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h116 MCTargetOptions MCOptions; variable
132 MCTargetOptions getTargetOptions() const { return MCOptions; } in getTargetOptions()
/external/llvm/tools/llc/
Dllc.cpp337 Options.MCOptions.ShowMCEncoding = ShowMCEncoding; in compileModule()
338 Options.MCOptions.MCUseDwarfDirectory = EnableDwarfDirectory; in compileModule()
339 Options.MCOptions.AsmVerbose = AsmVerbose; in compileModule()
340 Options.MCOptions.PreserveAsmComments = PreserveComments; in compileModule()
/external/clang/lib/CodeGen/
DBackendUtil.cpp630 Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll; in CreateTargetMachine()
631 Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; in CreateTargetMachine()
632 Options.MCOptions.MCUseDwarfDirectory = !CodeGenOpts.NoDwarfDirectoryAsm; in CreateTargetMachine()
633 Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack; in CreateTargetMachine()
634 Options.MCOptions.MCIncrementalLinkerCompatible = in CreateTargetMachine()
636 Options.MCOptions.MCFatalWarnings = CodeGenOpts.FatalWarnings; in CreateTargetMachine()
637 Options.MCOptions.AsmVerbose = CodeGenOpts.AsmVerbose; in CreateTargetMachine()
638 Options.MCOptions.ABIName = TargetOpts.ABI; in CreateTargetMachine()

1234