llvm::Type::print

Print the current type.

Synopsis

Declared in <llvm/IR/Type.h>

void
print(
    raw_ostream& O,
    bool IsForDebug = false,
    bool NoDetails = false) const;

Description

Omit the type details if NoDetails == true. E.g., let %st = type { i32, i16 } When NoDetails is true, we only print %st. Put differently, NoDetails prints the type as if inlined with the operands when printing an instruction.

Parameters

NameDescription
OOutput stream.
IsForDebugWhether to use debug-oriented printing.
NoDetailsIf true, print only the type name without body details.