HomeSort by relevance Sort by last modified time
    Searched refs:bitcode (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
llvm_wrapper.h 10 LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len);
llvm_wrapper.cpp 11 extern "C" LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len)
14 llvm::StringRef str((const char*)bitcode, bitcode_len);
  /external/mesa3d/src/gallium/drivers/r600/
llvm_wrapper.h 10 LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len);
llvm_wrapper.cpp 11 extern "C" LLVMModuleRef llvm_parse_bitcode(const unsigned char * bitcode, unsigned bitcode_len)
14 llvm::StringRef str((const char*)bitcode, bitcode_len);
  /frameworks/compile/libbcc/bcinfo/
BitcodeWrapper.cpp 24 #include "llvm/Bitcode/ReaderWriter.h"
31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize)
32 : mFileType(BC_NOT_BC), mBitcode(bitcode),
BitcodeTranslator.cpp 30 #include "llvm/Bitcode/BitstreamWriter.h"
31 #include "llvm/Bitcode/ReaderWriter.h"
63 * compatible with LLVM's default bitcode reader).
70 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
72 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL),
81 // the bitcode would be improper.
91 ALOGE("Invalid/empty bitcode");
97 ALOGE("Bitcode wrapper (%u) and translator (%u) disagree about target API",
117 // Do the actual transcoding by invoking a 2.7-era bitcode reader that can
118 // then write the bitcode back out in a more modern (acceptable) version
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
radeon_llvm_emit.h 37 unsigned char * bitcode, unsigned bitcode_len,
  /external/mesa3d/src/gallium/drivers/radeon/
radeon_llvm_emit.h 37 unsigned char * bitcode, unsigned bitcode_len,
  /frameworks/compile/libbcc/include/bcinfo/
BitcodeTranslator.h 34 * Translates \p bitcode of a particular \p version to the latest version.
36 * \param bitcode - input bitcode string.
37 * \param bitcodeSize - length of \p bitcode string (in bytes).
38 * \param version - corresponding target SDK version of \p bitcode.
40 BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
46 * Translate the supplied bitcode to the latest supported version.
48 * \return true if the bitcode was translated successfully and false if an
54 * \return translated bitcode.
61 * \return size of the translated bitcode (in bytes)
    [all...]
BitcodeWrapper.h 62 * Reads wrapper information from \p bitcode.
64 * \param bitcode - input bitcode string.
65 * \param bitcodeSize - length of \p bitcode string (in bytes).
67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
72 * Attempt to unwrap the target bitcode. This function is \deprecated.
79 * \return type of bitcode file.
86 * \return header version of bitcode wrapper.
93 * \return target API version for this bitcode.
100 * \return compiler version that generated this bitcode
    [all...]
MetadataExtractor.h 72 * Reads metadata from \p bitcode.
74 * \param bitcode - input bitcode string.
75 * \param bitcodeSize - length of \p bitcode string (in bytes).
77 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
89 * Extract the actual metadata from the supplied bitcode.
181 * \return compiler version that generated this bitcode.
188 * \return compiler optimization level for this bitcode.
  /external/llvm/bindings/ocaml/bitwriter/
llvm_bitwriter.mli 10 (** Bitcode writer.
12 This interface provides an ocaml API for the LLVM bitcode writer, the
15 (** [write_bitcode_file m path] writes the bitcode for module [m] to the file at
20 (** [write_bitcode_to_fd ~unbuffered fd m] writes the bitcode for module
27 (** [output_bitcode ~unbuffered c m] writes the bitcode for module [m]
llvm_bitwriter.ml 16 (* Writes the bitcode for module the given path. Returns true if successful. *)
  /frameworks/compile/libbcc/bcinfo/tools/
main.cpp 24 #include <llvm/Bitcode/ReaderWriter.h>
50 // information about a supplied bitcode input file.
219 static size_t readBitcode(const char **bitcode) {
244 *bitcode = (const char*) calloc(1, bitcodeSize + 1);
245 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in);
255 static void releaseBitcode(const char **bitcode) {
256 if (bitcode && *bitcode) {
257 free((void*) *bitcode);
258 *bitcode = NULL
270 const char *bitcode = NULL; local
    [all...]
  /external/llvm/bindings/ocaml/bitreader/
llvm_bitreader.mli 10 (** Bitcode reader.
12 This interface provides an ocaml API for the LLVM bitcode reader, the
17 (** [get_module context mb] reads the bitcode for a new module [m] from the
24 (** [parse_bitcode context mb] parses the bitcode for a new module [m] from the
  /frameworks/compile/mclinker/include/mcld/
LinkerConfig.h 30 * bitcode() - the bitcode being linked
81 const BitcodeOption& bitcode() const { return m_Bitcode; } function in class:mcld::LinkerConfig
82 BitcodeOption& bitcode() { return m_Bitcode; } function in class:mcld::LinkerConfig
  /external/chromium_org/ppapi/native_client/src/untrusted/irt_stub/
nacl.scons 21 if env.Bit('bitcode'):
  /external/llvm/test/Bindings/Ocaml/
bitreader.ml 55 (* corrupt the bitcode *)
58 output_string oc "not a bitcode file\n";
  /frameworks/rs/
rsScriptC.h 60 const uint8_t *bitcode, size_t bitcodeLen);
rsScriptC.cpp 248 const uint8_t *bitcode,
251 //ALOGE("runCompiler %p %p %p %p %p %i", rsc, this, resName, cacheDir, bitcode, bitcodeLen);
255 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen);
257 ALOGE("Bitcode is not in proper container format (raw or wrapper)");
267 // about the bitcode.
274 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen,
277 ALOGE("Failed to translate bitcode from version: %u", sdkVersion);
282 bitcode = (const uint8_t *) BT->getTranslatedBitcode();
298 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
  /external/llvm/
README.android 47 * This downstreaming could have broken bitcode compatibility
48 * Upstream was migrating from 2.7 bitcode to 3.0 bitcode.
56 ==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris Lattner>
58 * Our bitcode reader can read both 2.7 and 3.0 versions. Writer is tracking upstream.
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
vl_vlc.h 62 uint16_t bitcode; member in struct:vl_vlc_compressed
84 dst[src->bitcode >> (16 - bits) | i] = src->entry;
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_vlc.h 62 uint16_t bitcode; member in struct:vl_vlc_compressed
84 dst[src->bitcode >> (16 - bits) | i] = src->entry;
  /art/compiler/llvm/
llvm_compilation_unit.cc 46 #include <llvm/Bitcode/ReaderWriter.h>
155 std::string bitcode; local
156 DumpBitcodeToString(bitcode);
159 output->WriteFully(bitcode.data(), bitcode.size());
171 // Dump the bitcode for debugging
240 // If we don't need write the bitcode to file, add the AddSuspendCheckToLoopLatchPass to the
255 // Write bitcode to file
264 LOG(ERROR) << "Failed to create bitcode output file: " << errmsg;
  /external/llvm/lib/Object/
ObjectFile.cpp 49 case sys::fs::file_magic::bitcode:

Completed in 875 milliseconds

1 2