Displaying 2 results from an estimated 2 matches for "mo_constantpoolindex".
2011 Mar 03
2
[LLVMdev] MachineOperand type
Hi all,
I have a question about the types of MachineOperand. There are 12
different types of MachineOperand such as MO_Register, MO_Immediate and
so on. Some of the names are self-explanatory such as MO_Register and
MO_Immediate. Some of them are a little confusing such as MO_FrameIndex,
MO_ConstantPoolIndex and so on. For example, what is the different
between MO_ExternalSymbol and MO_GlobalAddress? Are these two types
orthogonal? I found that memset and memcpy are MO_ExternalSymbol and
printf and fprintf and so on are MO_GlobalAddress.
Thanks a lot in advance. Any advice will be greatly appreciat...
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...(const MachineInstr *MI, int OpNo,
>> - raw_ostream&O) {
>> + raw_ostream&O) {
>> const MachineOperand&MO = MI->getOperand(OpNo);
>> assert( (MO.getType() == MachineOperand::MO_ConstantPoolIndex)&&
>> - "Expecting constant pool index");
>> + "Expecting constant pool index");
>>
>> // Hexagon_TODO: Do we need name mangling?
>> O<< *GetCPISymbol(MO.getIndex());
>> diff --git a/lib/Target/Hexagon/Hexagon...