llvm::shouldPrintBeforePass

Returns true if IR should be printed before the pass named PassID.

Synopsis

Declared in <llvm/IR/PrintPasses.h>

bool
shouldPrintBeforePass(StringRef PassID);

Return Value

True if IR should be printed before the named pass.

Parameters

NameDescription
PassIDPass identifier, such as "instcombine".