|
LLVM
7.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 2101 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 2141 of file Core.cpp.
References llvm::Function::addAttribute(), llvm::AttributeList::FunctionIndex, llvm::Attribute::get(), 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 2106 of file Core.cpp.
References AS, F(), llvm::Intrinsic::getAttributes(), and llvm::AttributeList::getAttributes().
| void LLVMGetAttributesAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs | ||
| ) |
Definition at line 2111 of file Core.cpp.
References AS, F(), llvm::Intrinsic::getAttributes(), llvm::AttributeList::getAttributes(), and llvm::wrap().
| LLVMAttributeRef LLVMGetEnumAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
Definition at line 2118 of file Core.cpp.
References getAttribute(), and 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 2088 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 2073 of file Core.cpp.
References F(), and llvm::unwrap().
| LLVMValueRef LLVMGetPersonalityFn | ( | LLVMValueRef | Fn | ) |
Obtain the personality function attached to the function.
Definition at line 2065 of file Core.cpp.
References llvm::wrap().
| LLVMAttributeRef LLVMGetStringAttributeAtIndex | ( | LLVMValueRef | F, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
Definition at line 2125 of file Core.cpp.
References getAttribute(), and 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 2093 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.13