search for: deletenodenotincsemap

Displaying 3 results from an estimated 3 matches for "deletenodenotincsemap".

Did you mean: deletenodenotincsemaps
2008 Apr 23
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...cursively merge the results together. if (SDNode *Existing = AddNonLeafNodeToCSEMaps(U)) { ReplaceAllUsesWith(U, Existing, UpdateListener); // U is now dead. Inform the listener if it exists and delete it. if (UpdateListener) UpdateListener->NodeDeleted(U); DeleteNodeNotInCSEMaps(U); } else { // If the node doesn't already exist, we updated it. // Inform a listener if it exists. if (UpdateListener) UpdateListener->NodeUpdated(U); } So, basically CSE map should be updated. To achieve that, a hash of the updated node N is computed (and its inter...
2008 Apr 24
0
[LLVMdev] FoldingSetNodeID operations inefficiency
...lts together. > if (SDNode *Existing = AddNonLeafNodeToCSEMaps(U)) { > ReplaceAllUsesWith(U, Existing, UpdateListener); > // U is now dead. Inform the listener if it exists and delete it. > if (UpdateListener) > UpdateListener->NodeDeleted(U); > DeleteNodeNotInCSEMaps(U); > } else { > // If the node doesn't already exist, we updated it. > // Inform a listener if it exists. > if (UpdateListener) > UpdateListener->NodeUpdated(U); > } > > So, basically CSE map should be updated. To achieve that, a hash of the > up...
2008 Apr 28
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...lts together. > if (SDNode *Existing = AddNonLeafNodeToCSEMaps(U)) { > ReplaceAllUsesWith(U, Existing, UpdateListener); > // U is now dead. Inform the listener if it exists and delete it. > if (UpdateListener) > UpdateListener->NodeDeleted(U); > DeleteNodeNotInCSEMaps(U); > } else { > // If the node doesn't already exist, we updated it. > // Inform a listener if it exists. > if (UpdateListener) > UpdateListener->NodeUpdated(U); > } > > So, basically CSE map should be updated. To achieve that, a hash of the > up...