Lines Matching refs:UnionFind
1840 static void joinOperandTree(EquivalenceClasses<Instruction *> &UnionFind, in joinOperandTree() argument
1852 auto OpVal = UnionFind.findValue(OpInst); in joinOperandTree()
1853 if (OpVal == UnionFind.end()) in joinOperandTree()
1856 UnionFind.unionSets(Inst, OpInst); in joinOperandTree()
1867 joinOrderedInstructions(EquivalenceClasses<Instruction *> &UnionFind, in joinOrderedInstructions() argument
1874 Instruction *Leader = UnionFind.getLeaderValue(Inst); in joinOrderedInstructions()
1895 UnionFind.unionSets(Prev, Leader); in joinOrderedInstructions()
1918 static void joinOrderedPHIs(EquivalenceClasses<Instruction *> &UnionFind, in joinOrderedPHIs() argument
1934 UnionFind.unionSets(PHI, IncomingVal); in joinOrderedPHIs()
1944 EquivalenceClasses<Instruction *> UnionFind; in buildEqivClassBlockStmts() local
1950 UnionFind.insert(&Inst); in buildEqivClassBlockStmts()
1962 joinOperandTree(UnionFind, ModeledInsts); in buildEqivClassBlockStmts()
1963 joinOrderedInstructions(UnionFind, ModeledInsts); in buildEqivClassBlockStmts()
1964 joinOrderedPHIs(UnionFind, ModeledInsts); in buildEqivClassBlockStmts()
1977 auto LeaderIt = UnionFind.findLeader(Inst); in buildEqivClassBlockStmts()
1978 if (LeaderIt == UnionFind.member_end()) in buildEqivClassBlockStmts()
1988 auto LeaderIt = UnionFind.findLeader(Inst); in buildEqivClassBlockStmts()
1989 if (LeaderIt == UnionFind.member_end()) in buildEqivClassBlockStmts()