|
LLVM
5.0.0
|
Functions in this group apply to instructions that refer to call sites and invocations. More...
Functions in this group apply to instructions that refer to call sites and invocations.
These correspond to C++ types in the llvm::CallInst class tree.
| void LLVMAddCallSiteAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef | A | ||
| ) |
Definition at line 2183 of file Core.cpp.
References llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::addAttribute(), and llvm::unwrap().
| LLVMValueRef LLVMGetCalledValue | ( | LLVMValueRef | Instr | ) |
Obtain the pointer to the function invoked by this instruction.
This expects an LLVMValueRef that corresponds to a llvm::CallInst or llvm::InvokeInst.
Definition at line 2228 of file Core.cpp.
References llvm::wrap().
| unsigned LLVMGetCallSiteAttributeCount | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx | ||
| ) |
| void LLVMGetCallSiteAttributes | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs | ||
| ) |
Definition at line 2195 of file Core.cpp.
References A, and llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
Definition at line 2203 of file Core.cpp.
References llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
Definition at line 2210 of file Core.cpp.
References llvm::wrap().
| unsigned LLVMGetInstructionCallConv | ( | LLVMValueRef | Instr | ) |
Obtain the calling convention for a call instruction.
This is the opposite of LLVMSetInstructionCallConv(). Reads its usage.
Definition at line 2167 of file Core.cpp.
References llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getCallingConv().
| LLVMBasicBlockRef LLVMGetNormalDest | ( | LLVMValueRef | InvokeInst | ) |
Return the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2244 of file Core.cpp.
References llvm::wrap().
| unsigned LLVMGetNumArgOperands | ( | LLVMValueRef | Instr | ) |
Obtain the argument count for a call instruction.
This expects an LLVMValueRef that corresponds to a llvm::CallInst or llvm::InvokeInst.
| LLVMBasicBlockRef LLVMGetUnwindDest | ( | LLVMValueRef | InvokeInst | ) |
Return the unwind destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2248 of file Core.cpp.
References llvm::wrap().
| LLVMBool LLVMIsTailCall | ( | LLVMValueRef | CallInst | ) |
Obtain whether a call instruction is a tail call.
This only works on llvm::CallInst instructions.
| void LLVMRemoveCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
| void LLVMRemoveCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
| void LLVMSetInstrParamAlignment | ( | LLVMValueRef | Instr, |
| unsigned | index, | ||
| unsigned | Align | ||
| ) |
Definition at line 2176 of file Core.cpp.
References llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::addAttribute(), and llvm::Attribute::getWithAlignment().
| void LLVMSetInstructionCallConv | ( | LLVMValueRef | Instr, |
| unsigned | CC | ||
| ) |
Set the calling convention for a call instruction.
This expects an LLVMValueRef that corresponds to a llvm::CallInst or llvm::InvokeInst.
Definition at line 2171 of file Core.cpp.
References llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::setCallingConv().
| void LLVMSetNormalDest | ( | LLVMValueRef | InvokeInst, |
| LLVMBasicBlockRef | B | ||
| ) |
Set the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2252 of file Core.cpp.
References llvm::unwrap().
| void LLVMSetTailCall | ( | LLVMValueRef | CallInst, |
| LLVMBool | IsTailCall | ||
| ) |
Set whether a call instruction is a tail call.
This only works on llvm::CallInst instructions.
| void LLVMSetUnwindDest | ( | LLVMValueRef | InvokeInst, |
| LLVMBasicBlockRef | B | ||
| ) |
Set the unwind destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2256 of file Core.cpp.
References llvm::unwrap().
1.8.6