Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp248 if (Constant *NewCst = ConstantExpr::getExactLogBase2(C1)) { in visitMul()
1413 Constant *C = ConstantExpr::getExactLogBase2(cast<Constant>(Op)); in takeLog2()
1611 Constant *C = ConstantExpr::getExactLogBase2(cast<Constant>(Op1)); in visitSDiv()
1623 Constant *C = ConstantExpr::getExactLogBase2(NegPow2C); in visitSDiv()
1695 Constant *CNegLog2 = ConstantExpr::getExactLogBase2( in visitSDiv()
H A DInstCombineAndOrXor.cpp2536 Constant *Log2C1 = ConstantExpr::getExactLogBase2(C1); in visitAnd()
2552 Constant *Log2C1 = ConstantExpr::getExactLogBase2(C1); in visitAnd()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1165 static Constant *getExactLogBase2(Constant *C);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2465 (BitPos = ConstantExpr::getExactLogBase2(cast<Constant>(BitMask))); in detectShiftUntilBitTestIdiom()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2624 Constant *ConstantExpr::getExactLogBase2(Constant *C) { in getExactLogBase2() function in ConstantExpr