Lines Matching refs:TheTarget
181 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
344 if (!TheTarget) in AssembleInput()
364 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(TripleName)); in AssembleInput()
367 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in AssembleInput()
395 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in AssembleInput()
397 STI(TheTarget->createMCSubtargetInfo(TripleName, MCPU, FeaturesStr)); in AssembleInput()
402 TheTarget->createMCInstPrinter(OutputAsmVariant, *MAI, *STI); in AssembleInput()
406 CE = TheTarget->createMCCodeEmitter(*MCII, *STI, Ctx); in AssembleInput()
407 MAB = TheTarget->createMCAsmBackend(TripleName); in AssembleInput()
409 Str.reset(TheTarget->createAsmStreamer(Ctx, FOS, /*asmverbose*/true, in AssembleInput()
417 MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *STI, Ctx); in AssembleInput()
418 MCAsmBackend *MAB = TheTarget->createMCAsmBackend(TripleName); in AssembleInput()
419 Str.reset(TheTarget->createMCObjectStreamer(TripleName, Ctx, *MAB, in AssembleInput()
430 OwningPtr<MCTargetAsmParser> TAP(TheTarget->createMCAsmParser(*STI, *Parser)); in AssembleInput()
449 const Target *TheTarget = GetTarget(ProgName); in DisassembleInput() local
450 if (!TheTarget) in DisassembleInput()
477 Res = Disassembler::disassemble(*TheTarget, TripleName, MCPU, FeaturesStr, in DisassembleInput()