search for: getregclassforregist

Displaying 3 results from an estimated 3 matches for "getregclassforregist".

Did you mean: getregclassforregister
2013 May 17
2
[LLVMdev] Types vs. register classes in instruction patterns -- effect on FastISel
...and")) OpLeafRec = OpLeafRec->getValueAsDef("RegClass"); if (OpLeafRec->isSubClassOf("RegisterClass")) RC = &Target.getRegisterClass(OpLeafRec); else if (OpLeafRec->isSubClassOf("Register")) RC = Target.getRegBank().getRegClassForRegister(OpLeafRec); else return false; What's the proper thing to do here? If we can map a ValueType to a register class, then we'd be ok. I don't immediately see an interface that will do this (indeed, I guess I'm not certain that's guaranteed to be a 1-1 mapping)....
2013 May 17
0
[LLVMdev] Types vs. register classes in instruction patterns -- effect on FastISel
...OpLeafRec = OpLeafRec->getValueAsDef("RegClass"); > if (OpLeafRec->isSubClassOf("RegisterClass")) > RC = &Target.getRegisterClass(OpLeafRec); > else if (OpLeafRec->isSubClassOf("Register")) > RC = Target.getRegBank().getRegClassForRegister(OpLeafRec); > else > return false; > > What's the proper thing to do here? If we can map a ValueType to a > register class, then we'd be ok. I don't immediately see an interface > that will do this (indeed, I guess I'm not certain that's guaran...
2013 May 19
1
[LLVMdev] Types vs. register classes in instruction patterns -- effect on FastISel
...afRec->getValueAsDef("RegClass"); > > if (OpLeafRec->isSubClassOf("RegisterClass")) > > RC = &Target.getRegisterClass(OpLeafRec); > > else if (OpLeafRec->isSubClassOf("Register")) > > RC = Target.getRegBank().getRegClassForRegister(OpLeafRec); > > else > > return false; > > > > What's the proper thing to do here? If we can map a ValueType to a > > register class, then we'd be ok. I don't immediately see an interface > > that will do this (indeed, I guess I'm...