summaryrefslogtreecommitdiff
path: root/include/llvm/LLVMContext.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-02 23:58:19 +0000
committerOwen Anderson <resistor@mac.com>2009-07-02 23:58:19 +0000
commit0d86e2fa589d1a3261fa942bea2ad0b4702e198b (patch)
tree8afe0b864c5aa6b0dcab7311fd51db54136a98e0 /include/llvm/LLVMContext.h
parent4fbb9960adcd79888acda1869d26032b9ab44a10 (diff)
downloadllvm-0d86e2fa589d1a3261fa942bea2ad0b4702e198b.tar.gz
llvm-0d86e2fa589d1a3261fa942bea2ad0b4702e198b.tar.bz2
llvm-0d86e2fa589d1a3261fa942bea2ad0b4702e198b.tar.xz
Fill in a few more missing accessors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74739 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LLVMContext.h')
-rw-r--r--include/llvm/LLVMContext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h
index 128175c566..76b0ac8177 100644
--- a/include/llvm/LLVMContext.h
+++ b/include/llvm/LLVMContext.h
@@ -66,12 +66,14 @@ public:
// ConstantInt accessors
ConstantInt* getConstantIntTrue();
ConstantInt* getConstantIntFalse();
+ Constant* getConstantInt(const Type* Ty, uint64_t V,
+ bool isSigned = false);
ConstantInt* getConstantInt(const IntegerType* Ty, uint64_t V,
bool isSigned = false);
ConstantInt* getConstantIntSigned(const IntegerType* Ty, int64_t V);
ConstantInt* getConstantInt(const APInt& V);
Constant* getConstantInt(const Type* Ty, const APInt& V);
- ConstantInt* getAllOnesConstantInt(const Type* Ty);
+ ConstantInt* getConstantIntAllOnesValue(const Type* Ty);
// ConstantPointerNull accessors
ConstantPointerNull* getConstantPointerNull(const PointerType* T);