printAsOperand overloads

Synopses

Declared in <llvm/IR/Value.h>

Print this value as an operand using a module slot tracker.

void
printAsOperand(
    raw_ostream& O,
    bool PrintType,
    ModuleSlotTracker& MST) const;

Print the name of this Value out to the specified raw_ostream.

void
printAsOperand(
    raw_ostream& O,
    bool PrintType = true,
    Module const* M = nullptr) const;

Parameters

Name

Description

O

Output stream.

PrintType

Whether to include the type in the operand print.

MST

Module slot tracker for pretty‐printing.

M

Optional module providing context for pretty‐printing constants.

Created with MrDocs