Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfilingInternal.h52 struct ProfDataWriter;
53 typedef uint32_t (*WriterCallback)(struct ProfDataWriter *This, ProfDataIOVec *,
56 typedef struct ProfDataWriter { struct
59 } ProfDataWriter; typedef
65 ProfDataWriter *FileWriter;
81 ProfBufferIO *lprofCreateBufferIO(ProfDataWriter *FileWriter);
104 uint32_t lprofBufferWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs,
106 void initBufferWriter(ProfDataWriter *BufferWriter, char *Buffer);
144 int lprofWriteData(ProfDataWriter *Writer, VPDataReaderType *VPDataReader,
146 int lprofWriteDataImpl(ProfDataWriter *Writer,
H A DInstrProfilingWriter.c35 COMPILER_RT_VISIBILITY uint32_t lprofBufferWriter(ProfDataWriter *This, in lprofBufferWriter()
49 static void llvmInitBufferIO(ProfBufferIO *BufferIO, ProfDataWriter *FileWriter, in llvmInitBufferIO()
59 lprofCreateBufferIO(ProfDataWriter *FileWriter) { in lprofCreateBufferIO()
95 ProfDataWriter BufferWriter; in lprofBufferIOWrite()
211 static int writeValueProfData(ProfDataWriter *Writer, in writeValueProfData()
235 COMPILER_RT_VISIBILITY int lprofWriteData(ProfDataWriter *Writer, in lprofWriteData()
251 lprofWriteDataImpl(ProfDataWriter *Writer, const __llvm_profile_data *DataBegin, in lprofWriteDataImpl()
H A DInstrProfilingBuffer.c49 void initBufferWriter(ProfDataWriter *BufferWriter, char *Buffer) { in initBufferWriter()
55 ProfDataWriter BufferWriter; in __llvm_profile_write_buffer()
64 ProfDataWriter BufferWriter; in __llvm_profile_write_buffer_internal()
H A DInstrProfilingPlatformFuchsia.c61 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter()
126 static void initVMOWriter(ProfDataWriter *This) { in initVMOWriter()
147 ProfDataWriter VMOWriter; in dump()
H A DInstrProfilingFile.c98 static uint32_t fileWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in fileWriter()
115 static void initFileWriter(ProfDataWriter *This, FILE *File) { in initFileWriter()
125 ProfDataWriter *fileWriter = in lprofCreateBufferIOInternal()
126 (ProfDataWriter *)calloc(sizeof(ProfDataWriter), 1); in lprofCreateBufferIOInternal()
256 ProfDataWriter fileWriter; in writeFile()