Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp27947 SmallVector<APInt> Pow2Constants; in takeInexpensiveLog2() local
27948 auto IsPowerOfTwo = [&Pow2Constants](ConstantSDNode *C) { in takeInexpensiveLog2()
27953 Pow2Constants.emplace_back(C->getAPIntValue()); in takeInexpensiveLog2()
27961 return DAG.getConstant(Pow2Constants.back().logBase2(), DL, VT); in takeInexpensiveLog2()
27965 DAG.getConstant(Pow2Constants.back().logBase2(), DL, in takeInexpensiveLog2()
27968 for (const APInt &Pow2 : Pow2Constants) in takeInexpensiveLog2()