Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp203 if (!TheTarget) { in GetTarget()
210 return TheTarget; in GetTarget()
280 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
287 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
326 const Target *TheTarget = GetTarget(ProgName); in main() local
327 if (!TheTarget) in main()
446 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
469 CE.reset(TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx)); in main()
472 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in main()
480 Str.reset(TheTarget->createNullStreamer(Ctx)); in main()
[all …]
/freebsd-12.1/contrib/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp52 const Target *TheTarget = TargetRegistry::lookupTarget(TT, Error); in LLVMCreateDisasmCPUFeatures() local
53 if (!TheTarget) in LLVMCreateDisasmCPUFeatures()
56 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TT); in LLVMCreateDisasmCPUFeatures()
61 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, TT); in LLVMCreateDisasmCPUFeatures()
65 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPUFeatures()
70 TheTarget->createMCSubtargetInfo(TT, CPU, Features); in LLVMCreateDisasmCPUFeatures()
80 MCDisassembler *DisAsm = TheTarget->createMCDisassembler(*STI, *Ctx); in LLVMCreateDisasmCPUFeatures()
85 TheTarget->createMCRelocationInfo(TT, *Ctx)); in LLVMCreateDisasmCPUFeatures()
89 std::unique_ptr<MCSymbolizer> Symbolizer(TheTarget->createMCSymbolizer( in LLVMCreateDisasmCPUFeatures()
95 MCInstPrinter *IP = TheTarget->createMCInstPrinter( in LLVMCreateDisasmCPUFeatures()
[all …]
H A DDisassembler.h61 const Target *TheTarget; variable
94 GetOpInfo(getOpInfo), SymbolLookUp(symbolLookUp), TheTarget(theTarget), in LLVMDisasmContext()
111 const Target *getTarget() const { return TheTarget; } in getTarget()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp49 const Target *TheTarget = nullptr; in selectTarget() local
61 TheTarget = &*I; in selectTarget()
70 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
71 if (!TheTarget) { in selectTarget()
96 TheTarget->createTargetMachine(TheTriple.getTriple(), MCPU, FeaturesStr, in selectTarget()
/freebsd-12.1/contrib/llvm/tools/llvm-mca/
H A Dllvm-mca.cpp188 const Target *TheTarget = in getTarget() local
190 if (!TheTarget) { in getTarget()
196 return TheTarget; in getTarget()
270 const Target *TheTarget = getTarget(ProgName); in main() local
271 if (!TheTarget) in main()
293 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
296 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
305 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
308 TheTarget->createMCInstrAnalysis(MCII.get())); in main()
338 mca::AsmCodeRegionGenerator CRG(*TheTarget, SrcMgr, Ctx, *MAI, *STI, *MCII); in main()
[all …]
H A DCodeRegionGenerator.h49 const Target &TheTarget; variable
60 : CodeRegionGenerator(SM), TheTarget(T), Ctx(C), MAI(A), STI(S), MCII(I), in AsmCodeRegionGenerator()
H A DCodeRegionGenerator.cpp122 TheTarget.createMCAsmParser(STI, *Parser, MCII, Opts)); in parseCodeRegions()
/freebsd-12.1/contrib/llvm/tools/clang/tools/driver/
H A Dcc1as_main.cpp326 if (!TheTarget) in ExecuteAssembler()
414 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssembler()
416 TheTarget->createMCSubtargetInfo(Opts.Triple, Opts.CPU, FS)); in ExecuteAssembler()
423 MCInstPrinter *IP = TheTarget->createMCInstPrinter( in ExecuteAssembler()
428 CE.reset(TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx)); in ExecuteAssembler()
431 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssembler()
434 Str.reset(TheTarget->createAsmStreamer( in ExecuteAssembler()
449 TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx)); in ExecuteAssembler()
452 TheTarget->createMCAsmBackend(*STI, *MRI, MCOptions)); in ExecuteAssembler()
458 Str.reset(TheTarget->createMCObjectStreamer( in ExecuteAssembler()
[all …]
/freebsd-12.1/contrib/llvm/lib/Support/
H A DTargetRegistry.cpp31 const Target *TheTarget = nullptr; in lookupTarget() local
41 TheTarget = &*I; in lookupTarget()
51 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget()
52 if (!TheTarget) { in lookupTarget()
60 return TheTarget; in lookupTarget()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DJITTargetMachineBuilder.cpp33 auto *TheTarget = TargetRegistry::lookupTarget(TT.getTriple(), ErrMsg); in createTargetMachine() local
34 if (!TheTarget) in createTargetMachine()
38 TheTarget->createTargetMachine(TT.getTriple(), CPU, Features.getString(), in createTargetMachine()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmtAsm.cpp553 const llvm::Target *TheTarget = nullptr; in ParseMicrosoftAsmStatement() local
560 TheTarget = llvm::TargetRegistry::lookupTarget(TT, Error); in ParseMicrosoftAsmStatement()
561 if (!TheTarget) in ParseMicrosoftAsmStatement()
569 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement()
585 std::unique_ptr<llvm::MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in ParseMicrosoftAsmStatement()
586 std::unique_ptr<llvm::MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TT)); in ParseMicrosoftAsmStatement()
588 std::unique_ptr<llvm::MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in ParseMicrosoftAsmStatement()
591 TheTarget->createMCSubtargetInfo(TT, TO.CPU, FeaturesStr)); in ParseMicrosoftAsmStatement()
609 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions)); in ParseMicrosoftAsmStatement()
612 TheTarget->createMCInstPrinter(llvm::Triple(TT), 1, *MAI, *MII, *MRI)); in ParseMicrosoftAsmStatement()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp43 MRI.reset(TheTarget.createMCRegInfo(getTargetTriple().str())); in initAsmInfo()
44 MII.reset(TheTarget.createMCInstrInfo()); in initAsmInfo()
49 STI.reset(TheTarget.createMCSubtargetInfo( in initAsmInfo()
53 TheTarget.createMCAsmInfo(*MRI, getTargetTriple().str()); in initAsmInfo()
/freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp653 const Target *TheTarget = in linkAndVerify() local
655 if (!TheTarget) in linkAndVerify()
661 TheTarget->createMCSubtargetInfo(TripleName, MCPU, "")); in linkAndVerify()
665 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in linkAndVerify()
669 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in linkAndVerify()
676 TheTarget->createMCDisassembler(*STI, Ctx)); in linkAndVerify()
680 std::unique_ptr<MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in linkAndVerify()
683 TheTarget->createMCInstPrinter(Triple(TripleName), 0, *MAI, *MII, *MRI)); in linkAndVerify()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCAsmBackend.cpp77 const Target &TheTarget; member in __anon0682dc0b0111::PPCAsmBackend
80 : MCAsmBackend(Endian), TheTarget(T) {} in PPCAsmBackend()
192 StringRef Name = TheTarget.getName(); in getPointerSize()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcAsmBackend.cpp120 const Target &TheTarget; member in __anon1d6d8fda0111::SparcAsmBackend
127 TheTarget(T), Is64Bit(StringRef(TheTarget.getName()) == "sparcv9") {} in SparcAsmBackend()
/freebsd-12.1/contrib/llvm/tools/llc/
H A Dllc.cpp424 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule() local
426 if (!TheTarget) { in compileModule()
454 std::unique_ptr<TargetMachine> Target(TheTarget->createTargetMachine( in compileModule()
472 GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]); in compileModule()
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiTargetMachine.h33 LanaiTargetMachine(const Target &TheTarget, const Triple &TargetTriple,
/freebsd-12.1/contrib/llvm/include/llvm/Target/
H A DTargetMachine.h66 const Target &TheTarget; variable
103 const Target &getTarget() const { return TheTarget; } in getTarget()
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp450 if (!TheTarget) { in getTarget()
459 return TheTarget; in getTarget()
1327 const Target *TheTarget = getTarget(Obj); in disassembleObject() local
1336 TheTarget->createMCRegInfo(TripleName)); in disassembleObject()
1343 TheTarget->createMCAsmInfo(*MRI, TripleName)); in disassembleObject()
1362 TheTarget->createMCDisassembler(*STI, Ctx)); in disassembleObject()
1368 TheTarget->createMCInstrAnalysis(MII.get())); in disassembleObject()
1371 std::unique_ptr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in disassembleObject()
1382 SourcePrinter SP(Obj, TheTarget->getName()); in disassembleObject()
1508 TheTarget->createMCRelocationInfo(TripleName, Ctx)); in disassembleObject()
[all …]
H A DMachODump.cpp163 if (TheTarget && ThumbTripleName.empty()) in GetTarget()
164 return TheTarget; in GetTarget()
168 return TheTarget; in GetTarget()
171 if (!TheTarget) in GetTarget()
6827 if (!TheTarget) { in DisassembleMachO()
6853 TheTarget->createMCRegInfo(TripleName)); in DisassembleMachO()
6855 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleMachO()
6860 TheTarget->createMCDisassembler(*STI, Ctx)); in DisassembleMachO()
6864 TheTarget->createMCRelocationInfo(TripleName, Ctx)); in DisassembleMachO()
6866 Symbolizer.reset(TheTarget->createMCSymbolizer( in DisassembleMachO()
[all …]
/freebsd-12.1/contrib/llvm/tools/opt/
H A Dopt.cpp408 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in GetTargetMachine() local
411 if (!TheTarget) { in GetTargetMachine()
415 return TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, in GetTargetMachine()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetMachine.cpp38 : TheTarget(T), DL(DataLayoutString), TargetTriple(TT), TargetCPU(CPU), in TargetMachine()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DThinLTOCodeGenerator.cpp528 const Target *TheTarget = in create() local
530 if (!TheTarget) { in create()
540 TheTarget->createTargetMachine(TheTriple.str(), MCpu, FeatureStr, Options, in create()
H A DLTOBackend.cpp127 createTargetMachine(Config &Conf, const Target *TheTarget, Module &M) { in createTargetMachine() argument
147 return std::unique_ptr<TargetMachine>(TheTarget->createTargetMachine( in createTargetMachine()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp727 const llvm::Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); in CreateTargetMachine() local
728 if (!TheTarget) { in CreateTargetMachine()
742 TM.reset(TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, in CreateTargetMachine()

12