Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1402 auto IfFold = [DoFold](function_ref<Value *()> Fn) { in takeLog2() local
1412 return IfFold([&]() { in takeLog2()
1428 return IfFold([&]() { return Builder.CreateZExt(LogX, Op->getType()); }); in takeLog2()
1437 return IfFold([&]() { return Builder.CreateAdd(LogX, Y); }); in takeLog2()
1447 return IfFold([&]() { in takeLog2()
1461 return IfFold([&]() { in takeLog2()