From 480752e9f6e96d8a31f1805add1cedda2e210c4c Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 2 Jul 2009 16:51:51 +0000 Subject: Add accessor for getting UndefValue's. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74702 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/LLVMContext.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index a338b1f..8779952 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -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(); -- cgit v1.1