|
LLVM 24.0.0git
|
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.
| LLVM_C_ABI void LLVMAddCallSiteAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef | A ) |
Definition at line 3194 of file Core.cpp.
References A(), C(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetCallBrDefaultDest | ( | LLVMValueRef | CallBr | ) |
Get the default destination of a CallBr instruction.
Definition at line 3302 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetCallBrIndirectDest | ( | LLVMValueRef | CallBr, |
| unsigned | Idx ) |
Get the indirect destination of a CallBr instruction at the given index.
Definition at line 3310 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI unsigned LLVMGetCallBrNumIndirectDests | ( | LLVMValueRef | CallBr | ) |
Get the number of indirect destinations of a CallBr instruction.
Definition at line 3306 of file Core.cpp.
References llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMTypeRef LLVMGetCalledFunctionType | ( | LLVMValueRef | C | ) |
Obtain the function type called by this instruction.
Definition at line 3242 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 3238 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI unsigned LLVMGetCallSiteAttributeCount | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx ) |
Definition at line 3199 of file Core.cpp.
References C(), Call, and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMGetCallSiteAttributes | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| LLVMAttributeRef * | Attrs ) |
Definition at line 3206 of file Core.cpp.
References A(), C(), Call, llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMAttributeRef LLVMGetCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID ) |
Definition at line 3214 of file Core.cpp.
References C(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMAttributeRef LLVMGetCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen ) |
Definition at line 3221 of file Core.cpp.
References C(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI unsigned LLVMGetInstructionCallConv | ( | LLVMValueRef | Instr | ) |
Obtain the calling convention for a call instruction.
This is the opposite of LLVMSetInstructionCallConv(). Reads its usage.
Definition at line 3177 of file Core.cpp.
References llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetNormalDest | ( | LLVMValueRef | InvokeInst | ) |
Return the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 3276 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 3168 of file Core.cpp.
References llvm::dyn_cast(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI unsigned LLVMGetNumOperandBundles | ( | LLVMValueRef | C | ) |
Obtain the number of operand bundles attached to this instruction.
This only works on llvm::CallInst and llvm::InvokeInst instructions.
Definition at line 3246 of file Core.cpp.
References C(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMOperandBundleRef LLVMGetOperandBundleAtIndex | ( | LLVMValueRef | C, |
| unsigned | Index ) |
Obtain the operand bundle attached to this instruction at the given index.
Use LLVMDisposeOperandBundle to free the operand bundle.
This only works on llvm::CallInst and llvm::InvokeInst instructions.
Definition at line 3250 of file Core.cpp.
References C(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMTailCallKind LLVMGetTailCallKind | ( | LLVMValueRef | CallInst | ) |
Obtain a tail call kind of the call instruction.
Definition at line 3266 of file Core.cpp.
References Call, and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMBasicBlockRef LLVMGetUnwindDest | ( | LLVMValueRef | InvokeInst | ) |
Return the unwind destination basic block.
Works on llvm::InvokeInst, llvm::CleanupReturnInst, and llvm::CatchSwitchInst instructions.
Definition at line 3280 of file Core.cpp.
References llvm::dyn_cast(), llvm::unwrap(), and llvm::wrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI LLVMBool LLVMIsTailCall | ( | LLVMValueRef | CallInst | ) |
Obtain whether a call instruction is a tail call.
This only works on llvm::CallInst instructions.
Definition at line 3258 of file Core.cpp.
References Call, and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMRemoveCallSiteEnumAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | KindID ) |
Definition at line 3228 of file Core.cpp.
References C(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMRemoveCallSiteStringAttribute | ( | LLVMValueRef | C, |
| LLVMAttributeIndex | Idx, | ||
| const char * | K, | ||
| unsigned | KLen ) |
Definition at line 3233 of file Core.cpp.
References C(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMSetInstrParamAlignment | ( | LLVMValueRef | Instr, |
| LLVMAttributeIndex | Idx, | ||
| unsigned | Align ) |
Definition at line 3186 of file Core.cpp.
References align(), Call, llvm::Attribute::getWithAlignment(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 3181 of file Core.cpp.
References llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMSetNormalDest | ( | LLVMValueRef | InvokeInst, |
| LLVMBasicBlockRef | B ) |
Set the normal destination basic block.
This only works on llvm::InvokeInst instructions.
Definition at line 3289 of file Core.cpp.
References B(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMSetTailCall | ( | LLVMValueRef | CallInst, |
| LLVMBool | IsTailCall ) |
Set whether a call instruction is a tail call.
This only works on llvm::CallInst instructions.
Definition at line 3262 of file Core.cpp.
References Call, and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI void LLVMSetTailCallKind | ( | LLVMValueRef | CallInst, |
| LLVMTailCallKind | kind ) |
Set the call kind of the call instruction.
Definition at line 3270 of file Core.cpp.
References Call, and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().
| LLVM_C_ABI 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 3293 of file Core.cpp.
References B(), llvm::dyn_cast(), and llvm::unwrap().
Referenced by LLVM_ATTRIBUTE_C_DEPRECATED().