mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
add a new Blob encoding abbreviation for bitcode files that emits
elements in a form that is efficient for the reader to just get a pointer in memory and start reading. APIs to do efficient reading and writing are still todo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -88,7 +88,8 @@ public:
|
||||
Fixed = 1, // A fixed width field, Val specifies number of bits.
|
||||
VBR = 2, // A VBR field where Val specifies the width of each chunk.
|
||||
Array = 3, // A sequence of fields, next field species elt encoding.
|
||||
Char6 = 4 // A 6-bit fixed field which maps to [a-zA-Z0-9._].
|
||||
Char6 = 4, // A 6-bit fixed field which maps to [a-zA-Z0-9._].
|
||||
Blob = 5 // 8-bit aligned array of 8-bit characters.
|
||||
};
|
||||
|
||||
explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {}
|
||||
@ -117,6 +118,7 @@ public:
|
||||
return true;
|
||||
case Array:
|
||||
case Char6:
|
||||
case Blob:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user