Lines Matching refs:block
37 explicit CommonDominator(HBasicBlock* block) in CommonDominator() argument
38 : dominator_(block), chain_length_(ChainLength(block)) { in CommonDominator()
42 void Update(HBasicBlock* block) { in Update() argument
43 DCHECK(block != nullptr); in Update()
45 dominator_ = block; in Update()
46 chain_length_ = ChainLength(block); in Update()
51 if (block == block2) { in Update()
54 size_t chain_length = ChainLength(block); in Update()
58 block = block->GetDominator(); in Update()
59 DCHECK(block != nullptr); in Update()
66 while (block != block2) { in Update()
68 block = block->GetDominator(); in Update()
69 DCHECK(block != nullptr); in Update()
73 dominator_ = block; in Update()
82 static size_t ChainLength(HBasicBlock* block) { in ChainLength() argument
84 while (block != nullptr) { in ChainLength()
86 block = block->GetDominator(); in ChainLength()