Searched refs:isPowerOfTwo (Results 1 - 9 of 9) sorted by relevance
/external/webkit/Source/JavaScriptCore/wtf/ |
H A D | PageBlock.h | 34 inline bool isPowerOfTwo(size_t size) { return !(size & (size - 1)); } function in namespace:WTF 81 using WTF::isPowerOfTwo;
|
H A D | PageBlock.cpp | 80 ASSERT(isPowerOfTwo(s_pageSize));
|
H A D | PageAllocationAligned.cpp | 35 ASSERT(isPowerOfTwo(alignment));
|
/external/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 48 /// isPowerOfTwo - Return true if the given value is known to have exactly one 52 bool isPowerOfTwo(Value *V, const TargetData *TD = 0, unsigned Depth = 0);
|
/external/clang/include/clang/AST/ |
H A D | CharUnits.h | 128 /// isPowerOfTwo - Test whether the quantity is a power of two. 130 bool isPowerOfTwo() const { function in class:clang::CharUnits
|
/external/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 711 /// isPowerOfTwo - Return true if the given value is known to have exactly one 715 bool llvm::isPowerOfTwo(Value *V, const TargetData *TD, unsigned Depth) { function in class:llvm 735 return isPowerOfTwo(ZI->getOperand(0), TD, Depth); 738 return isPowerOfTwo(SI->getTrueValue(), TD, Depth) && 739 isPowerOfTwo(SI->getFalseValue(), TD, Depth); 748 return isPowerOfTwo(PEO->getOperand(0), TD, Depth); 849 if (XKnownNonNegative && isPowerOfTwo(Y, TD, Depth)) 851 if (YKnownNonNegative && isPowerOfTwo(X, TD, Depth))
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 40 isPowerOfTwo(PowerOf2, IC.getTargetData())) { 49 isPowerOfTwo(I->getOperand(0), IC.getTargetData())) {
|
/external/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 535 if (!IvarSize.isPowerOfTwo()) {
|
/external/clang/lib/AST/ |
H A D | ExprConstant.cpp | 1364 if (!Size.isPowerOfTwo())
|
Completed in 1003 milliseconds