Fix function name per coding standard.
authorChad Rosier <mcrosier@apple.com>
Wed, 5 Sep 2012 01:15:43 +0000 (01:15 +0000)
committerChad Rosier <mcrosier@apple.com>
Wed, 5 Sep 2012 01:15:43 +0000 (01:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163187 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCTargetAsmParser.h
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/X86/AsmParser/X86AsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp

index 77b3e84254e3304567554a58b3e435656e3f50f7..709c2d245cc3dea7074cde84c7a1834ad431a455 100644 (file)
@@ -111,7 +111,7 @@ public:
     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;
index 51ba3c3b37c25c702582ed65a5bd711f09f73263..e1e2f6ea7366d791b49f14c74ad6ebf042bf28f9 100644 (file)
@@ -263,10 +263,10 @@ public:
                                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
index 6a63f17c6aed8ab3ae6dc472402e91df7dd5848d..40594030e5742a5d3cb66206a61ec990eafbd7f8 100644 (file)
@@ -56,10 +56,10 @@ class MBlazeAsmParser : public MCTargetAsmParser {
 
   /// }
 
-  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);
   }
 
index c33c4d2ccd764b14ed4de2b5a271a0b2720d1162..29a7ac825f171e59464958b769afb43f5265706c 100644 (file)
@@ -38,7 +38,7 @@ class MipsAsmParser : public MCTargetAsmParser {
 
   OperandMatchResultTy parseMemOperand(SmallVectorImpl<MCParsedAsmOperand*>&);
 
-  unsigned GetMCInstOperandNum(unsigned Kind, MCInst &Inst,
+  unsigned getMCInstOperandNum(unsigned Kind, MCInst &Inst,
                     const SmallVectorImpl<MCParsedAsmOperand*> &Operands,
                                unsigned OperandNum, unsigned &NumMCOperands);
 
@@ -102,12 +102,12 @@ public:
 }
 
 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;
index baf45893f1c7f671ce72e9a1be3f58aac40a7c2a..8a7d6f0c753425e13c6e6984f765eb7057816aed 100644 (file)
@@ -73,10 +73,10 @@ private:
                         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);
   }
 
index 3fac23ef2869ac4dfccc9d1f0674a154e9f0ecd2..78eb6418993383b245c3a12388b9e4d42d8527bb 100644 (file)
@@ -1701,7 +1701,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
   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"
@@ -1722,7 +1722,7 @@ static void emitConvertToMCInst(CodeGenTarget &Target, StringRef ClassName,
        << "      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
@@ -2599,7 +2599,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
      << "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";