| Index: src/IceGlobalContext.h
|
| diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h
|
| index b67a232fc658770fb49b580f99add84c23812346..a41edc8abd0cb67edb7b243a8cc5b190edd7706b 100644
|
| --- a/src/IceGlobalContext.h
|
| +++ b/src/IceGlobalContext.h
|
| @@ -85,10 +85,17 @@ public:
|
| Constant *getConstantUndef(Type Ty);
|
| // Returns a zero value.
|
| Constant *getConstantZero(Type Ty);
|
| +
|
| + // Adds the given constant to the list of pooled immediates.
|
| + void addConstantPooledImmediate(const IceString &Name, Constant *Immediate);
|
| +
|
| // getConstantPool() returns a copy of the constant pool for
|
| // constants of a given type.
|
| ConstantList getConstantPool(Type Ty) const;
|
|
|
| + // getImmediatePool() returns the list of pooled immediates.
|
| + ConstantList getImmediatePool() const;
|
| +
|
| const ClFlags &getFlags() const { return Flags; }
|
|
|
| // Allocate data of type T using the global allocator.
|
|
|