MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / Printable

Class Printable

include/llvm/Support/Printable.h:38–43  ·  view source on GitHub ↗

Simple wrapper around std::function . This class is usefull to construct print helpers for raw_ostream. Example: Printable PrintRegister(unsigned Register) { return Printable([Register](raw_ostream &OS) { OS << getRegisterName(Register); } } ... OS << PrintRegister(Register); ... Implementation note: Ideally this would just be a typedef, but doing so leads to operator << being

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

PrintNodeInfoFunction · 0.85
PrintRegFunction · 0.85
PrintRegUnitFunction · 0.85
PrintVRegOrUnitFunction · 0.85
PrintLaneMaskFunction · 0.85
PrintNodeIdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected