| /freebsd-9-stable/contrib/llvm/lib/Support/ |
| D | TargetRegistry.cpp | 32 const Target *TheTarget = 0; in lookupTarget() local 37 TheTarget = &*it; in lookupTarget() 42 if (!TheTarget) { in lookupTarget() 55 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); in lookupTarget() 56 if (TheTarget == 0) { in lookupTarget() 64 return TheTarget; in lookupTarget() 128 const Target *TheTarget = lookupTarget(sys::getDefaultTargetTriple(), Error); in getClosestTargetForJIT() local 130 if (TheTarget && !TheTarget->hasJIT()) { in getClosestTargetForJIT() 135 return TheTarget; in getClosestTargetForJIT()
|
| /freebsd-9-stable/contrib/llvm/tools/llvm-mc/ |
| D | llvm-mc.cpp | 196 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in GetTarget() local 198 if (!TheTarget) { in GetTarget() 205 return TheTarget; in GetTarget() 320 static int AssembleInput(const char *ProgName, const Target *TheTarget, in AssembleInput() argument 325 OwningPtr<MCTargetAsmParser> TAP(TheTarget->createMCAsmParser(STI, *Parser, MCII)); in AssembleInput() 362 const Target *TheTarget = GetTarget(ProgName); in main() local 363 if (!TheTarget) in main() 382 llvm::OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in main() 385 llvm::OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TripleName)); in main() 423 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in main() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/ExecutionEngine/ |
| D | TargetSelect.cpp | 50 const Target *TheTarget = 0; in selectTarget() local 55 TheTarget = &*it; in selectTarget() 60 if (!TheTarget) { in selectTarget() 74 TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Error); in selectTarget() 75 if (TheTarget == 0) { in selectTarget() 100 TargetMachine *Target = TheTarget->createTargetMachine(TheTriple.getTriple(), in selectTarget()
|
| /freebsd-9-stable/contrib/llvm/lib/MC/MCDisassembler/ |
| D | Disassembler.cpp | 45 const Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); in LLVMCreateDisasmCPU() local 46 if (!TheTarget) in LLVMCreateDisasmCPU() 49 const MCRegisterInfo *MRI = TheTarget->createMCRegInfo(Triple); in LLVMCreateDisasmCPU() 54 const MCAsmInfo *MAI = TheTarget->createMCAsmInfo(*MRI, Triple); in LLVMCreateDisasmCPU() 58 const MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in LLVMCreateDisasmCPU() 65 const MCSubtargetInfo *STI = TheTarget->createMCSubtargetInfo(Triple, CPU, in LLVMCreateDisasmCPU() 76 MCDisassembler *DisAsm = TheTarget->createMCDisassembler(*STI); in LLVMCreateDisasmCPU() 81 TheTarget->createMCRelocationInfo(Triple, *Ctx)); in LLVMCreateDisasmCPU() 86 TheTarget->createMCSymbolizer(Triple, GetOpInfo, SymbolLookUp, DisInfo, in LLVMCreateDisasmCPU() 93 MCInstPrinter *IP = TheTarget->createMCInstPrinter(AsmPrinterVariant, in LLVMCreateDisasmCPU() [all …]
|
| D | Disassembler.h | 61 const Target *TheTarget; variable 96 SymbolLookUp(symbolLookUp), TheTarget(theTarget), in LLVMDisasmContext() 114 const Target *getTarget() const { return TheTarget; } in getTarget()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/tools/driver/ |
| D | cc1as_main.cpp | 268 const Target *TheTarget(TargetRegistry::lookupTarget(Opts.Triple, Error)); in ExecuteAssembler() local 269 if (!TheTarget) { in ExecuteAssembler() 291 OwningPtr<MCRegisterInfo> MRI(TheTarget->createMCRegInfo(Opts.Triple)); in ExecuteAssembler() 294 OwningPtr<MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, Opts.Triple)); in ExecuteAssembler() 332 OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo()); in ExecuteAssembler() 334 STI(TheTarget->createMCSubtargetInfo(Opts.Triple, Opts.CPU, FS)); in ExecuteAssembler() 339 TheTarget->createMCInstPrinter(Opts.OutputAsmVariant, *MAI, *MCII, *MRI, in ExecuteAssembler() 344 CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, *STI, Ctx); in ExecuteAssembler() 345 MAB = TheTarget->createMCAsmBackend(*MRI, Opts.Triple, Opts.CPU); in ExecuteAssembler() 347 Str.reset(TheTarget->createAsmStreamer(Ctx, *Out, /*asmverbose*/true, in ExecuteAssembler() [all …]
|
| /freebsd-9-stable/contrib/llvm/tools/llvm-objdump/ |
| D | MachODump.cpp | 62 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error); in GetTarget() local 63 if (TheTarget) in GetTarget() 64 return TheTarget; in GetTarget() 218 const Target *TheTarget = GetTarget(MachOOF); in DisassembleInputMachO2() local 219 if (!TheTarget) { in DisassembleInputMachO2() 223 OwningPtr<const MCInstrInfo> InstrInfo(TheTarget->createMCInstrInfo()); in DisassembleInputMachO2() 225 InstrAnalysis(TheTarget->createMCInstrAnalysis(InstrInfo.get())); in DisassembleInputMachO2() 228 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in DisassembleInputMachO2() 230 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleInputMachO2() 232 STI(TheTarget->createMCSubtargetInfo(TripleName, "", "")); in DisassembleInputMachO2() [all …]
|
| D | llvm-objdump.cpp | 176 const Target *TheTarget = TargetRegistry::lookupTarget(ArchName, TheTriple, in getTarget() local 178 if (!TheTarget) { in getTarget() 185 return TheTarget; in getTarget() 269 const Target *TheTarget = getTarget(Obj); in DisassembleObject() local 272 if (!TheTarget) in DisassembleObject() 284 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName)); in DisassembleObject() 292 TheTarget->createMCAsmInfo(*MRI, TripleName)); in DisassembleObject() 299 TheTarget->createMCSubtargetInfo(TripleName, "", FeaturesStr)); in DisassembleObject() 305 OwningPtr<const MCInstrInfo> MII(TheTarget->createMCInstrInfo()); in DisassembleObject() 311 OwningPtr<MCDisassembler> DisAsm(TheTarget->createMCDisassembler(*STI)); in DisassembleObject() [all …]
|
| /freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| D | PPCAsmBackend.cpp | 74 const Target &TheTarget; member in __anon972d3ae60111::PPCAsmBackend 76 PPCAsmBackend(const Target &T) : MCAsmBackend(), TheTarget(T) {} in PPCAsmBackend() 150 StringRef Name = TheTarget.getName(); in getPointerSize()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/Sparc/MCTargetDesc/ |
| D | SparcAsmBackend.cpp | 93 const Target &TheTarget; member in __anonae17eeb50111::SparcAsmBackend 95 SparcAsmBackend(const Target &T) : MCAsmBackend(), TheTarget(T) {} in SparcAsmBackend() 206 StringRef name = TheTarget.getName(); in is64Bit()
|
| /freebsd-9-stable/contrib/llvm/tools/llc/ |
| D | llc.cpp | 234 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in compileModule() local 236 if (!TheTarget) { in compileModule() 284 target(TheTarget->createTargetMachine(TheTriple.getTriple(), in compileModule() 310 (GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0])); in compileModule()
|
| /freebsd-9-stable/contrib/llvm/include/llvm/Target/ |
| D | TargetMachine.h | 69 const Target &TheTarget; variable 95 const Target &getTarget() const { return TheTarget; } in getTarget()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/Parse/ |
| D | ParseStmt.cpp | 2133 const llvm::Target *TheTarget = 0; in ParseMicrosoftAsmStatement() local 2140 TheTarget = llvm::TargetRegistry::lookupTarget(TT, Error); in ParseMicrosoftAsmStatement() 2141 if (!TheTarget) in ParseMicrosoftAsmStatement() 2147 if (!TheTarget || AsmToks.empty()) { in ParseMicrosoftAsmStatement() 2159 OwningPtr<llvm::MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TT)); in ParseMicrosoftAsmStatement() 2160 OwningPtr<llvm::MCAsmInfo> MAI(TheTarget->createMCAsmInfo(*MRI, TT)); in ParseMicrosoftAsmStatement() 2162 const llvm::MCInstrInfo *MII = TheTarget->createMCInstrInfo(); in ParseMicrosoftAsmStatement() 2165 STI(TheTarget->createMCSubtargetInfo(TT, "", "")); in ParseMicrosoftAsmStatement() 2179 TargetParser(TheTarget->createMCAsmParser(*STI, *Parser, *MII)); in ParseMicrosoftAsmStatement() 2182 TheTarget->createMCInstPrinter(1, *MAI, *MII, *MRI, *STI); in ParseMicrosoftAsmStatement()
|
| /freebsd-9-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
| D | BackendUtil.cpp | 359 const llvm::Target *TheTarget = TargetRegistry::lookupTarget(Triple, Error); in CreateTargetMachine() local 360 if (!TheTarget) { in CreateTargetMachine() 487 TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, in CreateTargetMachine()
|
| /freebsd-9-stable/contrib/llvm/lib/Target/ |
| D | TargetMachine.cpp | 50 : TheTarget(T), TargetTriple(TT), TargetCPU(CPU), TargetFS(FS), in TargetMachine()
|
| /freebsd-9-stable/contrib/llvm/tools/opt/ |
| D | opt.cpp | 554 const Target *TheTarget = TargetRegistry::lookupTarget(MArch, TheTriple, in GetTargetMachine() local 557 if (!TheTarget) { in GetTargetMachine() 570 return TheTarget->createTargetMachine(TheTriple.getTriple(), in GetTargetMachine()
|
| /freebsd-9-stable/contrib/llvm/patches/ |
| D | patch-r262261-llvm-r198580-sparc.diff | 145 + const Target &TheTarget; 148 + SparcAsmBackend(const Target &T) : MCAsmBackend(), TheTarget(T) {} 174 + StringRef name = TheTarget.getName();
|
| /freebsd-9-stable/contrib/llvm/lib/CodeGen/ |
| D | LLVMTargetMachine.cpp | 66 AsmInfo = TheTarget.createMCAsmInfo(*getRegisterInfo(), TargetTriple); in initAsmInfo()
|