/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFSegment.h | 14 #include <llvm/Support/DataTypes.h> 15 #include <llvm/Support/ELF.h> 37 explicit ELFSegment(uint32_t pType, uint32_t pFlag = llvm::ELF::PF_R); 90 if (llvm::ELF::PT_TLS != m_Type) 101 static ELFSegment* Create(uint32_t pType, uint32_t pFlag = llvm::ELF::PF_R);
|
H A D | BranchIslandFactory.h | 15 #include <llvm/Support/DataTypes.h>
|
H A D | StubFactory.h | 12 #include <llvm/Support/DataTypes.h>
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticInfos.cpp | 16 #include <llvm/ADT/StringRef.h> 17 #include <llvm/Support/DataTypes.h> 33 llvm::StringRef getDescription() const { 34 return llvm::StringRef(DescriptionStr, DescriptionLen); 105 llvm::StringRef DiagnosticInfos::getDescription(unsigned int pID,
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | RpnEvaluator.cpp | 19 #include <llvm/Support/Casting.h> 20 #include <llvm/Support/DataTypes.h> 39 Operator* op = llvm::cast<Operator>(*it); 80 Operand* opd = llvm::cast<Operand>(*it); 86 SymOperand* sym_opd = llvm::cast<SymOperand>(opd);
|
H A D | ScriptFile.cpp | 33 #include <llvm/Support/Casting.h> 34 #include <llvm/Support/ManagedStatic.h> 45 static llvm::ManagedStatic<ParserStrPool> g_ParserStrPool; 90 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 149 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 153 llvm::cast<OutputSectDesc>(sections->back()); 190 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 199 SectionsCmd* sections = llvm::cast<SectionsCmd>(back()); 202 OutputSectDesc* output_desc = llvm::cast<OutputSectDesc>(sections->back()); 212 SectionsCmd* sections = llvm [all...] |
H A D | UnaryOp.cpp | 16 #include <llvm/Support/Casting.h> 76 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 98 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 169 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 33 #include <llvm/ADT/Triple.h> 34 #include <llvm/Support/Casting.h> 54 m_CopyRel(llvm::ELF::R_HEX_COPY) { 152 unsigned int plt0_size = llvm::cast<PLTEntryBase>((*it)).size(); 154 memcpy(buffer, llvm::cast<PLTEntryBase>((*it)).getValue(), plt0_size); 161 plt1 = &(llvm::cast<PLTEntryBase>(*it)); 185 const FillFragment& fill_frag = llvm::cast<FillFragment>(*frag_iter); 195 llvm::cast<RegionFragment>(*frag_iter); 201 const AlignFragment& align_frag = llvm::cast<AlignFragment>(*frag_iter); 208 llvm [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64Relocator.cpp | 21 #include <llvm/ADT/Twine.h> 22 #include <llvm/Support/DataTypes.h> 23 #include <llvm/Support/ELF.h> 24 #include <llvm/Support/Host.h> 93 rel_entry.setType(llvm::ELF::R_AARCH64_COPY); 154 case llvm::ELF::R_AARCH64_ABS64: 166 llvm::ELF::R_AARCH64_RELATIVE, 172 case llvm::ELF::R_AARCH64_ABS32: 173 case llvm::ELF::R_AARCH64_ABS16: 191 case llvm [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLDBackend.cpp | 32 #include <llvm/ADT/Triple.h> 33 #include <llvm/Support/Casting.h> 34 #include <llvm/Support/ELF.h> 35 #include <llvm/Support/Host.h> 71 if (llvm::ELF::R_MIPS_26 != pType) 225 uint64_t picFlags = llvm::ELF::EF_MIPS_CPIC; 227 picFlags |= llvm::ELF::EF_MIPS_PIC; 230 picFlags |= llvm::ELF::EF_MIPS_PIC; 295 llvm::errs() << ".gnu.hash is incompatible with the MIPS ABI\n"; 306 namespace llvm { namespace [all...] |
H A D | MipsGOT.h | 16 #include <llvm/ADT/DenseMap.h> 17 #include <llvm/ADT/DenseSet.h> 102 typedef llvm::DenseSet<const Input*> InputSetType; 139 typedef llvm::DenseSet<const ResolveInfo*> SymbolSetType; 143 typedef llvm::DenseMap<const ResolveInfo*, bool> SymbolUniqueMapType; 164 typedef llvm::DenseMap<const LDSymbol*, unsigned> SymbolOrderMapType;
|
/frameworks/compile/mclinker/unittests/ |
H A D | ELFReaderTest.cpp | 21 #include <llvm/ADT/StringRef.h> 22 #include <llvm/Support/ELF.h> 68 llvm::StringRef region = 87 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type()); 90 ASSERT_TRUE(llvm::ELF::SHF_ALLOC & (*iter)->flag()); // AX 108 llvm::StringRef symtab_region = m_pInput->memArea()->request( 111 llvm::StringRef strtab_region = m_pInput->memArea()->request( 129 llvm::StringRef region = mem->request(offset, size); 132 ASSERT_EQ(llvm::ELF::SHT_RELA, (*rs)->type()); 142 ASSERT_EQ(llvm [all...] |
/frameworks/compile/slang/ |
H A D | slang.h | 26 #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 138 std::unique_ptr<llvm::tool_output_file> mOS; 141 std::unique_ptr<llvm::tool_output_file> mDOS; 168 typedef llvm [all...] |
H A D | Android.mk | 51 LLVM_ROOT_PATH := external/llvm 96 LOCAL_MODULE := llvm-rs-as 102 llvm-rs-as.cpp 114 # Executable llvm-rs-cc for host 120 LOCAL_MODULE := llvm-rs-cc 144 llvm-rs-cc.cpp \ 181 $(intermediates)/RSCCOptions.inc: $(LOCAL_PATH)/RSCCOptions.td $(LLVM_ROOT_PATH)/include/llvm/Option/OptParser.td $(LLVM_TBLGEN) 182 @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/lib/Target/X86/ |
H A D | X86LDBackend.h | 133 virtual llvm::StringRef createCIERegionForPLT() = 0; 134 virtual llvm::StringRef createFDERegionForPLT() = 0; 188 llvm::StringRef createCIERegionForPLT(); 189 llvm::StringRef createFDERegionForPLT(); 230 llvm::StringRef createCIERegionForPLT(); 231 llvm::StringRef createFDERegionForPLT();
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | IRBuilder.cpp | 24 #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 D | TargetOptions.cpp | 26 void TargetOptions::setTriple(const llvm::Triple& pTriple) {
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Relocation.h | 16 #include <llvm/ADT/ilist_node.h> 17 #include <llvm/Support/DataTypes.h> 25 class Relocation : public llvm::ilist_node<Relocation> {
|
H A D | FillFragment.h | 14 #include <llvm/Support/DataTypes.h>
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFEmulation.cpp | 14 #include <llvm/Support/Host.h> 92 case llvm::Triple::NetBSD: 95 case llvm::Triple::Win32:
|
H A D | GOT.cpp | 14 #include <llvm/Support/Casting.h>
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | Input.h | 46 explicit Input(llvm::StringRef pName); 48 Input(llvm::StringRef pName, const AttributeProxy& pAttr); 50 Input(llvm::StringRef pName, 55 Input(llvm::StringRef pName,
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | Fragment.cpp | 13 #include <llvm/Support/DataTypes.h>
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 41 #include <llvm/ADT/StringRef.h> 42 #include <llvm/ADT/Triple.h> 43 #include <llvm/ADT/Twine.h> 44 #include <llvm/Support/Casting.h> 45 #include <llvm/Support/ELF.h> 88 llvm::ELF::SHT_ARM_EXIDX, 89 llvm::ELF::SHF_ALLOC | llvm::ELF::SHF_LINK_ORDER, 93 llvm::ELF::SHT_PROGBITS, 94 llvm [all...] |