search for: addnonleafnodetocsemap

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

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 u...
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 do...
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 do...