1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm-c
Francis Visoiu Mistrih c0b919738c [Remarks] Add parser for bitstream remarks
The bitstream remark serializer landed in r367372.

This adds a bitstream remark parser that parser bitstream remark files
to llvm::remarks::Remark objects through the RemarkParser interface.

A few interesting things to point out:

* There are parsing helpers to parse the different types of blocks
* The main parsing helper allows us to parse remark metadata and open an
external file containing the encoded remarks
* This adds a dependency from the Remarks library to the BitstreamReader
library
* The testing strategy is to create a remark entry through YAML, parse
it, serialize it to bitstream, parse that back and compare the objects.
* There are close to no tests for malformed bitstream remarks, due to
the lack of textual format for the bitstream format.
* This adds a new C API for parsing bitstream remarks:
LLVMRemarkParserCreateBitstream.
* This bumps the REMARKS_API_VERSION to 1.

Differential Revision: https://reviews.llvm.org/D67134

llvm-svn: 371429
2019-09-09 17:43:50 +00:00
..
Transforms [LLVM-C] Improve Bindings to The Internalize Pass 2019-07-23 04:56:44 +00:00
Analysis.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BitReader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BitWriter.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Comdat.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Core.h Revert "Expose TailCallKind via the LLVM C API" 2019-08-15 03:49:51 +00:00
DataTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DebugInfo.h [LLVM-C] Add DIFile Field Accesssors 2019-04-17 13:29:14 +00:00
Disassembler.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DisassemblerTypes.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Error.h [llvm-c] Make LLVMGetStringErrorTypeId a proper prototype 2019-05-06 06:42:06 +00:00
ErrorHandling.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExecutionEngine.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Initialization.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IRReader.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Linker.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LinkTimeOptimizer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
lto.h [ThinLTO]LTO]Legacy] Fix dependent libraries support by adding querying of the IRSymtab 2019-06-12 11:07:56 +00:00
module.modulemap
Object.h [LLVM-C] Add Accessor for Mach-O Universal Binary Slices 2019-05-25 16:47:27 +00:00
OrcBindings.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Remarks.h [Remarks] Add parser for bitstream remarks 2019-09-09 17:43:50 +00:00
Support.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Target.h Remove MSVC compat hack since the inline keyword was added in 2015 2019-03-19 21:40:59 +00:00
TargetMachine.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Types.h [LLVM-C] Begin to Expose A More General Binary Interface 2019-04-05 21:36:50 +00:00