LLVM  8.0.1
Functions

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

Collaboration diagram for PHI Nodes:

Functions

void LLVMAddIncoming (LLVMValueRef PhiNode, LLVMValueRef *IncomingValues, LLVMBasicBlockRef *IncomingBlocks, unsigned Count)
 Add an incoming value to the end of a PHI list. More...
 
unsigned LLVMCountIncoming (LLVMValueRef PhiNode)
 Obtain the number of incoming basic blocks to a PHI node. More...
 
LLVMValueRef LLVMGetIncomingValue (LLVMValueRef PhiNode, unsigned Index)
 Obtain an incoming value to a PHI node as an LLVMValueRef. More...
 
LLVMBasicBlockRef LLVMGetIncomingBlock (LLVMValueRef PhiNode, unsigned Index)
 Obtain an incoming value to a PHI node as an LLVMBasicBlockRef. More...
 

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.

Definition at line 2829 of file Core.cpp.

References llvm::PHINode::addIncoming(), I, and llvm::unwrap().

◆ LLVMCountIncoming()

unsigned LLVMCountIncoming ( LLVMValueRef  PhiNode)

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

Definition at line 2836 of file Core.cpp.

◆ LLVMGetIncomingBlock()

LLVMBasicBlockRef LLVMGetIncomingBlock ( LLVMValueRef  PhiNode,
unsigned  Index 
)

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

Definition at line 2844 of file Core.cpp.

References llvm::wrap().

◆ LLVMGetIncomingValue()

LLVMValueRef LLVMGetIncomingValue ( LLVMValueRef  PhiNode,
unsigned  Index 
)

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

Definition at line 2840 of file Core.cpp.

References llvm::wrap().