llvm::PhiValues::getValuesForPhi

Get the underlying values of a phi.

Synopsis

Declared in <llvm/Analysis/PhiValues.h>

ValueSet const&
getValuesForPhi(PHINode const* PN);

Description

This returns the cached value if PN has previously been processed, otherwise it processes it first.

Return Value

Set of non-phi values reachable from PN.

Parameters

NameDescription
PNPhi whose underlying non-phi values are requested.