Searched refs:llvm (Results 126 - 150 of 375) sorted by last modified time

1234567891011>>

/frameworks/compile/mclinker/include/mcld/Support/
H A DPath.h18 #include <llvm/Support/raw_ostream.h>
122 inline llvm::raw_ostream& operator<<(llvm::raw_ostream& pOS,
H A DPathCache.h21 typedef HashEntry<llvm::StringRef,
23 hash::StringCompare<llvm::StringRef> > HashEntryType;
H A DSystemUtils.h14 #include <llvm/Support/DataTypes.h>
H A DTarget.h13 namespace llvm { namespace
17 } // namespace llvm
39 typedef unsigned int (*TripleMatchQualityFnTy)(const llvm::Triple& pTriple);
41 typedef MCLDTargetMachine* (*TargetMachineCtorTy)(const llvm::Target&,
43 llvm::TargetMachine&,
64 unsigned int getTripleQuality(const llvm::Triple& pTriple) const;
68 const llvm::Target& pTarget,
69 llvm::TargetMachine& pTM) const;
H A DTargetRegistry.h13 #include <llvm/ADT/Triple.h>
18 namespace llvm { namespace
23 } // namespace llvm
28 * \brief TargetRegistry is an object adapter of llvm::TargetRegistry
107 llvm::Triple& pTriple,
117 /// RegisterTarget<llvm::Foo> X(TheFooTarget, "foo", "Foo description");
119 template <llvm::Triple::ArchType TargetArchType = llvm::Triple::UnknownArch>
133 static unsigned int getTripleMatchQuality(const llvm::Triple& pTriple) {
H A Draw_ostream.h11 #include <llvm/Support/FileSystem.h>
12 #include <llvm/Support/raw_ostream.h>
18 class raw_fd_ostream : public llvm::raw_fd_ostream {
32 llvm::sys::fs::OpenFlags pFlags = llvm::sys::fs::F_None);
42 llvm::raw_ostream& changeColor(enum llvm::raw_ostream::Colors pColors,
46 llvm::raw_ostream& resetColor();
48 llvm::raw_ostream& reverseColor();
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFAttribute.h15 #include <llvm/ADT/SmallVector.h>
16 #include <llvm/ADT/StringRef.h>
84 bool isMyAttribute(llvm::StringRef pVendorName) const {
107 Subsection* getSubsection(llvm::StringRef pVendorName) const;
115 llvm::SmallVector<Subsection*, 2> m_Subsections;
H A DELFDynamic.h14 #include <llvm/Support/ELF.h>
52 typedef llvm::ELF::Elf32_Dyn Pair;
53 typedef llvm::ELF::Elf32_Sym Symbol;
54 typedef llvm::ELF::Elf32_Rel Rel;
55 typedef llvm::ELF::Elf32_Rela Rela;
83 typedef llvm::ELF::Elf64_Dyn Pair;
84 typedef llvm::ELF::Elf64_Sym Symbol;
85 typedef llvm::ELF::Elf64_Rel Rel;
86 typedef llvm::ELF::Elf64_Rela Rela;
H A DGNUInfo.h11 #include <llvm/ADT/Triple.h>
12 #include <llvm/Support/ELF.h>
21 explicit GNUInfo(const llvm::Triple& pTriple);
26 virtual uint8_t ELFVersion() const { return llvm::ELF::EV_CURRENT; }
67 const llvm::Triple& m_Triple;
H A DGNULDBackend.h20 #include <llvm/Support/ELF.h>
200 virtual bool readRelocation(const llvm::ELF::Elf32_Rel& pRel,
206 virtual bool readRelocation(const llvm::ELF::Elf32_Rela& pRel,
213 virtual bool readRelocation(const llvm::ELF::Elf64_Rel& pRel,
219 virtual bool readRelocation(const llvm::ELF::Elf64_Rela& pRel,
226 virtual void emitRelocation(llvm::ELF::Elf32_Rel& pRel,
232 virtual void emitRelocation(llvm::ELF::Elf32_Rela& pRel,
239 virtual void emitRelocation(llvm::ELF::Elf64_Rel& pRel,
245 virtual void emitRelocation(llvm::ELF::Elf64_Rela& pRel,
296 llvm
[all...]
H A DTargetLDBackend.h16 #include <llvm/ADT/StringRef.h>
17 #include <llvm/ADT/ilist.h>
18 #include <llvm/Support/DataTypes.h>
50 typedef llvm::iplist<Relocation, GCFactoryListTraits<Relocation> >
154 virtual llvm::StringRef getEntry(const Module& pModule) const = 0;
/frameworks/compile/mclinker/include/mcld/
H A DTargetOptions.h12 #include <llvm/ADT/Triple.h>
33 const llvm::Triple& triple() const { return m_Triple; }
37 void setTriple(const llvm::Triple& pTriple);
83 llvm::Triple m_Triple;
/frameworks/compile/mclinker/lib/ADT/
H A DStringEntry.cpp14 // StringEntry<llvm::StringRef>
16 StringEntry<llvm::StringRef>::StringEntry() {
19 StringEntry<llvm::StringRef>::StringEntry(const StringEntry::key_type& pKey) {
22 StringEntry<llvm::StringRef>::StringEntry(
23 const StringEntry<llvm::StringRef>& pCopy) {
27 StringEntry<llvm::StringRef>::~StringEntry() {
32 void StringEntry<llvm::StringRef>::setValue(llvm::StringRef pVal) {
35 m_Value = llvm::StringRef(data, pVal.size());
38 void StringEntry<llvm
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp24 #include <llvm/ADT/StringRef.h>
34 if (pFlag & llvm::ELF::SHF_EXCLUDE)
37 if (pFlag & llvm::ELF::SHF_MASKPROC)
41 llvm::StringRef name(pName);
65 case llvm::ELF::SHT_NULL:
67 case llvm::ELF::SHT_INIT_ARRAY:
68 case llvm::ELF::SHT_FINI_ARRAY:
69 case llvm::ELF::SHT_PREINIT_ARRAY:
70 case llvm::ELF::SHT_PROGBITS: {
71 if ((pFlag & llvm
[all...]
H A DLinker.cpp305 // Because llvm::iplist will touch the removed node, we must clear
328 llvm::Triple triple(m_pConfig->targets().triple());
H A DTargetOptions.cpp36 void TargetOptions::setTriple(const llvm::Triple& pTriple) {
/frameworks/compile/mclinker/lib/Fragment/
H A DAlignFragment.cpp12 #include <llvm/Support/MathExtras.h>
35 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment);
H A DFragment.cpp13 #include <llvm/Support/DataTypes.h>
H A DFragmentRef.cpp19 #include <llvm/ADT/StringRef.h>
20 #include <llvm/Support/Casting.h>
21 #include <llvm/Support/ManagedStatic.h>
29 static llvm::ManagedStatic<FragRefFactory> g_FragRefFactory;
H A DRegionFragment.cpp16 RegionFragment::RegionFragment(llvm::StringRef pRegion, SectionData* pSD)
H A DRelocation.cpp19 #include <llvm/Support/ManagedStatic.h>
23 static llvm::ManagedStatic<RelocationFactory> g_RelocationFactory;
/frameworks/compile/mclinker/lib/LD/
H A DArchive.cpp14 #include <llvm/ADT/StringRef.h>
110 bool Archive::addArchiveMember(const llvm::StringRef& pName,
128 bool Archive::hasArchiveMember(const llvm::StringRef& pName) const {
134 const llvm::StringRef& pName) {
H A DDebugString.cpp21 #include <llvm/Support/Casting.h>
22 #include <llvm/Support/ManagedStatic.h>
28 static llvm::ManagedStatic<DebugString> g_DebugString;
42 llvm::StringRef strings;
46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it));
56 m_StringTable.insertString(llvm::StringRef(str, len));
72 llvm::StringRef d_str;
75 llvm::cast<RegionFragment>(info->outSymbol()->fragRef()->frag());
83 m_StringTable.getOutputOffset(llvm::StringRef(str, string_length(str))));
H A DDiagnostic.cpp11 #include <llvm/Support/ErrorHandling.h>
12 #include <llvm/Support/raw_ostream.h>
13 #include <llvm/ADT/Twine.h>
33 llvm::StringRef desc = m_Engine.infoMap().getDescription(getID(), false);
106 llvm::report_fatal_error(
107 llvm::Twine("Mismatched {} in the diagnostic: ") +
108 llvm::Twine(getID()));
115 llvm::report_fatal_error(llvm::Twine("In diagnostic: ") +
116 llvm
[all...]
H A DDiagnosticInfos.cpp16 #include <llvm/ADT/StringRef.h>
17 #include <llvm/Support/DataTypes.h>
33 llvm::StringRef getDescription() const {
34 return llvm::StringRef(DescriptionStr, DescriptionLen);
107 llvm::StringRef DiagnosticInfos::getDescription(unsigned int pID,

Completed in 146 milliseconds

1234567891011>>