/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
JITRegistrar.h | 13 #include "llvm/Support/MemoryBuffer.h" 30 virtual void registerObject(const MemoryBuffer &Object) = 0; 35 virtual bool deregisterObject(const MemoryBuffer &Object) = 0;
|
RuntimeDyldELF.h | 56 virtual ObjectImage *createObjectImage(const MemoryBuffer *InputBuffer); 65 bool isCompatibleFormat(const MemoryBuffer *InputBuffer) const;
|
/external/llvm/include/llvm/Support/ |
MemoryBuffer.h | 1 //===--- MemoryBuffer.h - Memory Buffer Interface ---------------*- C++ -*-===// 10 // This file defines the MemoryBuffer interface. 25 /// MemoryBuffer - This interface provides simple read-only access to a block 35 class MemoryBuffer { 39 MemoryBuffer(const MemoryBuffer &); // DO NOT IMPLEMENT 40 MemoryBuffer &operator=(const MemoryBuffer &); // DO NOT IMPLEMENT 42 MemoryBuffer() {} 46 virtual ~MemoryBuffer(); [all...] |
IRReader.h | 25 #include "llvm/Support/MemoryBuffer.h" 31 /// If the given MemoryBuffer holds a bitcode image, return a Module for it 34 /// function *always* takes ownership of the given MemoryBuffer. 35 inline Module *getLazyIRModule(MemoryBuffer *Buffer, 62 OwningPtr<MemoryBuffer> File; 63 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 72 /// If the given MemoryBuffer holds a bitcode image, return a Module 75 /// MemoryBuffer. 76 inline Module *ParseIR(MemoryBuffer *Buffer, 100 OwningPtr<MemoryBuffer> File [all...] |
/external/llvm/tools/llvm-mc/ |
Disassembler.h | 22 class MemoryBuffer; 35 MemoryBuffer &Buffer, 40 MemoryBuffer &buffer,
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
BitReader_2_7.h | 29 class MemoryBuffer; 36 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, 40 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 44 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
BitReader_3_0.h | 28 class MemoryBuffer; 35 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, 39 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 43 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
|
/external/clang/include/clang/Lex/ |
HeaderMap.h | 20 class MemoryBuffer; 36 const llvm::MemoryBuffer *FileBuffer; 39 HeaderMap(const llvm::MemoryBuffer *File, bool BSwap)
|
/external/llvm/include/llvm/Object/ |
Binary.h | 22 class MemoryBuffer; 35 MemoryBuffer *Data; 37 Binary(unsigned int Type, MemoryBuffer *Source); 97 error_code createBinary(MemoryBuffer *Source, OwningPtr<Binary> &Result);
|
/external/llvm/include/llvm/Assembly/ |
Parser.h | 22 class MemoryBuffer; 53 /// @brief Parse LLVM Assembly from a MemoryBuffer. This function *always* 54 /// takes ownership of the MemoryBuffer. 56 MemoryBuffer *F, ///< The MemoryBuffer containing assembly
|
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 1 //===--- MemoryBuffer.cpp - Memory Buffer implementation ------------------===// 10 // This file implements the MemoryBuffer interface. 14 #include "llvm/Support/MemoryBuffer.h" 40 // MemoryBuffer implementation itself. 43 MemoryBuffer::~MemoryBuffer() { } 45 /// init - Initialize this MemoryBuffer as a reference to externally allocated 47 void MemoryBuffer::init(const char *BufStart, const char *BufEnd, 66 /// GetNamedBuffer - Allocates a new MemoryBuffer with Name copied after it. 76 /// MemoryBufferMem - Named MemoryBuffer pointing to a block of memory [all...] |
/external/llvm/lib/AsmParser/ |
Parser.cpp | 19 #include "llvm/Support/MemoryBuffer.h" 25 Module *llvm::ParseAssembly(MemoryBuffer *F, 45 OwningPtr<MemoryBuffer> File; 46 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 57 MemoryBuffer *F = 58 MemoryBuffer::getMemBuffer(StringRef(AsmString, strlen(AsmString)),
|
/external/llvm/bindings/python/llvm/tests/ |
test_core.py | 3 from ..core import MemoryBuffer 18 MemoryBuffer(filename=source) 22 MemoryBuffer(filename="/hopefully/this/path/doesnt/exist")
|
/external/llvm/include/llvm/MC/MCParser/ |
AsmLexer.h | 23 class MemoryBuffer; 31 const MemoryBuffer *CurBuf; 45 void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
|
/external/llvm/include/llvm/ExecutionEngine/ |
RuntimeDyld.h | 23 class MemoryBuffer; 68 bool loadObject(MemoryBuffer *InputBuffer);
|
/external/llvm/test/Bindings/Ocaml/ |
bitreader.ml | 24 let mb = Llvm.MemoryBuffer.of_file fn in 29 Llvm.MemoryBuffer.dispose mb; 34 (* MemoryBuffer.of_file *) 36 let mb = Llvm.MemoryBuffer.of_file (fn ^ ".bogus") in 37 Llvm.MemoryBuffer.dispose mb; 45 let mb = Llvm.MemoryBuffer.of_file fn in 49 Llvm.MemoryBuffer.dispose mb; 65 let mb = Llvm.MemoryBuffer.of_file fn in 69 Llvm.MemoryBuffer.dispose mb;
|
ext_exc.ml | 10 ignore (Llvm_bitreader.get_module context (Llvm.MemoryBuffer.of_stdin ())) 15 ignore (Llvm.MemoryBuffer.of_file "/path/to/nonexistent/file")
|
/external/clang/include/clang/ARCMigrate/ |
FileRemapper.h | 20 class MemoryBuffer; 35 typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target; 55 void remap(StringRef filePath, llvm::MemoryBuffer *memBuf); 65 void remap(const FileEntry *file, llvm::MemoryBuffer *memBuf);
|
/external/llvm/lib/Object/ |
ObjectFile.cpp | 17 #include "llvm/Support/MemoryBuffer.h" 26 ObjectFile::ObjectFile(unsigned int Type, MemoryBuffer *source, error_code &ec) 30 ObjectFile *ObjectFile::createObjectFile(MemoryBuffer *Object) { 60 OwningPtr<MemoryBuffer> File; 61 if (MemoryBuffer::getFile(ObjectPath, File))
|
/external/llvm/tools/llvm-cov/ |
llvm-cov.cpp | 47 OwningPtr<MemoryBuffer> GCNO_Buff; 48 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputGCNO, GCNO_Buff)) { 59 OwningPtr<MemoryBuffer> GCDA_Buff; 60 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputGCDA, GCDA_Buff)) {
|
/external/llvm/utils/FileUpdate/ |
FileUpdate.cpp | 17 #include "llvm/Support/MemoryBuffer.h" 47 OwningPtr<MemoryBuffer> In; 48 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename.c_str(), In)) { 55 OwningPtr<MemoryBuffer> Out; 56 MemoryBuffer::getFile(OutputFilename.c_str(), Out);
|
/frameworks/compile/slang/ |
llvm-rs-link.cpp | 33 #include "llvm/Support/MemoryBuffer.h" 48 using llvm::MemoryBuffer; 108 static inline MemoryBuffer *LoadFileIntoMemory(const std::string &F) { 109 llvm::OwningPtr<MemoryBuffer> MB; 111 if (llvm::error_code EC = MemoryBuffer::getFile(F, MB)) { 118 static inline Module *ParseBitcodeFromMemoryBuffer(MemoryBuffer *MB, 133 MemoryBuffer *MB = LoadFileIntoMemory(F); 149 std::list<MemoryBuffer *> &LibBitcode) { 150 MemoryBuffer *MB; 156 MB = MemoryBuffer::getMemBuffer(llvm::StringRef(rslib_bc, rslib_bc_size) [all...] |
/external/clang/lib/Lex/ |
ScratchBuffer.cpp | 16 #include "llvm/Support/MemoryBuffer.h" 29 /// getToken - Splat the specified text into a temporary MemoryBuffer and 66 llvm::MemoryBuffer *Buf = 67 llvm::MemoryBuffer::getNewMemBuffer(RequestLen, "<scratch space>");
|
/external/llvm/include/llvm/Bitcode/ |
ReaderWriter.h | 21 class MemoryBuffer; 33 Module *getLazyBitcodeModule(MemoryBuffer *Buffer, 51 std::string getBitcodeTargetTriple(MemoryBuffer *Buffer, 58 Module *ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext &Context,
|
/frameworks/compile/slang/BitWriter_2_9/ |
ReaderWriter_2_9.h | 21 class MemoryBuffer; 34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer, 43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer, 50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
|