Project Alice
Loading...
Searching...
No Matches
Collaboration diagram for PHI Nodes:

Functions

void LLVMAddIncoming (LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count)
 
unsigned LLVMCountIncoming (LLVMValueRef PhiNode)
 
LLVMValueRef LLVMGetIncomingValue (LLVMValueRef PhiNode, unsigned Index)
 
LLVMBasicBlockRef LLVMGetIncomingBlock (LLVMValueRef PhiNode, unsigned Index)
 

Detailed Description

Functions in this group only apply to instructions that map to llvm::PHINode instances.

Function Documentation

◆ LLVMAddIncoming()

void LLVMAddIncoming ( LLVMValueRef  PhiNode,
LLVMValueRef IncomingValues,
LLVMBasicBlockRef IncomingBlocks,
unsigned  Count 
)

Add an incoming value to the end of a PHI list.

Here is the caller graph for this function:

◆ LLVMCountIncoming()

unsigned LLVMCountIncoming ( LLVMValueRef  PhiNode)

Obtain the number of incoming basic blocks to a PHI node.

◆ LLVMGetIncomingBlock()

LLVMBasicBlockRef LLVMGetIncomingBlock ( LLVMValueRef  PhiNode,
unsigned  Index 
)

Obtain an incoming value to a PHI node as an LLVMBasicBlockRef.

◆ LLVMGetIncomingValue()

LLVMValueRef LLVMGetIncomingValue ( LLVMValueRef  PhiNode,
unsigned  Index 
)

Obtain an incoming value to a PHI node as an LLVMValueRef.