Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index beb5bc077e1de921623e0fc0b0a1dcc359b02f21..088421fdc01f571941ea2c1f9d998544c7e53cd2 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -77,6 +77,10 @@ public: |
// Returns a symbolic constant. |
Constant *getConstantSym(Type Ty, int64_t Offset, const IceString &Name = "", |
bool SuppressMangling = false); |
+ // Returns an undef. |
+ Constant *getConstantUndef(Type Ty); |
+ // Returns a zero value. |
+ Constant *getConstantZero(Type Ty); |
// getConstantPool() returns a copy of the constant pool for |
// constants of a given type. |
ConstantList getConstantPool(Type Ty) const; |