OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isPowerOf2
(Results
1 - 25
of
45
) sorted by null
1
2
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/
LongMathTest.java
93
boolean
isPowerOf2
= LongMath.isPowerOfTwo(x);
96
assertTrue(
isPowerOf2
);
98
assertFalse(
isPowerOf2
);
BigIntegerMathTest.java
99
boolean
isPowerOf2
= BigIntegerMath.isPowerOfTwo(x);
102
assertTrue(
isPowerOf2
);
104
assertFalse(
isPowerOf2
);
IntMathTest.java
91
boolean
isPowerOf2
= IntMath.isPowerOfTwo(x);
94
assertTrue(
isPowerOf2
);
96
assertFalse(
isPowerOf2
);
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/
FastHadamardTransformer.java
162
if (!FastFourierTransformer.
isPowerOf2
(n)) {
213
if (!FastFourierTransformer.
isPowerOf2
(n)) {
FastCosineTransformer.java
224
if (!FastFourierTransformer.
isPowerOf2
(n)) {
FastFourierTransformer.java
484
public static boolean
isPowerOf2
(long n) {
495
if (!
isPowerOf2
(d.length)) {
508
if (!
isPowerOf2
(o.length)) {
[
all
...]
/external/guava/guava-tests/test/com/google/common/math/
BigIntegerMathTest.java
111
boolean
isPowerOf2
= BigIntegerMath.isPowerOfTwo(x);
114
assertTrue(
isPowerOf2
);
116
assertFalse(
isPowerOf2
);
IntMathTest.java
154
boolean
isPowerOf2
= IntMath.isPowerOfTwo(x);
157
assertTrue(
isPowerOf2
);
159
assertFalse(
isPowerOf2
);
LongMathTest.java
208
boolean
isPowerOf2
= LongMath.isPowerOfTwo(x);
211
assertTrue(
isPowerOf2
);
213
assertFalse(
isPowerOf2
);
/external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp
775
if ((TrueVal->getValue() - FalseVal->getValue()).
isPowerOf2
())
777
else if ((FalseVal->getValue() - TrueVal->getValue()).
isPowerOf2
())
790
if (!AndRHS->getValue().
isPowerOf2
() ||
791
(!TrueVal->getValue().
isPowerOf2
() &&
792
!FalseVal->getValue().
isPowerOf2
()))
[
all
...]
InstCombineCompares.cpp
173
return (~CI->getValue() + 1).
isPowerOf2
();
[
all
...]
InstCombineAddSub.cpp
[
all
...]
InstCombineMulDivRem.cpp
125
if (!match(Elt, m_APInt(IVal)) || !IVal->
isPowerOf2
())
218
if (match(C1, m_APInt(IVal)) && IVal->
isPowerOf2
())
250
if (Val.isNegative() && PosVal.
isPowerOf2
()) {
[
all
...]
InstCombineAndOrXor.cpp
208
if (AndRHSV.
isPowerOf2
()) {
460
ACst->getValue().
isPowerOf2
());
462
BCst->getValue().
isPowerOf2
());
567
if (!C->getValue().
isPowerOf2
())
574
if (!(C->getValue() + 1).
isPowerOf2
())
[
all
...]
InstCombineCasts.cpp
620
if ((Op1CV == 0 || Op1CV.
isPowerOf2
()) &&
629
if (KnownZeroMask.
isPowerOf2
()) { // Exactly 1 possible 1?
[
all
...]
/external/llvm/include/llvm/ADT/
APInt.h
369
return isNegative() &&
isPowerOf2
();
387
bool
isPowerOf2
() const {
[
all
...]
/external/llvm/lib/Target/AArch64/
AArch64FastISel.cpp
499
if (C->getValue().
isPowerOf2
())
502
if (C->getValue().
isPowerOf2
())
729
if (C->getValue().
isPowerOf2
())
[
all
...]
/external/llvm/lib/Transforms/Scalar/
SeparateConstOffsetFromGEP.cpp
[
all
...]
StraightLineStrengthReduce.cpp
592
if (IndexOffset.
isPowerOf2
()) {
597
if ((-IndexOffset).
isPowerOf2
()) {
/external/clang/lib/Sema/
SemaAttr.cpp
205
!(Val == 0 || Val.
isPowerOf2
()) ||
/external/llvm/lib/Analysis/
BranchProbabilityInfo.cpp
410
if (AndRHS->getUniqueInteger().
isPowerOf2
())
ValueTracking.cpp
[
all
...]
ScalarEvolutionExpander.cpp
792
if (RHS.
isPowerOf2
())
[
all
...]
/packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeNfcManager.cpp
[
all
...]
/external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp
[
all
...]
Completed in 2908 milliseconds
1
2