-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
jitpch.h
54 lines (50 loc) · 1.21 KB
/
jitpch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include <stdint.h>
#include <windows.h>
#include <wchar.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
#include <string.h>
#include <float.h>
#include <cstdlib>
#include <cmath>
#include <intrin.h>
#ifdef HOST_WINDOWS
#include <malloc.h>
#endif
#include <algorithm>
using std::max;
using std::min;
// Don't allow using the windows.h #defines for the BitScan* APIs. Using the #defines means our
// `BitOperations::BitScan*` functions have their name mapped, which is confusing and messes up
// Visual Studio source browsing.
#ifdef BitScanForward
#undef BitScanForward
#endif
#ifdef BitScanReverse
#undef BitScanReverse
#endif
#ifdef BitScanForward64
#undef BitScanForward64
#endif
#ifdef BitScanReverse64
#undef BitScanReverse64
#endif
#include "jitconfig.h"
#include "jit.h"
#include "iallocator.h"
#include "hashbv.h"
#include "compiler.h"
#include "dataflow.h"
#include "block.h"
#include "jiteh.h"
#include "rationalize.h"
#include "jitstd.h"
#include "ssaconfig.h"
#include "blockset.h"
#include "bitvec.h"
#include "inline.h"
#include "objectalloc.h"