Changeset View
Changeset View
Standalone View
Standalone View
lib/Transforms/Utils/SSAUpdater.cpp
Context not available. | |||||
static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return succ_begin(BB); } | static BlkSucc_iterator BlkSucc_begin(BlkT *BB) { return succ_begin(BB); } | ||||
static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return succ_end(BB); } | static BlkSucc_iterator BlkSucc_end(BlkT *BB) { return succ_end(BB); } | ||||
/// Iterator over phis in a block. | |||||
typedef BlkT::iterator PhiItT; | |||||
static PhiItT PhiItT_begin(BlkT *BB) { return BB->begin(); } | |||||
static PhiItT PhiItT_end(BlkT *BB) { return BB->end(); } | |||||
class PHI_iterator { | class PHI_iterator { | ||||
private: | private: | ||||
PHINode *PHI; | PHINode *PHI; | ||||
Context not available. |