Lines Matching refs:Block
38 BlockPtrTy Block; variable
53 template <typename T1> static T1 deref(T1 Block, unsigned SuccIdx) { in deref() argument
54 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in deref()
60 return getBlockWithSuccs(Block)->getSuccessors()[SuccIdx]; in deref()
67 VPAllSuccessorsIterator(BlockPtrTy Block, size_t Idx = 0)
68 : Block(Block), SuccessorIdx(Idx) {} in Block() function
70 : Block(Other.Block), SuccessorIdx(Other.SuccessorIdx) {} in VPAllSuccessorsIterator()
73 Block = R.Block;
78 static VPAllSuccessorsIterator end(BlockPtrTy Block) { in end() argument
79 if (auto *R = dyn_cast<VPRegionBlock>(Block)) { in end()
83 BlockPtrTy ParentWithSuccs = getBlockWithSuccs(Block); in end()
86 return {Block, NumSuccessors}; in end()
90 return Block == R.Block && SuccessorIdx == R.SuccessorIdx;
93 const VPBlockBase *operator*() const { return deref(Block, SuccessorIdx); }
95 BlockPtrTy operator*() { return deref(Block, SuccessorIdx); }