Added these query functions to the TargetTransformInfo pass and related support classes:
getMaxStoresPerMemset, getMaxStoresPerMemcpy, getMaxGluedStoresPerMemcpy, getMaxExpandSizeMemcmp, getMaxStoresPerMemmove;
they all wrap a call to the corresponding function in TargetLoweringBase.
I will be using getMaxStoresPerMemcpy and getMaxStoresPerMemset to condition a loop optimization that unrolls a memcpy or memset-patterned loop of unknown but bounded length, up to a maximum threshold on the bound which will be determined by these values. I included the rest for the sake of completion.
Needs an address space