Searched refs:isPowerOf2_64 (Results 1 - 10 of 10) sorted by relevance

/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DMathExtrasTest.cpp24 TEST(MathExtras, isPowerOf2_64) {
25 EXPECT_TRUE(isPowerOf2_64(1LL << 46));
26 EXPECT_TRUE(isPowerOf2_64(1LL << 12));
27 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3));
28 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL));
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DMathExtras.h132 /// isPowerOf2_64 - This function returns true if the argument is a power of two
134 inline bool isPowerOf2_64(uint64_t Value) { function in namespace:llvm
/macosx-10.10.1/objc4-646/runtime/
H A Dllvm-MathExtras.h132 /// isPowerOf2_64 - This function returns true if the argument is a power of two
134 inline bool isPowerOf2_64(uint64_t Value) { function in namespace:objc
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp394 isPowerOf2_64(Imm)) {
401 isPowerOf2_64(Imm)) {
1128 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) {
1131 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp594 if (llvm::isPowerOf2_64(InstWriteOffset) ||
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/ADT/
H A DAPInt.h372 return isPowerOf2_64(VAL);
/macosx-10.10.1/llvmCore-3425.0.34/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1593 if (CI->getBitWidth() < 8 || !isPowerOf2_64(CI->getBitWidth())) return -1;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/X86/
H A DX86ISelLowering.cpp8753 if (!isUInt<32>(AndRHSVal) && isPowerOf2_64(AndRHSVal)) {
14617 if (isPowerOf2_64(MulAmt) || MulAmt == 3 || MulAmt == 5 || MulAmt == 9)
14633 (isPowerOf2_64(MulAmt2) || MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9)){
14636 if (isPowerOf2_64(MulAmt2) &&
14644 if (isPowerOf2_64(MulAmt1))
14651 if (isPowerOf2_64(MulAmt2))
/macosx-10.10.1/llvmCore-3425.0.34/lib/MC/MCParser/
H A DAsmParser.cpp2460 if (!isPowerOf2_64(Pow2Alignment))
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/ARM/
H A DARMISelLowering.cpp8470 if (!isPowerOf2_64(cN) || c0 != cN || Log2_64(c0) < 1 || Log2_64(c0) > 32)

Completed in 323 milliseconds