diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-02-24 21:27:30 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-02-24 21:27:30 +0000 |
| commit | 0f8e52dfc671bf6e2c09c8a28062ec76237954ea (patch) | |
| tree | 03012a05e4c16a3dd809c281777acd1d9fe4a127 /include/llvm/Bitcode/LLVMBitCodes.h | |
| parent | 3c315f3a8e8f326948fc789f146794ecd33cc540 (diff) | |
Vendor import of llvm release_60 branch r325932:vendor/llvm/llvm-release_60-r325932
Notes
svn path=/vendor/llvm/dist-release_60/; revision=329931
svn path=/vendor/llvm/llvm-release_60-r325932/; revision=329932; tag=vendor/llvm/llvm-release_60-r325932
Diffstat (limited to 'include/llvm/Bitcode/LLVMBitCodes.h')
| -rw-r--r-- | include/llvm/Bitcode/LLVMBitCodes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h index 70194c043479..01419d7ae2bf 100644 --- a/include/llvm/Bitcode/LLVMBitCodes.h +++ b/include/llvm/Bitcode/LLVMBitCodes.h @@ -395,6 +395,20 @@ enum OverflowingBinaryOperatorOptionalFlags { OBO_NO_SIGNED_WRAP = 1 }; +/// FastMath Flags +/// This is a fixed layout derived from the bitcode emitted by LLVM 5.0 +/// intended to decouple the in-memory representation from the serialization. +enum FastMathMap { + UnsafeAlgebra = (1 << 0), // Legacy + NoNaNs = (1 << 1), + NoInfs = (1 << 2), + NoSignedZeros = (1 << 3), + AllowReciprocal = (1 << 4), + AllowContract = (1 << 5), + ApproxFunc = (1 << 6), + AllowReassoc = (1 << 7) +}; + /// PossiblyExactOperatorOptionalFlags - Flags for serializing /// PossiblyExactOperator's SubclassOptionalData contents. enum PossiblyExactOperatorOptionalFlags { PEO_EXACT = 0 }; |
