Searched refs:llvm (Results 226 - 250 of 340) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.h16 #include <llvm/ADT/DenseMapInfo.h>
135 typedef llvm::DenseMap<const ResolveInfo*, PLTDescriptor> SymPLTMap;
136 typedef llvm::DenseSet<Relocation*> RelocationSet;
137 typedef llvm::DenseMap<const ResolveInfo*, RelocationSet> SymRelocSetMap;
H A DMipsPLT.cpp9 #include <llvm/Support/Casting.h>
10 #include <llvm/Support/ELF.h>
84 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize);
90 plta = &(llvm::cast<MipsPLTA>(*it));
119 PLTEntryBase* plt = &(llvm::cast<PLTEntryBase>(*it));
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOTPLT.h14 #include <llvm/ADT/DenseMap.h>
H A DX86PLT.cpp16 #include <llvm/Support/ELF.h>
17 #include <llvm/Support/Casting.h>
97 PLTEntryBase* plt1 = &(llvm::cast<PLTEntryBase>(*it));
127 PLTEntryBase* plt0 = &(llvm::cast<PLTEntryBase>(*first));
187 plt1 = &(llvm::cast<PLTEntryBase>(*it));
204 PLTRelOffset += sizeof(llvm::ELF::Elf32_Rel);
274 plt1 = &(llvm::cast<PLTEntryBase>(*it));
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrame.h18 #include <llvm/ADT/StringRef.h>
61 explicit Record(llvm::StringRef pRegion);
64 const llvm::StringRef getRegion() const {
67 llvm::StringRef getRegion() { return RegionFragment::getRegion(); }
81 explicit CIE(llvm::StringRef pRegion);
139 FDE(llvm::StringRef pRegion, CIE& pCIE);
153 explicit GeneratedCIE(llvm::StringRef pRegion);
162 GeneratedFDE(llvm::StringRef pRegion, CIE& pCIE);
H A DIdenticalCodeFolding.h12 #include <llvm/ADT/MapVector.h>
34 typedef llvm::MapVector<LDSection*, ObjectAndId> KeptSections;
H A DArchive.h83 typedef HashEntry<const llvm::StringRef,
85 hash::StringCompare<llvm::StringRef> >
157 bool addArchiveMember(const llvm::StringRef& pName,
162 bool hasArchiveMember(const llvm::StringRef& pName) const;
165 ArchiveMember* getArchiveMember(const llvm::StringRef& pName);
/frameworks/compile/mclinker/lib/LD/
H A DRelocationFactory.cpp15 #include <llvm/Support/Host.h>
47 if (llvm::sys::IsLittleEndianHost != m_pConfig->targets().isLittleEndian()) {
H A DGNUArchiveReader.cpp25 #include <llvm/ADT/StringRef.h>
26 #include <llvm/Support/Host.h>
47 llvm::StringRef region =
73 llvm::StringRef region =
156 llvm::StringRef header_region = pArchiveFile.memArea()->request(
168 llvm::StringRef name_field(header->name, sizeof(header->name));
232 llvm::StringRef pMemRegion) {
239 if (llvm::sys::IsLittleEndianHost)
250 if (llvm::sys::IsLittleEndianHost)
264 llvm
[all...]
H A DLDContext.cpp13 #include <llvm/ADT/StringRef.h>
79 LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) {
88 const LDSymbol* LDContext::getSymbol(const llvm::StringRef& pName) const {
H A DMsgHandler.cpp28 void MsgHandler::addString(llvm::StringRef pStr) const {
/frameworks/compile/mclinker/unittests/
H A DFragmentRefTest.cpp17 #include <llvm/ADT/StringRef.h>
50 llvm::StringRef region = area->request(0, 4096);
H A DLinkerTest.cpp21 #include <llvm/Support/ELF.h>
361 *input, "", LDFileFormat::Null, llvm::ELF::SHT_NULL, 0x0);
368 llvm::ELF::SHT_PROGBITS,
369 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_EXECINSTR,
386 builder.CreateELFHeader(*input, ".rel.text", llvm::ELF::SHT_REL, 0x0, 4);
395 llvm::ELF::SHT_PROGBITS,
396 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_WRITE,
404 llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
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;
H A DGNULDBackend.h20 #include <llvm/Support/ELF.h>
197 virtual bool readRelocation(const llvm::ELF::Elf32_Rel& pRel,
203 virtual bool readRelocation(const llvm::ELF::Elf32_Rela& pRel,
210 virtual bool readRelocation(const llvm::ELF::Elf64_Rel& pRel,
216 virtual bool readRelocation(const llvm::ELF::Elf64_Rela& pRel,
223 virtual void emitRelocation(llvm::ELF::Elf32_Rel& pRel,
229 virtual void emitRelocation(llvm::ELF::Elf32_Rela& pRel,
236 virtual void emitRelocation(llvm::ELF::Elf64_Rel& pRel,
242 virtual void emitRelocation(llvm::ELF::Elf64_Rela& pRel,
293 llvm
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64PLT.cpp16 #include <llvm/Support/Casting.h>
70 AArch64PLT0* plt0 = &(llvm::cast<AArch64PLT0>(*first));
123 plt1 = &(llvm::cast<AArch64PLT1>(*it));
153 llvm::cast<AArch64PLT0>((*it)).getValue(),
161 plt1 = &(llvm::cast<AArch64PLT1>(*it));
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMPLT.cpp17 #include <llvm/Support/Casting.h>
81 ARMPLT0* plt0 = &(llvm::cast<ARMPLT0>(*first));
117 plt1 = &(llvm::cast<ARMPLT1>(*it));
146 memcpy(buffer, llvm::cast<ARMPLT0>((*it)).getValue(), ARMPLT0::EntrySize);
153 plt1 = &(llvm::cast<ARMPLT1>(*it));
/frameworks/compile/slang/
H A Dslang.cpp55 #include "llvm/ADT/IntrusiveRefCntPtr.h"
57 #include "llvm/Bitcode/ReaderWriter.h"
60 #include "llvm/Linker/Linker.h"
63 #include "llvm/LinkAllIR.h"
64 #include "llvm/LinkAllPasses.h"
66 #include "llvm/Support/raw_ostream.h"
67 #include "llvm/Support/MemoryBuffer.h"
68 #include "llvm/Support/ErrorHandling.h"
69 #include "llvm/Support/ManagedStatic.h"
70 #include "llvm/Suppor
[all...]
H A Dllvm-rs-as.cpp1 //===--- llvm-as.cpp - The low-level LLVM assembler -----------------------===//
11 // llvm-as --help - Output information about command line switches
12 // llvm-as [options] - Read LLVM asm from stdin, write bitcode to stdout
13 // llvm-as [options] x.ll - Read LLVM asm from the x.ll file, write bitcode
18 #include "llvm/IR/LLVMContext.h"
19 #include "llvm/IR/Verifier.h"
20 #include "llvm/AsmParser/Parser.h"
21 #include "llvm/Bitcode/ReaderWriter.h"
22 #include "llvm/IR/Module.h"
23 #include "llvm/Suppor
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp45 #include <llvm/ADT/StringRef.h>
46 #include <llvm/Support/Host.h>
136 return sizeof(llvm::ELF::Elf32_Ehdr) +
137 elfSegmentTable().size() * sizeof(llvm::ELF::Elf32_Phdr);
139 return sizeof(llvm::ELF::Elf64_Ehdr) +
140 elfSegmentTable().size() * sizeof(llvm::ELF::Elf64_Phdr);
564 elfSegmentTable().find(llvm::ELF::PT_LOAD, 0x0, 0x0);
577 llvm::ELF::PT_LOAD, llvm::ELF::PF_X, llvm
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonPLT.cpp16 #include <llvm/Support/ELF.h>
17 #include <llvm/Support/Casting.h>
59 PLTEntryBase* plt0 = &(llvm::cast<PLTEntryBase>(*first));
74 PLTEntryBase* plt1 = &(llvm::cast<PLTEntryBase>(*it));
142 plt1 = &(llvm::cast<HexagonPLT1>(*it));
174 llvm::cast<HexagonPLT0>((*it)).getValue(),
182 plt1 = &(llvm::cast<HexagonPLT1>(*it));
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp17 #include "llvm/Bitcode/ReaderWriter.h"
18 #include "llvm/IR/LLVMContext.h"
19 #include "llvm/IR/LegacyPassManager.h"
20 #include "llvm/IR/Module.h"
21 #include "llvm/IR/Verifier.h"
22 #include "llvm/IRReader/IRReader.h"
23 #include "llvm/Pass.h"
24 #include "llvm/Support/CommandLine.h"
25 #include "llvm/Support/FileSystem.h"
26 #include "llvm/Suppor
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DZOption.h12 #include <llvm/Support/DataTypes.h>
/frameworks/compile/mclinker/include/mcld/Object/
H A DObjectBuilder.h14 #include <llvm/Support/DataTypes.h>
/frameworks/compile/mclinker/lib/Fragment/
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;

Completed in 3791 milliseconds

1234567891011>>