HomeSort by relevance Sort by last modified time
    Searched refs:Bitcode (Results 1 - 18 of 18) sorted by null

  /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/swiftshader/third_party/LLVM/lib/
Makefile 13 PARALLEL_DIRS := VMCore AsmParser Bitcode Archive Analysis Transforms CodeGen \
  /external/swiftshader/third_party/LLVM/tools/bugpoint/
ToolRunner.h 85 /// LLVM bitcode in a variety of ways. This abstract interface hides this
117 /// compileProgram - Compile the specified program from bitcode to executable
120 virtual void compileProgram(const std::string &Bitcode, std::string *Error,
123 /// OutputCode - Compile the specified program from bitcode to code
127 virtual GCC::FileType OutputCode(const std::string &Bitcode,
135 /// ExecuteProgram - Run the specified bitcode file, emitting output to the
140 virtual int ExecuteProgram(const std::string &Bitcode,
169 /// compileProgram - Compile the specified program from bitcode to executable
172 virtual void compileProgram(const std::string &Bitcode, std::string *Error,
175 virtual int ExecuteProgram(const std::string &Bitcode,
    [all...]
ToolRunner.cpp 184 virtual int ExecuteProgram(const std::string &Bitcode,
197 int LLI::ExecuteProgram(const std::string &Bitcode,
220 LLIArgs.push_back(Bitcode.c_str());
255 // Allows using a custom command for compiling the bitcode, thus allows, for
256 // example, to compile a bitcode fragment without linking or executing, then
267 virtual void compileProgram(const std::string &Bitcode,
272 virtual int ExecuteProgram(const std::string &Bitcode,
289 void CustomCompiler::compileProgram(const std::string &Bitcode,
299 ProgramArgs.push_back(Bitcode.c_str());
316 // Allows using a custom command for executing the bitcode, thus allows,
    [all...]
BugDriver.h 174 std::string Bitcode,
249 /// runPasses - Run the specified passes on Program, outputting a bitcode
252 /// otherwise return false. If DeleteOutput is set to true, the bitcode is
275 /// bitcode file. If an error occurs, true is returned.
297 /// ParseInputFile - Given a bitcode or assembly input filename, parse and
  /external/llvm/tools/bugpoint/
ToolRunner.h 84 /// LLVM bitcode in a variety of ways. This abstract interface hides this
115 /// compileProgram - Compile the specified program from bitcode to executable
118 virtual void compileProgram(const std::string &Bitcode, std::string *Error,
121 /// OutputCode - Compile the specified program from bitcode to code
125 virtual CC::FileType OutputCode(const std::string &Bitcode,
133 /// ExecuteProgram - Run the specified bitcode file, emitting output to the
138 virtual int ExecuteProgram(const std::string &Bitcode,
170 /// compileProgram - Compile the specified program from bitcode to executable
173 void compileProgram(const std::string &Bitcode, std::string *Error,
176 int ExecuteProgram(const std::string &Bitcode,
    [all...]
ToolRunner.cpp 164 int ExecuteProgram(const std::string &Bitcode,
177 int LLI::ExecuteProgram(const std::string &Bitcode,
200 LLIArgs.push_back(Bitcode.c_str());
268 // Allows using a custom command for compiling the bitcode, thus allows, for
269 // example, to compile a bitcode fragment without linking or executing, then
280 void compileProgram(const std::string &Bitcode,
285 int ExecuteProgram(const std::string &Bitcode,
302 void CustomCompiler::compileProgram(const std::string &Bitcode,
312 ProgramArgs.push_back(Bitcode.c_str());
329 // Allows using a custom command for executing the bitcode, thus allows
    [all...]
BugDriver.h 169 std::string Bitcode,
245 /// runPasses - Run the specified passes on Program, outputting a bitcode
248 /// otherwise return false. If DeleteOutput is set to true, the bitcode is
281 /// bitcode file. If an error occurs, true is returned.
294 /// Given a bitcode or assembly input filename, parse and return it, or return
  /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
23 (** [parse_bitcode context mb] parses the bitcode for a new module [m] from the
  /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/swiftshader/third_party/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/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]
  /external/llvm/utils/
GenLibDeps.pl 97 $libpath =~ s/^BitReader/Bitcode\/Reader/;
98 $libpath =~ s/^BitWriter/Bitcode\/Writer/;
137 $libpath =~ s/^BitReader/Bitcode\/Reader/;
138 $libpath =~ s/^BitWriter/Bitcode\/Writer/;
  /external/swiftshader/third_party/LLVM/utils/
GenLibDeps.pl 97 $libpath =~ s/^BitReader/Bitcode\/Reader/;
98 $libpath =~ s/^BitWriter/Bitcode\/Writer/;
139 $libpath =~ s/^BitReader/Bitcode\/Reader/;
140 $libpath =~ s/^BitWriter/Bitcode\/Writer/;
  /external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
JITTest.cpp 15 #include "llvm/Bitcode/ReaderWriter.h"
659 // Converts the LLVM assembly to bitcode and returns it in a std::string. An
674 // Returns a newly-created ExecutionEngine that reads the bitcode in 'Bitcode'
676 // M. Both will be NULL on an error. Bitcode must live at least as long as the
679 LLVMContext &Context, const std::string &Bitcode, Module *&M) {
682 MemoryBuffer::getMemBuffer(Bitcode, "Bitcode for test");
705 const std::string Bitcode =
717 ASSERT_FALSE(Bitcode.empty()) << "Assembling failed"
    [all...]
  /external/mesa3d/src/gallium/state_trackers/clover/llvm/
invocation.cpp 28 #include <llvm/Bitcode/BitstreamWriter.h>
29 #include <llvm/Bitcode/ReaderWriter.h>
  /frameworks/compile/libbcc/lib/
Source.cpp 26 #include <llvm/Bitcode/ReaderWriter.h>
42 // Helper function to load the bitcode. This uses "bitcode lazy load" feature to
51 ALOGE("Unable to parse the given bitcode file `%s'! (%s)",
111 ALOGE("Unable to load bitcode `%s' from buffer!", pName);
143 ALOGE("Failed to load bitcode from path %s! (%s)", pPath.c_str(),
183 ALOGE("Bitcode of RenderScript module does not pass verification: `%s'!",
  /frameworks/compile/libbcc/bcinfo/tools/
main.cpp 22 #include <llvm/Bitcode/ReaderWriter.h>
50 // information about a supplied bitcode input file.
252 static size_t readBitcode(const char **bitcode) {
277 *bitcode = (const char*) calloc(1, bitcodeSize + 1);
278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in);
288 static void releaseBitcode(const char **bitcode) {
289 if (bitcode && *bitcode) {
290 free((void*) *bitcode);
291 *bitcode = nullptr
303 const char *bitcode = nullptr; local
    [all...]

Completed in 459 milliseconds