Searched refs:llvm (Results 251 - 275 of 375) sorted by relevance

<<1112131415

/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64CA53Erratum843419Stub.cpp22 #include <llvm/ADT/StringExtras.h>
23 #include <llvm/Support/ELF.h>
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));
H A DAArch64CA53ErratumStub.h14 #include <llvm/Support/DataTypes.h>
H A DAArch64GOT.cpp15 #include <llvm/Support/Casting.h>
97 llvm::cast<AArch64GOTEntry>(*(m_SectionData->getFragmentList().begin()))
113 llvm::cast<AArch64GOTEntry>(entry)->setValue(pPLTBase);
124 got = &(llvm::cast<AArch64GOTEntry>((*it)));
/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/lib/LD/
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/include/mcld/LD/
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);
H A DStubFactory.h12 #include <llvm/Support/DataTypes.h>
/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>
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...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMException.h14 #include <llvm/ADT/PointerUnion.h>
15 #include <llvm/ADT/StringRef.h>
16 #include <llvm/Support/ELF.h>
99 assert(pSect.type() == llvm::ELF::SHT_ARM_EXIDX);
110 assert(pSect.type() == llvm::ELF::SHT_ARM_EXIDX);
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/mclinker/lib/Target/Mips/
H A DMipsPLT.cpp9 #include <llvm/Support/Casting.h>
10 #include <llvm/Support/ELF.h>
83 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize);
89 plta = &(llvm::cast<MipsPLTA>(*it));
106 PLTEntryBase* plt = &(llvm::cast<PLTEntryBase>(*it));
/frameworks/compile/slang/
H A Dslang.cpp56 #include "llvm/ADT/IntrusiveRefCntPtr.h"
58 #include "llvm/Bitcode/ReaderWriter.h"
61 #include "llvm/Linker/Linker.h"
64 #include "llvm/LinkAllIR.h"
65 #include "llvm/LinkAllPasses.h"
67 #include "llvm/Support/raw_ostream.h"
68 #include "llvm/Support/MemoryBuffer.h"
69 #include "llvm/Support/ErrorHandling.h"
70 #include "llvm/Support/ManagedStatic.h"
71 #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/rs/rsov/compiler/
H A DWrapper.cpp19 #include "llvm/IR/Module.h"
233 bool DecorateGlobalBuffer(llvm::Module &LM, Builder &b, Module *m) {
254 std::find_if(GlobalsB, GlobalsE, [](const llvm::GlobalVariable &GV) {
262 const llvm::GlobalVariable &G = *Found;
265 if (const auto *LPtrTy = llvm::dyn_cast<llvm::PointerType>(G.getType())) {
267 llvm::dyn_cast<llvm::StructType>(LPtrTy->getElementType())) {
294 llvm::SmallVector<rs2spirv::RSAllocationInfo, 2> RSAllocs;
296 // 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/mclinker/lib/Target/X86/
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/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 247 milliseconds

<<1112131415