Lines Matching defs:LogX
1517 if (Value *LogX = takeLog2(X, Depth, AssumeNonZero, DoFold))
1518 return IfFold([&]() { return Builder.CreateZExt(LogX, Op->getType()); });
1525 if (Value *LogX = takeLog2(X, Depth, AssumeNonZero, DoFold))
1527 return Builder.CreateTrunc(LogX, Op->getType(), "",
1538 if (Value *LogX = takeLog2(X, Depth, AssumeNonZero, DoFold))
1539 return IfFold([&]() { return Builder.CreateAdd(LogX, Y); });
1547 if (Value *LogX = takeLog2(X, Depth, AssumeNonZero, DoFold))
1548 return IfFold([&]() { return Builder.CreateSub(LogX, Y); });
1554 if (Value *LogX = takeLog2(X, Depth, AssumeNonZero, DoFold))
1555 return IfFold([&]() { return LogX; });
1563 if (Value *LogX = takeLog2(SI->getOperand(1), Depth, AssumeNonZero, DoFold))
1567 return Builder.CreateSelect(SI->getOperand(0), LogX, LogY);
1576 if (Value *LogX = takeLog2(MinMax->getLHS(), Depth,
1581 return Builder.CreateBinaryIntrinsic(MinMax->getIntrinsicID(), LogX,