search for: theoperandenum

Displaying 2 results from an estimated 2 matches for "theoperandenum".

2009 Jun 21
4
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
...e isel also needs to know exactly which GV references go through a stub so that it isels the access correctly. My proposed fix for this is to add an 'unsigned char' slot to MachineOperand that holds a target-specific enum value. The code in asmprinter would be reduced to: switch (theoperandenum) { case X86::MO_Flag_non_lazy_ptr: O << "$non_lazy_ptr"; break; case X86::MO_Flag_TLSGD: O << "@TLSGD"; break; case X86::MO_Flag_NTPOFF: O << "@NTPOFF"; break; etc. The possible set of suffixes and modifiers are all target- speci...
2009 Jun 22
0
[LLVMdev] proposal to simplify isel/asmprinter interaction with globals
On Jun 20, 2009, at 7:30 PM, Chris Lattner wrote: > > > My proposed fix for this is to add an 'unsigned char' slot to > MachineOperand that holds a target-specific enum value. The code in > asmprinter would be reduced to: > > switch (theoperandenum) { > case X86::MO_Flag_non_lazy_ptr: > O << "$non_lazy_ptr"; > break; > case X86::MO_Flag_TLSGD: > O << "@TLSGD"; > break; > case X86::MO_Flag_NTPOFF: > O << "@NTPOFF"; > break; > > > etc. The possible...