Searched refs:llvm (Results 101 - 125 of 405) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.cpp19 #include <llvm/ADT/Twine.h>
20 #include <llvm/Support/ELF.h>
22 namespace llvm { namespace
33 } // end namespace llvm
45 if (llvm::ELF::R_MIPS_NONE == pType)
49 llvm::ELF::R_MIPS_NONE != (type & 0xff); type >>= 8) {
64 if (pIsRel && (type() < llvm::ELF::R_MIPS_LA25_LUI ||
65 type() > llvm::ELF::R_MIPS_LA25_ADD))
73 return llvm::ELF::R_MIPS_NONE == type();
78 return llvm
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonAbsoluteStub.cpp13 #include <llvm/Support/ELF.h>
14 #include <llvm/Support/MathExtras.h>
36 ( llvm::abs64(D) < (~(~(int64_t) 0 << ((B) - 1)) & -(4 * 4)))
43 addFixup(8u, 0x0, llvm::ELF::R_HEX_HI16);
44 addFixup(12u, 0x0, llvm::ELF::R_HEX_LO16);
68 case llvm::ELF::R_HEX_B22_PCREL:
71 case llvm::ELF::R_HEX_B15_PCREL:
74 case llvm::ELF::R_HEX_B7_PCREL:
77 case llvm::ELF::R_HEX_B13_PCREL:
80 case llvm
[all...]
H A DHexagonRelocator.cpp12 #include <llvm/ADT/Twine.h>
13 #include <llvm/Support/DataTypes.h>
14 #include <llvm/Support/ELF.h>
35 if (pType == llvm::ELF::R_HEX_RELATIVE || NULL == pSym)
72 helper_DynRel_init(rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE,
77 helper_DynRel_init(rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT,
108 rela_entry.setType(llvm::ELF::R_HEX_JMP_SLOT);
207 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC))
237 case llvm::ELF::R_HEX_LO16:
238 case llvm
[all...]
/frameworks/compile/libbcc/lib/Support/
H A DDisassembler.cpp24 #include <llvm/IR/LLVMContext.h>
26 #include <llvm/MC/MCAsmInfo.h>
27 #include <llvm/MC/MCDisassembler.h>
28 #include <llvm/MC/MCInst.h>
29 #include <llvm/MC/MCInstPrinter.h>
30 #include <llvm/MC/MCInstrInfo.h>
31 #include <llvm/MC/MCRegisterInfo.h>
32 #include <llvm/MC/MCSubtargetInfo.h>
34 #include <llvm/Support/MemoryObject.h>
35 #include <llvm/Suppor
[all...]
H A DInitialization.cpp21 #include <llvm/Support/ErrorHandling.h>
22 #include <llvm/Support/TargetSelect.h>
45 llvm::remove_fatal_error_handler();
46 llvm::install_fatal_error_handler(llvm_error_handler, NULL);
H A DOutputFile.cpp21 #include <llvm/Support/raw_ostream.h>
74 llvm::raw_fd_ostream *OutputFile::dup() {
91 llvm::raw_fd_ostream *result =
92 new (std::nothrow) llvm::raw_fd_ostream(newfd, /* shouldClose */true);
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReader.h12 #include <llvm/ADT/StringRef.h>
13 #include <llvm/Support/ELF.h>
14 #include <llvm/Support/Host.h>
42 typedef llvm::ELF::Elf32_Ehdr ELFHeader;
43 typedef llvm::ELF::Elf32_Shdr SectionHeader;
44 typedef llvm::ELF::Elf32_Sym Symbol;
45 typedef llvm::ELF::Elf32_Rel Rel;
46 typedef llvm::ELF::Elf32_Rela Rela;
78 llvm::StringRef pRegion,
90 llvm
[all...]
H A DTextDiagnosticPrinter.h12 #include <llvm/Support/raw_ostream.h>
25 TextDiagnosticPrinter(llvm::raw_ostream& pOStream, const LinkerConfig& pConfig);
39 llvm::raw_ostream& m_OStream;
/frameworks/compile/mclinker/lib/LD/
H A DELFReaderIf.cpp19 #include <llvm/ADT/StringRef.h>
20 #include <llvm/ADT/Twine.h>
21 #include <llvm/Support/ELF.h>
22 #include <llvm/Support/Host.h>
33 if (llvm::ELF::SHN_ABS == pShndx && ResolveInfo::Section == result) {
47 if (pShndx == llvm::ELF::SHN_UNDEF)
50 if (pShndx < llvm::ELF::SHN_LORESERVE) {
60 if (pShndx == llvm::ELF::SHN_ABS)
63 if (pShndx == llvm::ELF::SHN_COMMON)
66 if (pShndx >= llvm
[all...]
H A DELFReader.cpp23 #include <llvm/ADT/StringRef.h>
24 #include <llvm/ADT/Twine.h>
25 #include <llvm/Support/ELF.h>
26 #include <llvm/Support/Host.h>
48 const llvm::ELF::Elf32_Ehdr* hdr =
49 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader);
50 if (0 == memcmp(llvm::ELF::ElfMagic, hdr, 4))
70 llvm::StringRef pRegion,
74 size_t entsize = pRegion.size()/sizeof(llvm::ELF::Elf32_Sym);
75 const llvm
[all...]
/frameworks/compile/slang/
H A Dslang_rs_backend.cpp25 #include "llvm/ADT/Twine.h"
26 #include "llvm/ADT/StringExtras.h"
28 #include "llvm/IR/Constant.h"
29 #include "llvm/IR/Constants.h"
30 #include "llvm/IR/DerivedTypes.h"
31 #include "llvm/IR/Function.h"
32 #include "llvm/IR/IRBuilder.h"
33 #include "llvm/IR/Metadata.h"
34 #include "llvm/IR/Module.h"
36 #include "llvm/I
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringEntry.h11 #include <llvm/ADT/StringRef.h>
12 #include <llvm/Support/DataTypes.h>
29 typedef llvm::StringRef key_type;
54 bool compare(const llvm::StringRef& pX)
57 bool compare(const llvm::StringRef& pX) const
76 class StringEntry<llvm::StringRef>
79 typedef llvm::StringRef key_type;
80 typedef llvm::StringRef value_type;
106 void setValue(llvm::StringRef& pVal);
108 bool compare(const llvm
[all...]
H A DStringHash.h11 #include <llvm/ADT/StringRef.h>
12 #include <llvm/Support/DataTypes.h>
39 struct StringHash : public std::unary_function<const llvm::StringRef&, uint32_t>
41 uint32_t operator()(const llvm::StringRef& pKey) const
52 struct StringHash<RS> : public std::unary_function<const llvm::StringRef&, uint32_t>
54 uint32_t operator()(const llvm::StringRef& pKey) const
72 struct StringHash<JS> : public std::unary_function<const llvm::StringRef&, uint32_t>
74 uint32_t operator()(const llvm::StringRef& pKey) const
89 struct StringHash<PJW> : public std::unary_function<const llvm::StringRef&, uint32_t>
91 uint32_t operator()(const llvm
[all...]
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp22 #include <llvm/IR/Constants.h>
23 #include <llvm/IR/Metadata.h>
24 #include <llvm/IR/Module.h>
35 const llvm::StringRef pragma_metadata_name("#pragma");
42 const llvm::StringRef export_var_metadata_name("#rs_export_var");
45 const llvm::StringRef export_func_metadata_name("#rs_export_func");
48 const llvm::StringRef export_foreach_name_metadata_name("#rs_export_foreach_name");
51 const llvm::StringRef export_foreach_metadata_name("#rs_export_foreach");
54 const llvm::StringRef object_slot_metadata_name("#rs_object_slots");
56 inline llvm
[all...]
/frameworks/compile/libbcc/include/bcc/
H A DSource.h22 namespace llvm { namespace
33 llvm::Module *mModule;
39 Source(BCCContext &pContext, llvm::Module &pModule, bool pNoDelete = false);
53 llvm::Module &pModule,
67 void setModule(llvm::Module *pModule);
69 inline llvm::Module &getModule()
71 inline const llvm::Module &getModule() const
/frameworks/compile/libbcc/include/bcinfo/
H A DMetadataExtractor.h23 namespace llvm { namespace
37 const llvm::Module *mModule;
62 bool populateVarNameMetadata(const llvm::NamedMDNode *VarNameMetadata);
63 bool populateFuncNameMetadata(const llvm::NamedMDNode *FuncNameMetadata);
64 bool populateForEachMetadata(const llvm::NamedMDNode *Names,
65 const llvm::NamedMDNode *Signatures);
66 bool populateObjectSlotMetadata(const llvm::NamedMDNode *ObjectSlotMetadata);
67 void populatePragmaMetadata(const llvm::NamedMDNode *PragmaMetadata);
83 MetadataExtractor(const llvm::Module *module);
/frameworks/compile/mclinker/include/mcld/MC/
H A DMCLDDirectory.h13 #include <llvm/ADT/StringRef.h>
29 MCLDDirectory(llvm::StringRef pName);
33 MCLDDirectory &assign(llvm::StringRef pName);
/frameworks/compile/libbcc/bcinfo/
H A DMetadataExtractor.cpp27 #include "llvm/Bitcode/ReaderWriter.h"
28 #include "llvm/IR/Constants.h"
29 #include "llvm/IR/LLVMContext.h"
30 #include "llvm/IR/Module.h"
31 #include "llvm/Support/MemoryBuffer.h"
39 static const llvm::StringRef PragmaMetadataName = "#pragma";
43 static const llvm::StringRef ExportVarMetadataName = "#rs_export_var";
47 static const llvm::StringRef ExportFuncMetadataName = "#rs_export_func";
51 static const llvm::StringRef ExportForEachNameMetadataName =
56 static const llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Config/
H A DConfig.h17 #include <llvm/Config/config.h>
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64ELFDynamic.cpp31 reserveOne(llvm::ELF::DT_PLTGOT);
35 reserveOne(llvm::ELF::DT_PLTGOT);
44 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOT().addr());
48 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOTPLT().addr());
/frameworks/compile/mclinker/lib/Target/AArch64/TargetInfo/
H A DAArch64TargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::aarch64> X(TheAArch64Target, "aarch64");
/frameworks/compile/mclinker/lib/Target/Hexagon/TargetInfo/
H A DHexagonTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::hexagon> X(TheHexagonTarget, "hexagon");
/frameworks/compile/libbcc/bcinfo/tools/
H A DAndroid.mk19 LLVM_ROOT_PATH := external/llvm
46 include $(LLVM_ROOT_PATH)/llvm-host-build.mk
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
H A DGDBJIT.h36 #include <llvm/Support/DataTypes.h>
37 #include <llvm/Support/Compiler.h>
/frameworks/compile/libbcc/include/bcc/Support/
H A DOutputFile.h23 namespace llvm { namespace
39 // descriptor it contains and wrap it in llvm::raw_fd_ostream object. It
42 llvm::raw_fd_ostream *dup();

Completed in 600 milliseconds

1234567891011>>