Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc-assemble-fuzzer/
Dllvm-mc-assemble-fuzzer.cpp105 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
115 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
149 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in AssembleOneInput() local
151 if (!TheTarget) { in AssembleOneInput()
158 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleOneInput()
164 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in AssembleOneInput()
178 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in AssembleOneInput()
179 MCInstPrinter *IP = TheTarget->createMCInstPrinter(Triple(TripleName), OutputAsmVariant, in AssembleOneInput()
192 TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleOneInput()
205 Str.reset(TheTarget->createAsmStreamer(Ctx, std::move(FOut), AsmVerbose, in AssembleOneInput()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mc/
Dllvm-mc.cpp197 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() local
199 if (!TheTarget) { in GetTarget()
206 return TheTarget; in GetTarget()
276 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
283 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
322 const Target *TheTarget = GetTarget(ProgName); in main() local
323 if (!TheTarget) in main()
347 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
350 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
442 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
[all …]
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp204 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() local
206 if (!TheTarget) { in GetTarget()
213 return TheTarget; in GetTarget()
348 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument
355 TheTarget->createMCAsmParser(STI, *Parser, MCII, MCOptions)); in AssembleInput()
397 const Target *TheTarget = GetTarget(ProgName); in main() local
398 if (!TheTarget) in main()
421 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
424 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
489 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCDisassembler/
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 …]
DDisassembler.h61 const Target *TheTarget; variable
94 GetOpInfo(getOpInfo), SymbolLookUp(symbolLookUp), TheTarget(theTarget), in LLVMDisasmContext()
111 const Target *getTarget() const { return TheTarget; } in getTarget()
/external/llvm/lib/MC/MCDisassembler/
DDisassembler.cpp42 const Target *TheTarget = TargetRegistry::lookupTarget(TT, Error); in LLVMCreateDisasmCPUFeatures() local
43 if (!TheTarget) in LLVMCreateDisasmCPUFeatures()
46 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TT); in LLVMCreateDisasmCPUFeatures()
51 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, TT); in LLVMCreateDisasmCPUFeatures()
55 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPUFeatures()
60 TheTarget->createMCSubtargetInfo(TT, CPU, Features); in LLVMCreateDisasmCPUFeatures()
70 MCDisassembler *DisAsm = TheTarget->createMCDisassembler(*STI, *Ctx); in LLVMCreateDisasmCPUFeatures()
75 TheTarget->createMCRelocationInfo(TT, *Ctx)); in LLVMCreateDisasmCPUFeatures()
79 std::unique_ptr<MCSymbolizer> Symbolizer(TheTarget->createMCSymbolizer( in LLVMCreateDisasmCPUFeatures()
85 MCInstPrinter *IP = TheTarget->createMCInstPrinter( in LLVMCreateDisasmCPUFeatures()
[all …]
DDisassembler.h61 const Target *TheTarget; variable
94 GetOpInfo(getOpInfo), SymbolLookUp(symbolLookUp), TheTarget(theTarget), in LLVMDisasmContext()
111 const Target *getTarget() const { return TheTarget; } in getTarget()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp49 const Target *TheTarget = nullptr; in selectTarget() local
62 TheTarget = &*I; in selectTarget()
71 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
72 if (!TheTarget) { in selectTarget()
96 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
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()
/external/clang/tools/driver/
Dcc1as_main.cpp286 const Target *TheTarget = TargetRegistry::lookupTarget(Opts.Triple, Error); in ExecuteAssembler() local
287 if (!TheTarget) in ExecuteAssembler()
307 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssembler()
310 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, Opts.Triple)); in ExecuteAssembler()
367 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssembler()
369 TheTarget->createMCSubtargetInfo(Opts.Triple, Opts.CPU, FS)); in ExecuteAssembler()
376 MCInstPrinter *IP = TheTarget->createMCInstPrinter( in ExecuteAssembler()
381 CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx); in ExecuteAssembler()
382 MAB = TheTarget->createMCAsmBackend(*MRI, Opts.Triple, Opts.CPU); in ExecuteAssembler()
385 Str.reset(TheTarget->createAsmStreamer( in ExecuteAssembler()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/
Dllvm-mca.cpp190 const Target *TheTarget = in getTarget() local
192 if (!TheTarget) { in getTarget()
198 return TheTarget; in getTarget()
240 const Target *TheTarget, MCSubtargetInfo &STI, in AssembleInput() argument
243 TheTarget->createMCAsmParser(STI, Parser, MCII, MCOptions)); in AssembleInput()
352 const Target *TheTarget = getTarget(ProgName); in main() local
353 if (!TheTarget) in main()
375 std::unique_ptr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main()
378 std::unique_ptr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main()
390 std::unique_ptr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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()
/external/llvm/lib/Support/
DTargetRegistry.cpp31 const Target *TheTarget = nullptr; in lookupTarget() local
42 TheTarget = &*I; in lookupTarget()
52 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget()
53 if (!TheTarget) { in lookupTarget()
61 return TheTarget; in lookupTarget()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/MC/
DDwarfLineTables.cpp36 const Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); in Context() local
37 if (!TheTarget) in Context()
40 MRI.reset(TheTarget->createMCRegInfo(Triple)); in Context()
41 MAI.reset(TheTarget->createMCAsmInfo(*MRI, Triple)); in Context()
/external/llvm/unittests/MC/
DDwarfLineTables.cpp36 const Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); in Context() local
37 if (!TheTarget) in Context()
40 MRI.reset(TheTarget->createMCRegInfo(Triple)); in Context()
41 MAI.reset(TheTarget->createMCAsmInfo(*MRI, Triple)); in Context()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DDwarfStreamer.cpp50 const Target *TheTarget = in init() local
52 if (!TheTarget) in init()
57 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
61 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init()
69 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
74 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
78 MII.reset(TheTarget->createMCInstrInfo()); in init()
82 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init()
88 MIP = TheTarget->createMCInstPrinter(TheTriple, MAI->getAssemblerDialect(), in init()
90 MS = TheTarget->createAsmStreamer( in init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DLlvmState.cpp26 const llvm::Target *const TheTarget = in LLVMState() local
28 assert(TheTarget && "unknown target for host"); in LLVMState()
31 TheTarget->createTargetMachine(Triple, CpuName, /*Features*/ "", Options, in LLVMState()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.cpp394 const Target *TheTarget = in init() local
396 if (!TheTarget) in init()
402 MRI.reset(TheTarget->createMCRegInfo(TripleName)); in init()
408 MAI.reset(TheTarget->createMCAsmInfo(*MRI, TripleName)); in init()
413 MSTI.reset(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in init()
419 MAB = TheTarget->createMCAsmBackend(*MSTI, *MRI, MCOptions); in init()
424 MII.reset(TheTarget->createMCInstrInfo()); in init()
430 TM.reset(TheTarget->createTargetMachine(TripleName, "", "", TargetOptions(), in init()
440 MCE = TheTarget->createMCCodeEmitter(*MII, *MRI, *MC); in init()
447 MS = TheTarget->createMCObjectStreamer( in init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/X86/
DAnalysisTest.cpp22 const llvm::Target *const TheTarget = in AnalysisTest() local
24 if (!TheTarget) { in AnalysisTest()
28 STI.reset(TheTarget->createMCSubtargetInfo(TT, "haswell", "")); in AnalysisTest()
DRegisterAliasingTest.cpp20 const llvm::Target *const TheTarget = in RegisterAliasingTest() local
22 if (!TheTarget) { in RegisterAliasingTest()
26 MCRegInfo.reset(TheTarget->createMCRegInfo(TT)); in RegisterAliasingTest()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/tools/llvm-exegesis/Common/
DAssemblerUtils.h59 const llvm::Target *TheTarget = in createTargetMachine() local
61 EXPECT_TRUE(TheTarget) << Error << " " << TT; in createTargetMachine()
63 llvm::TargetMachine *TM = TheTarget->createTargetMachine( in createTargetMachine()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcAsmBackend.cpp102 const Target &TheTarget; member in __anon37742e620111::SparcAsmBackend
108 : MCAsmBackend(), TheTarget(T), in SparcAsmBackend()
109 IsLittleEndian(StringRef(TheTarget.getName()) == "sparcel"), in SparcAsmBackend()
110 Is64Bit(StringRef(TheTarget.getName()) == "sparcv9") {} in SparcAsmBackend()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-isel-fuzzer/
Dllvm-isel-fuzzer.cpp136 const Target *TheTarget = in LLVMFuzzerInitialize() local
138 if (!TheTarget) { in LLVMFuzzerInitialize()
159 TM.reset(TheTarget->createTargetMachine(TheTriple.getTriple(), CPUStr, in LLVMFuzzerInitialize()
/external/clang/lib/Parse/
DParseStmtAsm.cpp533 const llvm::Target *TheTarget = nullptr; in ParseMicrosoftAsmStatement() local
540 TheTarget = llvm::TargetRegistry::lookupTarget(TT, Error); in ParseMicrosoftAsmStatement()
541 if (!TheTarget) in ParseMicrosoftAsmStatement()
549 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement()
565 std::unique_ptr<llvm::MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in ParseMicrosoftAsmStatement()
566 std::unique_ptr<llvm::MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TT)); in ParseMicrosoftAsmStatement()
568 std::unique_ptr<llvm::MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in ParseMicrosoftAsmStatement()
571 TheTarget->createMCSubtargetInfo(TT, TO.CPU, FeaturesStr)); in ParseMicrosoftAsmStatement()
590 TheTarget->createMCAsmParser(*STI, *Parser, *MII, MCOptions)); in ParseMicrosoftAsmStatement()
593 TheTarget->createMCInstPrinter(llvm::Triple(TT), 1, *MAI, *MII, *MRI)); in ParseMicrosoftAsmStatement()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLLVMTargetMachine.cpp43 MRI = TheTarget.createMCRegInfo(getTargetTriple().str()); in initAsmInfo()
44 MII = TheTarget.createMCInstrInfo(); in initAsmInfo()
49 STI = TheTarget.createMCSubtargetInfo(getTargetTriple().str(), getTargetCPU(), in initAsmInfo()
53 TheTarget.createMCAsmInfo(*MRI, getTargetTriple().str()); in initAsmInfo()

123