LLVM 22.0.0git
|
Functions in this group only apply to instructions that map to llvm::PHINode instances. More...
Functions | |
LLVM_C_ABI void | LLVMAddIncoming (LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count) |
Add an incoming value to the end of a PHI list. | |
LLVM_C_ABI unsigned | LLVMCountIncoming (LLVMValueRef PhiNode) |
Obtain the number of incoming basic blocks to a PHI node. | |
LLVM_C_ABI LLVMValueRef | LLVMGetIncomingValue (LLVMValueRef PhiNode, unsigned Index) |
Obtain an incoming value to a PHI node as an LLVMValueRef. | |
LLVM_C_ABI LLVMBasicBlockRef | LLVMGetIncomingBlock (LLVMValueRef PhiNode, unsigned Index) |
Obtain an incoming value to a PHI node as an LLVMBasicBlockRef. |
Functions in this group only apply to instructions that map to llvm::PHINode instances.
LLVM_C_ABI void LLVMAddIncoming | ( | LLVMValueRef | PhiNode, |
LLVMValueRef * | IncomingValues, | ||
LLVMBasicBlockRef * | IncomingBlocks, | ||
unsigned | Count ) |
Add an incoming value to the end of a PHI list.
Definition at line 3239 of file Core.cpp.
References llvm::PHINode::addIncoming(), llvm::Count, I, and llvm::unwrap().
LLVM_C_ABI unsigned LLVMCountIncoming | ( | LLVMValueRef | PhiNode | ) |
Obtain the number of incoming basic blocks to a PHI node.
Definition at line 3246 of file Core.cpp.
References llvm::unwrap().
LLVM_C_ABI LLVMBasicBlockRef LLVMGetIncomingBlock | ( | LLVMValueRef | PhiNode, |
unsigned | Index ) |
Obtain an incoming value to a PHI node as an LLVMBasicBlockRef.
Definition at line 3254 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
LLVM_C_ABI LLVMValueRef LLVMGetIncomingValue | ( | LLVMValueRef | PhiNode, |
unsigned | Index ) |
Obtain an incoming value to a PHI node as an LLVMValueRef.
Definition at line 3250 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().