forked from OSchip/llvm-project
[APFloat] Tag the fltSemantic getter functions with LLVM_READNONE.
This gives about an 8k reduction in the size of the opt binary on my local x86-64 build. llvm-svn: 298344
This commit is contained in:
parent
40b0b46746
commit
a9611ea4c0
|
@ -146,16 +146,16 @@ struct APFloatBase {
|
|||
/// \name Floating Point Semantics.
|
||||
/// @{
|
||||
|
||||
static const fltSemantics &IEEEhalf();
|
||||
static const fltSemantics &IEEEsingle();
|
||||
static const fltSemantics &IEEEdouble();
|
||||
static const fltSemantics &IEEEquad();
|
||||
static const fltSemantics &PPCDoubleDouble();
|
||||
static const fltSemantics &x87DoubleExtended();
|
||||
static const fltSemantics &IEEEhalf() LLVM_READNONE;
|
||||
static const fltSemantics &IEEEsingle() LLVM_READNONE;
|
||||
static const fltSemantics &IEEEdouble() LLVM_READNONE;
|
||||
static const fltSemantics &IEEEquad() LLVM_READNONE;
|
||||
static const fltSemantics &PPCDoubleDouble() LLVM_READNONE;
|
||||
static const fltSemantics &x87DoubleExtended() LLVM_READNONE;
|
||||
|
||||
/// A Pseudo fltsemantic used to construct APFloats that cannot conflict with
|
||||
/// anything real.
|
||||
static const fltSemantics &Bogus();
|
||||
static const fltSemantics &Bogus() LLVM_READNONE;
|
||||
|
||||
/// @}
|
||||
|
||||
|
|
Loading…
Reference in New Issue