Add accessor for getting UndefValue's.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2009-07-02 16:51:51 +00:00
parent e27be3aae9
commit 480752e9f6
2 changed files with 9 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ class ConstantAggregateZero;
class ConstantArray;
class ConstantFP;
class ConstantVector;
class UndefValue;
class IntegerType;
class PointerType;
class StructType;
@@ -57,6 +58,9 @@ public:
Constant* getNullValue(const Type* Ty);
Constant* getAllOnesValue(const Type* Ty);
// UndefValue accessors
UndefValue* getUndef(const Type* Ty);
// ConstantInt accessors
ConstantInt* getConstantIntTrue();
ConstantInt* getConstantIntFalse();