/external/freetype/src/cff/ |
D | cf2font.c | 111 FT_Int logBase2; in cf2_computeDarkening() local 156 logBase2 = FT_MSB( (FT_UInt32)stemWidthPer1000 ) + in cf2_computeDarkening() 159 if ( logBase2 >= 46 ) in cf2_computeDarkening()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/ |
D | cf2font.c | 111 FT_Int logBase2; in cf2_computeDarkening() local 156 logBase2 = FT_MSB( (FT_UInt32)stemWidthPer1000 ) + in cf2_computeDarkening() 159 if ( logBase2 >= 46 ) in cf2_computeDarkening()
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cf2font.c | 111 FT_Int logBase2; in cf2_computeDarkening() local 156 logBase2 = FT_MSB( (FT_UInt32)stemWidthPer1000 ) + in cf2_computeDarkening() 159 if ( logBase2 >= 46 ) in cf2_computeDarkening()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1522 unsigned logBase2() const { return BitWidth - 1 - countLeadingZeros(); } in logBase2() function 1554 unsigned lg = logBase2(); in nearestLogBase2() 1563 return logBase2(); in exactLogBase2() 1783 inline unsigned logBase2(const APInt &APIVal) { return APIVal.logBase2(); } in logBase2() function
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 715 EXPECT_EQ(APInt(15, 7).logBase2(), 2U); in TEST() 718 EXPECT_EQ(APInt(15, 8).logBase2(), 3U); in TEST() 721 EXPECT_EQ(APInt(15, 9).logBase2(), 3U); in TEST() 921 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST() 938 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 328 unsigned C1Log = C1->logBase2(); in foldSelectICmpAndOr() 329 unsigned C2Log = C2->logBase2(); in foldSelectICmpAndOr() 798 unsigned ValZeros = ValC->getValue().logBase2(); in foldSelectICmpAnd() 799 unsigned AndZeros = AndRHS->getValue().logBase2(); in foldSelectICmpAnd()
|
D | InstCombineMulDivRem.cpp | 127 Elts.push_back(ConstantInt::get(Elt->getType(), IVal->logBase2())); in getLogBase2Vector() 220 NewCst = ConstantInt::get(NewOp->getType(), IVal->logBase2()); in visitMul() 964 Op0, ConstantInt::get(Op0->getType(), C.logBase2())); in foldUDivPow2Cst() 990 N = IC.Builder->CreateAdd(N, ConstantInt::get(N->getType(), CI.logBase2())); in foldUDivShl()
|
D | InstCombineAddSub.cpp | 1090 ExtendAmt = TySizeBits - RHSVal.logBase2() - 1; in visitAdd() 1092 ExtendAmt = TySizeBits - XorRHS->getValue().logBase2() - 1; in visitAdd()
|
D | InstCombineCompares.cpp | 1140 ConstantInt::get(A->getType(), AP2.logBase2())); in FoldICmpCstShrCst() 1616 unsigned RHSLog2 = RHSV.logBase2(); in visitICmpInstWithInstAndIntCst() 1656 Pred, X, ConstantInt::get(RHS->getType(), RHSV.logBase2())); in visitICmpInstWithInstAndIntCst() 2413 unsigned MaskWidth = CVal.logBase2(); in ProcessUMulZExtIdiom() 3744 Pow2.logBase2() == cast<IntegerType>(A->getType())->getBitWidth()) in visitICmpInst()
|
D | InstCombineCasts.cpp | 642 uint32_t ShiftAmt = KnownZeroMask.logBase2(); in transformZExtICmp()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 594 ConstantInt *Exponent = ConstantInt::get(DeltaType, IndexOffset.logBase2()); in emitBump() 600 ConstantInt::get(DeltaType, (-IndexOffset).logBase2()); in emitBump()
|
D | SeparateConstOffsetFromGEP.cpp | 803 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToSingleIndexGEPs() 864 Idx, ConstantInt::get(IntPtrTy, ElementSize.logBase2())); in lowerToArithmetics()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 776 ConstantInt::get(Ty, RHS->logBase2())); in visitMulExpr() 794 ConstantInt::get(Ty, RHS.logBase2())); in visitUDivExpr()
|
D | ValueTracking.cpp | 2178 return std::min(TyBits, NumBits + Denominator->logBase2()); in ComputeNumSignBits()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 734 unsigned Val = C->getValue().logBase2(); in computeAddress() 1191 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitAddSub() 1569 uint64_t ShiftVal = cast<ConstantInt>(MulRHS)->getValue().logBase2(); in emitLogicalOp() 2196 TestBit = C->getValue().logBase2(); in emitCompareAndBranch() 4490 uint64_t ShiftVal = C->getValue().logBase2(); in selectMul()
|
D | AArch64ISelLowering.cpp | 5066 unsigned MaskBits = APInt(32, NumElts * 2).logBase2(); in isEXTMask() 7438 DAG.getConstant(VM1.logBase2(), DL, MVT::i64)); in performMulCombine() 7447 DAG.getConstant(VP1.logBase2(), DL, MVT::i64)); in performMulCombine() 7457 DAG.getConstant(VNP1.logBase2(), DL, MVT::i64)); in performMulCombine() 7466 DAG.getConstant(VNM1.logBase2(), DL, MVT::i64)); in performMulCombine() 8809 int NumExpectedSteps = APInt(8, NumVecElts).logBase2(); in tryMatchAcrossLaneShuffleForReduction()
|
D | AArch64ISelDAGToDAG.cpp | 2172 unsigned FBits = IntVal.logBase2(); in SelectCVTFixedPosOperand()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1723 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), dl, in SimplifySetCC() 1732 DAG.getConstant(C1.logBase2(), dl, in SimplifySetCC()
|
D | DAGCombiner.cpp | 2074 DAG.getConstant(ConstValue1.logBase2(), DL, in visitMUL() 2080 unsigned Log2Val = (-ConstValue1).logBase2(); in visitMUL() 2348 DAG.getConstant(N1C->getAPIntValue().logBase2(), DL, in visitUDIV() 2359 .logBase2(), in visitUDIV() 9379 cast<ConstantSDNode>(Op1)->getAPIntValue()==AndConst.logBase2()) { in visitBRCOND() 14081 unsigned ShCtV = N2C->getAPIntValue().logBase2(); in SimplifySelectCC() 14182 DAG.getConstant(N2C->getAPIntValue().logBase2(), SDLoc(Temp), in SimplifySelectCC()
|
D | SelectionDAGBuilder.cpp | 3043 unsigned Amt = ElementSize.logBase2(); in visitGetElementPtr()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 660 unsigned log = tmp.logBase2(); in getBitsNeeded()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 6370 unsigned log2 = divisor.logBase2(); // floor(log_2(divisor)) in GetExprRange()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 10472 unsigned BitInX = AndC->getAPIntValue().logBase2(); in PerformCMOVToBFICombine()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 24164 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformSELECTCombine() 24710 unsigned ShAmt = TrueC->getAPIntValue().logBase2(); in PerformCMOVCombine()
|