llvm::sandboxir::NullPass

A Region pass that does nothing, for use as a placeholder in tests.

Synopsis

Declared in <llvm/Transforms/Vectorize/SandboxVectorizer/Passes/NullPass.h>

class NullPass final
    : public RegionPass

Description

It can also echo the AuxArg passed to it by the pass builder, which is used for AuxArg testing.

Base Classes

NameDescription
RegionPassA pass that runs on a sandbox::Region.

Member Functions

NameDescription
NullPass [constructor]Construct a NullPass that stores AuxArg for later retrieval.
dump [virtual]Dump this pass to the debug stream.
getAuxArg Return the AuxArg passed to the constructor.
getName The name of the pass.
print [virtual]Print this pass to OS.
printPipeline [virtual]Similar to print() but adds a newline. Used for testing.
runOnRegion [virtual]Run on region R; always a no-op.

Protected Data Members

NameDescription
Name The pass name. This is also used as a command-line flag and should not contain whitespaces.