diff options
Diffstat (limited to 'include/llvm/Support/IRBuilder.h')
-rw-r--r-- | include/llvm/Support/IRBuilder.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Support/IRBuilder.h b/include/llvm/Support/IRBuilder.h index cf6f337..9979b8d 100644 --- a/include/llvm/Support/IRBuilder.h +++ b/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); } |