| Index: src/IceGlobalContext.h
|
| diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
|
| index beb5bc077e1de921623e0fc0b0a1dcc359b02f21..b35c552e8297b570e34f81b8a6d76f0d1a76ab78 100644
|
| --- a/src/IceGlobalContext.h
|
| +++ b/src/IceGlobalContext.h
|
| @@ -20,6 +20,7 @@
|
| #include "llvm/Support/raw_ostream.h"
|
|
|
| #include "IceDefs.h"
|
| +#include "IceIntrinsics.h"
|
| #include "IceTypes.h"
|
|
|
| namespace Ice {
|
| @@ -84,6 +85,8 @@ public:
|
| // Allocate data of type T using the global allocator.
|
| template <typename T> T *allocate() { return Allocator.Allocate<T>(); }
|
|
|
| + const Intrinsics &getIntrinsicsInfo() const { return IntrinsicsInfo; }
|
| +
|
| private:
|
| Ostream StrDump; // Stream for dumping / diagnostics
|
| Ostream StrEmit; // Stream for code emission
|
| @@ -91,6 +94,7 @@ private:
|
| llvm::BumpPtrAllocator Allocator;
|
| VerboseMask VMask;
|
| llvm::OwningPtr<class ConstantPool> ConstPool;
|
| + Intrinsics IntrinsicsInfo;
|
| const TargetArch Arch;
|
| const OptLevel Opt;
|
| const IceString TestPrefix;
|
|
|