search for: nodedelet

Displaying 4 results from an estimated 4 matches for "nodedelet".

Did you mean: nodedeleted
2008 Apr 23
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...lready exists there, recursively 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 update...
2018 Feb 06
0
ConstantFP and Use
...d node ID for RAUW deletion!"); N->setNodeId(DAGTypeLegalizer::NewNode); NodesToAnalyze.insert(N); } First off, I wonder if this assert is actually valid. NodeUpdated is called for more than node deletion (in fact AFAICT it's called for everything *but* deletion). The NodeDeleted member right above it has the exact same assert, with the same message, leading me to suspect a cut-n-paste logical error. But let's assume for the moment the assert is ok. It's been there a long time and I've not been able to find other reports about it. In the asserting case, I h...
2008 Apr 24
0
[LLVMdev] FoldingSetNodeID operations inefficiency
...recursively 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....
2008 Apr 28
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...recursively 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....