@@ -180,10 +180,10 @@ void llvm::computeKnownBits(const Value *V, const APInt &DemandedElts,
180
180
}
181
181
182
182
KnownBits computeKnownBits (const Value *V, const APInt &DemandedElts,
183
- unsigned Depth, const SimplifyQuery &Q);
183
+ unsigned Depth, const SimplifyQuery &Q);
184
184
185
185
KnownBits computeKnownBits (const Value *V, unsigned Depth,
186
- const SimplifyQuery &Q);
186
+ const SimplifyQuery &Q);
187
187
188
188
KnownBits llvm::computeKnownBits (const Value *V, const DataLayout &DL,
189
189
unsigned Depth, AssumptionCache *AC,
@@ -256,9 +256,8 @@ bool llvm::haveNoCommonBitsSet(const WithCache<const Value *> &LHSCache,
256
256
return true ;
257
257
}
258
258
259
- return KnownBits::haveNoCommonBitsSet (
260
- LHSCache.getKnownBits (SQ),
261
- RHSCache.getKnownBits (SQ));
259
+ return KnownBits::haveNoCommonBitsSet (LHSCache.getKnownBits (SQ),
260
+ RHSCache.getKnownBits (SQ));
262
261
}
263
262
264
263
bool llvm::isOnlyUsedInZeroEqualityComparison (const Instruction *I) {
@@ -1788,7 +1787,7 @@ static void computeKnownBitsFromOperator(const Operator *I,
1788
1787
// / Determine which bits of V are known to be either zero or one and return
1789
1788
// / them.
1790
1789
KnownBits computeKnownBits (const Value *V, const APInt &DemandedElts,
1791
- unsigned Depth, const SimplifyQuery &Q) {
1790
+ unsigned Depth, const SimplifyQuery &Q) {
1792
1791
KnownBits Known (getBitWidth (V->getType (), Q.DL ));
1793
1792
computeKnownBits (V, DemandedElts, Known, Depth, Q);
1794
1793
return Known;
@@ -1797,7 +1796,7 @@ KnownBits computeKnownBits(const Value *V, const APInt &DemandedElts,
1797
1796
// / Determine which bits of V are known to be either zero or one and return
1798
1797
// / them.
1799
1798
KnownBits computeKnownBits (const Value *V, unsigned Depth,
1800
- const SimplifyQuery &Q) {
1799
+ const SimplifyQuery &Q) {
1801
1800
KnownBits Known (getBitWidth (V->getType (), Q.DL ));
1802
1801
computeKnownBits (V, Known, Depth, Q);
1803
1802
return Known;
0 commit comments