search for: targetmcinst

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

2013 Jun 20
0
[LLVMdev] Question about how MC and MI layers may share data structures.
.... However, templating here may not be safest way to share code implementing the same functionality between MC and MI. Other possibilities include using virtual functions like: getOperand(0).getReg() replaced by opreg(0), Where opreg(x) would be a virtual function in a base class, which TargetMCInst/TargetMachineInstruction would implement (and avoid MCOperands/MIOperands). Another option would be to use function pointers. Is there a preferred way to share code between MI and MC? Thanks and Regards, David Young -------------- next part -------------- An HTML attachment was scrubb...