Expand description
The LLVM intermediate representation.
Functions
- Add a case to a
switch
instruction - Add a catch or filter clause to a
landingpad
instruction - Add a destination to an
indirectbr
instruction - Add a global indirect function to a module under a specified name.
- Add a destination to the catchswitch instruction
- Adds the metadata registered with the given builder to the given 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.
- LLVMArrayType⚠Deprecated
- Create a fixed size array type that refers to a specific type.
- Get the dafult floating-point math metadata for a given builder.
- Set the default floating-point math metadata for the given builder.
- LLVMConstArray⚠Deprecated
- Create a ConstantArray from values.
- LLVMConstInlineAsm⚠Deprecated
- 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.
- Create a type attribute.
- Remove the given instruction that is not inserted into a basic block. It must have previously been removed from its containing building block.
- Destroys module flags metadata entries.
- Remove a global indirect function from its parent module and delete it.
- Get the number of funcletpad arguments.
- LLVMGetArrayLength⚠Deprecated
- Obtain the length of an array type.
- 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.
- LLVMGetDataLayout⚠Deprecated
- Obtain the data layout for a module.
- LLVMGetElementAsConstant⚠Deprecated
- 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.
- Get the source element type of the given GEP operator.
- 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 operator.
- Get the parent catchswitch instruction of a catchpad instruction.
- Obtain the personality function attached to the function.
- Obtain a constant value referring to a poison value of a type.
- 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.
- Get the type attribute’s value.
- LLVMGetTypeByName⚠Deprecated
- Obtain a Type from a context by its registered name.
- Return the unwind destination basic block.
- LLVMGetValueName⚠Deprecated
- Obtain the (possibly scalable) number of elements in a vector type.
- Check whether the given function has a personality function.
- LLVMHasUnnamedAddr⚠Deprecated
- 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.
- LLVMIntrinsicCopyOverloadedName⚠Deprecated
- Get the cleanup flag in a landingpad instruction.
- Determine whether the specified value instance is constant.
- Determine whether a structure is packed.
- Determine whether a value instance is poisonous.
- Get whether a call instruction is a tail call.
- Obtain the intrinsic ID number which matches the given function name.
- LLVMMDNode⚠Deprecated
- LLVMMDNodeInContext⚠Deprecated
- Create an MDNode value with the given array of operands.
- LLVMMDString⚠Deprecated
- LLVMMDStringInContext⚠Deprecated
- 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.
- Create an opaque pointer type in a context.
- Determine whether a pointer is opaque.
- Remove a global indirect function from its parent module.
- Replace an operand at a specific index in a llvm::MDNode value.
- Create a vector type that contains a defined type and has a scalable number of elements.
- Set a funcletpad argument at the given index.
- Set the cleanup flag in a
landingpad
instruction. - LLVMSetCurrentDebugLocation⚠Deprecated
- Set location information used by debugging information.
- Sets the resolver function associated with this indirect function.
- LLVMSetInstDebugLocation⚠DeprecatedAttempts 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.
- LLVMSetModuleInlineAsm⚠Deprecated
- 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.
- LLVMSetUnnamedAddr⚠Deprecated
- Set the unwind destination basic block.
- LLVMSetValueName⚠Deprecated
- 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.