Searched refs:isPowerOf2_64 (Results 1 – 12 of 12) sorted by relevance
24 TEST(MathExtras, isPowerOf2_64) { in TEST() argument25 EXPECT_TRUE(isPowerOf2_64(1LL << 46)); in TEST()26 EXPECT_TRUE(isPowerOf2_64(1LL << 12)); in TEST()27 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3)); in TEST()28 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL)); in TEST()
134 inline bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function
394 isPowerOf2_64(Imm)) { in SelectBinaryOp()401 isPowerOf2_64(Imm)) { in SelectBinaryOp()1128 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in FastEmit_ri_()1131 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in FastEmit_ri_()
553 if (llvm::isPowerOf2_64(InstWriteOffset) || in runOnBasicBlock()
372 return isPowerOf2_64(VAL); in isPowerOf2()
1337 if (Size <= 64 && llvm::isPowerOf2_64(Size)) { in EmitAsmInputLValue()
1603 if (CI->getBitWidth() < 8 || !isPowerOf2_64(CI->getBitWidth())) return -1; in isRepeatedByteSequence()
2290 if (!isPowerOf2_64(Pow2Alignment)) in ParseDirectiveComm()
8639 if (!isUInt<32>(AndRHSVal) && isPowerOf2_64(AndRHSVal)) { in LowerToBT()14446 if (isPowerOf2_64(MulAmt) || MulAmt == 3 || MulAmt == 5 || MulAmt == 9) in PerformMulCombine()14462 (isPowerOf2_64(MulAmt2) || MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9)){ in PerformMulCombine()14465 if (isPowerOf2_64(MulAmt2) && in PerformMulCombine()14473 if (isPowerOf2_64(MulAmt1)) in PerformMulCombine()14480 if (isPowerOf2_64(MulAmt2)) in PerformMulCombine()
3163 if (!llvm::isPowerOf2_64(Alignment.getZExtValue())) { in AddAlignedAttr()
1478 llvm::isPowerOf2_64(Width)) { in getTypeInfoImpl()
8435 if (!isPowerOf2_64(cN) || c0 != cN || Log2_64(c0) < 1 || Log2_64(c0) > 32) in isConstVecPow2()