Home
last modified time | relevance | path

Searched refs:isPowerOf2_64 (Results 1 – 12 of 12) sorted by relevance

/external/llvm/unittests/Support/
DMathExtrasTest.cpp24 TEST(MathExtras, isPowerOf2_64) { in TEST() argument
25 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()
/external/llvm/include/llvm/Support/
DMathExtras.h134 inline bool isPowerOf2_64(uint64_t Value) { in isPowerOf2_64() function
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp394 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_()
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp553 if (llvm::isPowerOf2_64(InstWriteOffset) || in runOnBasicBlock()
/external/llvm/include/llvm/ADT/
DAPInt.h372 return isPowerOf2_64(VAL); in isPowerOf2()
/external/clang/lib/CodeGen/
DCGStmt.cpp1337 if (Size <= 64 && llvm::isPowerOf2_64(Size)) { in EmitAsmInputLValue()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1603 if (CI->getBitWidth() < 8 || !isPowerOf2_64(CI->getBitWidth())) return -1; in isRepeatedByteSequence()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp2290 if (!isPowerOf2_64(Pow2Alignment)) in ParseDirectiveComm()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp8639 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()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3163 if (!llvm::isPowerOf2_64(Alignment.getZExtValue())) { in AddAlignedAttr()
/external/clang/lib/AST/
DASTContext.cpp1478 llvm::isPowerOf2_64(Width)) { in getTypeInfoImpl()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp8435 if (!isPowerOf2_64(cN) || c0 != cN || Log2_64(c0) < 1 || Log2_64(c0) > 32) in isConstVecPow2()