LLVM 22.0.0git
llvm::DbgSSAPhi Class Reference

Represents the live-in definitions of a variable to a block with multiple predecessors. More...

#include "llvm/Transforms/Utils/DebugSSAUpdater.h"

Public Member Functions

 DbgSSAPhi (DbgSSABlock *ParentBlock)
DbgSSABlockgetParent ()
unsigned getNumIncomingValues () const
DbgSSABlockgetIncomingBlock (size_t Idx)
DbgValueDef getIncomingValue (size_t Idx)
void addIncoming (DbgSSABlock *BB, DbgValueDef DV)
void print (raw_ostream &OS) const

Public Attributes

SmallVector< std::pair< DbgSSABlock *, DbgValueDef >, 4 > IncomingValues
DbgSSABlockParentBlock

Detailed Description

Represents the live-in definitions of a variable to a block with multiple predecessors.

Definition at line 93 of file DebugSSAUpdater.h.

Constructor & Destructor Documentation

◆ DbgSSAPhi()

llvm::DbgSSAPhi::DbgSSAPhi ( DbgSSABlock * ParentBlock)
inline

Definition at line 97 of file DebugSSAUpdater.h.

References ParentBlock.

Member Function Documentation

◆ addIncoming()

void llvm::DbgSSAPhi::addIncoming ( DbgSSABlock * BB,
DbgValueDef DV )
inline

Definition at line 107 of file DebugSSAUpdater.h.

References IncomingValues.

Referenced by llvm::DebugSSAUpdater::getValueInMiddleOfBlock().

◆ getIncomingBlock()

DbgSSABlock * llvm::DbgSSAPhi::getIncomingBlock ( size_t Idx)
inline

Definition at line 101 of file DebugSSAUpdater.h.

References IncomingValues.

◆ getIncomingValue()

DbgValueDef llvm::DbgSSAPhi::getIncomingValue ( size_t Idx)
inline

Definition at line 104 of file DebugSSAUpdater.h.

References IncomingValues.

◆ getNumIncomingValues()

unsigned llvm::DbgSSAPhi::getNumIncomingValues ( ) const
inline

Definition at line 100 of file DebugSSAUpdater.h.

References IncomingValues.

◆ getParent()

DbgSSABlock * llvm::DbgSSAPhi::getParent ( )
inline

Definition at line 99 of file DebugSSAUpdater.h.

References ParentBlock.

◆ print()

void DbgSSAPhi::print ( raw_ostream & OS) const

Definition at line 37 of file DebugSSAUpdater.cpp.

References IncomingValues.

Member Data Documentation

◆ IncomingValues

SmallVector<std::pair<DbgSSABlock *, DbgValueDef>, 4> llvm::DbgSSAPhi::IncomingValues

◆ ParentBlock

DbgSSABlock* llvm::DbgSSAPhi::ParentBlock

Definition at line 96 of file DebugSSAUpdater.h.

Referenced by DbgSSAPhi(), and getParent().


The documentation for this class was generated from the following files: