[llvm] r267745 - [DAGCombiner] Follow coding convention for function name (NFC)
Gerolf Hoflehner via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 27 10:27:17 PDT 2016
Author: ghoflehner
Date: Wed Apr 27 12:27:16 2016
New Revision: 267745
URL: http://llvm.org/viewvc/llvm-project?rev=267745&view=rev
Log:
[DAGCombiner] Follow coding convention for function name (NFC)
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGTargetInfo.h
llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGTargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGTargetInfo.h?rev=267745&r1=267744&r2=267745&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGTargetInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGTargetInfo.h Wed Apr 27 12:27:16 2016
@@ -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;
}
};
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=267745&r1=267744&r2=267745&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Apr 27 12:27:16 2016
@@ -7724,7 +7724,7 @@ SDValue DAGCombiner::visitFADDForFMAComb
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::visitFSUBForFMAComb
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.
Modified: llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp?rev=267745&r1=267744&r2=267745&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp Wed Apr 27 12:27:16 2016
@@ -51,7 +51,7 @@ SDValue AArch64SelectionDAGInfo::EmitTar
}
return SDValue();
}
-bool AArch64SelectionDAGInfo::GenerateFMAsInMachineCombiner(
+bool AArch64SelectionDAGInfo::generateFMAsInMachineCombiner(
CodeGenOpt::Level OptLevel) const {
if (OptLevel >= CodeGenOpt::Aggressive)
return true;
Modified: llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.h?rev=267745&r1=267744&r2=267745&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.h (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64SelectionDAGInfo.h Wed Apr 27 12:27:16 2016
@@ -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;
};
}
More information about the llvm-commits
mailing list