llvm::printBasicBlock

Print BasicBlock BB as an operand or print "<nullptr>" if BB is a nullptr.

Synopsis

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

Printable
printBasicBlock(BasicBlock const* BB);

Return Value

Simple wrapper around std::function<void(raw_ostream&)>. This class is useful to construct print helpers for raw_ostream.

Parameters

NameDescription
BBLLVM Basic Block Representation