llvm-project/llvm/include
Bevin Hansson 14a217534b [IR] Add Type::getFloatingPointTy.
It is possible to get a fltSemantics of a particular Type,
but there is no way to produce a Type based on a
fltSemantics.

This adds the function Type::getFloatingPointTy, which
will return the appropriate floating point Type for a given
fltSemantics.

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.

Differential Revision: https://reviews.llvm.org/D87512
2020-10-09 10:27:41 +02:00
..
llvm [IR] Add Type::getFloatingPointTy. 2020-10-09 10:27:41 +02:00
llvm-c [LLVM-C] Turn a ShuffleVector Constant Into a Getter. 2020-09-26 17:32:57 -06:00