We have several places where we need to extract the raw bits data from a BUILD_VECTOR node, so consolidate this to a single helper function that handles Undefs and Integer/FP constants, including implicit truncation.
This should make it easier to extend D113202 to handle more constant folding of bitcasted constant data.
IsLE could probably use some documentation or spell it out. I didn't read LE as little endian at first. I initially read it as "less than or equal" which didn't make any sense.