Skip to content
  • Kevin Enderby's avatar
    Updates to the ARM target assembler for llvm-mc per review comments from · 8be42bd0
    Kevin Enderby authored
    Daniel Dunbar.
    - Reordered the fields in the ARMOperand Mem struct to make the struct smaller.
    Making bool's into 1 bit fields and put the MCExpr* fields adjacent to each
    other.
    - Fixed a number of places in ARMAsmParser.cpp so they have doxygen comments.
    - Change the name of ARMAsmParser::ParseRegister() to MaybeParseRegister and
    added the bool ParseWriteBack parameter.
    - Changed ARMAsmParser::ParseMemory() to call MaybeParseRegister().
    - Added ARMAsmParser::ParseMemoryOffsetReg to factor out parsing the offset of a
    memory operand.  And use it for both parsing both preindexed and post indexing
    addressing forms in ARMAsmParser::ParseMemory.
    - Changed the first argument to ParseShift() to a reference.
    - Changed ParseShift() to check for Rrx first and return to reduce nesting.
    
    llvm-svn: 85632
    8be42bd0
Loading