22 auto Die = U->getDIEForOffset(U->getOffset() +
Operands[Operand]);
23 if (Die && Die.getTag() == dwarf::DW_TAG_base_type) {
29 OS <<
" \"" << *Name <<
"\"";
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
static void prettyPrintBaseTypeRef(DWARFUnit *U, raw_ostream &OS, DIDumpOptions DumpOpts, ArrayRef< uint64_t > Operands, unsigned Operand)
Represent a constant reference to an array (0 or more elements consecutively in memory),...
This class implements an extremely fast bulk output stream that can only output to a stream.
bool prettyPrintRegisterOp(BaseTypeRefPrinter PrintBaseTypeRef, raw_ostream &OS, DIDumpOptions DumpOpts, uint8_t Opcode, ArrayRef< uint64_t > Operands)
function_ref< void(raw_ostream &OS, DIDumpOptions DumpOpts, ArrayRef< uint64_t > Operands, unsigned Operand)> BaseTypeRefPrinter
Prints the base type DIE that operand Operand of Operands refers to.
void printDwarfExpression(const DWARFExpression *E, raw_ostream &OS, DIDumpOptions DumpOpts, BaseTypeRefPrinter PrintBaseTypeRef, bool IsEH)
std::optional< const char * > toString(const std::optional< DWARFFormValue > &V)
Take an optional DWARFFormValue and try to extract a string value from it.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI void printDwarfExpression(const DWARFExpression *E, raw_ostream &OS, DIDumpOptions DumpOpts, bool IsEH=false)
Print a Dwarf expression.
auto formatv(bool Validate, const char *Fmt, Ts &&...Vals)
LLVM_ABI bool prettyPrintRegisterOp(DWARFUnit *U, raw_ostream &OS, DIDumpOptions DumpOpts, uint8_t Opcode, ArrayRef< uint64_t > Operands)
Pretty print a register opcode and operands.
Container for dump options that control which debug information will be dumped.