Lines Matching defs:Log2
534 // if Log2(Op0) folds away ->
535 // (shl Op1, Log2(Op0))
536 // if Log2(Op1) folds away ->
537 // (shl Op0, Log2(Op1))
938 IntrinsicInst *Log2 = nullptr;
941 Log2 = cast<IntrinsicInst>(Op0);
946 Log2 = cast<IntrinsicInst>(Op1);
949 if (Log2) {
950 Value *Log2 = Builder.CreateUnaryIntrinsic(Intrinsic::log2, X, &I);
951 Value *LogXTimesY = Builder.CreateFMulFMF(Log2, Y, &I);