Home
last modified time | relevance | path

Searched refs:MemoryBuffer (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/libbcc/lib/Core/
DSource.cpp41 std::unique_ptr<llvm::MemoryBuffer> &&pInput) { in helper_load_bitcode()
65 std::unique_ptr<llvm::MemoryBuffer> input_memory = in CreateFromBuffer()
66 llvm::MemoryBuffer::getMemBuffer(input_data, "", false); in CreateFromBuffer()
89 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> mb_or_error = in CreateFromFile()
90 llvm::MemoryBuffer::getFile(pPath); in CreateFromFile()
96 std::unique_ptr<llvm::MemoryBuffer> input_data = std::move(mb_or_error.get()); in CreateFromFile()
98 std::unique_ptr<llvm::MemoryBuffer> input_memory(input_data.release()); in CreateFromFile()
/frameworks/compile/slang/BitWriter_2_9/
DReaderWriter_2_9.h21 class MemoryBuffer; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/compile/slang/BitWriter_3_2/
DReaderWriter_3_2.h21 class MemoryBuffer; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/compile/slang/BitWriter_2_9_func/
DReaderWriter_2_9_func.h21 class MemoryBuffer; variable
34 llvm::Module *getLazyBitcodeModule(llvm::MemoryBuffer *Buffer,
43 std::string getBitcodeTargetTriple(llvm::MemoryBuffer *Buffer,
50 llvm::Module *ParseBitcodeFile(llvm::MemoryBuffer *Buffer, llvm::LLVMContext& Context,
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitReader_2_7.h31 class MemoryBuffer; variable
40 using llvm::MemoryBuffer;
48 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer,
DBitcodeReader.cpp189 std::unique_ptr<MemoryBuffer> Buffer;
255 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C,
392 BitcodeReader::BitcodeReader(MemoryBuffer *buffer, LLVMContext &C, in BitcodeReader()
3491 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, in getLazyBitcodeModuleImpl()
3513 llvm_2_7::getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, in getLazyBitcodeModule()
3525 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Buffer, false); in parseBitcodeFile()
3543 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Buffer, false); in getBitcodeTargetTriple()
/frameworks/compile/mclinker/lib/Support/
DMemoryArea.cpp23 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > buffer_or_error = in MemoryArea()
24 llvm::MemoryBuffer::getFile(pFilename, in MemoryArea()
36 llvm::MemoryBuffer::getMemBuffer(mem, in MemoryArea()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitReader_3_0.h31 class MemoryBuffer; variable
40 using llvm::MemoryBuffer;
48 getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer,
DBitcodeReader.cpp432 std::unique_ptr<MemoryBuffer> Buffer;
493 explicit BitcodeReader(MemoryBuffer *buffer, LLVMContext &C,
631 BitcodeReader::BitcodeReader(MemoryBuffer *buffer, LLVMContext &C, in BitcodeReader()
3829 getLazyBitcodeModuleImpl(std::unique_ptr<MemoryBuffer> &&Buffer, in getLazyBitcodeModuleImpl()
3851 llvm_3_0::getLazyBitcodeModule(std::unique_ptr<MemoryBuffer> &&Buffer, in getLazyBitcodeModule()
3863 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Buffer, false); in parseBitcodeFile()
3881 std::unique_ptr<MemoryBuffer> Buf = MemoryBuffer::getMemBuffer(Buffer, false); in getBitcodeTargetTriple()
/frameworks/compile/libbcc/bcinfo/
DBitcodeTranslator.cpp122 std::unique_ptr<llvm::MemoryBuffer> MEM( in translate()
123 llvm::MemoryBuffer::getMemBuffer( in translate()
DMetadataExtractor.cpp500 std::unique_ptr<llvm::MemoryBuffer> MEM( in extract()
501 llvm::MemoryBuffer::getMemBuffer( in extract()
/frameworks/compile/mclinker/include/mcld/Support/
DMemoryArea.h43 std::unique_ptr<llvm::MemoryBuffer> m_pMemoryBuffer;
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp341 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> mb_or_error = in main()
342 llvm::MemoryBuffer::getFile(OptInputFilenames[0].c_str()); in main()
348 std::unique_ptr<llvm::MemoryBuffer> input_data = std::move(mb_or_error.get()); in main()
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp315 std::unique_ptr<llvm::MemoryBuffer> mem; in main()
317 mem = llvm::MemoryBuffer::getMemBuffer( in main()