|
LLVM
7.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 2419 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 2464 of file Core.cpp.
References llvm::wrap().
| unsigned LLVMGetCallSiteAttributeCount | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx | ||
| ) |
| void LLVMGetCallSiteAttributes | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs | ||
| ) |
Definition at line 2431 of file Core.cpp.
References AS, and llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID | ||
| ) |
Definition at line 2439 of file Core.cpp.
References getAttribute(), and llvm::wrap().
| LLVMAttributeRef LLVMGetCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen | ||
| ) |
Definition at line 2446 of file Core.cpp.
References getAttribute(), and 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 2403 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 2480 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 2394 of file Core.cpp.
References llvm::CallSiteBase< FunTy, BBTy, ValTy, UserTy, UseTy, InstrTy, CallTy, InvokeTy, IterTy >::getNumArgOperands(), and 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 2484 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 2412 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 2407 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 2493 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 2497 of file Core.cpp.
References llvm::unwrap().
1.8.13