/external/llvm/lib/Bitcode/Reader/ |
CMakeLists.txt | 7 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Bitcode
|
/frameworks/compile/libbcc/bcinfo/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...] |
/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);
|
/external/clang/test/Driver/ |
embed-bitcode.c | 1 // RUN: %clang -ccc-print-bindings -c %s -fembed-bitcode 2>&1 | FileCheck %s 5 // RUN: %clang %s -c -fembed-bitcode -fintegrated-as 2>&1 -### | FileCheck %s -check-prefix=CHECK-CC 10 // CHECK-CC: -fembed-bitcode=all 12 // RUN: %clang %s -c -fembed-bitcode=bitcode -fintegrated-as 2>&1 -### | FileCheck %s -check-prefix=CHECK-BITCODE 13 // CHECK-BITCODE: -cc1 14 // CHECK-BITCODE: -emit-llvm-bc 15 // CHECK-BITCODE: -cc1 16 // CHECK-BITCODE: -emit-ob [all...] |
/external/swiftshader/third_party/LLVM/test/Object/ |
nm-archive.test | 3 RUN: llvm-nm %p/TestObjectFiles/archive-test.a-bitcode \ 4 RUN: | FileCheck %s -check-prefix BITCODE 15 BITCODE: U SomeOtherFunction 16 BITCODE-NEXT: T main 17 BITCODE-NEXT: U puts
|
/frameworks/compile/slang/ |
slang_bitcode_gen.cpp | 28 #include "llvm/Bitcode/ReaderWriter.h" 38 llvm::raw_string_ostream Bitcode(BitcodeStr); 40 // The older bitcode writers will produce invalid bitcode if the -g 42 // when -g is set. However, this will produce a bitcode file linked to 45 // If bcc receives a bitcode file with a format of debug info 47 // fail the verification stage. Failing this stage results in the bitcode 48 // loader returning null and the compiler will terminate abruptly. Bitcode 53 // bitcode. At the moment the only practical guarantee which can be made 54 // is that the debug bitcode emitted by any slang will work with the bc [all...] |
/external/clang/test/Frontend/ |
embed-bitcode.ll | 5 ; RUN: -fembed-bitcode=all -x ir %s -o - \ 8 ; RUN: -fembed-bitcode=marker -x ir %s -o - \ 11 ; RUN: -fembed-bitcode=all -x ir %s -o - \ 18 ; RUN: -fembed-bitcode=all -x ir %t.bc -o - \ 21 ; RUN: -fembed-bitcode=bitcode -x ir %t.bc -o - \ 22 ; RUN: | FileCheck %s -check-prefix=CHECK-ONLY-BITCODE 24 ; RUN: -fembed-bitcode=marker -x ir %t.bc -o - \ 27 ; run through -fembed-bitcode twice and make sure it doesn't crash 29 ; RUN: -fembed-bitcode=all -x ir %s -o - [all...] |
/frameworks/compile/libbcc/bcinfo/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,
|
/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 21 (** [write_bitcode_to_fd ~unbuffered fd m] writes the bitcode for module 29 the bitcode for module [m]. *) 34 (** [output_bitcode ~unbuffered c m] writes the bitcode for module [m]
|
/external/llvm/docs/CommandGuide/ |
llvm-link.rst | 1 llvm-link - LLVM bitcode linker 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, 22 to write raw bitcode output if the output stream is a terminal. With this 23 option, :program:`llvm-link` will write raw bitcode regardless of the output 33 Write output in LLVM intermediate language (instead of bitcode). 38 output bitcode file to standard error. 47 This typically includes a message for each bitcode file linked in and for each
|
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 | 13 it from the specified LLVM bitcode file. It is primarily used as a debugging 16 In addition to extracting the bitcode of the specified function, 30 refuse to write raw bitcode output if the output stream is a terminal. With 31 this option, :program:`llvm-extract` will write raw bitcode regardless of the 36 Extract the function named *function-name* from the LLVM bitcode. May be 41 Extract the function(s) matching *function-regular-expr* from the LLVM bitcode. 47 Extract the global variable named *global-name* from the LLVM bitcode. May be 53 bitcode. All global variables matching the regular expression will be 67 Write output in LLVM intermediate language (instead of bitcode).
|
/external/llvm/lib/ |
CMakeLists.txt | 6 add_subdirectory(Bitcode)
|
/external/llvm/test/Bitcode/ |
upgrade-global-ctors.ll | 4 ; Global constructors should no longer be upgraded when reading bitcode.
|
/external/swiftshader/third_party/LLVM/test/Bitcode/ |
AutoUpgradeGlobals.ll | 1 ; This isn't really an assembly file. It just runs test on bitcode to ensure
|
/external/swiftshader/third_party/LLVM/docs/CommandGuide/ |
llvm-link.pod | 13 B<llvm-link> takes several LLVM bitcode files and links them together into a
14 single LLVM bitcode file. It writes the output file to standard output, unless
37 write raw bitcode output if the output stream is a terminal. With this option,
38 B<llvm-link> will write raw bitcode regardless of the output device.
47 Write output in LLVM intermediate language (instead of bitcode).
52 bitcode file to standard error.
61 typically includes a message for each bitcode file linked in and for each
|
llvm-nm.pod | 5 llvm-nm - list LLVM bitcode file's symbol table
13 The B<llvm-nm> utility lists the names of symbols from the LLVM bitcode files,
14 or B<ar> archives containing LLVM bitcode files, named on the command line.
17 process a bitcode file on its standard input stream.
31 Named object is referenced but undefined in this bitcode file
63 Because LLVM bitcode files typically contain objects that are not considered to
66 even symbols which are defined in the bitcode file.
86 Print only symbols defined in this bitcode file (as opposed to
93 from other bitcode files.
97 Print only symbols referenced but not defined in this bitcode file. [all...] |
llvm-bcanalyzer.pod | 5 llvm-bcanalyzer - LLVM bitcode analyzer
13 The B<llvm-bcanalyzer> command is a small utility for analyzing bitcode files.
14 The tool reads a bitcode file (such as generated with the B<llvm-as> tool) and
15 produces a statistical report on the contents of the bitcode file. The tool
16 can also dump a low level but human readable version of the bitcode file.
18 directly with the bitcode file format. Most LLVM users can just ignore
36 Causes B<llvm-bcanalyzer> to dump the bitcode in a human readable format. This
38 the encoding of the bitcode file.
43 bitcode. This ensures that the statistics generated are based on a consistent
64 =item B<Bitcode Analysis Of Module> [all...] |
llvm-extract.pod | 14 the specified LLVM bitcode file. It is primarily used as a debugging tool to
17 In addition to extracting the bitcode of the specified function,
32 write raw bitcode output if the output stream is a terminal. With this option,
33 B<llvm-extract> will write raw bitcode regardless of the output device.
37 Extract the function named I<function-name> from the LLVM bitcode. May be
42 Extract the function(s) matching I<function-regular-expr> from the LLVM bitcode.
48 Extract the global variable named I<global-name> from the LLVM bitcode. May be
54 bitcode. All global variables matching the regular expression will be extracted.
68 Write output in LLVM intermediate language (instead of bitcode).
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp | 3 // RUN: FileCheck --check-prefix=BITCODE %s < %t.ll 32 // BITCODE-DAG: @"\01??_7X@test1@@6BA@1@@" 33 // BITCODE-DAG: @"\01??_7X@test1@@6BB@1@@" 74 // BITCODE-DAG: @"\01??_7X@test2@@6BA@1@@" 75 // BITCODE-DAG: @"\01??_7X@test2@@6BB@1@@" 76 // BITCODE-DAG: @"\01??_7X@test2@@6BC@1@@" 157 // BITCODE-LABEL: define {{.*}}\01?ffun@test4@@YAXAAUC@1@@Z 159 // BITCODE: load 160 // BITCODE: bitcast 161 // BITCODE: bitcas [all...] |
/external/swiftshader/third_party/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]
|
/frameworks/compile/libbcc/bcinfo/ |
BitcodeTranslator.cpp | 31 #include "llvm/Bitcode/BitstreamWriter.h" 32 #include "llvm/Bitcode/ReaderWriter.h" 66 * compatible with LLVM's default bitcode reader). 78 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, 80 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr), 89 // the bitcode would be improper. 99 ALOGE("Invalid/empty bitcode"); 105 ALOGE("Bitcode wrapper (%u) and translator (%u) disagree about target API", 126 // Do the actual transcoding by invoking a 2.7-era bitcode reader that can 127 // then write the bitcode back out in a more modern (acceptable) version [all...] |