llvm.org GIT mirror llvm / 0270f2b
[X86] Move AVX512 STATIC_ROUNDING enum to X86BaseInfo.h to fix a layering violation in AsmParser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256426 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 4 years ago
3 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
1010 #include "X86AsmInstrumentation.h"
1111 #include "X86AsmParserCommon.h"
1212 #include "X86Operand.h"
13 #include "X86ISelLowering.h"
1413 #include "llvm/ADT/APFloat.h"
1514 #include "llvm/ADT/STLExtras.h"
1615 #include "llvm/ADT/SmallString.h"
3939
4040 /// AddrNumOperands - Total number of operands in a memory reference.
4141 AddrNumOperands = 5
42 };
43
44 /// AVX512 static rounding constants. These need to match the values in
45 /// avx512fintrin.h.
46 enum STATIC_ROUNDING {
47 TO_NEAREST_INT = 0,
48 TO_NEG_INF = 1,
49 TO_POS_INF = 2,
50 TO_ZERO = 3,
51 CUR_DIRECTION = 4
4252 };
4353 } // end namespace X86;
4454
605605 bool isCalleePop(CallingConv::ID CallingConv,
606606 bool is64Bit, bool IsVarArg, bool TailCallOpt);
607607
608 /// AVX512 static rounding constants. These need to match the values in
609 /// avx512fintrin.h.
610 enum STATIC_ROUNDING {
611 TO_NEAREST_INT = 0,
612 TO_NEG_INF = 1,
613 TO_POS_INF = 2,
614 TO_ZERO = 3,
615 CUR_DIRECTION = 4
616 };
617608 }
618609
619610 //===--------------------------------------------------------------------===//