Apply patch from Brice Goglin.

Details are here:

  http://www.open-mpi.org/community/lists/hwloc-users/2014/11/1118.php
Introduce transitional CForLoop::loopHeaderSet(init, test, incr)
Convert a use of blockInfoSet on CForLoop in to the transitional assignment
Move the blockTag assignment in to loopHeaderSet
Merge pull request #899 from noakesmichael/lower-0

Provide a transitional API for CForLoop and utilize in lowerIterators

Compiled: STD clang/darwin, STD gcc/linux64, LLVM gcc/linux64
Tested: paratest --verify
Review: None
Save the problem sizes for RA and STREAM variants

We're observing some strange cyclic behavior for RA on one of our performance
test machines that seems related to when the machine gets rebooted.  Since RA
is known to compute some of its size based on memory, we figured that saving
the problem size information from night to night might show us more of the
picture (and if not, at least serve as a sanity check that it is running the
same every night).  STREAM was also not saving this information, so the same
change was made to it.

Implementation details: I decided to create separate .dat files to store this
information as adding information to track to a .dat file has necessitated
adding a column to it manually, the script will not update the columns
otherwise.  These values are sanity checks so I think it is better to clutter
up the directory rather than the information in the files themselves.
Merge pull request #900 from lydia-duncan/saveHPCCProbSizes

Save the problem sizes for RA and STREAM variants [ok'd by elliot]

We're observing some strange cyclic behavior for RA on one of our performance
test machines that seems related to when the machine gets rebooted. Since RA
is known to compute some of its size based on memory, we figured that saving
the problem size information from night to night might show us more of the
picture (and if not, at least serve as a sanity check that it is running the
same every night). STREAM was also not saving this information, so the same
change was made to it.

Implementation details: I decided to create separate .dat files to store this
information as adding information to track to a .dat file has necessitated
adding a column to it manually, the script will not update the columns
otherwise. These values are sanity checks so I think it is better to clutter
up the directory rather than the information in the files themselves.
Fix for Coverity Issue 1241468.

Coverity is complaining about a negative return from _ltoa_convert defined in
qio_formatted.c.

It is easy enough to rewrite this routine so that it returns a result that can never be
negative.  Hopefully, that will quiet Coverity on this issue.

Redefined the return value from the number of characters to skip *before* encountering the
start of the converted number to the *position* of the first valid character.  Before, the
return value could range from [-1..tmplen-2].  Now its range is [0..tmplen-1].

I changed the client code to accommodate this new definition of the return value
(basically subtracted 1 from it).

I changed the return type to size_t, which is an unsigned type so it can't go below zero.
Accept increased leak counts to quiet domainMaps tests.

The fix for early destruction of the contents of tuples #860 caused memory leaks to
increase (only) in memory/sungeun/refCount/domainMaps.

A previous attempt to quiet these tests #895, did not succeed.

This patch undoes #895 and instead updates the affected .good files to quiet the test.

The reasoning behind this approach is:
 - The results that are affected -- creating a domain and array in using replicated
   distribution -- seem specific to the implementation of Replicated Distributions in the
   affected configurations: gasnet and no-local.  (Interestingly, the numa configuration is
   unaffected.)
 - Since memory allocated for domains and arrays currently leaks in many configurations,
   more work is required in this area.  To facilitate progress in this area when it is
   undertaken, it is probably better to have the logic for autoCopy and autoDestroy be as
   simple as possible.
 - The case that was fixed for tuples in #860 was clearly wrong, whereas the previously
   lower leakage for the replicated distribution under gasnet and no-local may be
   considered fortuitous.
Preparation for BasicBlock changes
Update length calculation in _ltoa.
Print more timings in sub_test

sub_test currently prints the total time it took to execute which is really
useful information at times. sub_test can run over a whole directory and
sometimes you want finer grained timing so this adds timing stats on a per
test basis.

It prints:
 - the compilation time for each compile of the test
 - the execution time for each run of the test
 - the total time for all compilations, and executions of the test

I wanted to add execution time to look at total execution time for multi-locale
perf runs, but Thomas thought (and I agree) that timing compilation and total
test time is useful as well.
Merge pull request #889 from thomasvandoren/fix-hwloc-build-for-32bit

Fix hwloc build on 32bit platform with OPTIMIZE=1.

Previously, building hwloc with `OPTIMIZE=1` resulted in this failure:

```
... snip ... 
  CC topology-x86.lo 
/home/vagrant/src/hwloc/include/private/cpuid-x86.h: Assembler messages: 
/home/vagrant/src/hwloc/include/private/cpuid-x86.h:40: Error: symbol 
`Lhwloc1' is already defined 
Makefile:878: recipe for target 'topology-x86.lo' failed 
make[1]: *** [topology-x86.lo] Error 1 
make[1]: Leaving directory '/home/vagrant/src/hwloc/hwloc' 
Makefile:615: recipe for target 'all-recursive' failed 
make: *** [all-recursive] Error 1 
```

Brice Goglin fixed the issue with the changes applied in this pull request.

I applied the patch to the hwloc 1.9.1 in this repo. I also ran the full suite of tests
on linux32 to verify it did not introduce new issues. It did not.

More details here:

  http://www.open-mpi.org/community/lists/hwloc-users/2014/11/1118.php
Merge pull request #902 from ronawho/print-exec-time

Print more timings in sub_test

[reviewed by @thomasvandoren]

sub_test currently prints the total time it took to execute which is really
useful information at times. sub_test can run over a whole directory and
sometimes you want finer grained timing so this adds timing stats on a per
test basis.

It prints:
 - the compilation time for each compile of the test
 - the execution time for each run of the test
 - the total time for all compilations, and executions of the test

I wanted to add execution time to look at total execution time for multi-locale
perf runs, but Thomas thought (and I agree) that timing compilation and total
test time is useful as well.
Accepted increased leaks due to forall intents; added futures.
Merge pull request #904 from vasslitvinov/address-memleaks-in-numa-from-forall-intents

Accepted increased leaks due to forall intents; added futures.

* Accepted the additional memory leak of 16 bytes due to forall intents #614
in several tests exposed by "numa" testing, by adjusting .good files.

They are due to the same cause as in #614 for this test:

  memory/sungeun/refCount/domainMaps.chpl

For a detailed explanation, see the commit df8e3b0.

* Added two futures that expose this issue:
    memleaks1-minimal.chpl is the smallest amount of code that hits it;
    memleaks2-BlockDist.chpl is a realistic example.
  I added .skipifs to test these only in a couple of configurations.
  Once the leaks are fixed, .skipifs can be removed.

* While there:
 - created test/parallel/forall/
 - moved parallel/taskPar/forallIntents/*
   to test/parallel/forall/vass/
Merge pull request #905 from noakesmichael/bb-0

Preparation for BasicBlock changes to support While/For Loop work

No functional changes.
Fixed inconsistent style in a few places. 

The BasicBlock class has a combination of class/instance methods and variables and
some public functions that call those.  Converted the public functions in to public class
methods and updated callers as needed. This allowed a couple of the public class methods
to become private class methods.

Compiled: STD clang/darwin, STD gcc/linux64, LLVM gcc/linux64
Tested: STD paratest
Review: None
Merge pull request #903 from hildeth/fixIncreasedDomainMapLeaks2

Accept increased leak counts to quiet domainMaps tests.



The fix for early destruction of the contents of tuples #860 caused memory leaks to
increase (only) in memory/sungeun/refCount/domainMaps.

A previous attempt to quiet these tests #895, did not succeed.

This patch undoes #895 and instead updates the affected .good files to quiet the test.

The reasoning behind this approach is:

    The results that are affected -- creating a domain and array in using replicated distribution -- seem specific to the implementation of Replicated Distributions in the affected configurations: gasnet and no-local. (Interestingly, the numa configuration is unaffected.)
    Since memory allocated for domains and arrays currently leaks in many configurations, more work is required in this area. To facilitate progress in this area when it is undertaken, it is probably better to have the logic for autoCopy and autoDestroy be as simple as possible.
    The case that was fixed for tuples in #860 was clearly wrong, whereas the previously lower leakage for the replicated distribution under gasnet and no-local may be considered fortuitous.
Additional BasicBlock reformatting
Replace macro BB_RESTART with private static method restart()