/frameworks/compile/slang/ |
H A D | slang_rs_export_type.cpp | 26 #include "llvm/ADT/StringExtras.h" 27 #include "llvm/IR/DataLayout.h" 28 #include "llvm/IR/DerivedTypes.h" 29 #include "llvm/IR/Type.h" 94 /* TODO If we return std::string instead of llvm::StringRef, we could build 168 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, 195 llvm::SmallPtrSet<const clang::Type*, 8>& SPS, 243 llvm::SmallPtrSet<clang::Type const *, 8> &SPS, 399 llvm::SmallPtrSet<const clang::Type*, 8> SPS = 400 llvm [all...] |
H A D | Android.mk | 46 LLVM_ROOT_PATH := external/llvm 92 LOCAL_MODULE := llvm-rs-as 98 llvm-rs-as.cpp 110 # Executable llvm-rs-cc for host 116 LOCAL_MODULE := llvm-rs-cc 140 llvm-rs-cc.cpp \ 177 $(intermediates)/RSCCOptions.inc: $(LOCAL_PATH)/RSCCOptions.td $(LLVM_ROOT_PATH)/include/llvm/Option/OptParser.td $(LLVM_TBLGEN) 178 @echo "Building Renderscript compiler (llvm-rs-cc) Option tables with tblgen"
|
H A D | slang_rs_export_func.cpp | 24 #include "llvm/IR/DataLayout.h" 25 #include "llvm/IR/DerivedTypes.h" 52 llvm::StringRef Name = FD->getName(); 80 llvm::StringRef ParamName = PVD->getName(); 127 RSExportFunc::checkParameterPacketType(llvm::StructType *ParamTy) const { 140 const llvm::StructLayout *ParamTySL = 148 llvm::Type *T1 = F->getType()->getLLVMType(); 149 llvm::Type *T2 = ParamTy->getTypeAtIndex(Index);
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Fragment.h | 12 #include <llvm/ADT/ilist_node.h> 14 #include <llvm/Support/DataTypes.h> 26 class Fragment : public llvm::ilist_node<Fragment>
|
H A D | Relocation.h | 15 #include <llvm/ADT/ilist_node.h> 16 #include <llvm/Support/DataTypes.h> 24 class Relocation : public llvm::ilist_node<Relocation>
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFSegmentFactory.h | 12 #include <llvm/Support/DataTypes.h> 13 #include <llvm/Support/ELF.h> 58 ELFSegment* produce(uint32_t pType, uint32_t pFlag = llvm::ELF::PF_R);
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | FileOutputBuffer.cpp | 14 using llvm::sys::fs::mapped_file_region; 16 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, 56 llvm::StringRef FileOutputBuffer::getPath() const
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.h | 138 void emitSymbol32(llvm::ELF::Elf32_Sym& pSym32, 161 bool readRelocation(const llvm::ELF::Elf32_Rel& pRel, 167 bool readRelocation(const llvm::ELF::Elf32_Rela& pRel, 174 bool readRelocation(const llvm::ELF::Elf64_Rel& pRel, 180 bool readRelocation(const llvm::ELF::Elf64_Rela& pRel, 187 void emitRelocation(llvm::ELF::Elf32_Rel& pRel, 193 void emitRelocation(llvm::ELF::Elf32_Rela& pRel, 200 void emitRelocation(llvm::ELF::Elf64_Rel& pRel, 206 void emitRelocation(llvm::ELF::Elf64_Rela& pRel, 213 typedef llvm [all...] |
H A D | MipsLDBackend.cpp | 16 #include <llvm/ADT/Triple.h> 17 #include <llvm/Support/Casting.h> 18 #include <llvm/Support/ELF.h> 19 #include <llvm/Support/Host.h> 74 if (llvm::ELF::R_MIPS_26 != pType) 234 uint64_t picFlags = llvm::ELF::EF_MIPS_CPIC; 236 picFlags |= llvm::ELF::EF_MIPS_PIC; 240 picFlags |= llvm::ELF::EF_MIPS_PIC; 318 llvm::errs() << ".gnu.hash is incompatible with the MIPS ABI\n"; 327 namespace llvm { namespace [all...] |
/frameworks/compile/mclinker/unittests/ |
H A D | MCRegionFragmentTest.cpp | 54 ASSERT_FALSE(llvm::MCDataFragment::classof(frag)); 67 llvm::MCFragment *frag = new MCRegionFragment(*region); 69 ASSERT_FALSE(llvm::MCDataFragment::classof(frag));
|
H A D | ELFReaderTest.cpp | 11 #include <llvm/ADT/StringRef.h> 12 #include <llvm/Support/ELF.h> 71 llvm::StringRef region = m_pInput->memArea()->request(m_pInput->fileOffset(), 91 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type()); 94 ASSERT_TRUE(llvm::ELF::SHF_ALLOC & (*iter)->flag()); //AX 113 llvm::StringRef symtab_region = m_pInput->memArea()->request( 116 llvm::StringRef strtab_region = m_pInput->memArea()->request( 134 llvm::StringRef region = mem->request(offset, size); 137 ASSERT_EQ(llvm::ELF::SHT_RELA, (*rs)->type()); 147 ASSERT_EQ(llvm [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFReloc.hxx | 22 #include <llvm/Support/Format.h> 23 #include <llvm/Support/raw_ostream.h> 83 using namespace llvm;
|
H A D | ELFSectionHeader.hxx | 21 #include <llvm/Support/Format.h> 22 #include <llvm/Support/raw_ostream.h> 67 using namespace llvm;
|
H A D | ELFSectionStrTab.hxx | 23 #include <llvm/Support/Format.h> 24 #include <llvm/Support/raw_ostream.h> 53 using namespace llvm;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | THMToARMStub.cpp | 13 #include <llvm/Support/ELF.h> 45 addFixup(12u, -4, llvm::ELF::R_ARM_REL32); 49 addFixup(8u, 0x0, llvm::ELF::R_ARM_ABS32); 80 case llvm::ELF::R_ARM_THM_CALL: { 100 case llvm::ELF::R_ARM_THM_JUMP24: {
|
H A D | THMToTHMStub.cpp | 13 #include <llvm/Support/ELF.h> 47 addFixup(16u, 0x0, llvm::ELF::R_ARM_REL32); 51 addFixup(12u, 0x0, llvm::ELF::R_ARM_ABS32); 82 case llvm::ELF::R_ARM_THM_CALL: 83 case llvm::ELF::R_ARM_THM_JUMP24: {
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectWriter.cpp | 32 #include <llvm/Support/Errc.h> 33 #include <llvm/Support/ErrorHandling.h> 34 #include <llvm/Support/ELF.h> 35 #include <llvm/Support/Casting.h> 37 using namespace llvm; 38 using namespace llvm::ELF; 87 llvm::errs() << "WARNING: unsupported section kind: " 152 if (llvm::ELF::PT_LOAD == (*seg)->type()) { 185 return llvm::make_error_code(llvm [all...] |
H A D | ELFDynObjReader.cpp | 18 #include <llvm/ADT/StringRef.h> 19 #include <llvm/ADT/Twine.h> 20 #include <llvm/Support/ErrorHandling.h> 57 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), 84 llvm::StringRef region = pInput.memArea()->request(pInput.fileOffset(), 117 llvm::StringRef symtab_region = pInput.memArea()->request( 120 llvm::StringRef strtab_region = pInput.memArea()->request(
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptFile.cpp | 30 #include <llvm/Support/Casting.h> 31 #include <llvm/Support/ManagedStatic.h> 42 static llvm::ManagedStatic<ParserStrPool> g_ParserStrPool; 92 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 145 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 149 llvm::cast<OutputSectDesc>(sections->back()); 190 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 200 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 203 OutputSectDesc* output_desc = llvm::cast<OutputSectDesc>(sections->back()); 214 SectionsCmd* sections = llvm [all...] |
H A D | UnaryOp.cpp | 14 #include <llvm/Support/Casting.h> 77 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 80 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 99 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 102 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 176 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 179 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 16 #include <llvm/ADT/Triple.h> 17 #include <llvm/Support/Casting.h> 54 m_CopyRel(llvm::ELF::R_HEX_COPY) { 160 unsigned int plt0_size = llvm::cast<PLTEntryBase>((*it)).size(); 162 memcpy(buffer, llvm::cast<PLTEntryBase>((*it)).getValue(), plt0_size); 169 plt1 = &(llvm::cast<PLTEntryBase>(*it)); 196 llvm::cast<FillFragment>(*frag_iter); 206 llvm::cast<RegionFragment>(*frag_iter); 212 const AlignFragment& align_frag = llvm::cast<AlignFragment>(*frag_iter); 219 llvm [all...] |
/frameworks/rs/cpu_ref/linkloader/android/ |
H A D | librsloader.cpp | 28 #include <llvm/Support/ELF.h> 106 llvm::ELF::Elf64_Ehdr* header = reinterpret_cast<llvm::ELF::Elf64_Ehdr*>(buf); 108 llvm::ELF::Elf32_Ehdr* header = reinterpret_cast<llvm::ELF::Elf32_Ehdr*>(buf); 112 llvm::ELF::Elf64_Shdr* shtab = 113 reinterpret_cast<llvm::ELF::Elf64_Shdr*>(buf + header->e_shoff); 115 llvm::ELF::Elf32_Shdr* shtab = 116 reinterpret_cast<llvm::ELF::Elf32_Shdr*>(buf + header->e_shoff); 131 shtab[i].sh_addr = reinterpret_cast<llvm [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSCompilerDriver.cpp | 19 #include <llvm/IR/Module.h> 20 #include <llvm/Support/CommandLine.h> 21 #include <llvm/Support/Path.h> 22 #include <llvm/Support/raw_ostream.h> 86 llvm::SmallString<80> output_path(pCacheDir); 87 llvm::sys::path::append(output_path, pResName); 88 llvm::sys::path::replace_extension(output_path, ".o"); 174 extern llvm::cl::opt<bool> EnableGlobalMerge; 180 const llvm::CodeGenOpt::Level script_opt_level = 181 static_cast<llvm [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86LDBackend.h | 136 virtual llvm::StringRef createCIERegionForPLT() = 0; 137 virtual llvm::StringRef createFDERegionForPLT() = 0; 192 llvm::StringRef createCIERegionForPLT(); 193 llvm::StringRef createFDERegionForPLT(); 235 llvm::StringRef createCIERegionForPLT(); 236 llvm::StringRef createFDERegionForPLT();
|
/frameworks/compile/libbcc/bcinfo/ |
H A D | Android.mk | 42 LLVM_ROOT_PATH := external/llvm 68 include $(LLVM_ROOT_PATH)/llvm-device-build.mk 96 include $(LLVM_ROOT_PATH)/llvm-host-build.mk
|