LLVM 22.0.0git
|
Classes | |
class | PHI_iterator |
Public Types | |
using | BlkT = DbgSSABlock |
using | ValT = DbgValueDef |
using | PhiT = DbgSSAPhi |
using | BlkSucc_iterator = DbgSSABlockSuccIterator |
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 (DbgSSABlock *BB, SmallVectorImpl< DbgSSABlock * > *Preds) |
FindPredecessorBlocks - Put the predecessors of BB into the Preds vector. | |
static DbgValueDef | GetPoisonVal (DbgSSABlock *BB, DebugSSAUpdater *Updater) |
GetPoisonVal - Get an undefined value of the same type as the value being handled. | |
static DbgSSAPhi * | CreateEmptyPHI (DbgSSABlock *BB, unsigned NumPreds, DebugSSAUpdater *Updater) |
CreateEmptyPHI - Create a new debug PHI entry for the specified block. | |
static void | AddPHIOperand (DbgSSAPhi *PHI, DbgValueDef Val, DbgSSABlock *Pred) |
AddPHIOperand - Add the specified value as an operand of the PHI for the specified predecessor block. | |
static DbgSSAPhi * | ValueIsPHI (DbgValueDef Val, DebugSSAUpdater *Updater) |
ValueIsPHI - Check if a value is a PHI. | |
static DbgSSAPhi * | ValueIsNewPHI (DbgValueDef Val, DebugSSAUpdater *Updater) |
ValueIsNewPHI - Like ValueIsPHI but also check if the PHI has no source operands, i.e., it was just added. | |
static DbgValueDef | GetPHIValue (DbgSSAPhi *PHI) |
GetPHIValue - For the specified PHI instruction, return the value that it defines. |
Definition at line 126 of file DebugSSAUpdater.cpp.
using llvm::SSAUpdaterTraits< DebugSSAUpdater >::BlkSucc_iterator = DbgSSABlockSuccIterator |
Definition at line 131 of file DebugSSAUpdater.cpp.
using llvm::SSAUpdaterTraits< DebugSSAUpdater >::BlkT = DbgSSABlock |
Definition at line 128 of file DebugSSAUpdater.cpp.
using llvm::SSAUpdaterTraits< DebugSSAUpdater >::PhiT = DbgSSAPhi |
Definition at line 130 of file DebugSSAUpdater.cpp.
Definition at line 129 of file DebugSSAUpdater.cpp.
|
inlinestatic |
AddPHIOperand - Add the specified value as an operand of the PHI for the specified predecessor block.
Definition at line 184 of file DebugSSAUpdater.cpp.
References PHI.
|
inlinestatic |
Definition at line 133 of file DebugSSAUpdater.cpp.
References llvm::DbgSSABlock::succ_begin().
|
inlinestatic |
Definition at line 134 of file DebugSSAUpdater.cpp.
References llvm::DbgSSABlock::succ_end().
|
inlinestatic |
CreateEmptyPHI - Create a new debug PHI entry for the specified block.
Definition at line 176 of file DebugSSAUpdater.cpp.
References llvm::DbgSSABlock::newPHI(), and PHI.
|
inlinestatic |
FindPredecessorBlocks - Put the predecessors of BB into the Preds vector.
Definition at line 163 of file DebugSSAUpdater.cpp.
References llvm::DbgSSABlock::pred_begin(), llvm::DbgSSABlock::pred_end(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inlinestatic |
GetPHIValue - For the specified PHI instruction, return the value that it defines.
Definition at line 205 of file DebugSSAUpdater.cpp.
References PHI.
|
inlinestatic |
GetPoisonVal - Get an undefined value of the same type as the value being handled.
Definition at line 171 of file DebugSSAUpdater.cpp.
|
inlinestatic |
Definition at line 158 of file DebugSSAUpdater.cpp.
References PHI.
|
inlinestatic |
Definition at line 159 of file DebugSSAUpdater.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 196 of file DebugSSAUpdater.cpp.
References PHI, and ValueIsPHI().
|
inlinestatic |
ValueIsPHI - Check if a value is a PHI.
Definition at line 190 of file DebugSSAUpdater.cpp.
References llvm::DbgValueDef::Phi.
Referenced by ValueIsNewPHI().