summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/Support/IRBuilder.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Support/IRBuilder.h b/llvm/include/llvm/Support/IRBuilder.h
index cf6f337338c..9979b8d03d0 100644
--- a/llvm/include/llvm/Support/IRBuilder.h
+++ b/llvm/include/llvm/Support/IRBuilder.h
@@ -127,34 +127,42 @@ public:
// Type creation methods
//===--------------------------------------------------------------------===//
+ /// getInt1Ty - Fetch the type representing a single bit
const Type *getInt1Ty() {
return Type::getInt1Ty(Context);
}
+ /// getInt8Ty - Fetch the type representing an 8-bit integer.
const Type *getInt8Ty() {
return Type::getInt8Ty(Context);
}
+ /// getInt16Ty - Fetch the type representing a 16-bit integer.
const Type *getInt16Ty() {
return Type::getInt16Ty(Context);
}
+ /// getInt32Ty - Fetch the type resepresenting a 32-bit integer.
const Type *getInt32Ty() {
return Type::getInt32Ty(Context);
}
+ /// getInt64Ty - Fetch the type representing a 64-bit integer.
const Type *getInt64Ty() {
return Type::getInt64Ty(Context);
}
+ /// getFloatTy - Fetch the type representing a 32-bit floating point value.
const Type *getFloatTy() {
return Type::getFloatTy(Context);
}
+ /// getDoubleTy - Fetch the type representing a 64-bit floating point value.
const Type *getDoubleTy() {
return Type::getDoubleTy(Context);
}
+ /// getVoidTy - Fetch the type representing void.
const Type *getVoidTy() {
return Type::getVoidTy(Context);
}
OpenPOWER on IntegriCloud