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

1 2

  /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 28 #include "llvm/Bitcode/BitstreamWriter.h"
29 #include "llvm/Bitcode/ReaderWriter.h"
61 * compatible with LLVM's default bitcode reader).
68 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
70 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(NULL),
79 // the bitcode would be improper.
89 ALOGE("Invalid/empty bitcode");
95 ALOGE("Bitcode wrapper (%u) and translator (%u) disagree about target API",
115 // Do the actual transcoding by invoking a 2.7-era bitcode reader that can
116 // then write the bitcode back out in a more modern (acceptable) version
    [all...]
MetadataExtractor.cpp 26 #include "llvm/Bitcode/ReaderWriter.h"
62 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize)
63 : mModule(NULL), mBitcode(bitcode), mBitcodeSize(bitcodeSize),
70 BitcodeWrapper wrapper(bitcode, bitcodeSize);
331 // Handle legacy case for pre-ICS bitcode that doesn't contain a metadata
404 ALOGE("Invalid/empty bitcode/module");
420 ALOGE("Could not parse bitcode file");
  /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 32 * bitcode() - the bitcode being linked
85 const BitcodeOption& bitcode() const { return m_Bitcode; } function in class:mcld::LinkerConfig
86 BitcodeOption& bitcode() { return m_Bitcode; } function in class:mcld::LinkerConfig
  /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 230 const uint8_t *bitcode,
233 //ALOGE("runCompiler %p %p %p %p %p %i", rsc, this, resName, cacheDir, bitcode, bitcodeLen);
237 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeLen);
239 ALOGE("Bitcode is not in proper container format (raw or wrapper)");
249 // about the bitcode.
256 BT = new bcinfo::BitcodeTranslator((const char *)bitcode, bitcodeLen,
259 ALOGE("Failed to translate bitcode from version: %u", sdkVersion);
264 bitcode = (const uint8_t *) BT->getTranslatedBitcode();
280 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) {
  /external/llvm/
README.android 43 * This downstreaming could have broken bitcode compatibility
44 * Upstream was migrating from 2.7 bitcode to 3.0 bitcode.
52 ==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris Lattner>
54 * Our bitcode reader can read both 2.7 and 3.0 versions. Writer is tracking upstream.
  /frameworks/compile/mclinker/lib/CodeGen/
MCLinker.cpp 61 // 5. Bitcode. Bitcode is a kind of object files. MCLinker compiles it to
62 // object file first, then link it as a object file. (Bitcode is recorded
244 !m_Config.bitcode().hasDefined()) {
261 1; // bitcode
372 // ----- bitcode ----- //
373 if (m_Config.bitcode().hasDefined()) {
374 actions.push_back(new BitcodeAction(m_Config.bitcode().getPosition(),
375 m_Config.bitcode().getPath()));
  /frameworks/rs/cpu_ref/
rsCpuCore.h 101 uint8_t const *bitcode, size_t bitcodeSize,
rsCpuScript.h 50 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
rsd_cpu.h 116 uint8_t const *bitcode, size_t bitcodeSize,
rsCpuCore.cpp 453 uint8_t const *bitcode, size_t bitcodeSize,
457 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags)) {
rsCpuScript.cpp 107 uint8_t const *bitcode, size_t bitcodeSize,
109 //ALOGE("rsdScriptCreate %p %p %p %p %i %i %p", rsc, resName, cacheDir, bitcode, bitcodeSize, flags, lookupFunc);
141 core_lib = selectRTCallback((const char *)bitcode, bitcodeSize);
150 (const char *)bitcode, bitcodeSize, core_lib,
  /frameworks/rs/driver/
rsdBcc.h 25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
rsdBcc.cpp 42 uint8_t const *bitcode,
47 bitcode, bitcodeSize, flags);
  /external/llvm/lib/Support/
Path.cpp 220 return type == fs::file_magic::bitcode;
  /external/llvm/include/llvm/Support/
FileSystem.h 186 bitcode, ///< Bitcode file enumerator in enum:llvm::sys::fs::file_magic::_
549 /// @brief Get bitcode library paths the system linker uses
552 /// @param result Set to the list of bitcode library paths.

Completed in 1005 milliseconds

1 2