Home
last modified time | relevance | path

Searched refs:mcld (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/frameworks/compile/mclinker/tools/mcld/
Dmain.cpp38 mcld::Module& pModule, in ConfigLinker()
39 mcld::LinkerScript& pScript, in ConfigLinker()
40 mcld::LinkerConfig& pConfig, in ConfigLinker()
41 mcld::IRBuilder& pBuilder, in ConfigLinker()
42 std::vector<mcld::InputAction*>& pInputActions) in ConfigLinker()
44 mcld::PreferenceOptions preference; in ConfigLinker()
45 mcld::TripleOptions triple; in ConfigLinker()
46 mcld::DynamicSectionOptions dynamic_section; in ConfigLinker()
47 mcld::OutputFormatOptions output_format; in ConfigLinker()
48 mcld::SearchPathOptions search_path; in ConfigLinker()
[all …]
/frameworks/compile/mclinker/lib/Script/
DOutputSectDesc.cpp20 using namespace mcld;
43 mcld::outs() << m_Name << "\t"; in dump()
47 mcld::outs() << "\t"; in dump()
52 mcld::outs() << "(NOLOAD)"; in dump()
55 mcld::outs() << "(DSECT)"; in dump()
58 mcld::outs() << "(COPY)"; in dump()
61 mcld::outs() << "(INFO)"; in dump()
64 mcld::outs() << "(OVERLAY)"; in dump()
69 mcld::outs() << ":\n"; in dump()
72 mcld::outs() << "\tAT ( "; in dump()
[all …]
DInputSectDesc.cpp16 using namespace mcld;
38 mcld::outs() << "KEEP ("; in dump()
42 mcld::outs() << "SORT ("; in dump()
44 mcld::outs() << m_Spec.file().name(); in dump()
47 mcld::outs() << "("; in dump()
50 mcld::outs() << "EXCLUDE_FILE ("; in dump()
53 mcld::outs() << (*it)->name() << " "; in dump()
55 mcld::outs() << ")"; in dump()
66 mcld::outs() << "SORT ("; in dump()
69 mcld::outs() << "SORT_BY_ALIGNMENT ("; in dump()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DMsgHandling.h13 namespace mcld {
41 inline mcld::MsgHandler mcld::unreachable(unsigned int pID) in unreachable()
46 inline mcld::MsgHandler mcld::fatal(unsigned int pID) in fatal()
51 inline mcld::MsgHandler mcld::error(unsigned int pID) in error()
56 inline mcld::MsgHandler mcld::warning(unsigned int pID) in warning()
61 inline mcld::MsgHandler mcld::debug(unsigned int pID) in debug()
66 inline mcld::MsgHandler mcld::note(unsigned int pID) in note()
71 inline mcld::MsgHandler mcld::ignore(unsigned int pID) in ignore()
DTargetRegistry.h24 namespace mcld {
32 typedef std::list<mcld::Target*> TargetListTy;
62 static void RegisterTargetMachine(mcld::Target &T, mcld::Target::TargetMachineCtorTy Fn) in RegisterTargetMachine()
74 static void RegisterMCLinker(mcld::Target &T, mcld::Target::MCLinkerCtorTy Fn) in RegisterMCLinker()
85 static void RegisterEmulation(mcld::Target &T, mcld::Target::EmulationFnTy Fn) in RegisterEmulation()
96 static void RegisterTargetLDBackend(mcld::Target &T, mcld::Target::TargetLDBackendCtorTy Fn) in RegisterTargetLDBackend()
108 RegisterDiagnosticLineInfo(mcld::Target &T, in RegisterDiagnosticLineInfo()
109 mcld::Target::DiagnosticLineInfoCtorTy Fn) in RegisterDiagnosticLineInfo()
119 static const mcld::Target *lookupTarget(const std::string& pTriple,
130 static const mcld::Target *lookupTarget(const std::string& pArchName,
[all …]
/frameworks/compile/mclinker/lib/Support/
Draw_ostream.cpp33 using namespace mcld;
38 mcld::raw_fd_ostream::raw_fd_ostream(const char *pFilename, in raw_fd_ostream()
46 mcld::raw_fd_ostream::raw_fd_ostream(int pFD, in raw_fd_ostream()
54 mcld::raw_fd_ostream::~raw_fd_ostream() in ~raw_fd_ostream()
58 void mcld::raw_fd_ostream::setColor(bool pEnable) in setColor()
65 mcld::raw_fd_ostream::changeColor(enum llvm::raw_ostream::Colors pColor, in changeColor()
74 llvm::raw_ostream& mcld::raw_fd_ostream::resetColor() in resetColor()
81 llvm::raw_ostream& mcld::raw_fd_ostream::reverseColor() in reverseColor()
88 bool mcld::raw_fd_ostream::is_displayed() const in is_displayed()
99 mcld::raw_fd_ostream& mcld::outs() { in outs()
[all …]
DMsgHandling.cpp23 using namespace mcld;
31 mcld::InitializeDiagnosticEngine(const mcld::LinkerConfig& pConfig, in InitializeDiagnosticEngine()
38 DiagnosticPrinter* printer = new TextDiagnosticPrinter(mcld::errs(), pConfig); in InitializeDiagnosticEngine()
43 DiagnosticEngine& mcld::getDiagnosticEngine() in getDiagnosticEngine()
48 bool mcld::Diagnose() in Diagnose()
61 void mcld::FinalizeDiagnosticEngine() in FinalizeDiagnosticEngine()
DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path &pPath) in exists()
18 mcld::sys::fs::FileStatus file_status; in exists()
19 mcld::sys::fs::detail::status(pPath, file_status); in exists()
20 return (file_status.type() != mcld::sys::fs::StatusError) && in exists()
21 (file_status.type() != mcld::sys::fs::FileNotFound); in exists()
24 bool mcld::sys::fs::is_directory(const Path &pPath) in is_directory()
28 return (file_status.type() == mcld::sys::fs::DirectoryFile); in is_directory()
DCommandLine.cpp19 using namespace mcld;
63 bool parser<mcld::sys::fs::Path>::parse(llvm::cl::Option &O, in parse()
66 mcld::sys::fs::Path &Val) in parse()
72 void parser<mcld::sys::fs::Path>::printOptionDiff(const llvm::cl::Option &O, in printOptionDiff()
73 const mcld::sys::fs::Path &V, in printOptionDiff()
74 parser<mcld::sys::fs::Path>::OptVal Default, in printOptionDiff()
89 void parser<mcld::sys::fs::Path>::anchor() in anchor()
97 bool parser<mcld::ZOption>::parse(llvm::cl::Option &O, in parse()
100 mcld::ZOption &Val) in parse()
160 void parser<mcld::ZOption>::printOptionDiff(const llvm::cl::Option &O, in printOptionDiff()
[all …]
/frameworks/compile/mclinker/tools/mcld/lib/
DOutputFormatOptions.cpp15 llvm::cl::opt<mcld::sys::fs::Path,
17 llvm::cl::parser<mcld::sys::fs::Path> > ArgOutputFilename("o",
25 llvm::cl::opt<mcld::LinkerConfig::CodeGenType> ArgFileType("filetype",
26 llvm::cl::init(mcld::LinkerConfig::Exec),
30 clEnumValN(mcld::LinkerConfig::Object, "obj",
32 clEnumValN(mcld::LinkerConfig::DynObj, "dso",
34 clEnumValN(mcld::LinkerConfig::Exec, "exe",
36 clEnumValN(mcld::LinkerConfig::Binary, "bin",
38 clEnumValN(mcld::LinkerConfig::External, "null",
42 llvm::cl::opt<mcld::LinkerConfig::CodeGenType> ArgOFormat("oformat",
[all …]
/frameworks/compile/mclinker/unittests/
DELFReaderTest.h21 namespace mcld {
44 mcld::Input* m_pInput;
45 mcld::LinkerConfig* m_pConfig;
46 mcld::LinkerScript* m_pScript;
47 mcld::GNUInfo* m_pInfo;
48 mcld::GNULDBackend* m_pLDBackend;
49 mcld::ELFReaderIF* m_pELFReader;
50 mcld::Module* m_pModule;
51 mcld::IRBuilder* m_pIRBuilder;
52 mcld::ELFObjectReader* m_pELFObjReader;
DInputTreeTest.h16 namespace mcld {
46 mcld::LinkerConfig* m_pConfig;
48 mcld::InputFactory* m_pAlloc;
49 mcld::InputBuilder* m_pBuilder;
50 mcld::MemoryAreaFactory m_MemFactory;
51 mcld::ContextFactory m_ContextFactory;
53 mcld::InputTree* m_pTestee;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsMCLinker.cpp20 mcld::MCLinker* createMipsMCLinker(const std::string &pTriple, in createMipsMCLinker()
21 mcld::LinkerConfig& pConfig, in createMipsMCLinker()
22 mcld::Module& pModule, in createMipsMCLinker()
23 mcld::FileHandle& pFileHandle) in createMipsMCLinker()
35 return new mcld::MipsELFMCLinker(pConfig, pModule, pFileHandle); in createMipsMCLinker()
44 mcld::TargetRegistry::RegisterMCLinker(mcld::TheMipselTarget, in MCLDInitializeMipsMCLinker()
46 mcld::TargetRegistry::RegisterMCLinker(mcld::TheMips64elTarget, in MCLDInitializeMipsMCLinker()
DMipsDiagnostic.cpp19 mcld::DiagnosticLineInfo* createMipsDiagLineInfo(const mcld::Target& pTarget, in createMipsDiagLineInfo()
22 return new mcld::DWARFLineInfo(); in createMipsDiagLineInfo()
31 mcld::TargetRegistry::RegisterDiagnosticLineInfo(mcld::TheMipselTarget, in MCLDInitializeMipsDiagnosticLineInfo()
33 mcld::TargetRegistry::RegisterDiagnosticLineInfo(mcld::TheMips64elTarget, in MCLDInitializeMipsDiagnosticLineInfo()
DMipsTargetMachine.cpp13 typedef mcld::RegisterTargetMachine<mcld::MipsBaseTargetMachine> RegMipsTarget;
16 RegMipsTarget X1(mcld::TheMipselTarget); in MCLDInitializeMipsLDTarget()
17 RegMipsTarget X2(mcld::TheMips64elTarget); in MCLDInitializeMipsLDTarget()
20 using namespace mcld;
27 const mcld::Target &pMCLDTarget, in MipsBaseTargetMachine()
DMipsEmulation.cpp15 namespace mcld { namespace
65 mcld::TargetRegistry::RegisterEmulation(mcld::TheMipselTarget, in MCLDInitializeMipsEmulation()
66 mcld::emulateMipsLD); in MCLDInitializeMipsEmulation()
67 mcld::TargetRegistry::RegisterEmulation(mcld::TheMips64elTarget, in MCLDInitializeMipsEmulation()
68 mcld::emulateMipsLD); in MCLDInitializeMipsEmulation()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMTargetMachine.cpp14 using namespace mcld;
18 const mcld::Target &pMCLDTarget, in ARMBaseTargetMachine()
28 mcld::RegisterTargetMachine<mcld::ARMBaseTargetMachine> X(mcld::TheARMTarget); in MCLDInitializeARMLDTarget()
29 mcld::RegisterTargetMachine<mcld::ARMBaseTargetMachine> Y(mcld::TheThumbTarget); in MCLDInitializeARMLDTarget()
DARMEmulation.cpp15 namespace mcld { namespace
70 mcld::TargetRegistry::RegisterEmulation(mcld::TheARMTarget, mcld::emulateARMLD); in MCLDInitializeARMEmulation()
71 mcld::TargetRegistry::RegisterEmulation(mcld::TheThumbTarget, mcld::emulateARMLD); in MCLDInitializeARMEmulation()
/frameworks/compile/mclinker/lib/Target/X86/
DX86TargetMachine.cpp16 mcld::RegisterTargetMachine<mcld::X86TargetMachine> X(mcld::TheX86_32Target); in MCLDInitializeX86LDTarget()
17 mcld::RegisterTargetMachine<mcld::X86TargetMachine> Y(mcld::TheX86_64Target); in MCLDInitializeX86LDTarget()
20 using namespace mcld;
27 const mcld::Target& pMCLDTarget, in X86TargetMachine()
/frameworks/compile/mclinker/include/mcld/CodeGen/
DTargetMachine.h27 namespace mcld {
56 const mcld::Target& pMCLDTarget,
62 const mcld::Target& getTarget() const;
71 mcld::ToolOutputFile& pOutput,
72 mcld::CodeGenFileType,
74 mcld::Module& pModule,
75 mcld::LinkerConfig& pConfig,
82 mcld::CodeGenFileType,
96 mcld::LinkerConfig& pConfig,
97 mcld::Module& pModule,
[all …]
/frameworks/compile/mclinker/lib/Core/
DLinker.cpp33 using namespace mcld;
110 mcld::outs() << "** name\ttype\tpath\tsize (" << pModule.getInputTree().size() << ")\n"; in normalize()
113 mcld::outs() << counter++ << " * " << (*input)->name(); in normalize()
116 mcld::outs() << "\tarchive\t("; in normalize()
119 mcld::outs() << "\tobject\t("; in normalize()
122 mcld::outs() << "\tshared\t("; in normalize()
125 mcld::outs() << "\tscript\t("; in normalize()
128 mcld::outs() << "\textern\t("; in normalize()
135 mcld::outs() << (*input)->path() << ")\n"; in normalize()
266 case mcld::LinkerConfig::Unknown: in emit()
[all …]
DEnvironment.cpp12 void mcld::Initialize() in Initialize()
19 mcld::InitializeAllTargets(); in Initialize()
20 mcld::InitializeAllEmulations(); in Initialize()
21 mcld::InitializeAllDiagnostics(); in Initialize()
26 void mcld::Finalize() in Finalize()
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
DARMTargetInfo.cpp12 namespace mcld { namespace
14 mcld::Target TheARMTarget;
15 mcld::Target TheThumbTarget;
19 mcld::RegisterTarget<llvm::Triple::arm> X(TheARMTarget, "arm"); in MCLDInitializeARMLDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb"); in MCLDInitializeARMLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/Mips/TargetInfo/
DMipsTargetInfo.cpp12 namespace mcld { namespace
14 mcld::Target TheMipselTarget;
15 mcld::Target TheMips64elTarget;
18 mcld::RegisterTarget<llvm::Triple::mipsel> in MCLDInitializeMipsLDTargetInfo()
20 mcld::RegisterTarget<llvm::Triple::mips64el> in MCLDInitializeMipsLDTargetInfo()
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/
DX86TargetInfo.cpp12 namespace mcld { namespace
14 mcld::Target TheX86_32Target;
15 mcld::Target TheX86_64Target;
19 mcld::RegisterTarget<llvm::Triple::x86> in MCLDInitializeX86LDTargetInfo()
21 mcld::RegisterTarget<llvm::Triple::x86_64> in MCLDInitializeX86LDTargetInfo()

12345678910>>...22