C++ class which implements the opaque lto_code_gen_t type.
Synopsis
Declared in <llvm/LTO/legacy/LTOCodeGenerator.h>
struct LTOCodeGenerator;
Member Functions
Name |
Description |
|
Construct from |
|
Destructor |
Merge given module. Return true on success. |
|
As with compile_to_file(), this function compiles the merged module into single output file. Instead of returning the output file path to the caller (linker), it brings the output to a buffer, and returns the buffer to the caller. This function should delete the intermediate file once its content is brought to memory. Return NULL if the compilation was not successful. |
|
|
|
Compile the merged module into a single output file; the path to output file is returned to the caller via argument "name". Return true on success. |
|
Optimizes the merged module. Returns true on success. |
|
Parse the options set in setCodeGenDebugOptions. |
|
Pass options to the driver and optimization passes. |
|
Set the file type to be emitted (assembly or object code). The default is CodeGenFileType::ObjectFile. |
|
Enable the Freestanding mode: indicate that the optimizer should not assume builtins are present on the target. |
|
Set the destination module. |
|
Restore linkage of globals |
|
Write the merged module to the file specified by the given path. Return true on success. |
Static Member Functions
Name |
Created with MrDocs