aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-05-25 21:04:35 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-05-26 17:45:01 -0700
commit660f714e26999d266232a1fbb02712bb879bd34e (patch)
treea3a473f8ac64651140d855c2d6521cada262fd65 /clang/lib/CodeGen/ModuleBuilder.cpp
parentf354e971b09c244147ff59eb65b34487755598c0 (diff)
downloadllvm-660f714e26999d266232a1fbb02712bb879bd34e.zip
llvm-660f714e26999d266232a1fbb02712bb879bd34e.tar.gz
llvm-660f714e26999d266232a1fbb02712bb879bd34e.tar.bz2
[MLIR] Add native Bytecode support for properties
This is adding a new interface (`BytecodeOpInterface`) to allow operations to opt-in skipping conversion to attribute and serializing properties to native bytecode. The scheme relies on a new section where properties are stored in sequence { size, serialize_properties }, ... The operations are storing the index of a properties, a table of offset is built when loading the properties section the first time. This is a re-commit of 837d1ce0dc which conflicted with another patch upgrading the bytecode and the collision wasn't properly resolved before. Differential Revision: https://reviews.llvm.org/D151065
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions