Expand description
The LLVM intermediate representation.
Functions
Add a case to a
switch
instructionAdd a catch or filter clause to a
landingpad
instructionAdd a destination to an
indirectbr
instructionAdd a global indirect function to a module under a specified name.
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.
Append the given basic block to the basic block list of the given function.
Get the dafult floating-point math metadata for a given builder.
Set the default floating-point math metadata for the given builder.
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.
Remove a global indirect function from its parent module and delete it.
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.
Get location information used by debugging information.
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 an iterator to the first GlobalIFunc in a Module.
Retrieves the resolver function associated with this indirect function, or
NULL if it doesn’t not exist.
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 an iterator to the last GlobalIFunc in a Module.
Obtain the underlying string from a MDString value.
Add a module-level flag to the module-level flags metadata if it doesn’t already exist.
Get the identifier of a module.
Obtain a GlobalAlias value from a Module by its name.
Obtain a GlobalIFunc value from a Module by its name.
Advance a GlobalAlias iterator to the next GlobalAlias.
Advance a GlobalIFunc iterator to the next GlobalIFunc.
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.
Decrement a GlobalIFunc iterator to the previous GlobalIFunc.
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.
Insert the given basic block after the insertion point of the given builder.
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 the intrinsic ID number which matches the given function name.
Create an MDNode value with the given array of operands.
Create an MDString value from a given string value.
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.
Remove a global indirect function from its parent module.
Set a funcletpad argument at the given index.
Set the cleanup flag in a
landingpad
instruction.Set location information used by debugging information.
Sets the resolver function associated with this indirect function.
Attempts to set the debug location for the given instruction using the
current debug location for the given builder. If the builder has no current
debug location, this function is a no-op.
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
Deprecated: LLVM threading is configured at compile-time with
LLVM_ENABLE_THREADS
Get the type of the element at the given index in a structure.
Obtain a Value as Metadata.