/external/clang/include/clang/Basic/ |
D | Sanitizers.h | 53 assert(llvm::isPowerOf2_64(K)); in has() 62 assert(llvm::isPowerOf2_64(K)); in set()
|
D | TargetInfo.h | 400 llvm::isPowerOf2_64(AtomicSizeInBits / getCharWidth())); in hasBuiltinAtomic()
|
/external/llvm/unittests/Support/ |
D | MathExtrasTest.cpp | 127 TEST(MathExtras, isPowerOf2_64) { in TEST() argument 128 EXPECT_TRUE(isPowerOf2_64(1LL << 46)); in TEST() 129 EXPECT_TRUE(isPowerOf2_64(1LL << 12)); in TEST() 130 EXPECT_FALSE(isPowerOf2_64((1LL << 53) + 3)); in TEST() 131 EXPECT_FALSE(isPowerOf2_64(0xABCDEF0ABCDEF0LL)); in TEST()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 272 if (!isPowerOf2_64(PointerABIAlign)) in parseSpecifier() 281 if (!isPowerOf2_64(PointerPrefAlign)) in parseSpecifier() 406 if (abi_align != 0 && !isPowerOf2_64(abi_align)) in setAlignment() 408 if (pref_align != 0 && !isPowerOf2_64(pref_align)) in setAlignment()
|
D | Verifier.cpp | 3268 Assert(isPowerOf2_64(Align), in visitInstruction()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 80 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord() 221 assert(llvm::isPowerOf2_64(RetVal.Align.getQuantity())); in calculateOptimalPad()
|
/external/llvm/include/llvm/Support/ |
D | MathExtras.h | 360 inline bool isPowerOf2_64(uint64_t Value) { 566 assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
|
/external/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 130 if (isPowerOf2_64(DiffUnitsAbs)) in getNewAlignmentDiff()
|
D | DeadStoreElimination.cpp | 615 if (llvm::isPowerOf2_64(InstWriteOffset) || in runOnBasicBlock()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | FastISel.cpp | 433 cast<BinaryOperator>(I)->isExact() && isPowerOf2_64(Imm)) { in selectBinaryOp() 440 isPowerOf2_64(Imm)) { in selectBinaryOp() 1722 if (Opcode == ISD::MUL && isPowerOf2_64(Imm)) { in fastEmit_ri_() 1725 } else if (Opcode == ISD::UDIV && isPowerOf2_64(Imm)) { in fastEmit_ri_()
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 553 if (!isPowerOf2_64((uint64_t)MinBW)) in computeMinimumValueSizes()
|
/external/llvm/lib/Target/Mips/ |
D | Mips64InstrInfo.td | 58 return isPowerOf2_64(Imm) && (Imm & 0xffffffff) == Imm; 68 return isPowerOf2_64(Imm) && (Imm & 0xffffffff00000000) == Imm;
|
D | MipsSEISelLowering.cpp | 810 if (isPowerOf2_64(C)) in genConstMult()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 389 return isPowerOf2_64(VAL); in isPowerOf2()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonISelDAGToDAG.cpp | 1160 (ValueVT == MVT::i64 && isPowerOf2_64(~Val))) in SelectBitOp() 1184 (ValueVT == MVT::i64 && !isPowerOf2_64(Val))) in SelectBitOp()
|
D | HexagonHardwareLoops.cpp | 785 if (!isPowerOf2_64(std::abs(IVBump))) in computeCount()
|
/external/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 1023 if (!isPowerOf2_64(ByteAlignment)) in ParseDirectiveComm() 1037 if (!isPowerOf2_64(AccessAlignment)) in ParseDirectiveComm()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1889 assert(llvm::isPowerOf2_64(NewAlignment.getQuantity()) && in UpdateAlignment() 1895 assert(llvm::isPowerOf2_64(UnpackedNewAlignment.getQuantity()) && in UpdateAlignment()
|
D | Type.cpp | 88 if (llvm::isPowerOf2_64(ElementSize)) { in getNumAddressingBits()
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 2848 if (!isPowerOf2_64(Alignment)) in parseDirectiveAlign() 3870 if (!isPowerOf2_64(Pow2Alignment)) in parseDirectiveComm() 4649 if (!isPowerOf2_64(IntValue)) in parseDirectiveMSAlign()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 1663 if (Size <= 64 && llvm::isPowerOf2_64(Size)) { in EmitAsmInputLValue()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 818 if (!llvm::isPowerOf2_64(EnumVal)) in UseNSOptionsMacro()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 658 if (!isPowerOf2_64(NumBits)) in computeAddress() 742 if (!isPowerOf2_64(NumBits)) in computeAddress()
|
D | AArch64ISelLowering.cpp | 3639 isPowerOf2_64(LHS.getConstantOperandVal(1))) { in LowerBR_CC() 3655 isPowerOf2_64(LHS.getConstantOperandVal(1))) { in LowerBR_CC() 7225 if (!isPowerOf2_64(NumBits)) in isLegalAddressingMode()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14167 if (!isUInt<32>(AndRHSVal) && isPowerOf2_64(AndRHSVal)) { in LowerToBT() 24880 if (isPowerOf2_64(MulAmt) || MulAmt == 3 || MulAmt == 5 || MulAmt == 9) in PerformMulCombine() 24899 (isPowerOf2_64(MulAmt2) || MulAmt2 == 3 || MulAmt2 == 5 || MulAmt2 == 9)){ in PerformMulCombine() 24901 if (isPowerOf2_64(MulAmt2) && in PerformMulCombine() 24908 if (isPowerOf2_64(MulAmt1)) in PerformMulCombine() 24915 if (isPowerOf2_64(MulAmt2)) in PerformMulCombine() 24927 if (isPowerOf2_64(MulAmt - 1)) in PerformMulCombine() 24934 else if (isPowerOf2_64(MulAmt + 1)) in PerformMulCombine()
|