/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | RegionFragment.h | 13 #include <llvm/ADT/StringRef.h> 23 RegionFragment(llvm::StringRef pRegion, SectionData* pSD = NULL); 27 const llvm::StringRef getRegion() const { return m_Region; } 28 llvm::StringRef getRegion() { return m_Region; } 39 llvm::StringRef m_Region;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | MemoryArea.h | 14 #include <llvm/ADT/StringRef.h> 15 #include <llvm/Support/MemoryBuffer.h> 30 explicit MemoryArea(llvm::StringRef pFilename); 38 llvm::StringRef request(size_t pOffset, size_t pLength); 43 std::unique_ptr<llvm::MemoryBuffer> m_pMemoryBuffer;
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86GNUInfo.h | 13 #include <llvm/Support/ELF.h> 20 X86_32GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } 22 uint32_t machine() const { return llvm::ELF::EM_386; } 35 X86_64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } 37 uint32_t machine() const { return llvm::ELF::EM_X86_64; }
|
/frameworks/compile/mclinker/tools/mcld/lib/ |
H A D | TripleOptions.cpp | 17 #include <llvm/ADT/StringSwitch.h> 18 #include <llvm/MC/SubtargetFeature.h> 22 llvm::cl::opt<std::string> ArgTargetTriple("mtriple", 23 llvm::cl::desc("Override target triple for module")); 25 llvm::cl::opt<std::string> ArgMArch("march", 26 llvm::cl::desc("Architecture to generate code for (see --version)")); 28 llvm::cl::opt<std::string> ArgMCPU("mcpu", 29 llvm::cl::desc("Target a specific cpu type (-mcpu=help for details)"), 30 llvm::cl::value_desc("cpu-name"), 31 llvm [all...] |
H A D | PositionalOptions.cpp | 22 llvm::cl::list<mcld::sys::fs::Path> ArgInputObjectFiles(llvm::cl::Positional, 23 llvm::cl::desc("[input object files]"), 24 llvm::cl::ZeroOrMore); 27 llvm::cl::list<std::string> ArgLinkerScript("T", 28 llvm::cl::ZeroOrMore, 29 llvm::cl::desc("Linker script"), 30 llvm::cl::value_desc("file")); 35 llvm::cl::list<std::string> ArgNameSpecList("l", 36 llvm [all...] |
/frameworks/compile/libbcc/lib/Renderscript/ |
H A D | RSForEachExpand.cpp | 22 #include <llvm/IR/DerivedTypes.h> 23 #include <llvm/IR/Function.h> 24 #include <llvm/IR/Instructions.h> 25 #include <llvm/IR/IRBuilder.h> 26 #include <llvm/IR/MDBuilder.h> 27 #include <llvm/IR/Module.h> 28 #include <llvm/Pass.h> 29 #include <llvm/Support/raw_ostream.h> 30 #include <llvm/IR/DataLayout.h> 31 #include <llvm/I [all...] |
/frameworks/compile/mclinker/tools/mcld/include/mcld/ |
H A D | SearchPathOptions.h | 11 #include <llvm/Support/CommandLine.h> 29 llvm::cl::opt<mcld::sys::fs::Path, 31 llvm::cl::parser<mcld::sys::fs::Path> >& m_SysRoot; 32 llvm::cl::list<std::string, 34 llvm::cl::SearchDirParser>& m_SearchDirList; 35 llvm::cl::opt<bool>& m_NoStdlib; 36 llvm::cl::list<std::string, 38 llvm::cl::SearchDirParser>& m_RuntimePath; 41 llvm::cl::list<std::string, 43 llvm [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | SizeTraits.h | 12 #include <llvm/Support/DataTypes.h> 13 #include <llvm/Support/ELF.h> 49 typedef llvm::ELF::Elf32_Addr Addr; // Program address 50 typedef llvm::ELF::Elf32_Off Off; // File offset 51 typedef llvm::ELF::Elf32_Half Half; 52 typedef llvm::ELF::Elf32_Word Word; 53 typedef llvm::ELF::Elf32_Sword Sword; 55 typedef llvm::ELF::Elf32_Ehdr Ehdr; 56 typedef llvm::ELF::Elf32_Shdr Shdr; 57 typedef llvm [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 10 #include <llvm/Support/ErrorHandling.h> 11 #include <llvm/Support/raw_ostream.h> 12 #include <llvm/ADT/Twine.h> 33 llvm::StringRef desc = m_Engine.infoMap().getDescription(getID(), false); 107 llvm::report_fatal_error(llvm::Twine("Mismatched {} in the diagnostic: ") + 108 llvm::Twine(getID())); 115 llvm::report_fatal_error(llvm::Twine("In diagnostic: ") + 116 llvm [all...] |
/frameworks/rs/cpu_ref/linkloader/utils/ |
H A D | raw_ostream.cpp | 19 #include <llvm/Support/raw_ostream.h> 20 #include <llvm/Support/Format.h> 24 llvm::raw_ostream &out() { 25 static llvm::raw_ostream &singleton = llvm::outs(); 47 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, MyFormat const &mf) {
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsELFDynamic.cpp | 9 #include <llvm/Support/ELF.h> 31 reserveOne(llvm::ELF::DT_PLTGOT); 33 reserveOne(llvm::ELF::DT_MIPS_RLD_VERSION); 34 reserveOne(llvm::ELF::DT_MIPS_FLAGS); 35 reserveOne(llvm::ELF::DT_MIPS_BASE_ADDRESS); 36 reserveOne(llvm::ELF::DT_MIPS_LOCAL_GOTNO); 37 reserveOne(llvm::ELF::DT_MIPS_SYMTABNO); 38 reserveOne(llvm::ELF::DT_MIPS_GOTSYM); 41 reserveOne(llvm::ELF::DT_MIPS_PLTGOT); 47 applyOne(llvm [all...] |
H A D | MipsGNUInfo.cpp | 16 MipsGNUInfo::MipsGNUInfo(const llvm::Triple& pTriple) 34 return llvm::ELF::EM_MIPS; 52 uint64_t val = llvm::ELF::EF_MIPS_NOREORDER | m_PICFlags; 55 val |= llvm::ELF::EF_MIPS_ARCH_32R2 | llvm::ELF::EF_MIPS_ABI_O32; 57 val |= llvm::ELF::EF_MIPS_ARCH_64R2;
|
/frameworks/compile/mclinker/lib/CodeGen/ |
H A D | MCLDTargetMachine.cpp | 18 #include <llvm/Analysis/Passes.h> 19 #include <llvm/CodeGen/AsmPrinter.h> 20 #include <llvm/CodeGen/MachineFunctionAnalysis.h> 21 #include <llvm/CodeGen/MachineModuleInfo.h> 22 #include <llvm/CodeGen/GCStrategy.h> 23 #include <llvm/CodeGen/Passes.h> 24 #include <llvm/IR/DataLayout.h> 25 #include <llvm/IR/IRPrintingPasses.h> 26 #include <llvm/IR/Verifier.h> 27 #include <llvm/M [all...] |
/frameworks/compile/mclinker/lib/Support/ |
H A D | MemoryArea.cpp | 12 #include <llvm/Support/ErrorOr.h> 22 MemoryArea::MemoryArea(llvm::StringRef pFilename) 24 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> buffer_or_error = 25 llvm::MemoryBuffer::getFile(pFilename, /*FileSize*/ -1, 36 llvm::StringRef mem(pMemBuffer, pSize); 37 llvm::MemoryBuffer* buffer = 38 llvm::MemoryBuffer::getMemBuffer(mem, /*BufferName*/ "NaN", 44 llvm::StringRef MemoryArea::request(size_t pOffset, size_t pLength) 46 return llvm [all...] |
/frameworks/compile/libbcc/include/bcc/ |
H A D | Compiler.h | 20 namespace llvm { namespace 32 } // end namespace llvm 82 llvm::TargetMachine *mTarget; 87 enum ErrorCode runCodeGen(Script &pScript, llvm::raw_ostream &pResult); 99 enum ErrorCode compile(Script &pScript, llvm::raw_ostream &pResult, 100 llvm::raw_ostream *IRStream); 104 llvm::raw_ostream *IRStream = 0); 106 const llvm::TargetMachine& getTargetMachine() const 119 virtual bool beforeAddLTOPasses(Script &pScript, llvm::PassManager &pPM) 123 virtual bool afterAddLTOPasses(Script &pScript, llvm [all...] |
H A D | BCCContext.h | 20 namespace llvm { namespace 39 llvm::LLVMContext &getLLVMContext(); 40 const llvm::LLVMContext &getLLVMContext() const;
|
/frameworks/compile/slang/BitWriter_2_9/ |
H A D | ReaderWriter_2_9.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
H A D | BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 16 #include "llvm/IR/Instructions.h" 17 #include "llvm/IR/Module.h" 18 #include "llvm/Pass.h" 19 using namespace llvm; 44 llvm::ModulePass *llvm_2_9::createBitcodeWriterPass(llvm::raw_ostream &Str) {
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
H A D | ReaderWriter_2_9_func.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
H A D | BitcodeWriterPass.cpp | 15 #include "llvm/IR/Function.h" 16 #include "llvm/IR/Instructions.h" 17 #include "llvm/IR/Module.h" 18 #include "llvm/Pass.h" 19 using namespace llvm; 44 llvm::ModulePass *llvm_2_9_func::createBitcodeWriterPass(llvm::raw_ostream &Str) {
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | ReaderWriter_3_2.h | 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===// 19 namespace llvm { namespace 26 } // End llvm namespace 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 35 llvm::LLVMContext& Context, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::LLVMContext& Context, 50 llvm::Module *ParseBitcodeFile(llvm [all...] |
/frameworks/compile/slang/ |
H A D | slang_backend.cpp | 37 #include "llvm/IR/IRPrintingPasses.h" 39 #include "llvm/Bitcode/ReaderWriter.h" 41 #include "llvm/CodeGen/RegAllocRegistry.h" 42 #include "llvm/CodeGen/SchedulerRegistry.h" 44 #include "llvm/IR/LLVMContext.h" 45 #include "llvm/IR/Module.h" 46 #include "llvm/IR/Metadata.h" 48 #include "llvm/Transforms/IPO/PassManagerBuilder.h" 50 #include "llvm/IR/DataLayout.h" 51 #include "llvm/Targe [all...] |
/frameworks/compile/mclinker/include/mcld/CodeGen/ |
H A D | MCLinker.h | 16 #include <llvm/CodeGen/MachineFunctionPass.h> 18 namespace llvm { namespace 23 } // namespace of llvm 43 class MCLinker : public llvm::MachineFunctionPass 59 virtual bool doInitialization(llvm::Module &pM); 61 virtual bool doFinalization(llvm::Module &pM); 63 virtual bool runOnMachineFunction(llvm::MachineFunction& pMFn);
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GNUInfo.h | 13 #include <llvm/Support/ELF.h> 20 AArch64GNUInfo(const llvm::Triple& pTriple) : GNUInfo(pTriple) { } 22 uint32_t machine() const { return llvm::ELF::EM_AARCH64; }
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | EhFrameReader.h | 12 #include <llvm/ADT/StringRef.h> 13 #include <llvm/Support/DataTypes.h> 71 llvm::StringRef pRegion, 77 llvm::StringRef pData) const; 80 llvm::StringRef pRegion, 84 llvm::StringRef pRegion, 88 llvm::StringRef pRegion, 92 llvm::StringRef pRegion, 102 llvm::StringRef pData) const;
|