llvm::Type::print

Print the current type. 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.

Synopsis

Declared in <llvm/IR/Type.h>

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

Parameters

NameDescription
OThis class implements an extremely fast bulk output stream that can only output to a stream. It does not support seeking, reopening, rewinding, line buffered disciplines etc. It is a simple buffer that outputs a chunk at a time.