Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/tools/llvm-mc-assemble-fuzzer/
H A Dllvm-mc-assemble-fuzzer.cpp108 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
118 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
152 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in AssembleOneInput() local
154 if (!TheTarget) { in AssembleOneInput()
161 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleOneInput()
169 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in AssembleOneInput()
176 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleOneInput()
180 TheTarget->createMCObjectFileInfo(Ctx, /*PIC=*/false)); in AssembleOneInput()
184 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in AssembleOneInput()
185 MCInstPrinter *IP = TheTarget->createMCInstPrinter(Triple(TripleName), OutputAsmVariant, in AssembleOneInput()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp240 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() local
242 if (!TheTarget) { in GetTarget()
249 return TheTarget; in GetTarget()
320 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
327 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
369 const Target *TheTarget = GetTarget(ProgName); in main() local
370 if (!TheTarget) in main()
394 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
398 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
423 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-ml/
H A Dllvm-ml.cpp134 static int AssembleInput(StringRef ProgName, const Target *TheTarget, in AssembleInput() argument
165 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
278 const Target *TheTarget = TargetRegistry::lookupTarget("", TheTriple, Error); in main() local
279 if (!TheTarget) { in main()
322 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
326 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
331 std::unique_ptr<MCSubtargetInfo> STI(TheTarget->createMCSubtargetInfo( in main()
338 std::unique_ptr<MCObjectFileInfo> MOFI(TheTarget->createMCObjectFileInfo( in main()
369 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
377 IP = TheTarget->createMCInstPrinter(TheTriple, OutputAsmVariant, *MAI, in main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp148 const Target *TheTarget = in main() local
150 if (!TheTarget) in main()
155 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
161 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
166 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in main()
172 TheTarget->createMCObjectFileInfo(MC, /*PIC=*/false)); in main()
176 auto MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, Options); in main()
180 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in main()
184 MCCodeEmitter *MCE = TheTarget->createMCCodeEmitter(*MII, MC); in main()
202 std::unique_ptr<MCStreamer> MS(TheTarget->createMCObjectStreamer( in main()
/openbsd-src/gnu/llvm/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp249 const Target *TheTarget = in getTarget() local
251 if (!TheTarget) { in getTarget()
260 return TheTarget; in getTarget()
341 const Target *TheTarget = getTarget(ProgName); in main() local
342 if (!TheTarget) in main()
369 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in main()
391 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
396 TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in main()
406 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
410 TheTarget->createMCInstrAnalysis(MCII.get())); in main()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp48 const Target *TheTarget = nullptr; in selectTarget() local
60 TheTarget = &*I; in selectTarget()
69 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
70 if (!TheTarget) { in selectTarget()
88 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/openbsd-src/gnu/llvm/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp51 const Target *TheTarget = TargetRegistry::lookupTarget(TT, Error); in LLVMCreateDisasmCPUFeatures() local
52 if (!TheTarget) in LLVMCreateDisasmCPUFeatures()
55 std::unique_ptr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in LLVMCreateDisasmCPUFeatures()
62 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in LLVMCreateDisasmCPUFeatures()
66 std::unique_ptr<const MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in LLVMCreateDisasmCPUFeatures()
71 TheTarget->createMCSubtargetInfo(TT, CPU, Features)); in LLVMCreateDisasmCPUFeatures()
83 TheTarget->createMCDisassembler(*STI, *Ctx)); in LLVMCreateDisasmCPUFeatures()
88 TheTarget->createMCRelocationInfo(TT, *Ctx)); in LLVMCreateDisasmCPUFeatures()
92 std::unique_ptr<MCSymbolizer> Symbolizer(TheTarget->createMCSymbolizer( in LLVMCreateDisasmCPUFeatures()
98 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()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DTargetRegistry.cpp30 const Target *TheTarget = nullptr; in lookupTarget() local
40 TheTarget = &*I; in lookupTarget()
50 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget()
51 if (!TheTarget) { in lookupTarget()
59 return TheTarget; in lookupTarget()
/openbsd-src/gnu/llvm/clang/tools/driver/
H A Dcc1as_main.cpp379 const Target *TheTarget = TargetRegistry::lookupTarget(Opts.Triple, Error); in ExecuteAssemblerImpl() local
380 if (!TheTarget) in ExecuteAssemblerImpl()
400 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssemblerImpl()
408 TheTarget->createMCAsmInfo(*MRI, Opts.Triple, MCOptions)); in ExecuteAssemblerImpl()
432 TheTarget->createMCSubtargetInfo(Opts.Triple, Opts.CPU, FS)); in ExecuteAssemblerImpl()
452 TheTarget->createMCObjectFileInfo(Ctx, PIC)); in ExecuteAssemblerImpl()
488 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssemblerImpl()
501 MCInstPrinter *IP = TheTarget->createMCInstPrinter( in ExecuteAssemblerImpl()
506 CE.reset(TheTarget->createMCCodeEmitter(*MCII, Ctx)); in ExecuteAssemblerImpl()
508 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssemblerImpl()
[all …]
H A Dcc1_main.cpp170 const llvm::Target *TheTarget = in PrintSupportedCPUs() local
172 if (!TheTarget) { in PrintSupportedCPUs()
180 TheTarget->createTargetMachine(TargetStr, "", "+cpuhelp", Options, in PrintSupportedCPUs()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.cpp47 auto *TheTarget = TargetRegistry::lookupTarget(TT.getTriple(), ErrMsg); in createTargetMachine() local
48 if (!TheTarget) in createTargetMachine()
51 if (!TheTarget->hasJIT()) in createTargetMachine()
56 TheTarget->createTargetMachine(TT.getTriple(), CPU, Features.getString(), in createTargetMachine()
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DLlvmState.cpp35 const Target *TheTarget = in Create() local
37 if (!TheTarget) { in Create()
50 TheTarget->createMCSubtargetInfo(TripleName, CpuName, "")); in Create()
61 static_cast<LLVMTargetMachine *>(TheTarget->createTargetMachine( in Create()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp38 const Target *TheTarget = in init() local
40 if (!TheTarget) in init()
45 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
51 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in init()
55 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
61 MOFI.reset(TheTarget->createMCObjectFileInfo(*MC, /*PIC=*/false, false)); in init()
64 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
68 MII.reset(TheTarget->createMCInstrInfo()); in init()
72 MCE = TheTarget->createMCCodeEmitter(*MII, *MC); in init()
78 MIP = TheTarget->createMCInstPrinter(TheTriple, MAI->getAssemblerDialect(), in init()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-isel-fuzzer/
H A Dllvm-isel-fuzzer.cpp136 const Target *TheTarget = in LLVMFuzzerInitialize() local
138 if (!TheTarget) { in LLVMFuzzerInitialize()
156 TM.reset(TheTarget->createTargetMachine( in LLVMFuzzerInitialize()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseStmtAsm.cpp535 const llvm::Target *TheTarget = nullptr; in ParseMicrosoftAsmStatement() local
540 TheTarget = llvm::TargetRegistry::lookupTarget(TT, Error); in ParseMicrosoftAsmStatement()
541 if (!TheTarget) in ParseMicrosoftAsmStatement()
555 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement()
568 std::unique_ptr<llvm::MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in ParseMicrosoftAsmStatement()
577 TheTarget->createMCAsmInfo(*MRI, TT, MCOptions)); in ParseMicrosoftAsmStatement()
579 std::unique_ptr<llvm::MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in ParseMicrosoftAsmStatement()
581 TheTarget->createMCSubtargetInfo(TT, TO.CPU, FeaturesStr)); in ParseMicrosoftAsmStatement()
593 TheTarget->createMCObjectFileInfo(Ctx, /*PIC=*/false)); in ParseMicrosoftAsmStatement()
607 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions)); in ParseMicrosoftAsmStatement()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-profgen/
H A DProfiledBinary.cpp68 const Target *TheTarget = in getTarget() local
70 if (!TheTarget) in getTarget()
72 return TheTarget; in getTarget()
601 const Target *TheTarget = getTarget(Obj); in setUpDisassembler() local
605 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in setUpDisassembler()
610 AsmInfo.reset(TheTarget->createMCAsmInfo(*MRI, TripleName, MCOptions)); in setUpDisassembler()
618 TheTarget->createMCSubtargetInfo(TripleName, "", Features->getString())); in setUpDisassembler()
622 MII.reset(TheTarget->createMCInstrInfo()); in setUpDisassembler()
628 TheTarget->createMCObjectFileInfo(Ctx, /*PIC=*/false)); in setUpDisassembler()
630 DisAsm.reset(TheTarget->createMCDisassembler(*STI, Ctx)); in setUpDisassembler()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llc/
H A Dllc.cpp524 const Target *TheTarget = nullptr; in compileModule() local
540 TheTarget = in compileModule()
542 if (!TheTarget) { in compileModule()
554 Target = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine( in compileModule()
587 TheTarget = in compileModule()
589 if (!TheTarget) { in compileModule()
603 Target = std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine( in compileModule()
619 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp41 MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str())); in initAsmInfo()
43 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo()
49 STI.reset(TheTarget.createMCSubtargetInfo( in initAsmInfo()
53 MCAsmInfo *TmpAsmInfo = TheTarget.createMCAsmInfo( in initAsmInfo()
/openbsd-src/gnu/llvm/llvm/tools/llvm-opt-fuzzer/
H A Dllvm-opt-fuzzer.cpp218 const Target *TheTarget = in LLVMFuzzerInitialize() local
220 if (!TheTarget) { in LLVMFuzzerInitialize()
227 TM.reset(TheTarget->createTargetMachine( in LLVMFuzzerInitialize()
/openbsd-src/gnu/llvm/clang/tools/clang-fuzzer/handle-llvm/
H A Dhandle_llvm.cpp129 const Target *TheTarget = in OptLLVM() local
131 if (!TheTarget) in OptLLVM()
134 std::unique_ptr<TargetMachine> TM(TheTarget->createTargetMachine( in OptLLVM()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp196 const Target *TheTarget = in loadGenericTargetInfo() local
198 if (!TheTarget) in loadGenericTargetInfo()
202 MCRegisterInfo *RegisterInfo = TheTarget->createMCRegInfo(TheTriple); in loadGenericTargetInfo()
210 MCAsmInfo *AsmInfo(TheTarget->createMCAsmInfo(*MRI, TheTriple, MCOptions)); in loadGenericTargetInfo()
219 TheTarget->createMCSubtargetInfo(TheTriple, CPU, TheFeatures)); in loadGenericTargetInfo()
226 MCInstrInfo *InstructionInfo(TheTarget->createMCInstrInfo()); in loadGenericTargetInfo()
236 MCDisassembler *DisAsm(TheTarget->createMCDisassembler(*STI, *MC)); in loadGenericTargetInfo()
242 MCInstPrinter *InstructionPrinter(TheTarget->createMCInstPrinter( in loadGenericTargetInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcAsmBackend.cpp131 const Target &TheTarget; member in __anon56a5590c0111::SparcAsmBackend
138 TheTarget(T), Is64Bit(StringRef(TheTarget.getName()) == "sparcv9") {} in SparcAsmBackend()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/VE/MCTargetDesc/
H A DVEAsmBackend.cpp97 const Target &TheTarget; member in __anonf25da8f00111::VEAsmBackend
100 VEAsmBackend(const Target &T) : MCAsmBackend(support::little), TheTarget(T) {} in VEAsmBackend()

12