Searched refs:isPowerOfTwo (Results 1 - 9 of 9) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/
H A DPageBlock.h34 inline bool isPowerOfTwo(size_t size) { return !(size & (size - 1)); } function in namespace:WTF
81 using WTF::isPowerOfTwo;
H A DPageBlock.cpp80 ASSERT(isPowerOfTwo(s_pageSize));
H A DPageAllocationAligned.cpp35 ASSERT(isPowerOfTwo(alignment));
/external/llvm/include/llvm/Analysis/
H A DValueTracking.h48 /// 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 DCharUnits.h128 /// 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 DValueTracking.cpp711 /// 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 DInstCombineMulDivRem.cpp40 isPowerOfTwo(PowerOf2, IC.getTargetData())) {
49 isPowerOfTwo(I->getOperand(0), IC.getTargetData())) {
/external/clang/lib/CodeGen/
H A DCGObjC.cpp535 if (!IvarSize.isPowerOfTwo()) {
/external/clang/lib/AST/
H A DExprConstant.cpp1364 if (!Size.isPowerOfTwo())

Completed in 1003 milliseconds