Home
last modified time | relevance | path

Searched refs:pTriple (Results 1 – 22 of 22) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
DTarget.cpp27 unsigned int Target::getTripleQuality(const llvm::Triple& pTriple) const { in getTripleQuality()
30 return TripleMatchQualityFn(pTriple); in getTripleQuality()
33 MCLDTargetMachine* Target::createTargetMachine(const std::string& pTriple, in createTargetMachine() argument
38 return TargetMachineCtorFn(pTarget, *this, pTM, pTriple); in createTargetMachine()
42 MCLinker* Target::createMCLinker(const std::string& pTriple, in createMCLinker() argument
48 return MCLinkerCtorFn(pTriple, pConfig, pModule, pFileHandle); in createMCLinker()
69 const std::string& pTriple) const { in createDiagnosticLineInfo()
72 return DiagnosticLineInfoCtorFn(pTarget, pTriple); in createDiagnosticLineInfo()
DTargetRegistry.cpp27 const Target* TargetRegistry::lookupTarget(const std::string& pTriple, in lookupTarget() argument
34 llvm::Triple triple(pTriple); in lookupTarget()
66 llvm::Triple& pTriple, in lookupTarget() argument
90 pTriple.setArch(type); in lookupTarget()
93 result = lookupTarget(pTriple.getTriple(), error); in lookupTarget()
95 pError = std::string("unable to get target for `") + pTriple.getTriple() + in lookupTarget()
/frameworks/compile/libbcc/lib/Support/
DDisassembler.cpp68 DisassembleResult Disassemble(llvm::raw_ostream &pOutput, const char *pTriple, in Disassemble() argument
85 llvm::TargetRegistry::lookupTarget(pTriple, error); in Disassemble()
89 pTriple, error.c_str()); in Disassemble()
94 target->createMCSubtargetInfo(pTriple, /* CPU */"", /* Features */"");; in Disassemble()
105 mc_reg_info = target->createMCRegInfo(pTriple); in Disassemble()
107 asm_info = target->createMCAsmInfo(pTriple); in Disassemble()
145 "under %s.", i, pFuncName, pTriple); in Disassemble()
151 "of function %s under %s.", i, pFuncName, pTriple); in Disassemble()
186 DisassembleResult Disassemble(OutputFile &pOutput, const char *pTriple, in Disassemble() argument
202 Disassemble(*output, pTriple, pFuncName, pFunc, FuncSize); in Disassemble()
[all …]
DCompilerConfig.cpp50 CompilerConfig::CompilerConfig(const std::string &pTriple) in CompilerConfig() argument
51 : mTriple(pTriple), mFullPrecision(true), mTarget(nullptr) { in CompilerConfig()
/frameworks/compile/mclinker/lib/Core/
DTargetOptions.cpp24 TargetOptions::TargetOptions(const std::string& pTriple) in TargetOptions() argument
25 : m_Triple(pTriple), in TargetOptions()
36 void TargetOptions::setTriple(const llvm::Triple& pTriple) { in setTriple() argument
37 m_Triple = pTriple; in setTriple()
40 void TargetOptions::setTriple(const std::string& pTriple) { in setTriple() argument
41 m_Triple.setTriple(pTriple); in setTriple()
/frameworks/compile/mclinker/include/mcld/Support/
DTarget.h39 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple);
46 typedef MCLinker* (*MCLinkerCtorTy)(const std::string& pTriple,
64 unsigned int getTripleQuality(const llvm::Triple& pTriple) const;
67 MCLDTargetMachine* createTargetMachine(const std::string& pTriple,
72 MCLinker* createMCLinker(const std::string& pTriple,
87 const std::string& pTriple) const;
DTargetRegistry.h95 static const mcld::Target* lookupTarget(const std::string& pTriple,
107 llvm::Triple& pTriple,
133 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) { in getTripleMatchQuality()
134 if (pTriple.getArch() == TargetArchType) in getTripleMatchQuality()
/frameworks/compile/mclinker/lib/Target/X86/
DX86GNUInfo.h19 explicit X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_32GNUInfo() argument
32 explicit X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in X86_64GNUInfo() argument
DX86Diagnostic.cpp18 const std::string& pTriple) { in createX86DiagLineInfo() argument
/frameworks/compile/mclinker/include/mcld/
DTargetOptions.h29 explicit TargetOptions(const std::string& pTriple);
35 void setTriple(const std::string& pTriple);
37 void setTriple(const llvm::Triple& pTriple);
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64GNUInfo.h19 explicit AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in AArch64GNUInfo() argument
DAArch64Diagnostic.cpp19 const std::string& pTriple) { in createAArch64DiagLineInfo() argument
/frameworks/compile/mclinker/lib/Target/
DGNUInfo.cpp16 GNUInfo::GNUInfo(const llvm::Triple& pTriple) : m_Triple(pTriple) { in GNUInfo() argument
/frameworks/compile/mclinker/lib/Target/ARM/
DARMGNUInfo.h19 explicit ARMGNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) {} in ARMGNUInfo() argument
DARMDiagnostic.cpp18 const std::string& pTriple) { in createARMDiagLineInfo() argument
/frameworks/compile/libbcc/include/bcc/Support/
DDisassembler.h42 DisassembleResult Disassemble(llvm::raw_ostream &pOutput, const char *pTriple,
46 DisassembleResult Disassemble(OutputFile &pOutput, const char *pTriple,
DCompilerConfig.h120 CompilerConfig(const std::string &pTriple);
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGNUInfo.cpp16 MipsGNUInfo::MipsGNUInfo(const llvm::Triple& pTriple) in MipsGNUInfo() argument
17 : GNUInfo(pTriple), m_ABIVersion(0), m_ElfFlags(0) { in MipsGNUInfo()
DMipsDiagnostic.cpp20 const std::string& pTriple) { in createMipsDiagLineInfo() argument
DMipsGNUInfo.h18 explicit MipsGNUInfo(const llvm::Triple& pTriple);
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonDiagnostic.cpp20 const std::string& pTriple) { in createHexagonDiagLineInfo() argument
/frameworks/compile/mclinker/include/mcld/Target/
DGNUInfo.h21 explicit GNUInfo(const llvm::Triple& pTriple);