Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1as_main.cpp437 MCTargetOptions MCOptions; in ExecuteAssemblerImpl() local
438 MCOptions.MCRelaxAll = Opts.RelaxAll; in ExecuteAssemblerImpl()
439 MCOptions.EmitDwarfUnwind = Opts.EmitDwarfUnwind; in ExecuteAssemblerImpl()
440 MCOptions.EmitCompactUnwindNonCanonical = Opts.EmitCompactUnwindNonCanonical; in ExecuteAssemblerImpl()
441 MCOptions.MCSaveTempLabels = Opts.SaveTemporaryLabels; in ExecuteAssemblerImpl()
442 MCOptions.Crel = Opts.Crel; in ExecuteAssemblerImpl()
443 MCOptions.X86RelaxRelocations = Opts.RelaxELFRelocations; in ExecuteAssemblerImpl()
444 MCOptions.X86Sse2Avx = Opts.SSE2AVX; in ExecuteAssemblerImpl()
445 MCOptions.CompressDebugSections = Opts.CompressDebugSections; in ExecuteAssemblerImpl()
446 MCOptions.AsSecureLogFile = Opts.AsSecureLogFile; in ExecuteAssemblerImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp317 MCInstrInfo &MCII, MCTargetOptions const &MCOptions) { in AssembleInput() argument
321 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
357 MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in main() local
358 MCOptions.CompressDebugSections = CompressDebugSections.getValue(); in main()
359 MCOptions.ShowMCInst = ShowInst; in main()
360 MCOptions.AsmVerbose = true; in main()
361 MCOptions.MCUseDwarfDirectory = MCTargetOptions::EnableDwarfDirectory; in main()
396 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
425 &MCOptions); in main()
432 unsigned DwarfVersion = MCOptions.DwarfVersion ? MCOptions.DwarfVersion : 4; in main()
[all …]
H A DDisassembler.cpp134 const MCTargetOptions &MCOptions) { in disassemble()
143 T.createMCAsmInfo(*MRI, Triple, MCOptions)); in disassemble()
136 disassemble(const Target & T,const std::string & Triple,MCSubtargetInfo & STI,MCStreamer & Streamer,MemoryBuffer & Buffer,SourceMgr & SM,MCContext & Ctx,raw_ostream & Out,const MCTargetOptions & MCOptions) disassemble() argument
H A DDisassembler.h35 const MCTargetOptions &MCOptions);
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp59 *MRI, getTargetTriple().str(), Options.MCOptions); in initAsmInfo()
78 TmpAsmInfo->setPreserveAsmComments(Options.MCOptions.PreserveAsmComments); in initAsmInfo()
80 TmpAsmInfo->setFullRegisterNames(Options.MCOptions.PPCUseFullRegisterNames); in initAsmInfo()
167 if (Options.MCOptions.ShowMCEncoding) in createMCStreamer()
171 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions)); in createMCStreamer()
186 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in createMCStreamer()
254 Options.MCOptions.EmitDwarfUnwind = EmitDwarfUnwindType::Always; in addPassesToEmitMC()
263 getTarget().createMCAsmBackend(STI, MRI, Options.MCOptions); in addPassesToEmitMC()
H A DMachineModuleInfo.cpp60 TM.getMCSubtargetInfo(), nullptr, &TM.Options.MCOptions, false), in MachineModuleInfo()
72 nullptr, &TM->Options.MCOptions, false) { in MachineModuleInfo()
81 nullptr, &TM->Options.MCOptions, false), in MachineModuleInfo()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.cpp
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMCTargetAsmParser.cpp15 MCTargetAsmParser::MCTargetAsmParser(MCTargetOptions const &MCOptions, in MCTargetAsmParser() argument
18 : MCOptions(MCOptions), STI(&STI), MII(MII) {} in MCTargetAsmParser()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp455 Options.MCOptions.SplitDwarfFile = CodeGenOpts.SplitDwarfFile; in initTargetOptions()
456 Options.MCOptions.EmitDwarfUnwind = CodeGenOpts.getEmitDwarfUnwind(); in initTargetOptions()
457 Options.MCOptions.EmitCompactUnwindNonCanonical = in initTargetOptions()
459 Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll; in initTargetOptions()
460 Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; in initTargetOptions()
461 Options.MCOptions.MCUseDwarfDirectory = in initTargetOptions()
465 Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack; in initTargetOptions()
466 Options.MCOptions.MCIncrementalLinkerCompatible = in initTargetOptions()
468 Options.MCOptions.MCFatalWarnings = CodeGenOpts.FatalWarnings; in initTargetOptions()
469 Options.MCOptions.MCNoWarn = CodeGenOpts.NoWarn; in initTargetOptions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp43 MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in init() local
44 MCOptions.AsmVerbose = true; in init()
45 MCOptions.MCUseDwarfDirectory = MCTargetOptions::EnableDwarfDirectory; in init()
46 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
62 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
H A DDebugLineSectionEmitter.h82 MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in init() local
83 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp509 Options.MCOptions.ShowMCEncoding = ShowMCEncoding; in compileModule()
510 Options.MCOptions.AsmVerbose = AsmVerbose; in compileModule()
511 Options.MCOptions.PreserveAsmComments = PreserveComments; in compileModule()
512 Options.MCOptions.IASSearchPaths = IncludeDirs; in compileModule()
513 Options.MCOptions.SplitDwarfFile = SplitDwarfFile; in compileModule()
515 Options.MCOptions.MCUseDwarfDirectory = in compileModule()
523 Options.MCOptions.MCUseDwarfDirectory = in compileModule()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp90 MCTargetOptions MCOptions; in initializeRecordStreamer() local
91 std::unique_ptr<MCAsmInfo> MAI(T->createMCAsmInfo(*MRI, TT.str(), MCOptions)); in initializeRecordStreamer()
121 T->createMCAsmParser(*STI, *Parser, *MCII, MCOptions)); in initializeRecordStreamer()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp72 const MCTargetOptions &MCOptions, in emitInlineAsm() argument
100 SrcMgr.setIncludeDirs(MCOptions.IASSearchPaths); in emitInlineAsm()
112 STI, *Parser, *MII, MCOptions)); in emitInlineAsm()
418 emitInlineAsm(StringData, getSubtargetInfo(), TM.Options.MCOptions, LocMD, in emitInlineAsm()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetMachine.cpp245 if (Options.MCOptions.getABIName().starts_with("elfv1")) in computeTargetABI()
247 else if (Options.MCOptions.getABIName().starts_with("elfv2")) in computeTargetABI()
250 assert(Options.MCOptions.getABIName().empty() && in computeTargetABI()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp224 MCTargetOptions MCOptions = llvm::mc::InitMCTargetOptionsFromFlags(); in llvm_dwp_main() local
226 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in llvm_dwp_main()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsTargetMachine.cpp77 MipsABIInfo ABI = MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions); in computeDataLayout()
132 ABI(MipsABIInfo::computeTargetABI(TT, CPU, Options.MCOptions)), in MipsTargetMachine()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp59 MCTargetOptions MCOptions; in LLVMCreateDisasmCPUFeatures() local
62 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in LLVMCreateDisasmCPUFeatures()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetMachineC.cpp204 TO.MCOptions.ABIName = Opt->ABI; in LLVMCreateTargetMachineWithOptions()
252 unwrap(T)->Options.MCOptions.AsmVerbose = VerboseAsm; in LLVMSetTargetMachineAsmVerbosity()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h382 MCTargetOptions MCOptions; variable
407 MCTargetOptions getTargetOptions() const { return MCOptions; } in getTargetOptions()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h459 MCTargetOptions MCOptions; variable
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp135 StringRef ABIName = Options.MCOptions.getABIName(); in computeDataLayout()
236 auto ABIName = Options.MCOptions.getABIName(); in getSubtargetImpl()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp64 MCTargetOptions MCOptions = mc::InitMCTargetOptionsFromFlags(); in init() local
65 MCOptions.AsmVerbose = true; in init()
66 MCOptions.MCUseDwarfDirectory = MCTargetOptions::EnableDwarfDirectory; in init()
67 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
83 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp575 llvm::MCTargetOptions MCOptions; in ParseMicrosoftAsmStatement() local
577 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in ParseMicrosoftAsmStatement()
607 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions)); in ParseMicrosoftAsmStatement()

12