HomeSort by relevance Sort by last modified time
    Searched refs:isPowerOf2 (Results 1 - 25 of 29) 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);
  /external/webkit/Source/WebKit2/Shared/
VisitedLinkTable.cpp 45 static inline bool isPowerOf2(unsigned v)
61 ASSERT(isPowerOf2(m_tableSize));
  /sdk/emulator/opengl/host/libs/Translator/EGL/
EglValidate.cpp 61 if (!(isPowerOf2(width) && isPowerOf2(height))) return false;
  /external/webkit/Source/JavaScriptCore/runtime/
PropertyMapHashTable.h 50 inline bool isPowerOf2(unsigned v)
245 ASSERT(isPowerOf2(m_indexSize));
255 ASSERT(isPowerOf2(m_indexSize));
278 ASSERT(isPowerOf2(m_indexSize));
  /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 616 if ((TrueVal->getValue() - FalseVal->getValue()).isPowerOf2())
618 else if ((FalseVal->getValue() - TrueVal->getValue()).isPowerOf2())
631 if (!AndRHS->getValue().isPowerOf2() ||
632 (!TrueVal->getValue().isPowerOf2() &&
633 !FalseVal->getValue().isPowerOf2()))
    [all...]
InstCombineMulDivRem.cpp 121 if (Val.isPowerOf2()) { // Replace X*(2^C) with X << C
144 if (Val.isNegative() && PosVal.isPowerOf2()) {
780 RHS->getValue().isPowerOf2()) {
    [all...]
InstCombineCasts.cpp 547 if ((Op1CV == 0 || Op1CV.isPowerOf2()) &&
556 if (KnownZeroMask.isPowerOf2()) { // Exactly 1 possible 1?
    [all...]
InstCombineCompares.cpp 145 return (~CI->getValue() + 1).isPowerOf2();
    [all...]
InstCombineAddSub.cpp 913 if (RHSVal.isPowerOf2())
915 else if (XorRHS->getValue().isPowerOf2())
933 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()) {
436 ACst->getValue().isPowerOf2());
438 BCst->getValue().isPowerOf2());
735 LHSCst->getValue().isPowerOf2()) {
    [all...]
  /external/clang/lib/Sema/
SemaAttr.cpp 199 !(Val == 0 || Val.isPowerOf2()) ||
  /external/llvm/include/llvm/ADT/
APInt.h 354 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2();
370 bool isPowerOf2() const {
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64ISelDAGToDAG.cpp 120 // N.b. isPowerOf2 also checks for > 0.
121 if (!IsExact || !IntVal.isPowerOf2()) return false;
  /external/llvm/lib/Analysis/
ValueTracking.cpp 549 if (RA.isPowerOf2()) {
586 if (RA.isPowerOf2()) {
    [all...]
ScalarEvolutionExpander.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
TargetLowering.cpp     [all...]
DAGCombiner.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(); }

Completed in 574 milliseconds

1 2