LLVM 20.0.0git
|
Classes | |
class | PHI_iterator |
Public Types | |
using | BlkT = BasicBlock |
using | ValT = Value * |
using | PhiT = PHINode |
using | BlkSucc_iterator = succ_iterator |
Static Public Member Functions | |
static BlkSucc_iterator | BlkSucc_begin (BlkT *BB) |
static BlkSucc_iterator | BlkSucc_end (BlkT *BB) |
static PHI_iterator | PHI_begin (PhiT *PHI) |
static PHI_iterator | PHI_end (PhiT *PHI) |
static void | FindPredecessorBlocks (BasicBlock *BB, SmallVectorImpl< BasicBlock * > *Preds) |
FindPredecessorBlocks - Put the predecessors of Info->BB into the Preds vector, set Info->NumPreds, and allocate space in Info->Preds. | |
static Value * | GetPoisonVal (BasicBlock *BB, SSAUpdater *Updater) |
GetPoisonVal - Get a poison value of the same type as the value being handled. | |
static Value * | CreateEmptyPHI (BasicBlock *BB, unsigned NumPreds, SSAUpdater *Updater) |
CreateEmptyPHI - Create a new PHI instruction in the specified block. | |
static void | AddPHIOperand (PHINode *PHI, Value *Val, BasicBlock *Pred) |
AddPHIOperand - Add the specified value as an operand of the PHI for the specified predecessor block. | |
static PHINode * | ValueIsPHI (Value *Val, SSAUpdater *Updater) |
ValueIsPHI - Check if a value is a PHI. | |
static PHINode * | ValueIsNewPHI (Value *Val, SSAUpdater *Updater) |
ValueIsNewPHI - Like ValueIsPHI but also check if the PHI has no source operands, i.e., it was just added. | |
static Value * | GetPHIValue (PHINode *PHI) |
GetPHIValue - For the specified PHI instruction, return the value that it defines. | |
Definition at line 262 of file SSAUpdater.cpp.
using llvm::SSAUpdaterTraits< SSAUpdater >::BlkSucc_iterator = succ_iterator |
Definition at line 267 of file SSAUpdater.cpp.
using llvm::SSAUpdaterTraits< SSAUpdater >::BlkT = BasicBlock |
Definition at line 264 of file SSAUpdater.cpp.
using llvm::SSAUpdaterTraits< SSAUpdater >::PhiT = PHINode |
Definition at line 266 of file SSAUpdater.cpp.
using llvm::SSAUpdaterTraits< SSAUpdater >::ValT = Value * |
Definition at line 265 of file SSAUpdater.cpp.
|
inlinestatic |
AddPHIOperand - Add the specified value as an operand of the PHI for the specified predecessor block.
Definition at line 327 of file SSAUpdater.cpp.
References PHI.
|
inlinestatic |
Definition at line 269 of file SSAUpdater.cpp.
References llvm::succ_begin().
|
inlinestatic |
Definition at line 270 of file SSAUpdater.cpp.
References llvm::succ_end().
|
inlinestatic |
CreateEmptyPHI - Create a new PHI instruction in the specified block.
Reserve space for the operands but do not fill them in yet.
Definition at line 317 of file SSAUpdater.cpp.
References llvm::BasicBlock::begin(), llvm::PHINode::Create(), and PHI.
|
inlinestatic |
FindPredecessorBlocks - Put the predecessors of Info->BB into the Preds vector, set Info->NumPreds, and allocate space in Info->Preds.
Definition at line 298 of file SSAUpdater.cpp.
References llvm::append_range(), llvm::BasicBlock::begin(), and llvm::predecessors().
|
inlinestatic |
GetPHIValue - For the specified PHI instruction, return the value that it defines.
Definition at line 347 of file SSAUpdater.cpp.
References PHI.
|
inlinestatic |
GetPoisonVal - Get a poison value of the same type as the value being handled.
Definition at line 311 of file SSAUpdater.cpp.
References llvm::PoisonValue::get().
|
inlinestatic |
Definition at line 291 of file SSAUpdater.cpp.
References PHI.
|
inlinestatic |
Definition at line 292 of file SSAUpdater.cpp.
References PHI.
|
inlinestatic |
ValueIsNewPHI - Like ValueIsPHI but also check if the PHI has no source operands, i.e., it was just added.
Definition at line 338 of file SSAUpdater.cpp.
References PHI.
|
inlinestatic |
ValueIsPHI - Check if a value is a PHI.
Definition at line 332 of file SSAUpdater.cpp.