|
LLVM
8.0.1
|
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 2688 of file Core.cpp.
References C, and llvm::unwrap().
| LLVMTypeRef LLVMGetCalledFunctionType | ( | LLVMValueRef | C | ) |
Obtain the function type called by this instruction.
Definition at line 2735 of file Core.cpp.
References llvm::wrap().
| 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 2731 of file Core.cpp.
References llvm::wrap().
| unsigned LLVMGetCallSiteAttributeCount | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx | ||
| ) |
| void LLVMGetCallSiteAttributes | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs | ||
| ) |
Definition at line 2700 of file Core.cpp.
References C, and llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
Definition at line 2708 of file Core.cpp.
References llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
Definition at line 2715 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.
| LLVMBasicBlockRef LLVMGetNormalDest | ( | LLVMValueRef | InvokeInst | ) |
Return the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2751 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, llvm::InvokeInst, or llvm:FuncletPadInst.
Definition at line 2663 of file Core.cpp.
References llvm::unwrap().
| LLVMBasicBlockRef LLVMGetUnwindDest | ( | LLVMValueRef | InvokeInst | ) |
Return the unwind destination basic block.
Works on llvm::InvokeInst, llvm::CleanupReturnInst, and llvm::CatchSwitchInst instructions.
Definition at line 2755 of file Core.cpp.
References llvm::unwrap(), and 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 2681 of file Core.cpp.
References 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.
| void LLVMSetNormalDest | ( | LLVMValueRef | InvokeInst, |
| LLVMBasicBlockRef | B | ||
| ) |
Set the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 2764 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.
Works on llvm::InvokeInst, llvm::CleanupReturnInst, and llvm::CatchSwitchInst instructions.
Definition at line 2768 of file Core.cpp.
References llvm::unwrap().
1.8.13