|
LLVM
3.7.0
|
Functions in this group operate on LLVMValueRef instances that correspond to llvm::Function instances. More...
Modules | |
| Function Parameters | |
| Functions in this group relate to arguments/parameters on functions. | |
Functions | |
| void | LLVMDeleteFunction (LLVMValueRef Fn) |
| Remove a function from its containing module and deletes it. More... | |
| LLVMValueRef | LLVMGetPersonalityFn (LLVMValueRef Fn) |
| Obtain the personality function attached to the function. More... | |
| void | LLVMSetPersonalityFn (LLVMValueRef Fn, LLVMValueRef PersonalityFn) |
| Set the personality function attached to the function. More... | |
| unsigned | LLVMGetIntrinsicID (LLVMValueRef Fn) |
| Obtain the ID number from a function instance. More... | |
| unsigned | LLVMGetFunctionCallConv (LLVMValueRef Fn) |
| Obtain the calling function of a function. More... | |
| void | LLVMSetFunctionCallConv (LLVMValueRef Fn, unsigned CC) |
| Set the calling convention of a function. More... | |
| const char * | LLVMGetGC (LLVMValueRef Fn) |
| Obtain the name of the garbage collector to use during code generation. More... | |
| void | LLVMSetGC (LLVMValueRef Fn, const char *Name) |
| Define the garbage collector to use during code generation. More... | |
| void | LLVMAddFunctionAttr (LLVMValueRef Fn, LLVMAttribute PA) |
| Add an attribute to a function. More... | |
| void | LLVMAddTargetDependentFunctionAttr (LLVMValueRef Fn, const char *A, const char *V) |
| Add a target-dependent attribute to a fuction. More... | |
| LLVMAttribute | LLVMGetFunctionAttr (LLVMValueRef Fn) |
| Obtain an attribute from a function. More... | |
| void | LLVMRemoveFunctionAttr (LLVMValueRef Fn, LLVMAttribute PA) |
| Remove an attribute from a function. More... | |
Functions in this group operate on LLVMValueRef instances that correspond to llvm::Function instances.
| void LLVMAddFunctionAttr | ( | LLVMValueRef | Fn, |
| LLVMAttribute | PA | ||
| ) |
Add an attribute to a function.
Definition at line 1730 of file Core.cpp.
References llvm::AttributeSet::addAttributes(), llvm::AttributeSet::FunctionIndex, llvm::Function::getAttributes(), llvm::Function::getContext(), and llvm::Function::setAttributes().
| void LLVMAddTargetDependentFunctionAttr | ( | LLVMValueRef | Fn, |
| const char * | A, | ||
| const char * | V | ||
| ) |
Add a target-dependent attribute to a fuction.
Definition at line 1741 of file Core.cpp.
References llvm::AttrBuilder::addAttribute(), llvm::Function::addAttributes(), llvm::AttributeSet::FunctionIndex, and llvm::Function::getContext().
| void LLVMDeleteFunction | ( | LLVMValueRef | Fn | ) |
Remove a function from its containing module and deletes it.
| LLVMAttribute LLVMGetFunctionAttr | ( | LLVMValueRef | Fn | ) |
Obtain an attribute from a function.
Definition at line 1764 of file Core.cpp.
References llvm::AttributeSet::FunctionIndex, llvm::Function::getAttributes(), and llvm::AttributeSet::Raw().
| unsigned LLVMGetFunctionCallConv | ( | LLVMValueRef | Fn | ) |
Obtain the calling function of a function.
The returned value corresponds to the LLVMCallConv enumeration.
| const char* LLVMGetGC | ( | LLVMValueRef | Fn | ) |
Obtain the name of the garbage collector to use during code generation.
Definition at line 1717 of file Core.cpp.
References F(), llvm::Function::getGC(), and llvm::Function::hasGC().
| unsigned LLVMGetIntrinsicID | ( | LLVMValueRef | Fn | ) |
Obtain the ID number from a function instance.
Definition at line 1702 of file Core.cpp.
References F(), and llvm::unwrap().
| LLVMValueRef LLVMGetPersonalityFn | ( | LLVMValueRef | Fn | ) |
Obtain the personality function attached to the function.
Definition at line 1694 of file Core.cpp.
References llvm::wrap().
| void LLVMRemoveFunctionAttr | ( | LLVMValueRef | Fn, |
| LLVMAttribute | PA | ||
| ) |
Remove an attribute from a function.
Definition at line 1753 of file Core.cpp.
References llvm::AttributeSet::FunctionIndex, llvm::Function::getAttributes(), llvm::Function::getContext(), llvm::AttributeSet::removeAttributes(), and llvm::Function::setAttributes().
| void LLVMSetFunctionCallConv | ( | LLVMValueRef | Fn, |
| unsigned | CC | ||
| ) |
Set the calling convention of a function.
| Fn | Function to operate on |
| CC | LLVMCallConv to set calling convention to |
| void LLVMSetGC | ( | LLVMValueRef | Fn, |
| const char * | Name | ||
| ) |
Define the garbage collector to use during code generation.
Definition at line 1722 of file Core.cpp.
References llvm::Function::clearGC(), F(), and llvm::Function::setGC().
| void LLVMSetPersonalityFn | ( | LLVMValueRef | Fn, |
| LLVMValueRef | PersonalityFn | ||
| ) |
Set the personality function attached to the function.
1.8.6