llvm::LibCallSimplifier

Optimizes well-formed library calls into a more efficient form.

Synopsis

Declared in <llvm/Transforms/Utils/SimplifyLibCalls.h>

class LibCallSimplifier;

Description

For example, replacing 'printf("Hello!")' with 'puts("Hello!")'.

Member Functions

NameDescription
LibCallSimplifier [constructor]Construct a simplifier for ordinary library calls.
optimizeCall Return a more optimal value to replace CI, or null if none exists.