Displaying 1 result from an estimated 1 matches for "numbitstoinsert".
2008 Jul 22
2
[LLVMdev] BITS_BIG_ENDIAN in llvm-gcc
...adOfLValue()
TreeToLLVM::EmitMODIFY_EXPR()
InsertBitFieldValue()
ProcessBitFieldInitialization()
The comments say things like:
// If this target has bitfields laid out in big-endian order, invert the bit
// in the word if needed.
// If this is a big-endian bit-field, take the top NumBitsToInsert
// bits from the bitfield value.
// If this is little-endian bit-field, take the bottom NumBitsToInsert
// bits from the bitfield value.
But as I understand it in GCC, BITS_BIG_ENDIAN has nothing to do with
the way bit-fields are laid out. All it affects is how the operand...