Home
last modified time | relevance | path

Searched refs:ProfDataWriter (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingInternal.h58 struct ProfDataWriter;
59 typedef uint32_t (*WriterCallback)(struct ProfDataWriter *This, ProfDataIOVec *,
62 typedef struct ProfDataWriter { struct
65 } ProfDataWriter; argument
71 ProfDataWriter *FileWriter;
87 ProfBufferIO *lprofCreateBufferIO(ProfDataWriter *FileWriter);
110 uint32_t lprofBufferWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs,
112 void initBufferWriter(ProfDataWriter *BufferWriter, char *Buffer);
150 int lprofWriteData(ProfDataWriter *Writer, VPDataReaderType *VPDataReader,
152 int lprofWriteDataImpl(ProfDataWriter *Writer,
DInstrProfilingWriter.c38 COMPILER_RT_VISIBILITY uint32_t lprofBufferWriter(ProfDataWriter *This, in lprofBufferWriter()
55 static void llvmInitBufferIO(ProfBufferIO *BufferIO, ProfDataWriter *FileWriter, in llvmInitBufferIO()
65 lprofCreateBufferIO(ProfDataWriter *FileWriter) { in lprofCreateBufferIO()
101 ProfDataWriter BufferWriter; in lprofBufferIOWrite()
217 static int writeValueProfData(ProfDataWriter *Writer, in writeValueProfData()
241 COMPILER_RT_VISIBILITY int lprofWriteData(ProfDataWriter *Writer, in lprofWriteData()
257 lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
DInstrProfilingBuffer.c119 void initBufferWriter(ProfDataWriter *BufferWriter, char *Buffer) { in initBufferWriter()
125 ProfDataWriter BufferWriter; in __llvm_profile_write_buffer()
134 ProfDataWriter BufferWriter; in __llvm_profile_write_buffer_internal()
DInstrProfilingPlatformFuchsia.c67 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter()
101 static void initVMOWriter(ProfDataWriter *This, struct lprofVMOWriterCtx *Ctx) { in initVMOWriter()
151 ProfDataWriter VMOWriter; in __llvm_profile_initialize()
DInstrProfilingFile.c122 static uint32_t fileWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in fileWriter()
160 static void initFileWriter(ProfDataWriter *This, FILE *File) { in initFileWriter()
170 ProfDataWriter *fileWriter = in lprofCreateBufferIOInternal()
171 (ProfDataWriter *)calloc(sizeof(ProfDataWriter), 1); in lprofCreateBufferIOInternal()
345 ProfDataWriter fileWriter; in writeFile()
456 ProfDataWriter fileWriter; in writeMMappedFile()