search for: sn_map1

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

Did you mean: sn_map2
2014 Feb 27
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...asserts here. They aren't detecting a specific > bug, they're checking whether the new code does a certain task relative > to the old code. Drop the old code, your new code is the new sheriff in > town. Asserts has been removed. > > + DenseMap<const Value*, int> sn_map1, sn_map2; > > What is sn short for ("seen")? Why are there two of these? Serial number :-) > > + std::pair<DenseMap<const Value *, int>::iterator, bool> > + LeftSN = sn_map1.insert(std::make_pair(V1, sn_map1.size())), > + RightSN = sn_map2.insert...
2014 Mar 13
2
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...re checking whether the new code does a certain task > relative > > to the old code. Drop the old code, your new code is the new > sheriff in > > town. > Asserts has been removed. > > > > > > + DenseMap<const Value*, int> sn_map1, sn_map2; > > > > What is sn short for ("seen")? Why are there two of these? > Serial number :-) > > > > > + std::pair<DenseMap<const Value *, int>::iterator, bool> > > + LeftSN = sn_map1.insert(std::make_pai...
2014 Feb 03
4
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi all, Previous patch has been split onto series of small changes. On each stage (after each patch) MergeFunctions pass is compilable and stable. Please find patches in attachment for review. To apply all patches at once, use "apply-patches.sh" script as follows: 0. Place "apply-patches.sh" in same directory with patches. 1. cd <llvm-sources-dir> 2. "bash