Searched refs:llvm (Results 76 - 100 of 375) sorted by relevance

1234567891011>>

/frameworks/compile/mclinker/include/mcld/Support/
H A DPathCache.h21 typedef HashEntry<llvm::StringRef,
23 hash::StringCompare<llvm::StringRef> > HashEntryType;
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64.h13 namespace llvm { namespace
15 } // namespace llvm
24 TargetLDBackend* createAArch64LDBackend(const llvm::Target&,
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARM.h13 namespace llvm { namespace
15 } // namespace llvm
25 TargetLDBackend* createARMLDBackend(const llvm::Target&, const std::string&);
/frameworks/compile/mclinker/lib/Target/ARM/TargetInfo/
H A DARMTargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::arm> X(TheARMTarget, "arm");
20 mcld::RegisterTarget<llvm::Triple::thumb> Y(TheThumbTarget, "thumb");
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagon.h13 namespace llvm { namespace
15 } // namespace llvm
24 TargetLDBackend* createHexagonLDBackend(const llvm::Target&,
H A DHexagonRelocator.cpp17 #include <llvm/ADT/Twine.h>
18 #include <llvm/Support/DataTypes.h>
19 #include <llvm/Support/ELF.h>
36 if (pType == llvm::ELF::R_HEX_RELATIVE || pSym == NULL)
73 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE, pParent);
77 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT, pParent);
107 rela_entry.setType(llvm::ELF::R_HEX_JMP_SLOT);
212 if ((pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC) == 0)
243 case llvm::ELF::R_HEX_LO16:
244 case llvm
[all...]
H A DHexagonAbsoluteStub.cpp17 #include <llvm/Support/ELF.h>
18 #include <llvm/Support/MathExtras.h>
43 addFixup(8u, 0x0, llvm::ELF::R_HEX_HI16);
44 addFixup(12u, 0x0, llvm::ELF::R_HEX_LO16);
65 case llvm::ELF::R_HEX_B22_PCREL:
68 case llvm::ELF::R_HEX_B15_PCREL:
71 case llvm::ELF::R_HEX_B7_PCREL:
74 case llvm::ELF::R_HEX_B13_PCREL:
77 case llvm::ELF::R_HEX_B9_PCREL:
/frameworks/compile/mclinker/lib/Target/Mips/TargetInfo/
H A DMipsTargetInfo.cpp18 mcld::RegisterTarget<llvm::Triple::mipsel> X1(TheMipselTarget, "mipsel");
19 mcld::RegisterTarget<llvm::Triple::mips64el> X2(TheMips64elTarget,
/frameworks/compile/mclinker/lib/Target/X86/TargetInfo/
H A DX86TargetInfo.cpp19 mcld::RegisterTarget<llvm::Triple::x86> X(TheX86_32Target, "x86");
20 mcld::RegisterTarget<llvm::Triple::x86_64> Y(TheX86_64Target, "x86-64");
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86.h13 namespace llvm { namespace
15 } // namespace llvm
25 TargetLDBackend* createX86LDBackend(const llvm::Target&, const std::string&);
/frameworks/compile/slang/
H A Dlegacy_bitcode.h17 #include "llvm/IR/Attributes.h"
20 static inline uint64_t encodeLLVMAttributesForBitcode(llvm::AttributeSet A,
23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) {
H A Dslang_rs_export_reduce.h20 #include "llvm/ADT/StringRef.h"
21 #include "llvm/ADT/SmallVector.h"
36 typedef llvm::SmallVectorImpl<const clang::ParmVarDecl*> InVec;
37 typedef llvm::SmallVectorImpl<const RSExportType*> InTypeVec;
74 llvm::SmallVector<const clang::ParmVarDecl*, kAccumulatorInsSmallSize> mAccumulatorIns;
75 llvm::SmallVector<const RSExportType*, kAccumulatorInsSmallSize> mAccumulatorInTypes;
82 const llvm::StringRef &NameReduce,
83 const llvm::StringRef &NameInitializer,
84 const llvm::StringRef &NameAccumulator,
85 const llvm
[all...]
H A Dslang_backend.cpp38 #include "llvm/ADT/Twine.h"
39 #include "llvm/ADT/StringExtras.h"
41 #include "llvm/Bitcode/ReaderWriter.h"
43 #include "llvm/CodeGen/RegAllocRegistry.h"
44 #include "llvm/CodeGen/SchedulerRegistry.h"
46 #include "llvm/IR/Constant.h"
47 #include "llvm/IR/Constants.h"
48 #include "llvm/IR/DataLayout.h"
49 #include "llvm/IR/DebugLoc.h"
50 #include "llvm/I
[all...]
H A Drs_cc_options.h20 #include "llvm/Option/ArgList.h"
21 #include "llvm/Option/Option.h"
22 #include "llvm/Option/OptTable.h"
30 namespace llvm { namespace
41 // Options for the RenderScript compiler llvm-rs-cc
100 llvm::CodeGenOpt::Level mOptimizationLevel;
121 mOptimizationLevel = llvm::CodeGenOpt::Aggressive;
130 llvm::opt::OptTable *createRSCCOptTable();
135 * \param ArgVector - the input arguments to llvm-rs-cc
141 bool ParseArguments(const llvm
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DGNUInfo.h11 #include <llvm/ADT/Triple.h>
12 #include <llvm/Support/ELF.h>
21 explicit GNUInfo(const llvm::Triple& pTriple);
26 virtual uint8_t ELFVersion() const { return llvm::ELF::EV_CURRENT; }
67 const llvm::Triple& m_Triple;
/frameworks/compile/libbcc/lib/
H A DRSScriptGroupFusion.cpp24 #include "llvm/ADT/StringExtras.h"
25 #include "llvm/IR/DataLayout.h"
26 #include "llvm/IR/IRBuilder.h"
27 #include "llvm/IR/Module.h"
28 #include "llvm/Support/raw_ostream.h"
30 using llvm::Function;
31 using llvm::Module;
133 llvm::FunctionType* getFusedFuncType(bcc::BCCContext& Context,
148 llvm::SmallVector<llvm
[all...]
H A DRSScriptGroupFusion.h23 namespace llvm { namespace
45 llvm::Module* mergedModule);
48 const std::string& newName, llvm::Module* mergedModule);
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFReader.h17 #include <llvm/ADT/StringRef.h>
18 #include <llvm/Support/ELF.h>
19 #include <llvm/Support/Host.h>
39 typedef llvm::ELF::Elf32_Ehdr ELFHeader;
40 typedef llvm::ELF::Elf32_Shdr SectionHeader;
41 typedef llvm::ELF::Elf32_Sym Symbol;
42 typedef llvm::ELF::Elf32_Rel Rel;
43 typedef llvm::ELF::Elf32_Rela Rela;
74 llvm::StringRef pRegion,
86 llvm
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameHdr.cpp14 #include <llvm/Support/Dwarf.h>
15 #include <llvm/Support/DataTypes.h>
51 data[1] = llvm::dwarf::DW_EH_PE_pcrel | llvm::dwarf::DW_EH_PE_sdata4;
66 data[2] = llvm::dwarf::DW_EH_PE_omit;
68 data[3] = llvm::dwarf::DW_EH_PE_omit;
71 data[2] = llvm::dwarf::DW_EH_PE_udata4;
73 data[3] = llvm::dwarf::DW_EH_PE_datarel | llvm::dwarf::DW_EH_PE_sdata4;
147 if (eh_value == llvm
[all...]
H A DDebugString.cpp21 #include <llvm/Support/Casting.h>
22 #include <llvm/Support/ManagedStatic.h>
28 static llvm::ManagedStatic<DebugString> g_DebugString;
42 llvm::StringRef strings;
46 RegionFragment* frag = llvm::cast<RegionFragment>(&(*it));
56 m_StringTable.insertString(llvm::StringRef(str, len));
72 llvm::StringRef d_str;
75 llvm::cast<RegionFragment>(info->outSymbol()->fragRef()->frag());
83 m_StringTable.getOutputOffset(llvm::StringRef(str, string_length(str))));
H A DELFReader.cpp22 #include <llvm/ADT/StringRef.h>
23 #include <llvm/ADT/Twine.h>
24 #include <llvm/Support/ELF.h>
25 #include <llvm/Support/Host.h>
46 const llvm::ELF::Elf32_Ehdr* hdr =
47 reinterpret_cast<const llvm::ELF::Elf32_Ehdr*>(pELFHeader);
48 if (memcmp(llvm::ELF::ElfMagic, hdr, 4) == 0)
67 llvm::StringRef pRegion,
70 size_t entsize = pRegion.size() / sizeof(llvm::ELF::Elf32_Sym);
71 const llvm
[all...]
/frameworks/compile/libbcc/bcinfo/
H A DBitcodeTranslator.cpp31 #include "llvm/Bitcode/BitstreamWriter.h"
32 #include "llvm/Bitcode/ReaderWriter.h"
33 #include "llvm/IR/LLVMContext.h"
34 #include "llvm/IR/Module.h"
35 #include "llvm/Support/MemoryBuffer.h"
36 #include "llvm/Support/raw_ostream.h"
73 static void stripUnknownAttributes(llvm::Module *M) {
74 for (llvm::Function &F : *M)
128 std::unique_ptr<llvm::LLVMContext> mContext(new llvm
[all...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringEntry.h12 #include <llvm/ADT/StringRef.h>
13 #include <llvm/Support/DataTypes.h>
29 typedef llvm::StringRef key_type;
47 bool compare(const llvm::StringRef& pX) { return key().equals(pX); }
49 bool compare(const llvm::StringRef& pX) const { return key().equals(pX); }
66 class StringEntry<llvm::StringRef> {
68 typedef llvm::StringRef key_type;
69 typedef llvm::StringRef value_type;
88 void setValue(llvm::StringRef pVal);
90 bool compare(const llvm
[all...]
H A DStringHash.h12 #include <llvm/ADT/StringRef.h>
13 #include <llvm/Support/DataTypes.h>
29 : public std::unary_function<const llvm::StringRef, uint32_t> {
30 uint32_t operator()(const llvm::StringRef pKey) const {
41 : public std::unary_function<const llvm::StringRef, uint32_t> {
42 uint32_t operator()(const llvm::StringRef pKey) const {
60 : public std::unary_function<const llvm::StringRef, uint32_t> {
61 uint32_t operator()(const llvm::StringRef pKey) const {
76 : public std::unary_function<const llvm::StringRef, uint32_t> {
77 uint32_t operator()(const llvm
[all...]
/frameworks/compile/libbcc/include/bcc/
H A DSource.h22 namespace llvm { namespace
38 llvm::Module *mModule;
46 // getting linked with a different llvm::Module).
50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
66 llvm::Module &pModule,
87 void setModule(llvm::Module *pModule);
89 inline llvm::Module &getModule()
91 inline const llvm::Module &getModule() const
109 // llvm::Module

Completed in 6378 milliseconds

1234567891011>>