OSDN Git Service

VMCore: Add Type::getIntN[Ptr]Ty, which are the obvious generic forms of
authorDaniel Dunbar <daniel@zuster.org>
Tue, 13 Apr 2010 01:39:07 +0000 (01:39 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 13 Apr 2010 01:39:07 +0000 (01:39 +0000)
commitafc9a0c6b03d6dd523a8d0dc3e7de4ff723b51f4
treeae5211279d323133bfec738d43f0f893b8f90a31
parentee09d2781de2f5a47bbb991a5a525c67557ac5cd
VMCore: Add Type::getIntN[Ptr]Ty, which are the obvious generic forms of
Type::getInt{1,8,...}[Ptr]Ty, so code can consistently use the methods on Type
without occasionally needed to call IntegerType::get.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101111 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Type.h
lib/VMCore/Type.cpp