HomeSort by relevance Sort by last modified time
    Searched refs:isPowerOf2 (Results 1 - 25 of 27) sorted by null

1 2

  /development/tools/emulator/opengl/host/libs/Translator/GLcommon/
GLutils.cpp 18 bool isPowerOf2(int num) {
GLESvalidate.cpp 166 return isPowerOf2(width) && isPowerOf2(height);
  /development/tools/emulator/opengl/host/libs/Translator/include/GLcommon/
GLutils.h 33 bool isPowerOf2(int num);
  /development/tools/emulator/opengl/host/libs/Translator/EGL/
EglValidate.cpp 61 if (!(isPowerOf2(width) && isPowerOf2(height))) return false;
  /external/webkit/Source/WebKit2/Shared/
VisitedLinkTable.cpp 45 static inline bool isPowerOf2(unsigned v)
61 ASSERT(isPowerOf2(m_tableSize));
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
UtilsTest.java 157 assertTrue(Utils.isPowerOf2(v));
163 assertFalse(Utils.isPowerOf2(v));
170 Utils.isPowerOf2(v);
  /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/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 604 if ((TrueVal->getValue() - FalseVal->getValue()).isPowerOf2())
606 else if ((FalseVal->getValue() - TrueVal->getValue()).isPowerOf2())
619 if (!AndRHS->getValue().isPowerOf2() ||
620 (!TrueVal->getValue().isPowerOf2() &&
621 !FalseVal->getValue().isPowerOf2()))
    [all...]
InstCombineMulDivRem.cpp 122 if (Val.isPowerOf2()) { // Replace X*(2^C) with X << C
145 if (Val.isNegative() && PosVal.isPowerOf2()) {
449 if (C->getValue().isPowerOf2()) { // 0 not included in isPowerOf2
520 RHS->getValue().isPowerOf2()) {
InstCombineCasts.cpp 542 if ((Op1CV == 0 || Op1CV.isPowerOf2()) &&
552 if (KnownZeroMask.isPowerOf2()) { // Exactly 1 possible 1?
    [all...]
InstCombineAddSub.cpp 122 if (RHSVal.isPowerOf2())
124 else if (XorRHS->getValue().isPowerOf2())
InstCombineAndOrXor.cpp 242 if (AndRHSV.isPowerOf2()) {
499 ACst->getValue().isPowerOf2());
501 BCst->getValue().isPowerOf2());
749 LHSCst->getValue().isPowerOf2()) {
    [all...]
InstCombineCompares.cpp 144 return (~CI->getValue() + 1).isPowerOf2();
    [all...]
InstCombineSimplifyDemanded.cpp 689 if (RA.isPowerOf2()) {
    [all...]
  /external/clang/lib/Sema/
SemaAttr.cpp 206 !(Val == 0 || Val.isPowerOf2()) ||
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Utils.java 79 public static boolean isPowerOf2(int n) {
  /external/llvm/include/llvm/ADT/
APInt.h 345 return BitWidth == 1 ? VAL == 1 : isNegative() && isPowerOf2();
367 bool isPowerOf2() const {
    [all...]
  /external/llvm/lib/Analysis/
ValueTracking.cpp 470 if (RA.isPowerOf2()) {
513 if (RA.isPowerOf2()) {
717 return CI->getValue().isPowerOf2();
    [all...]
ScalarEvolutionExpander.cpp     [all...]
ScalarEvolution.cpp     [all...]
  /external/llvm/include/llvm/Support/
PatternMatch.h 202 bool isValue(const APInt &C) { return C.isPowerOf2(); }
  /external/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp     [all...]
TargetLowering.cpp     [all...]
SelectionDAG.cpp     [all...]
  /packages/apps/Nfc/jni/
com_android_nfc_NativeNfcManager.cpp     [all...]

Completed in 1222 milliseconds

1 2