8#ifndef LLVM_XRAY_FDRRECORDCONSUMER_H
9#define LLVM_XRAY_FDRRECORDCONSUMER_H
29 std::vector<std::unique_ptr<Record>> &Records;
42 std::vector<RecordVisitor *> Visitors;
Lightweight error class with error context and mandatory checking.
LogBuilderConsumer(std::vector< std::unique_ptr< Record > > &R)
PipelineConsumer(std::initializer_list< RecordVisitor * > V)
virtual Error consume(std::unique_ptr< Record > R)=0
virtual ~RecordConsumer()=default
This is an optimization pass for GlobalISel generic memory operations.