Fill in a few more missing accessors.
[oota-llvm.git] / lib / VMCore / LLVMContext.cpp
index fd69c4c93f83c7bf3b6e8aa177874eb6cb8edfee..6af6ff65ebd17be58c06b35b8f6e527a5fa22434 100644 (file)
@@ -53,6 +53,12 @@ ConstantInt* LLVMContext::getConstantIntFalse() {
   return ConstantInt::getFalse();
 }
 
+Constant* LLVMContext::getConstantInt(const Type* Ty, uint64_t V,
+                                         bool isSigned) {
+  return ConstantInt::get(Ty, V, isSigned);
+}
+
+
 ConstantInt* LLVMContext::getConstantInt(const IntegerType* Ty, uint64_t V,
                                          bool isSigned) {
   return ConstantInt::get(Ty, V, isSigned);
@@ -71,7 +77,7 @@ Constant* LLVMContext::getConstantInt(const Type* Ty, const APInt& V) {
   return ConstantInt::get(Ty, V);
 }
 
-ConstantInt* LLVMContext::getAllOnesConstantInt(const Type* Ty) {
+ConstantInt* LLVMContext::getConstantIntAllOnesValue(const Type* Ty) {
   return ConstantInt::getAllOnesValue(Ty);
 }