llvm::createIfConverter

Create a pass that converts conditional branches into predicated code.

Synopsis

Declared in <llvm/CodeGen/Passes.h>

FunctionPass*
createIfConverter(std::function<bool(MachineFunction const&)> Ftor);

Return Value

The newly created FunctionPass.

Parameters

NameDescription
FtorOptional predicate; if set, the pass runs only when it returns true for the function.