OSDN Git Service

[DAGCombiner] Follow coding convention for function name (NFC)
authorGerolf Hoflehner <ghoflehner@apple.com>
Wed, 27 Apr 2016 17:27:16 +0000 (17:27 +0000)
committerGerolf Hoflehner <ghoflehner@apple.com>
Wed, 27 Apr 2016 17:27:16 +0000 (17:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267745 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGTargetInfo.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
lib/Target/AArch64/AArch64SelectionDAGInfo.h

index 2fe9e34..01a82ea 100644 (file)
@@ -141,7 +141,7 @@ public:
   }
   // Return true when the decision to generate FMA's (or FMS, FMLA etc) rather
   // than FMUL and ADD is delegated to the machine combiner.
-  virtual bool GenerateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const {
+  virtual bool generateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const {
     return false;
   }
 };
index 7dc1b25..ae4882a 100644 (file)
@@ -7724,7 +7724,7 @@ SDValue DAGCombiner::visitFADDForFMACombine(SDNode *N) {
 
   const SelectionDAGTargetInfo *STI = DAG.getSubtarget().getSelectionDAGInfo();
   ;
-  if (AllowFusion && STI && STI->GenerateFMAsInMachineCombiner(OptLevel))
+  if (AllowFusion && STI && STI->generateFMAsInMachineCombiner(OptLevel))
     return SDValue();
 
   // Always prefer FMAD to FMA for precision.
@@ -7911,7 +7911,7 @@ SDValue DAGCombiner::visitFSUBForFMACombine(SDNode *N) {
     return SDValue();
 
   const SelectionDAGTargetInfo *STI = DAG.getSubtarget().getSelectionDAGInfo();
-  if (AllowFusion && STI && STI->GenerateFMAsInMachineCombiner(OptLevel))
+  if (AllowFusion && STI && STI->generateFMAsInMachineCombiner(OptLevel))
     return SDValue();
 
   // Always prefer FMAD to FMA for precision.
index 4e4aaf8..df7016f 100644 (file)
@@ -51,7 +51,7 @@ SDValue AArch64SelectionDAGInfo::EmitTargetCodeForMemset(
   }
   return SDValue();
 }
-bool AArch64SelectionDAGInfo::GenerateFMAsInMachineCombiner(
+bool AArch64SelectionDAGInfo::generateFMAsInMachineCombiner(
     CodeGenOpt::Level OptLevel) const {
   if (OptLevel >= CodeGenOpt::Aggressive)
     return true;
index e61f177..87933eb 100644 (file)
@@ -25,7 +25,7 @@ public:
                                   SDValue Dst, SDValue Src, SDValue Size,
                                   unsigned Align, bool isVolatile,
                                   MachinePointerInfo DstPtrInfo) const override;
-  bool GenerateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const override;
+  bool generateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const override;
 };
 }