|
LLVM
4.0.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 in this group operate on LLVMValueRef instances that correspond to llvm::Function instances.
| void LLVMAddAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef | A | ||
| ) |
Add an attribute to a function.
Definition at line 1841 of file Core.cpp.
References F, and llvm::unwrap().
| void LLVMAddTargetDependentFunctionAttr | ( | LLVMValueRef | Fn, |
| const char * | A, | ||
| const char * | V | ||
| ) |
Add a target-dependent attribute to a function.
Definition at line 1885 of file Core.cpp.
References llvm::AttrBuilder::addAttribute(), llvm::Function::addAttributes(), B, llvm::AttributeSet::FunctionIndex, and llvm::Function::getContext().
| void LLVMDeleteFunction | ( | LLVMValueRef | Fn | ) |
Remove a function from its containing module and deletes it.
| unsigned LLVMGetAttributeCountAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx | ||
| ) |
Definition at line 1846 of file Core.cpp.
References llvm::AttributeSetNode::get(), and llvm::Intrinsic::getAttributes().
| void LLVMGetAttributesAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs | ||
| ) |
Definition at line 1853 of file Core.cpp.
References A, llvm::AttributeSetNode::get(), llvm::Intrinsic::getAttributes(), llvm::make_range(), and llvm::wrap().
| LLVMAttributeRef LLVMGetEnumAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
Definition at line 1862 of file Core.cpp.
References llvm::wrap().
| 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 1828 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 1813 of file Core.cpp.
References F, and llvm::unwrap().
| LLVMValueRef LLVMGetPersonalityFn | ( | LLVMValueRef | Fn | ) |
Obtain the personality function attached to the function.
Definition at line 1805 of file Core.cpp.
References llvm::wrap().
| LLVMAttributeRef LLVMGetStringAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
Definition at line 1869 of file Core.cpp.
References llvm::wrap().
| LLVMBool LLVMHasPersonalityFn | ( | LLVMValueRef | Fn | ) |
Check whether the given function has a personality function.
| void LLVMRemoveEnumAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
| void LLVMRemoveStringAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
| 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 1833 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