Home
last modified time | relevance | path

Searched refs:HEdge (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dsuperblock_cloner.h35 class HEdge : public ArenaObject<kArenaAllocSuperblockCloner> {
37 HEdge(HBasicBlock* from, HBasicBlock* to) : from_(from->GetBlockId()), to_(to->GetBlockId()) { in HEdge() function
41 HEdge(uint32_t from, uint32_t to) : from_(from), to_(to) { in HEdge() function
45 HEdge() : from_(kInvalidBlockId), to_(kInvalidBlockId) {} in HEdge() function
50 bool operator==(const HEdge& other) const {
54 bool operator!=(const HEdge& other) const { return !operator==(other); }
69 inline bool IsEdgeValid(HEdge edge, HGraph* graph) { in IsEdgeValid()
142 using HEdgeSet = ArenaHashSet<HEdge>;
553 struct hash<art::HEdge> {
554 size_t operator()(art::HEdge const& x) const noexcept {
[all …]
Dsuperblock_cloner.cc32 void HEdge::Dump(std::ostream& stream) const { in Dump()
496 for (HEdge e : *remap_incoming_) { in RemapEdgesSuccessors()
516 auto orig_redir = remap_orig_internal_->find(HEdge(orig_block_id, orig_succ_id)); in RemapEdgesSuccessors()
517 auto copy_redir = remap_copy_internal_->find(HEdge(orig_block_id, orig_succ_id)); in RemapEdgesSuccessors()
748 for (HEdge edge : *remap_orig_internal_) { in CheckRemappingInfoIsValid()
810 for (HEdge e : *remap_orig_internal_) { in DumpInputSets()
1079 HEdge e = HEdge(back_edge_block, loop_header); in CollectRemappingInfoForPeelUnroll()
1090 remap_incoming->insert(HEdge(loop_info->GetPreHeader(), loop_header)); in CollectRemappingInfoForPeelUnroll()
1210 ostream& operator<<(ostream& os, const art::HEdge& e) { in operator <<()
Dsuperblock_cloner_test.cc655 remap_incoming.insert(HEdge(preheader->GetSinglePredecessor(), preheader)); in TEST_F()