Lines Matching defs:Log2
528 // if Log2(Op0) folds away ->
529 // (shl Op1, Log2(Op0))
530 // if Log2(Op1) folds away ->
531 // (shl Op0, Log2(Op1))
1008 IntrinsicInst *Log2 = nullptr;
1011 Log2 = cast<IntrinsicInst>(Op0);
1016 Log2 = cast<IntrinsicInst>(Op1);
1019 if (Log2) {
1020 Value *Log2 = Builder.CreateUnaryIntrinsic(Intrinsic::log2, X, &I);
1021 Value *LogXTimesY = Builder.CreateFMulFMF(Log2, Y, &I);
1692 if (Value *Log2 = tryGetLog2(Op1, /*AssumeNonZero=*/true))
1693 return Log2;