search for: getvectorlength

Displaying 1 result from an estimated 1 matches for "getvectorlength".

2009 May 09
1
[LLVMdev] Question on register class
...t::Class1, &mytarget::Class2 etc. This goes back to my original intention of having special query functions for a subset of register classes. Suppose I wanted vector register classes (more than one, say 2-elements and 4-elements). I want to define special query functions for these classes, like getVectorLength etc. I can define them using MethodProtos and MethodBodies, but I have to define them for each one the classes in the set. It will be nice if there is a way to build a hierarchy of register classes, and dispatch handlers by finding what class a given RC is. I will appreciate suggestions on how to d...