Displaying 4 results from an estimated 4 matches for "isuintn".
Did you mean:
isuint
2011 Dec 20
2
[LLVMdev] Proposal for -filetype=obj full big endian support
...mitIntValue - Special case of EmitValue that avoids the client having to
/// pass in a MCExpr for constant integers.
void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
unsigned AddrSpace) {
assert(Size <= 8 && "Invalid size");
assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
"Invalid size");
char buf[8];
const bool isLittleEndian = Context.getAsmInfo().isLittleEndian();
for (unsigned i = 0; i != Size; ++i) {
unsigned index = isLittleEndian ? i : (Size - i - 1);
buf[i] = uint8_t(Val...
2011 Dec 20
0
[LLVMdev] Proposal for -filetype=obj full big endian support
...mitIntValue - Special case of EmitValue that avoids the client having to
/// pass in a MCExpr for constant integers.
void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
unsigned AddrSpace) {
assert(Size <= 8 && "Invalid size");
assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
"Invalid size");
char buf[8];
const bool isLittleEndian = Context.getAsmInfo().isLittleEndian();
for (unsigned i = 0; i != Size; ++i) {
unsigned index = isLittleEndian ? i : (Size - i - 1);
buf[i] = uint8_t(Val...
2011 Dec 20
0
[LLVMdev] Proposal for -filetype=obj full big endian support
...case of EmitValue that avoids the client having to
> /// pass in a MCExpr for constant integers.
> void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
> unsigned AddrSpace) {
> assert(Size <= 8 && "Invalid size");
> assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
> "Invalid size");
> char buf[8];
> const bool isLittleEndian = Context.getAsmInfo().isLittleEndian();
> for (unsigned i = 0; i != Size; ++i) {
> unsigned index = isLittleEndian ? i : (Size - i - 1);
>...
2011 Dec 20
4
[LLVMdev] Proposal for -filetype=obj full big endian support
Proposal for ELF text and data big endian support for direct object generation
Unless I am mistaken, currently big endian support in the MC layer for ELF
direct object generation is limited to ELF headers and tables like relocations.
Text and data section contents are still generated as individual bytes.
It looks as if the effort was started, but never completed.
The proposal is to extend the