projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
SmallBitVector.h
diff --git
a/include/llvm/ADT/SmallBitVector.h
b/include/llvm/ADT/SmallBitVector.h
index 652492a1538cbbdfe03df5165205e3a464ebe9ed..fe9bef96e37625350f186e739651e95876bb6bee 100644
(file)
--- a/
include/llvm/ADT/SmallBitVector.h
+++ b/
include/llvm/ADT/SmallBitVector.h
@@
-216,9
+216,9
@@
public:
if (Bits == 0)
return -1;
if (NumBaseBits == 32)
if (Bits == 0)
return -1;
if (NumBaseBits == 32)
- return
CountTrailingZeros_32
(Bits);
+ return
countTrailingZeros
(Bits);
if (NumBaseBits == 64)
if (NumBaseBits == 64)
- return
CountTrailingZeros_64
(Bits);
+ return
countTrailingZeros
(Bits);
llvm_unreachable("Unsupported!");
}
return getPointer()->find_first();
llvm_unreachable("Unsupported!");
}
return getPointer()->find_first();
@@
-234,9
+234,9
@@
public:
if (Bits == 0 || Prev + 1 >= getSmallSize())
return -1;
if (NumBaseBits == 32)
if (Bits == 0 || Prev + 1 >= getSmallSize())
return -1;
if (NumBaseBits == 32)
- return
CountTrailingZeros_32
(Bits);
+ return
countTrailingZeros
(Bits);
if (NumBaseBits == 64)
if (NumBaseBits == 64)
- return
CountTrailingZeros_64
(Bits);
+ return
countTrailingZeros
(Bits);
llvm_unreachable("Unsupported!");
}
return getPointer()->find_next(Prev);
llvm_unreachable("Unsupported!");
}
return getPointer()->find_next(Prev);