OSDN Git Service

[InstCombine] function names start with lower-case letter; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 20 Apr 2017 22:37:01 +0000 (22:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 20 Apr 2017 22:37:01 +0000 (22:37 +0000)
Forgot to make this fix with the signature change in r300911.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300912 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

index 978c8a3..c1eeef6 100644 (file)
@@ -551,7 +551,7 @@ private:
                                          unsigned Depth, Instruction *CxtI);
   /// Helper routine of SimplifyDemandedUseBits. It tries to simplify demanded
   /// bit for "r1 = shr x, c1; r2 = shl r1, c2" instruction sequence.
-  Value *SimplifyShrShlDemandedBits(
+  Value *simplifyShrShlDemandedBits(
       Instruction *Shr, const APInt &ShrOp1, Instruction *Shl,
       const APInt &ShlOp1, const APInt &DemandedMask, APInt &KnownZero,
       APInt &KnownOne);
index 899b5df..b1bd559 100644 (file)
@@ -475,7 +475,7 @@ Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask,
       const APInt *ShrAmt;
       if (match(I->getOperand(0), m_Shr(m_Value(), m_APInt(ShrAmt)))) {
         Instruction *Shr = cast<Instruction>(I->getOperand(0));
-        if (Value *R = SimplifyShrShlDemandedBits(
+        if (Value *R = simplifyShrShlDemandedBits(
                 Shr, *ShrAmt, I, *SA, DemandedMask, KnownZero, KnownOne))
           return R;
       }
@@ -874,7 +874,7 @@ Value *InstCombiner::SimplifyMultipleUseDemandedBits(Instruction *I,
 /// As with SimplifyDemandedUseBits, it returns NULL if the simplification was
 /// not successful.
 Value *
-InstCombiner::SimplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1,
+InstCombiner::simplifyShrShlDemandedBits(Instruction *Shr, const APInt &ShrOp1,
                                          Instruction *Shl, const APInt &ShlOp1,
                                          const APInt &DemandedMask,
                                          APInt &KnownZero, APInt &KnownOne) {