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
28
) sorted by null
1
2
/sdk/emulator/opengl/host/libs/Translator/GLcommon/
GLutils.cpp
18
bool
isPowerOf2
(int num) {
GLESvalidate.cpp
182
return
isPowerOf2
(width) &&
isPowerOf2
(height);
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
GLutils.h
36
bool
isPowerOf2
(int num);
/sdk/emulator/opengl/host/libs/Translator/EGL/
EglValidate.cpp
61
if (!(
isPowerOf2
(width) &&
isPowerOf2
(height))) return false;
/external/guava/guava-tests/test/com/google/common/math/
IntMathTest.java
134
boolean
isPowerOf2
= IntMath.isPowerOfTwo(x);
137
assertTrue(
isPowerOf2
);
139
assertFalse(
isPowerOf2
);
BigIntegerMathTest.java
111
boolean
isPowerOf2
= BigIntegerMath.isPowerOfTwo(x);
114
assertTrue(
isPowerOf2
);
116
assertFalse(
isPowerOf2
);
LongMathTest.java
173
boolean
isPowerOf2
= LongMath.isPowerOfTwo(x);
176
assertTrue(
isPowerOf2
);
178
assertFalse(
isPowerOf2
);
/external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp
681
if ((TrueVal->getValue() - FalseVal->getValue()).
isPowerOf2
())
683
else if ((FalseVal->getValue() - TrueVal->getValue()).
isPowerOf2
())
696
if (!AndRHS->getValue().
isPowerOf2
() ||
697
(!TrueVal->getValue().
isPowerOf2
() &&
698
!FalseVal->getValue().
isPowerOf2
()))
[
all
...]
InstCombineCompares.cpp
170
return (~CI->getValue() + 1).
isPowerOf2
();
[
all
...]
InstCombineCasts.cpp
547
if ((Op1CV == 0 || Op1CV.
isPowerOf2
()) &&
556
if (KnownZeroMask.
isPowerOf2
()) { // Exactly 1 possible 1?
[
all
...]
InstCombineMulDivRem.cpp
109
if (!match(Elt, m_APInt(IVal)) || !IVal->
isPowerOf2
())
143
if (match(C1, m_APInt(IVal)) && IVal->
isPowerOf2
())
176
if (Val.isNegative() && PosVal.
isPowerOf2
()) {
923
RHS->getValue().
isPowerOf2
()) {
[
all
...]
InstCombineAddSub.cpp
949
if (RHSVal.
isPowerOf2
())
951
else if (XorRHS->getValue().
isPowerOf2
())
969
if (LHS->hasOneUse() && (XorRHS->getValue()+1).
isPowerOf2
()) {
[
all
...]
InstCombineSimplifyDemanded.cpp
589
if ((I0 + 1).
isPowerOf2
() && (I0 | KnownZero).isAllOnesValue()) {
722
if (RA.
isPowerOf2
()) {
[
all
...]
InstCombineAndOrXor.cpp
179
if (AndRHSV.
isPowerOf2
()) {
432
ACst->getValue().
isPowerOf2
());
434
BCst->getValue().
isPowerOf2
());
731
LHSCst->getValue().
isPowerOf2
()) {
[
all
...]
/external/clang/lib/Sema/
SemaAttr.cpp
200
!(Val == 0 || Val.
isPowerOf2
()) ||
/external/llvm/include/llvm/ADT/
APInt.h
372
return BitWidth == 1 ? VAL == 1 : isNegative() &&
isPowerOf2
();
390
bool
isPowerOf2
() const {
[
all
...]
/external/llvm/lib/Analysis/
ValueTracking.cpp
549
if (RA.
isPowerOf2
()) {
586
if (RA.
isPowerOf2
()) {
[
all
...]
ScalarEvolutionExpander.cpp
[
all
...]
/external/llvm/lib/Target/AArch64/
AArch64ISelDAGToDAG.cpp
135
// N.b.
isPowerOf2
also checks for > 0.
136
if (!IsExact || !IntVal.
isPowerOf2
()) return false;
/external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp
[
all
...]
DAGCombiner.cpp
[
all
...]
SelectionDAG.cpp
[
all
...]
/packages/apps/Nfc/nxp/jni/
com_android_nfc_NativeNfcManager.cpp
[
all
...]
/external/llvm/include/llvm/Support/
PatternMatch.h
277
bool isValue(const APInt &C) { return C.
isPowerOf2
(); }
[
all
...]
/external/llvm/lib/Transforms/Utils/
SimplifyCFG.cpp
358
if (Not.
isPowerOf2
()) {
[
all
...]
Completed in 479 milliseconds
1
2