Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp192 if (Constant *NewCst = ConstantExpr::getExactLogBase2(C1)) { in visitMul()
943 Constant *C = ConstantExpr::getExactLogBase2(cast<Constant>(Op)); in takeLog2()
1132 Op0, ConstantExpr::getExactLogBase2(cast<Constant>(Op1)), I.getName()); in visitSDiv()
1201 Constant *CNegLog2 = ConstantExpr::getExactLogBase2( in visitSDiv()
H A DInstCombineAndOrXor.cpp1953 Constant *Log2C1 = ConstantExpr::getExactLogBase2(C1); in visitAnd()
1969 Constant *Log2C1 = ConstantExpr::getExactLogBase2(C1); in visitAnd()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstants.h1099 static Constant *getExactLogBase2(Constant *C);
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp2329 (BitPos = ConstantExpr::getExactLogBase2(cast<Constant>(BitMask))); in detectShiftUntilBitTestIdiom()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp2719 Constant *ConstantExpr::getExactLogBase2(Constant *C) { in getExactLogBase2() function in ConstantExpr