[LLVMdev] TableGen: RegisterClass question
ghost at cs.msu.su
Sat May 13 06:28:03 PDT 2006
I'm porting some existing code of mine to CVS HEAD, and don't understand
something about new RegisterClass TableGen definition:
class RegisterClass<string namespace, list<ValueType> regTypes,........
string Namespace = namespace;
What is this "namespace" thing? It looks like it should contain the name of
// RegType - Specify the ValueType of the registers in this register
// class. Note that all registers in a register class must have the same
list<ValueType> RegTypes = regTypes;
The comment seems out of date -- it says that only one type is allowed,
while list is used. Can somebody explain what would it mean for a register
class to have several allowed ValueTypes?
More information about the llvm-dev