It is possible to get a fltSemantics of a particular Type,
but there is no way to produce a Type based on a
This adds the function Type::getFloatingPointTy, which
will return the appropriate floating point Type for a given
ConstantFP is modified to use this function instead of
implementing it itself. Also some minor refactors to use
Type::getFltSemantics instead of a hand-rolled version.