Searched refs:llvm (Results 176 - 200 of 375) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/include/mcld/
H A DLinkerScript.h20 #include <llvm/ADT/StringRef.h>
21 #include <llvm/ADT/SmallVector.h>
35 typedef HashTable<StringEntry<llvm::StringRef>,
37 StringEntryFactory<llvm::StringRef> > SymbolRenameMap;
47 typedef llvm::SmallVector<std::string, 8> DefSyms;
/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp34 llvm::Triple triple(pTriple);
66 llvm::Triple& pTriple,
87 llvm::Triple::ArchType type =
88 llvm::Triple::getArchTypeForLLVMName(pArchName);
89 if (llvm::Triple::UnknownArch != type)
/frameworks/compile/mclinker/lib/Target/ARM/
H A DTHMToARMStub.cpp17 #include <llvm/Support/ELF.h>
45 addFixup(12u, -4, llvm::ELF::R_ARM_REL32);
49 addFixup(8u, 0x0, llvm::ELF::R_ARM_ABS32);
77 case llvm::ELF::R_ARM_THM_CALL: {
97 case llvm::ELF::R_ARM_THM_JUMP24: {
H A DTHMToTHMStub.cpp17 #include <llvm/Support/ELF.h>
47 addFixup(16u, 0x0, llvm::ELF::R_ARM_REL32);
51 addFixup(12u, 0x0, llvm::ELF::R_ARM_ABS32);
79 case llvm::ELF::R_ARM_THM_CALL:
80 case llvm::ELF::R_ARM_THM_JUMP24: {
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOTPLT.cpp16 #include <llvm/Support/Casting.h>
37 llvm::cast<X86_32GOTEntry>(*(m_SectionData->getFragmentList().begin()))
49 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6);
70 llvm::cast<X86_64GOTEntry>(*(m_SectionData->getFragmentList().begin()))
82 llvm::cast<X86_64GOTEntry>(*it).setValue(plt_addr + 6);
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp33 #include <llvm/Support/Casting.h>
34 #include <llvm/Support/ELF.h>
35 #include <llvm/Support/Errc.h>
36 #include <llvm/Support/ErrorHandling.h>
85 llvm::errs() << "WARNING: unsupported section kind: " << section->kind()
149 if (llvm::ELF::PT_LOAD == (*seg)->type()) {
180 return llvm::make_error_code(llvm::errc::function_not_supported);
214 memcpy(header->e_ident, llvm::ELF::ElfMagic, llvm
[all...]
H A DELFObjectReader.cpp22 #include <llvm/Support/ELF.h>
23 #include <llvm/ADT/Twine.h>
24 #include <llvm/ADT/StringRef.h>
71 llvm::StringRef region =
100 llvm::StringRef region =
137 llvm::StringRef region = pInput.memArea()->request(
139 const llvm::ELF::Elf32_Word* value =
140 reinterpret_cast<const llvm::ELF::Elf32_Word*>(region.begin());
142 size_t size = region.size() / sizeof(llvm::ELF::Elf32_Word);
143 if (llvm
[all...]
H A DMergedStringTable.cpp13 bool MergedStringTable::insertString(llvm::StringRef pString) {
37 size_t MergedStringTable::getOutputOffset(llvm::StringRef pStr) {
H A DRelocData.cpp13 #include <llvm/Support/ManagedStatic.h>
19 static llvm::ManagedStatic<RelocDataFactory> g_RelocDataFactory;
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.h11 #include <llvm/Support/ELF.h>
147 void emitSymbol32(llvm::ELF::Elf32_Sym& pSym32,
170 bool readRelocation(const llvm::ELF::Elf32_Rel& pRel,
176 bool readRelocation(const llvm::ELF::Elf32_Rela& pRel,
183 bool readRelocation(const llvm::ELF::Elf64_Rel& pRel,
189 bool readRelocation(const llvm::ELF::Elf64_Rela& pRel,
196 void emitRelocation(llvm::ELF::Elf32_Rel& pRel,
202 void emitRelocation(llvm::ELF::Elf32_Rela& pRel,
209 void emitRelocation(llvm::ELF::Elf64_Rel& pRel,
215 void emitRelocation(llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
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;
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReaderIf.h16 #include <llvm/ADT/StringRef.h>
17 #include <llvm/Support/ELF.h>
18 #include <llvm/Support/Host.h>
65 llvm::StringRef pRegion,
77 llvm::StringRef pRegion) const = 0;
82 llvm::StringRef pRegion) const = 0;
/frameworks/compile/mclinker/lib/Support/Unix/
H A DSystem.inc9 #include <llvm/ADT/StringRef.h>
37 llvm::StringRef TargetTripleString(MCLD_DEFAULT_TARGET_TRIPLE);
38 std::pair<llvm::StringRef, llvm::StringRef> ArchSplit =
/frameworks/compile/mclinker/lib/Target/
H A DELFAttribute.cpp23 #include <llvm/ADT/STLExtras.h>
24 #include <llvm/Support/Host.h>
34 llvm::DeleteContainerPointers(m_Subsections);
49 (!llvm::isa<RegionFragment>(sect_data->front()))) {
54 llvm::cast<RegionFragment>(sect_data->front());
56 llvm::StringRef region = region_frag.getRegion();
83 if (llvm::sys::IsLittleEndianHost != m_Config.targets().isLittleEndian())
127 for (llvm::SmallVectorImpl<Subsection*>::const_iterator
146 for (llvm::SmallVectorImpl<Subsection*>::const_iterator
166 llvm
[all...]
/frameworks/compile/slang/
H A Dslang.h26 #include "llvm/ADT/StringMap.h"
31 // Terrible workaround for TargetOptions.h not using llvm::RefCountedBase!
32 #include "llvm/ADT/IntrusiveRefCntPtr.h"
33 using llvm::RefCountedBase;
40 #include "llvm/ADT/StringRef.h"
42 #include "llvm/Target/TargetMachine.h"
47 namespace llvm { namespace
75 llvm::LLVMContext &getGlobalLLVMContext();
132 llvm::IntrusiveRefCntPtr<clang::HeaderSearchOptions> mHSOpts;
135 llvm
[all...]
/frameworks/compile/libbcc/lib/
H A DBCCContext.cpp61 llvm::LLVMContext &BCCContext::getLLVMContext()
64 const llvm::LLVMContext &BCCContext::getLLVMContext() const
/frameworks/compile/mclinker/include/mcld/MC/
H A DInputFactory.h27 * \see llvm::sys::Path
39 Input* produce(llvm::StringRef pName,
44 Input* produce(llvm::StringRef pName,
/frameworks/compile/mclinker/include/mcld/Script/
H A DWildcardPattern.h16 #include <llvm/ADT/StringRef.h>
47 llvm::StringRef prefix() const;
/frameworks/compile/mclinker/include/mcld/Support/
H A DMemoryAreaFactory.h16 #include <llvm/ADT/StringMap.h>
63 llvm::StringMap<MemoryArea*> m_AreaMap;
/frameworks/compile/mclinker/lib/MC/
H A DInputFactory.cpp33 Input* InputFactory::produce(llvm::StringRef pName,
42 Input* InputFactory::produce(llvm::StringRef pName,
/frameworks/compile/mclinker/lib/Script/
H A DFileToken.cpp13 #include <llvm/Support/ManagedStatic.h>
18 static llvm::ManagedStatic<FileTokenFactory> g_FileTokenFactory;
H A DNameSpec.cpp13 #include <llvm/Support/ManagedStatic.h>
18 static llvm::ManagedStatic<NameSpecFactory> g_NameSpecFactory;
H A DScriptReader.cpp16 #include <llvm/ADT/StringRef.h>
47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
H A DStrToken.cpp13 #include <llvm/Support/ManagedStatic.h>
18 static llvm::ManagedStatic<StrTokenFactory> g_StrTokenFactory;
H A DStringList.cpp15 #include <llvm/Support/ManagedStatic.h>
20 static llvm::ManagedStatic<StringListFactory> g_StringListFactory;

Completed in 2800 milliseconds

1234567891011>>