return Match_Success;
}
- virtual unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ virtual unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum,
unsigned &NumMCOperands) = 0;
SmallVectorImpl<MCParsedAsmOperand*> &Operands,
MCStreamer &Out);
- unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum, unsigned &NumMCOperands) {
- return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum, NumMCOperands);
+ return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum, NumMCOperands);
}
};
} // end anonymous namespace
/// }
- unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum, unsigned &NumMCOperands) {
- return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
+ return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
NumMCOperands);
}
OperandMatchResultTy parseMemOperand(SmallVectorImpl<MCParsedAsmOperand*>&);
- unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum, unsigned &NumMCOperands);
}
unsigned MipsAsmParser::
-GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum, unsigned &NumMCOperands) {
- assert (0 && "GetMCInstOperandNum() not supported by the Mips target.");
+ assert (0 && "getMCInstOperandNum() not supported by the Mips target.");
// The Mips backend doesn't currently include the matcher implementation, so
- // the GetMCInstOperandNumImpl() is undefined. This is a temporary
+ // the getMCInstOperandNumImpl() is undefined. This is a temporary
// work around.
NumMCOperands = 0;
return 0;
unsigned &OrigErrorInfo,
bool matchingInlineAsm = false);
- unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+ unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
unsigned OperandNum, unsigned &NumMCOperands) {
- return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
+ return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
NumMCOperands);
}
raw_string_ostream OpOS(OperandFnBody);
// Start the operand number lookup function.
OpOS << "unsigned " << Target.getName() << ClassName << "::\n"
- << "GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
+ << "getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
<< " const SmallVectorImpl<MCParsedAsmOperand*> "
<< "&Operands,\n unsigned OperandNum, unsigned "
<< "&NumMCOperands) {\n"
<< " break;\n"
<< " case CVT_Tied:\n"
<< " // FIXME: Tied operand calculation not supported.\n"
- << " assert (0 && \"GetMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
+ << " assert (0 && \"getMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
<< " break;\n";
// Pre-populate the operand conversion kinds with the standard always
<< "unsigned Opcode,\n"
<< " const SmallVectorImpl<MCParsedAsmOperand*> "
<< "&Operands);\n";
- OS << " unsigned GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
+ OS << " unsigned getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
<< " const "
<< "SmallVectorImpl<MCParsedAsmOperand*> &Operands,\n "
<< " unsigned OperandNum, unsigned &NumMCOperands);\n";