Lines Matching refs:NCM
111 BasicBlock *recalculatePlacement(GepNode *Node, NodeChildrenMap &NCM,
113 BasicBlock *recalculatePlacementRec(GepNode *Node, NodeChildrenMap &NCM,
118 BasicBlock *adjustForInvariance(GepNode *Node, NodeChildrenMap &NCM,
121 void separateConstantChains(GepNode *Node, NodeChildrenMap &NCM,
128 NodeChildrenMap &NCM);
414 void invert_find_roots(const NodeVect &Nodes, NodeChildrenMap &NCM, in invert_find_roots() argument
424 NCM[PN].push_back(N); in invert_find_roots()
428 void nodes_for_root(GepNode *Root, NodeChildrenMap &NCM, NodeSet &Nodes) { in nodes_for_root() argument
437 NodeChildrenMap::iterator CF = NCM.find(N); in nodes_for_root()
438 if (CF != NCM.end()) { in nodes_for_root()
739 NodeChildrenMap &NCM, NodeToValueMap &Loc) { in recalculatePlacement() argument
769 NodeChildrenMap::iterator CF = NCM.find(Node); in recalculatePlacement()
770 if (CF != NCM.end()) { in recalculatePlacement()
807 NodeChildrenMap &NCM, NodeToValueMap &Loc) { in recalculatePlacementRec() argument
811 NodeChildrenMap::iterator CF = NCM.find(Node); in recalculatePlacementRec()
812 if (CF != NCM.end()) { in recalculatePlacementRec()
815 recalculatePlacementRec(*I, NCM, Loc); in recalculatePlacementRec()
817 BasicBlock *LB = recalculatePlacement(Node, NCM, Loc); in recalculatePlacementRec()
869 NodeChildrenMap &NCM, NodeToValueMap &Loc) { in adjustForInvariance() argument
908 NodeChildrenMap::iterator CF = NCM.find(Node); in adjustForInvariance()
909 if (CF != NCM.end()) { in adjustForInvariance()
912 adjustForInvariance(*I, NCM, Loc); in adjustForInvariance()
997 NodeChildrenMap &NCM, NodeToValueMap &Loc) { in separateConstantChains() argument
1000 nodes_for_root(Node, NCM, Ns); in separateConstantChains()
1053 NodeChildrenMap NCM; in computeNodePlacement() local
1055 invert_find_roots(Nodes, NCM, Roots); in computeNodePlacement()
1060 recalculatePlacementRec(*I, NCM, Loc); in computeNodePlacement()
1066 adjustForInvariance(*I, NCM, Loc); in computeNodePlacement()
1073 separateConstantChains(*I, NCM, Loc); in computeNodePlacement()
1134 NodeChildrenMap &NCM) { in getAllUsersForNode() argument
1149 NodeChildrenMap::iterator CF = NCM.find(N); in getAllUsersForNode()
1150 if (CF != NCM.end()) { in getAllUsersForNode()
1160 NodeChildrenMap NCM; in materialize() local
1164 invert_find_roots(Nodes, NCM, Roots); in materialize()
1190 NodeChildrenMap::iterator CF = NCM.find(Last); in materialize()
1191 LastCN = (CF != NCM.end()) ? CF->second.size() : 0; in materialize()
1204 getAllUsersForNode(Root, Urs, NCM); in materialize()
1216 NodeVect &Cs = NCM[Last]; in materialize()