Lines Matching refs:region
286 GateInfo(GateRegion* region) : region(region) {} in GateInfo()
287 GateRegion* region {nullptr};
351 return info.region; in GateToRegion()
366 void AddFixedGateToRegion(GateRef gate, GateRegion* region) in AddFixedGateToRegion() argument
370 info.upperBound = region; in AddFixedGateToRegion()
371 ASSERT(info.region == nullptr); in AddFixedGateToRegion()
372 info.region = region; in AddFixedGateToRegion()
382 void AddRootGateToRegion(GateRef gate, GateRegion* region) in AddRootGateToRegion() argument
386 info.upperBound = region; in AddRootGateToRegion()
387 ASSERT(info.region == nullptr); in AddRootGateToRegion()
388 info.region = region; in AddRootGateToRegion()
389 region->state_ = gate; in AddRootGateToRegion()
390 region->AddGate(gate); in AddRootGateToRegion()
395 void BindGate(GateRef gate, GateRegion* region) in BindGate() argument
398 info.region = region; in BindGate()
399 region->AddGate(gate); in BindGate()
404 GateRegion* region = GateToRegion(gate); in IsScheduled() local
405 return region != nullptr; in IsScheduled()
438 LoopInfo* GetLoopInfo(GateRegion *region) in GetLoopInfo() argument
440 auto loopIndex = region->GetLoopIndex(); in GetLoopInfo()
449 size_t OptimizeControls(GateRegion *region);