Adds global values to the llvm.compiler.used list.
Declared in <llvm/Transforms/Utils/ModuleUtils.h>
void
appendToCompilerUsed(
Module& M,
ArrayRef<GlobalValue*> Values);
| Name | Description |
|---|---|
| M | A Module instance is used to store all the information related to an LLVM module. Modules are the top level container of all other LLVM Intermediate Representation (IR) objects. Each module directly contains a list of globals variables, a list of functions, a list of libraries (or other modules) this module depends on, a symbol table, and various data about the target's characteristics. |
| Values | Represent a constant reference to an array (0 or more elements consecutively in memory), i.e. a start pointer and a length. It allows various APIs to take consecutive elements easily and conveniently. |