llvm.org GIT mirror llvm / 5d637d7
Fix function name per coding standard. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163187 91177308-0d34-0410-b5e6-96231b3b80d8 Chad Rosier 7 years ago
6 changed file(s) with 14 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
110110 return Match_Success;
111111 }
112112
113 virtual unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
113 virtual unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
114114 const SmallVectorImpl &Operands,
115115 unsigned OperandNum,
116116 unsigned &NumMCOperands) = 0;
262262 SmallVectorImpl &Operands,
263263 MCStreamer &Out);
264264
265 unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
265 unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
266266 const SmallVectorImpl &Operands,
267267 unsigned OperandNum, unsigned &NumMCOperands) {
268 return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum, NumMCOperands);
268 return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum, NumMCOperands);
269269 }
270270 };
271271 } // end anonymous namespace
5555
5656 /// }
5757
58 unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
58 unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
5959 const SmallVectorImpl &Operands,
6060 unsigned OperandNum, unsigned &NumMCOperands) {
61 return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
61 return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
6262 NumMCOperands);
6363 }
6464
3737
3838 OperandMatchResultTy parseMemOperand(SmallVectorImpl&);
3939
40 unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
40 unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
4141 const SmallVectorImpl &Operands,
4242 unsigned OperandNum, unsigned &NumMCOperands);
4343
101101 }
102102
103103 unsigned MipsAsmParser::
104 GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
104 getMCInstOperandNum(unsigned Kind, MCInst &Inst,
105105 const SmallVectorImpl &Operands,
106106 unsigned OperandNum, unsigned &NumMCOperands) {
107 assert (0 && "GetMCInstOperandNum() not supported by the Mips target.");
107 assert (0 && "getMCInstOperandNum() not supported by the Mips target.");
108108 // The Mips backend doesn't currently include the matcher implementation, so
109 // the GetMCInstOperandNumImpl() is undefined. This is a temporary
109 // the getMCInstOperandNumImpl() is undefined. This is a temporary
110110 // work around.
111111 NumMCOperands = 0;
112112 return 0;
7272 unsigned &OrigErrorInfo,
7373 bool matchingInlineAsm = false);
7474
75 unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
75 unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
7676 const SmallVectorImpl &Operands,
7777 unsigned OperandNum, unsigned &NumMCOperands) {
78 return GetMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
78 return getMCInstOperandNumImpl(Kind, Inst, Operands, OperandNum,
7979 NumMCOperands);
8080 }
8181
17001700 raw_string_ostream OpOS(OperandFnBody);
17011701 // Start the operand number lookup function.
17021702 OpOS << "unsigned " << Target.getName() << ClassName << "::\n"
1703 << "GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
1703 << "getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n"
17041704 << " const SmallVectorImpl "
17051705 << "&Operands,\n unsigned OperandNum, unsigned "
17061706 << "&NumMCOperands) {\n"
17211721 << " break;\n"
17221722 << " case CVT_Tied:\n"
17231723 << " // FIXME: Tied operand calculation not supported.\n"
1724 << " assert (0 && \"GetMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
1724 << " assert (0 && \"getMCInstOperandNumImpl() doesn't support tied operands, yet!\");\n"
17251725 << " break;\n";
17261726
17271727 // Pre-populate the operand conversion kinds with the standard always
25982598 << "unsigned Opcode,\n"
25992599 << " const SmallVectorImpl "
26002600 << "&Operands);\n";
2601 OS << " unsigned GetMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
2601 OS << " unsigned getMCInstOperandNumImpl(unsigned Kind, MCInst &Inst,\n "
26022602 << " const "
26032603 << "SmallVectorImpl &Operands,\n "
26042604 << " unsigned OperandNum, unsigned &NumMCOperands);\n";