Module core
llvm_sys
The LLVM intermediate representation.
Add a case to a switch instruction
switch
Add a catch or filter clause to a landingpad instruction
landingpad
Add a destination to an indirectbr instruction
indirectbr
Add a destination to the catchswitch instruction
Add a module-level flag to the module-level flags metadata if it doesn't already exist.
Retrieve the target value of an alias.
Set the target value of an alias.
Get the diagnostic context of this context.
Get the diagnostic handler of this context.
Returns the module flags as an array of flag-key-value triples. The caller is responsible for freeing this array by calling LLVMDisposeModuleFlagsMetadata.
Create an enum attribute.
Create a string attribute.
Destroys module flags metadata entries.
Get the number of funcletpad arguments.
Get the string name of a basic block.
Get a pointer to the function invoked by this instruction.
Get the value of the clause with the given index on a landingpad instruction.
Obtain the data layout for a module.
Get the unique id corresponding to the provided enum attribute.
Return a unique id given the name of an enum attribute, or 0 if no attribute by that name exists.
Get the value of an enum attribute.
Obtain an iterator to the first GlobalAlias in a Module.
Obtain the basic blocks acting as handlers for a catchswitch instruction.
Obtain the ID number from a function instance.
Obtain an iterator to the last GlobalAlias in a Module.
Obtain the underlying string from a MDString value.
Get the identifier of a module.
Obtain a GlobalAlias value from a Module by its name.
Advance a GlobalAlias iterator to the next GlobalAlias.
Return the normal destination basic block of an invoke instruction.
Get the number of clauses on a landingpad instruction.
Return the number of types in the derived type.
Get the number of handlers on the catchswitch instruction
Get the number of indices on an ExtractValue, InsertValue or GEP instruction.
Get the parent catchswitch instruction of a catchpad instruction.
Obtain the personality function attached to the function.
Decrement a GlobalAlias iterator to the previous GlobalAlias.
Obtain the module's original source file name.
Get a string attribute's kind.
Get a string attribute's value.
Get the subtypes of the given type.
Return the unwind destination basic block.
Check whether the given function has a personality function.
Remove the given instruction from its containing building block and delete it.
Remove the given instruction from its containing building block but kept alive.
Get the cleanup flag in a landingpad instruction.
Determine whether the specified value instance is constant.
Determine whether a structure is packed.
Get whether a call instruction is a tail call.
Obtain Metadata as a Value.
Returns the flag behavior for a module flag entry at a specific index.
Returns the key for a module flag entry at a specific index.
Returns the metadata for a module flag entry at a specific index.
Set a funcletpad argument at the given index.
Set the cleanup flag in a landingpad instruction.
Set the given GEP instruction to be inbounds or not.
Set the identifier of a module.
Set the normal destination basic block.
Set the parent catchswitch instruction of a catchpad instruction. This only works on llvm::CatchPadInst instructions.
Set the personality function attached to the function.
Set the original source file name of a module to a string Name with length Len.
Set the unwind destination basic block.
Deprecated: LLVM threading is configured at compile-time with LLVM_ENABLE_THREADS
LLVM_ENABLE_THREADS
Get the type of the element at the given index in a structure.
Obtain a Value as Metadata.