| Package | Description |
|---|---|
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
static lto_code_gen_t |
LLVM.lto_codegen_create_in_local_context()
Instantiate a code generator in its own context.
|
static lto_code_gen_t |
LLVM.lto_codegen_create()
Instantiates a code generator.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
LLVM.lto_codegen_add_module(lto_code_gen_t cg,
lto_module_t mod)
Add an object module to the set of modules for which code will be generated.
|
static void |
LLVM.lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
BytePointer symbol)
Adds to a list of all global symbols that must exist in the final generated
code.
|
static void |
LLVM.lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg,
String symbol) |
static Pointer |
LLVM.lto_codegen_compile_optimized(lto_code_gen_t cg,
SizeTPointer length)
Generates code for the optimized merged module into one native object file.
|
static boolean |
LLVM.lto_codegen_compile_to_file(lto_code_gen_t cg,
byte[] name) |
static boolean |
LLVM.lto_codegen_compile_to_file(lto_code_gen_t cg,
ByteBuffer name) |
static boolean |
LLVM.lto_codegen_compile_to_file(lto_code_gen_t cg,
BytePointer name) |
static boolean |
LLVM.lto_codegen_compile_to_file(lto_code_gen_t cg,
PointerPointer name)
Generates code for all added modules into one native object file.
|
static Pointer |
LLVM.lto_codegen_compile(lto_code_gen_t cg,
SizeTPointer length)
Generates code for all added modules into one native object file.
|
static void |
LLVM.lto_codegen_debug_options_array(lto_code_gen_t cg,
byte[] arg1,
int number) |
static void |
LLVM.lto_codegen_debug_options_array(lto_code_gen_t cg,
ByteBuffer arg1,
int number) |
static void |
LLVM.lto_codegen_debug_options_array(lto_code_gen_t cg,
BytePointer arg1,
int number) |
static void |
LLVM.lto_codegen_debug_options_array(lto_code_gen_t cg,
PointerPointer arg1,
int number)
Same as the previous function, but takes every option separately through an
array.
|
static void |
LLVM.lto_codegen_debug_options(lto_code_gen_t cg,
BytePointer arg1)
Sets options to help debug codegen bugs.
|
static void |
LLVM.lto_codegen_debug_options(lto_code_gen_t cg,
String arg1) |
static void |
LLVM.lto_codegen_dispose(lto_code_gen_t arg0)
Frees all code generator and all memory it internally allocated.
|
static boolean |
LLVM.lto_codegen_optimize(lto_code_gen_t cg)
Runs optimization for the merged module.
|
static void |
LLVM.lto_codegen_set_assembler_args(lto_code_gen_t cg,
byte[] args,
int nargs) |
static void |
LLVM.lto_codegen_set_assembler_args(lto_code_gen_t cg,
ByteBuffer args,
int nargs) |
static void |
LLVM.lto_codegen_set_assembler_args(lto_code_gen_t cg,
BytePointer args,
int nargs) |
static void |
LLVM.lto_codegen_set_assembler_args(lto_code_gen_t cg,
PointerPointer args,
int nargs)
Sets extra arguments that libLTO should pass to the assembler.
|
static void |
LLVM.lto_codegen_set_assembler_path(lto_code_gen_t cg,
BytePointer path)
Sets the location of the assembler tool to run.
|
static void |
LLVM.lto_codegen_set_assembler_path(lto_code_gen_t cg,
String path) |
static void |
LLVM.lto_codegen_set_cpu(lto_code_gen_t cg,
BytePointer cpu)
Sets the cpu to generate code for.
|
static void |
LLVM.lto_codegen_set_cpu(lto_code_gen_t cg,
String cpu) |
static boolean |
LLVM.lto_codegen_set_debug_model(lto_code_gen_t cg,
int arg1)
Sets if debug info should be generated.
|
static void |
LLVM.lto_codegen_set_diagnostic_handler(lto_code_gen_t arg0,
lto_diagnostic_handler_t arg1,
Pointer arg2)
Set a diagnostic handler and the related context (void *).
|
static void |
LLVM.lto_codegen_set_module(lto_code_gen_t cg,
lto_module_t mod)
Sets the object module for code generation.
|
static boolean |
LLVM.lto_codegen_set_pic_model(lto_code_gen_t cg,
int arg1)
Sets which PIC code model to generated.
|
static void |
LLVM.lto_codegen_set_should_embed_uselists(lto_code_gen_t cg,
boolean ShouldEmbedUselists)
Set whether to embed uselists in bitcode.
|
static void |
LLVM.lto_codegen_set_should_internalize(lto_code_gen_t cg,
boolean ShouldInternalize)
Sets if we should run internalize pass during optimization and code
generation.
|
static boolean |
LLVM.lto_codegen_write_merged_modules(lto_code_gen_t cg,
BytePointer path)
Writes a new object file at the specified path that contains the
merged contents of all modules added so far.
|
static boolean |
LLVM.lto_codegen_write_merged_modules(lto_code_gen_t cg,
String path) |
static lto_module_t |
LLVM.lto_module_create_in_codegen_context(Pointer mem,
long length,
BytePointer path,
lto_code_gen_t cg)
Loads an object file in the codegen context.
|
static lto_module_t |
LLVM.lto_module_create_in_codegen_context(Pointer mem,
long length,
String path,
lto_code_gen_t cg) |
Copyright © 2024. All rights reserved.