llvm::isSpecialPass

Return whether PassID names a special pass ending with a suffix in Specials.

Synopsis

Declared in <llvm/IR/PassInstrumentation.h>

bool
isSpecialPass(
    StringRef PassID,
    std::vector<StringRef> const& Specials);

Return Value

True if PassID ends with a suffix listed in Specials.

Parameters

NameDescription
PassIDPass identification string, possibly with template arguments.
SpecialsSuffixes that identify special pass names.