Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/tools/llvm-mc/
Dllvm-mc.cpp181 const Target *TheTarget = 0; in GetTarget() local
186 TheTarget = &*it; in GetTarget()
191 if (!TheTarget) { in GetTarget()
204 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in GetTarget()
205 if (TheTarget == 0) { in GetTarget()
214 return TheTarget; in GetTarget()
250 const Target *TheTarget = GetTarget(ProgName); in AsLexInput() local
251 if (!TheTarget) in AsLexInput()
254 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AsLexInput()
343 const Target *TheTarget = GetTarget(ProgName); in AssembleInput() local
[all …]
/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/lib/ExecutionEngine/
DTargetSelect.cpp41 const Target *TheTarget = 0; in selectTarget() local
46 TheTarget = &*it; in selectTarget()
51 if (!TheTarget) { in selectTarget()
64 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget()
65 if (TheTarget == 0) { in selectTarget()
72 if (!TheTarget->hasJIT()) { in selectTarget()
88 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
/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/spirv-llvm/lib/SPIRV/libSPIRV/
DSPIRVDecorate.h56 SPIRVEntry *TheTarget);
59 SPIRVEntry *TheTarget, SPIRVWord V);
132 SPIRVDecorate(Decoration TheDec, SPIRVEntry *TheTarget) in SPIRVDecorate() argument
133 :SPIRVDecorateGeneric(OC, 3, TheDec, TheTarget){} in SPIRVDecorate()
135 SPIRVDecorate(Decoration TheDec, SPIRVEntry *TheTarget, SPIRVWord V) in SPIRVDecorate() argument
136 :SPIRVDecorateGeneric(OC, 4, TheDec, TheTarget, V){} in SPIRVDecorate()
152 SPIRVDecorateLinkageAttr(SPIRVEntry *TheTarget, in SPIRVDecorateLinkageAttr() argument
154 :SPIRVDecorate(DecorationLinkageAttributes, TheTarget) { in SPIRVDecorateLinkageAttr()
203 SPIRVEntry *TheTarget) in SPIRVMemberDecorate() argument
204 :SPIRVDecorateGeneric(OC, 4, TheDec, TheTarget), in SPIRVMemberDecorate()
[all …]
DSPIRVDecorate.cpp56 SPIRVEntry *TheTarget) in SPIRVDecorateGeneric() argument
57 : SPIRVAnnotationGeneric(TheTarget->getModule(), WC, OC, in SPIRVDecorateGeneric()
58 TheTarget->getId()), in SPIRVDecorateGeneric()
66 SPIRVEntry *TheTarget, in SPIRVDecorateGeneric() argument
68 : SPIRVAnnotationGeneric(TheTarget->getModule(), WC, OC, in SPIRVDecorateGeneric()
69 TheTarget->getId()), in SPIRVDecorateGeneric()
DSPIRVEntry.h410 SPIRVId TheTarget = SPIRVID_INVALID)
411 : SPIRVEntryNoIdGeneric(TheModule, TheWordCount, OC), Target(TheTarget) {} in SPIRVEntryNoIdGeneric()
427 SPIRVAnnotation(const SPIRVEntry *TheTarget, unsigned TheWordCount) in SPIRVAnnotation() argument
428 : SPIRVAnnotationGeneric(TheTarget->getModule(), TheWordCount, OC, in SPIRVAnnotation()
429 TheTarget->getId()) {} in SPIRVAnnotation()
449 SPIRVName(const SPIRVEntry *TheTarget, const std::string& TheStr);
463 SPIRVMemberName(const SPIRVEntry *TheTarget, SPIRVWord TheMemberNumber, in SPIRVMemberName() argument
465 :SPIRVAnnotation(TheTarget, FixedWC + getSizeInWords(TheStr)), in SPIRVMemberName()
495 SPIRVLine(const SPIRVEntry *TheTarget, SPIRVId TheFileName, SPIRVWord TheLine, in SPIRVLine() argument
497 :SPIRVAnnotation(TheTarget, WC), FileName(TheFileName), Line(TheLine), in SPIRVLine()
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/MCDisassembler/
DDisassembler.cpp46 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in LLVMCreateDisasm() local
47 assert(TheTarget && "Unable to create target!"); in LLVMCreateDisasm()
50 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(TripleName); in LLVMCreateDisasm()
53 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(TripleName); in LLVMCreateDisasm()
60 const MCSubtargetInfo *STI = TheTarget->createMCSubtargetInfo(TripleName, CPU, in LLVMCreateDisasm()
69 MCDisassembler *DisAsm = TheTarget->createMCDisassembler(*STI); in LLVMCreateDisasm()
75 MCInstPrinter *IP = TheTarget->createMCInstPrinter(AsmPrinterVariant, in LLVMCreateDisasm()
81 TheTarget, MAI, MRI, in LLVMCreateDisasm()
/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 …]
/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 …]
/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/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/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/tools/llc/
Dllc.cpp266 const Target *TheTarget = 0; in main() local
271 TheTarget = &*it; in main()
276 if (!TheTarget) { in main()
288 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Err); in main()
289 if (TheTarget == 0) { in main()
307 target(TheTarget->createTargetMachine(TheTriple.getTriple(), in main()
326 (GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); in main()
/external/swiftshader/third_party/LLVM/lib/Support/
DTargetRegistry.cpp87 const Target *TheTarget = lookupTarget(sys::getHostTriple(), Error); in getClosestTargetForJIT() local
89 if (TheTarget && !TheTarget->hasJIT()) { in getClosestTargetForJIT()
94 return TheTarget; in getClosestTargetForJIT()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
Dllvm-objdump.cpp112 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget() local
113 if (TheTarget) in GetTarget()
114 return TheTarget; in GetTarget()
155 const Target *TheTarget = GetTarget(Obj); in DisassembleObject() local
156 if (!TheTarget) { in DisassembleObject()
219 OwningPtr<const MCAsmInfo> AsmInfo(TheTarget->createMCAsmInfo(TripleName)); in DisassembleObject()
227 TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleObject()
235 TheTarget->createMCDisassembler(*STI)); in DisassembleObject()
242 OwningPtr<MCInstPrinter> IP(TheTarget->createMCInstPrinter( in DisassembleObject()
/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/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/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/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/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()

1234