Home
last modified time | relevance | path

Searched refs:TheTarget (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.cpp
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp31 const Target *TheTarget = in init() local
33 if (!TheTarget) in init()
38 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
47 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
52 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
60 MOFI.reset(TheTarget->createMCObjectFileInfo(*MC, /*PIC=*/false, false)); in init()
63 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
69 MII.reset(TheTarget->createMCInstrInfo()); in init()
75 MCE = TheTarget->createMCCodeEmitter(*MII, *MC); in init()
83 std::unique_ptr<MCInstPrinter> MIP(TheTarget->createMCInstPrinter( in init()
[all …]
H A DDebugLineSectionEmitter.h69 const Target *TheTarget = in init() local
71 if (!TheTarget) in init()
76 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
83 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
88 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp251 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() local
253 if (!TheTarget) { in GetTarget()
260 return TheTarget; in GetTarget()
331 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
338 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
385 const Target *TheTarget = GetTarget(ProgName); in main() local
386 if (!TheTarget) in main()
410 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
414 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
438 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp50 const Target *TheTarget = TargetRegistry::lookupTarget(TT, Error); in LLVMCreateDisasmCPUFeatures() local
51 if (!TheTarget) in LLVMCreateDisasmCPUFeatures()
54 std::unique_ptr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in LLVMCreateDisasmCPUFeatures()
61 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in LLVMCreateDisasmCPUFeatures()
65 std::unique_ptr<const MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in LLVMCreateDisasmCPUFeatures()
70 TheTarget->createMCSubtargetInfo(TT, CPU, Features)); in LLVMCreateDisasmCPUFeatures()
82 TheTarget->createMCDisassembler(*STI, *Ctx)); in LLVMCreateDisasmCPUFeatures()
87 TheTarget->createMCRelocationInfo(TT, *Ctx)); in LLVMCreateDisasmCPUFeatures()
91 std::unique_ptr<MCSymbolizer> Symbolizer(TheTarget->createMCSymbolizer( in LLVMCreateDisasmCPUFeatures()
97 std::unique_ptr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in LLVMCreateDisasmCPUFeatures()
[all …]
H A DDisassembler.h60 const Target *TheTarget; variable
88 const Target *TheTarget, in LLVMDisasmContext() argument
97 GetOpInfo(GetOpInfo), SymbolLookUp(SymbolLookUp), TheTarget(TheTarget), in LLVMDisasmContext()
108 const Target *getTarget() const { return TheTarget; } in getTarget()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp48 const Target *TheTarget = nullptr; in selectTarget() local
60 TheTarget = &*I; in selectTarget()
69 TheTarget = TargetRegistry::lookupTarget(TheTriple, Error); in selectTarget()
70 if (!TheTarget) { in selectTarget()
87 TargetMachine *Target = TheTarget->createTargetMachine( in selectTarget()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp215 const Target *TheTarget = in llvm_dwp_main() local
217 if (!TheTarget) in llvm_dwp_main()
222 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in llvm_dwp_main()
228 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in llvm_dwp_main()
233 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in llvm_dwp_main()
239 TheTarget->createMCObjectFileInfo(MC, /*PIC=*/false)); in llvm_dwp_main()
243 auto MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, Options); in llvm_dwp_main()
247 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in llvm_dwp_main()
251 MCCodeEmitter *MCE = TheTarget->createMCCodeEmitter(*MII, MC); in llvm_dwp_main()
269 std::unique_ptr<MCStreamer> MS(TheTarget->createMCObjectStreamer( in llvm_dwp_main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp302 const Target *TheTarget = in getTarget() local
304 if (!TheTarget) { in getTarget()
313 return TheTarget; in getTarget()
394 const Target *TheTarget = getTarget(ProgName); in main() local
395 if (!TheTarget) in main()
422 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
444 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
449 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
457 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
461 TheTarget->createMCInstrAnalysis(MCII.get())); in main()
[all …]
H A DCodeRegionGenerator.cpp44 TheTarget.createAsmTargetStreamer(*Str, FOSRef, IP.get()); in parseCodeRegions()
57 TheTarget.createMCAsmParser(STI, *Parser, MCII, Opts)); in parseCodeRegions()
/freebsd/contrib/llvm-project/clang/tools/driver/
H A Dcc1_main.cpp116 const llvm::Target *TheTarget = in PrintSupportedCPUs() local
118 if (!TheTarget) { in PrintSupportedCPUs()
126 TheTarget->createTargetMachine(Triple, "", "+cpuhelp", Options, in PrintSupportedCPUs()
134 const llvm::Target *TheTarget = in PrintSupportedExtensions() local
136 if (!TheTarget) { in PrintSupportedExtensions()
143 TheTarget->createTargetMachine(Triple, "", "", Options, std::nullopt)); in PrintSupportedExtensions()
172 const llvm::Target *TheTarget = in PrintEnabledExtensions() local
174 if (!TheTarget) { in PrintEnabledExtensions()
185 TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in PrintEnabledExtensions()
H A Dcc1as_main.cpp420 const Target *TheTarget = TargetRegistry::lookupTarget(Opts.Triple, Error); in ExecuteAssemblerImpl() local
421 if (!TheTarget) in ExecuteAssemblerImpl()
441 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssemblerImpl()
457 TheTarget->createMCAsmInfo(*MRI, Opts.Triple, MCOptions)); in ExecuteAssemblerImpl()
479 TheTarget->createMCSubtargetInfo(Opts.Triple, Opts.CPU, FS)); in ExecuteAssemblerImpl()
499 TheTarget->createMCObjectFileInfo(Ctx, PIC)); in ExecuteAssemblerImpl()
529 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssemblerImpl()
545 std::unique_ptr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in ExecuteAssemblerImpl()
550 CE.reset(TheTarget->createMCCodeEmitter(*MCII, Ctx)); in ExecuteAssemblerImpl()
552 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssemblerImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.cpp42 auto *TheTarget = TargetRegistry::lookupTarget(TT, ErrMsg); in createTargetMachine() local
43 if (!TheTarget) in createTargetMachine()
46 if (!TheTarget->hasJIT()) in createTargetMachine()
50 auto *TM = TheTarget->createTargetMachine( in createTargetMachine()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DTargetRegistry.cpp111 const Target *TheTarget = nullptr; in lookupTarget() local
121 TheTarget = &*I; in lookupTarget()
131 TheTarget = TargetRegistry::lookupTarget(TheTriple, TempError); in lookupTarget()
132 if (!TheTarget) { in lookupTarget()
139 return TheTarget; in lookupTarget()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVAPI.cpp77 const Target *TheTarget = in SPIRVTranslate() local
79 if (!TheTarget) in SPIRVTranslate()
89 std::unique_ptr<TargetMachine> Target(TheTarget->createTargetMachine( in SPIRVTranslate()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp513 const llvm::Target *TheTarget = nullptr; in ParseMicrosoftAsmStatement() local
518 TheTarget = llvm::TargetRegistry::lookupTarget(TT, Error); in ParseMicrosoftAsmStatement()
519 if (!TheTarget) in ParseMicrosoftAsmStatement()
533 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement()
546 std::unique_ptr<llvm::MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in ParseMicrosoftAsmStatement()
555 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in ParseMicrosoftAsmStatement()
557 std::unique_ptr<llvm::MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in ParseMicrosoftAsmStatement()
559 TheTarget->createMCSubtargetInfo(TT, TO.CPU, FeaturesStr)); in ParseMicrosoftAsmStatement()
571 TheTarget->createMCObjectFileInfo(Ctx, /*PIC=*/false)); in ParseMicrosoftAsmStatement()
585 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions)); in ParseMicrosoftAsmStatement()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A Dllc.cpp529 const Target *TheTarget = nullptr; in compileModule() local
545 TheTarget = in compileModule()
547 if (!TheTarget) { in compileModule()
553 Target = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine( in compileModule()
588 TheTarget = in compileModule()
590 if (!TheTarget) { in compileModule()
596 Target = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine( in compileModule()
612 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenTargetMachineImpl.cpp48 MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str())); in initAsmInfo()
50 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo()
56 STI.reset(TheTarget.createMCSubtargetInfo( in initAsmInfo()
60 MCAsmInfo *TmpAsmInfo = TheTarget.createMCAsmInfo( in initAsmInfo()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp50 const Target *TheTarget = in init() local
52 if (!TheTarget) in init()
58 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
67 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
72 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
80 MOFI.reset(TheTarget->createMCObjectFileInfo(*MC, /*PIC=*/false, false)); in init()
83 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
89 MII.reset(TheTarget->createMCInstrInfo()); in init()
95 MCE = TheTarget->createMCCodeEmitter(*MII, *MC); in init()
103 std::unique_ptr<MCInstPrinter> MIP(TheTarget->createMCInstPrinter( in init()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp34 const Target *TheTarget; member
762 const Target *TheTarget = in getTargetInfo() local
764 if (!TheTarget) in getTargetInfo()
770 TheTarget->createMCSubtargetInfo(TripleName, CPU, TF.getString())); in getTargetInfo()
776 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in getTargetInfo()
785 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in getTargetInfo()
795 TheTarget->createMCDisassembler(*STI, *Ctx)); in getTargetInfo()
801 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in getTargetInfo()
807 std::unique_ptr<MCInstPrinter> InstPrinter(TheTarget->createMCInstPrinter( in getTargetInfo()
814 return TargetInfo({TheTarget, std::move(STI), std::move(MRI), in getTargetInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEAsmBackend.cpp87 const Target &TheTarget; member in __anon88421f390111::VEAsmBackend
91 : MCAsmBackend(llvm::endianness::little), TheTarget(T) {} in VEAsmBackend()
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp788 const Target *TheTarget = in linkAndVerify() local
790 if (!TheTarget) in linkAndVerify()
796 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); in linkAndVerify()
800 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in linkAndVerify()
806 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in linkAndVerify()
813 TheTarget->createMCDisassembler(*STI, Ctx)); in linkAndVerify()
817 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in linkAndVerify()
822 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI)); in linkAndVerify()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp280 const Target *TheTarget = in loadGenericTargetInfo() local
282 if (!TheTarget) in loadGenericTargetInfo()
286 MCRegisterInfo *RegisterInfo = TheTarget->createMCRegInfo(TheTriple); in loadGenericTargetInfo()
294 MCAsmInfo *AsmInfo(TheTarget->createMCAsmInfo(*MRI, TheTriple, MCOptions)); in loadGenericTargetInfo()
303 TheTarget->createMCSubtargetInfo(TheTriple, CPU, TheFeatures)); in loadGenericTargetInfo()
310 MCInstrInfo *InstructionInfo(TheTarget->createMCInstrInfo()); in loadGenericTargetInfo()
320 MCDisassembler *DisAsm(TheTarget->createMCDisassembler(*STI, *MC)); in loadGenericTargetInfo()
326 MCInstPrinter *InstructionPrinter(TheTarget->createMCInstPrinter( in loadGenericTargetInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiTargetMachine.h30 LanaiTargetMachine(const Target &TheTarget, const Triple &TargetTriple,

12