Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dsuperblock_cloner.h34 class HEdge : public ArenaObject<kArenaAllocSuperblockCloner> {
36 HEdge(HBasicBlock* from, HBasicBlock* to) : from_(from->GetBlockId()), to_(to->GetBlockId()) { in HEdge() function
40 HEdge(uint32_t from, uint32_t to) : from_(from), to_(to) { in HEdge() function
44 HEdge() : from_(kInvalidBlockId), to_(kInvalidBlockId) {} in HEdge() function
49 bool operator==(const HEdge& other) const {
53 bool operator!=(const HEdge& other) const { return !operator==(other); }
68 inline bool IsEdgeValid(HEdge edge, HGraph* graph) { in IsEdgeValid()
140 using HEdgeSet = ArenaHashSet<HEdge>;
451 struct hash<art::HEdge> {
452 size_t operator()(art::HEdge const& x) const noexcept {
[all …]
Dsuperblock_cloner.cc32 void HEdge::Dump(std::ostream& stream) const { in Dump()
456 for (HEdge e : *remap_incoming_) { in RemapEdgesSuccessors()
476 auto orig_redir = remap_orig_internal_->find(HEdge(orig_block_id, orig_succ_id)); in RemapEdgesSuccessors()
477 auto copy_redir = remap_copy_internal_->find(HEdge(orig_block_id, orig_succ_id)); in RemapEdgesSuccessors()
707 for (HEdge edge : *remap_orig_internal_) { in CheckRemappingInfoIsValid()
768 for (HEdge e : *remap_orig_internal_) { in DumpInputSets()
1034 HEdge e = HEdge(back_edge_block, loop_header); in CollectRemappingInfoForPeelUnroll()
1045 remap_incoming->insert(HEdge(loop_info->GetPreHeader(), loop_header)); in CollectRemappingInfoForPeelUnroll()
1146 ostream& operator<<(ostream& os, const art::HEdge& e) { in operator <<()
Dsuperblock_cloner_test.cc658 remap_incoming.insert(HEdge(preheader->GetSinglePredecessor(), preheader)); in TEST_F()