LLVM: IFuncs (original) (raw)

Functions in this group relate to indirect functions. More...

Functions
LLVM_C_ABI LLVMValueRef LLVMAddGlobalIFunc (LLVMModuleRef M, const char *Name, size_t NameLen, LLVMTypeRef Ty, unsigned AddrSpace, LLVMValueRef Resolver)
Add a global indirect function to a module under a specified name.
LLVM_C_ABI LLVMValueRef LLVMGetNamedGlobalIFunc (LLVMModuleRef M, const char *Name, size_t NameLen)
Obtain a GlobalIFunc value from a Module by its name.
LLVM_C_ABI LLVMValueRef LLVMGetFirstGlobalIFunc (LLVMModuleRef M)
Obtain an iterator to the first GlobalIFunc in a Module.
LLVM_C_ABI LLVMValueRef LLVMGetLastGlobalIFunc (LLVMModuleRef M)
Obtain an iterator to the last GlobalIFunc in a Module.
LLVM_C_ABI LLVMValueRef LLVMGetNextGlobalIFunc (LLVMValueRef IFunc)
Advance a GlobalIFunc iterator to the next GlobalIFunc.
LLVM_C_ABI LLVMValueRef LLVMGetPreviousGlobalIFunc (LLVMValueRef IFunc)
Decrement a GlobalIFunc iterator to the previous GlobalIFunc.
LLVM_C_ABI LLVMValueRef LLVMGetGlobalIFuncResolver (LLVMValueRef IFunc)
Retrieves the resolver function associated with this indirect function, or NULL if it doesn't not exist.
LLVM_C_ABI void LLVMSetGlobalIFuncResolver (LLVMValueRef IFunc, LLVMValueRef Resolver)
Sets the resolver function associated with this indirect function.
LLVM_C_ABI void LLVMEraseGlobalIFunc (LLVMValueRef IFunc)
Remove a global indirect function from its parent module and delete it.
LLVM_C_ABI void LLVMRemoveGlobalIFunc (LLVMValueRef IFunc)
Remove a global indirect function from its parent module.

Functions in this group relate to indirect functions.

Functions in this group expect LLVMValueRef instances that correspond to llvm::GlobalIFunc instances.

LLVMAddGlobalIFunc()

LLVMEraseGlobalIFunc()

LLVMGetFirstGlobalIFunc()

LLVMGetGlobalIFuncResolver()

LLVMGetLastGlobalIFunc()

LLVMGetNamedGlobalIFunc()

LLVMGetNextGlobalIFunc()

LLVMGetPreviousGlobalIFunc()

LLVMRemoveGlobalIFunc()

LLVMSetGlobalIFuncResolver()