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

1 2 3 4 5 6 7 8 91011

  /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/test/Object/
nm-archive.test 5 RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE
16 BITCODE: U SomeOtherFunction
17 BITCODE-NEXT: T main
18 BITCODE-NEXT: U puts
  /external/llvm/unittests/
CMakeLists.txt 11 add_subdirectory(Bitcode)
  /frameworks/compile/libbcc/include/bcinfo/Wrap/
bitcode_wrapperer.h 17 // Define utility class to wrap/unwrap bitcode files. Does wrapping/unwrapping
18 // in such a way that the wrappered bitcode file is still a bitcode file.
32 // The bitcode wrapper header is the following 7 fixed 4-byte fields:
34 // 2) Version # 0 - The current version of wrapped bitcode files
35 // 3) (raw) bitcode offset
36 // 4) (raw) bitcode size
39 // 7) PNaCl Bitcode version
46 // Support class for outputting a wrapped bitcode file from a raw bitcode
    [all...]
wrapper_output.h 18 // contains a generated wrapped bitcode file, bitcode file,
30 // that contains a generated bitcode file, wrapped bitcode file,
wrapper_input.h 18 // a bitcode file, a wrapped bitcode file, or a data file to wrap.
29 // a bitcode file, a wrapped bitcode file, or data file to wrap.
  /external/llvm/lib/
CMakeLists.txt 5 add_subdirectory(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]
  /external/llvm/docs/CommandGuide/
llvm-bcanalyzer.rst 1 llvm-bcanalyzer - LLVM bitcode analyzer
12 The :program:`llvm-bcanalyzer` command is a small utility for analyzing bitcode
13 files. The tool reads a bitcode file (such as generated with the
15 the bitcode file. The tool can also dump a low level but human readable
16 version of the bitcode file. This tool is probably not of much interest or
17 utility except for those working directly with the bitcode file format. Most
37 Causes :program:`llvm-bcanalyzer` to dump the bitcode in a human readable
39 provides details about the encoding of the bitcode file.
44 bitcode. This ensures that the statistics generated are based on a consistent
63 **Bitcode Analysis Of Module*
    [all...]
llvm-extract.rst 17 the specified LLVM bitcode file. It is primarily used as a debugging tool to
20 In addition to extracting the bitcode of the specified function,
37 write raw bitcode output if the output stream is a terminal. With this option,
38 **llvm-extract** will write raw bitcode regardless of the output device.
44 Extract the function named *function-name* from the LLVM bitcode. May be
51 Extract the function(s) matching *function-regular-expr* from the LLVM bitcode.
59 Extract the global variable named *global-name* from the LLVM bitcode. May be
67 bitcode. All global variables matching the regular expression will be extracted.
87 Write output in LLVM intermediate language (instead of bitcode).
llvm-link.rst 12 :program:`llvm-link` takes several LLVM bitcode files and links them together
13 into a single LLVM bitcode file. It writes the output file to standard output,
36 to write raw bitcode output if the output stream is a terminal. With this
37 option, :program:`llvm-link` will write raw bitcode regardless of the output
47 Write output in LLVM intermediate language (instead of bitcode).
52 bitcode file to standard error.
61 This typically includes a message for each bitcode file linked in and for each
llvm-dis.rst 17 bitcode file and converts it into human-readable LLVM assembly language.
38 write raw bitcode output if the output stream is a terminal. With this option,
39 **llvm-dis** will write raw bitcode regardless of the output device.
  /frameworks/compile/libbcc/bcinfo/
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...]
BitcodeWrapper.cpp 24 #include "llvm/Bitcode/ReaderWriter.h"
31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize)
32 : mFileType(BC_NOT_BC), mBitcode(bitcode),
  /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
  /external/llvm/lib/Bitcode/Writer/
BitcodeWriterPass.cpp 1 //===--- Bitcode/Writer/BitcodeWriterPass.cpp - Bitcode Writer ------------===//
14 #include "llvm/Bitcode/ReaderWriter.h"
26 const char *getPassName() const { return "Bitcode Writer"; }
  /external/clang/test/CodeGen/
link-bitcode-file.c 2 // RUN: %clang_cc1 -triple i386-pc-linux-gnu -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s | FileCheck -check-prefix=CHECK-NO-BC %s
3 // RUN: %clang_cc1 -triple i386-pc-linux-gnu -DBITCODE -mlink-bitcode-file %t.bc -O3 -emit-llvm -o - %s 2>&1 | FileCheck -check-prefix=CHECK-BC %s
7 #ifdef BITCODE
  /external/llvm/include/llvm/Bitcode/
ReaderWriter.h 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===//
10 // This header defines interfaces to read and write LLVM bitcode files/streams.
28 /// getLazyBitcodeModule - Read the header of the specified bitcode buffer
46 /// getBitcodeTargetTriple - Read the header of the specified bitcode
55 /// ParseBitcodeFile - Read the specified bitcode file, returning the module.
72 /// for an LLVM IR bitcode wrapper.
86 /// raw LLVM IR bitcode (without a wrapper).
100 /// LLVM IR bitcode, either with or without a wrapper.
114 /// uint32_t BitcodeOffset; // Offset to traditional bitcode file
    [all...]
  /frameworks/compile/slang/BitWriter_2_9/
ReaderWriter_2_9.h 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===//
10 // This header defines interfaces to read and write LLVM bitcode files/streams.
29 /// getLazyBitcodeModule - Read the header of the specified bitcode buffer
38 /// getBitcodeTargetTriple - Read the header of the specified bitcode
47 /// ParseBitcodeFile - Read the specified bitcode file, returning the module.
64 /// for an LLVM IR bitcode wrapper.
78 /// raw LLVM IR bitcode (without a wrapper).
92 /// LLVM IR bitcode, either with or without a wrapper.
106 /// uint32_t BitcodeOffset; // Offset to traditional bitcode file
    [all...]
  /frameworks/compile/slang/BitWriter_2_9_func/
ReaderWriter_2_9_func.h 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===//
10 // This header defines interfaces to read and write LLVM bitcode files/streams.
29 /// getLazyBitcodeModule - Read the header of the specified bitcode buffer
38 /// getBitcodeTargetTriple - Read the header of the specified bitcode
47 /// ParseBitcodeFile - Read the specified bitcode file, returning the module.
64 /// for an LLVM IR bitcode wrapper.
78 /// raw LLVM IR bitcode (without a wrapper).
92 /// LLVM IR bitcode, either with or without a wrapper.
106 /// uint32_t BitcodeOffset; // Offset to traditional bitcode file
    [all...]
  /frameworks/compile/slang/BitWriter_3_2/
ReaderWriter_3_2.h 1 //===-- llvm/Bitcode/ReaderWriter.h - Bitcode reader/writers ----*- C++ -*-===//
10 // This header defines interfaces to read and write LLVM bitcode files/streams.
29 /// getLazyBitcodeModule - Read the header of the specified bitcode buffer
38 /// getBitcodeTargetTriple - Read the header of the specified bitcode
47 /// ParseBitcodeFile - Read the specified bitcode file, returning the module.
64 /// for an LLVM IR bitcode wrapper.
78 /// raw LLVM IR bitcode (without a wrapper).
92 /// LLVM IR bitcode, either with or without a wrapper.
106 /// uint32_t BitcodeOffset; // Offset to traditional bitcode file
    [all...]
BitcodeWriterPass.cpp 1 //===--- Bitcode/Writer/BitcodeWriterPass.cpp - Bitcode Writer ------------===//
26 const char *getPassName() const { return "Bitcode Writer"; }
  /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...]

Completed in 1029 milliseconds

1 2 3 4 5 6 7 8 91011