Displaying 3 results from an estimated 3 matches for "addnonleafnodetocsemaps".
2008 Apr 23
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...00 operands by a different operand. After each
such operand replacement, this snippen of code is typically executed
(see SelectionDAG.cpp):
// Now that we have modified U, add it back to the CSE maps.
// If it already 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 up...
2008 Apr 24
0
[LLVMdev] FoldingSetNodeID operations inefficiency
...operand. After each
> such operand replacement, this snippen of code is typically executed
> (see SelectionDAG.cpp):
>
> // Now that we have modified U, add it back to the CSE maps.
> // If it already 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 doe...
2008 Apr 28
1
[LLVMdev] FoldingSetNodeID operations inefficiency
...operand. After each
> such operand replacement, this snippen of code is typically executed
> (see SelectionDAG.cpp):
>
> // Now that we have modified U, add it back to the CSE maps.
> // If it already 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 doe...