Add generating function declaration for PTX

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Che-Liang Chiou
2010-11-08 03:06:08 +00:00
parent 3278c4260c
commit df65963a34
2 changed files with 129 additions and 11 deletions

View File

@@ -56,6 +56,7 @@ public:
typedef std::vector<unsigned>::const_iterator reg_iterator;
bool argRegEmpty() const { return reg_arg.empty(); }
int getNumArg() const { return reg_arg.size(); }
reg_iterator argRegBegin() const { return reg_arg.begin(); }
reg_iterator argRegEnd() const { return reg_arg.end(); }