- Mar 09, 2012
-
-
Kevin Enderby authored
prefix. Added a FIXME to remind us this still does not work when it is not the first prefix. llvm-svn: 152414
-
NAKAMURA Takumi authored
~0U might be i32 on 32-bit hosts, then (uint64_t)~0U might not be expected as (i64)0xFFFFFFFF_FFFFFFFF, but as (i64)0x00000000_FFFFFFFF. llvm-svn: 152407
-
- Mar 08, 2012
-
-
Craig Topper authored
llvm-svn: 152301
-
Craig Topper authored
Original commit message: Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable. llvm-svn: 152296
-
- Mar 07, 2012
-
-
Chad Rosier authored
Original commit message: Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable. llvm-svn: 152233
-
Craig Topper authored
Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable. llvm-svn: 152202
-
Jim Grosbach authored
Register pair, all lanes subscripting. llvm-svn: 152157
-
- Mar 06, 2012
-
-
Jim Grosbach authored
Register pair VLD1/VLD2 all-lanes instructions. Kill off more of the pseudos as a result. llvm-svn: 152150
-
Owen Anderson authored
Fix support for encodings up to 64-bits in length. TableGen was silently truncating them to 32-bits prior to this. llvm-svn: 152148
-
Craig Topper authored
Use uint16_t to store indices into string table since C++ only allows 64K string literals so the index into the big string can never be larger than that. llvm-svn: 152105
-
Craig Topper authored
llvm-svn: 152104
-
Jim Grosbach authored
llvm-svn: 152067
-
- Mar 05, 2012
-
-
Jim Grosbach authored
Use the new composite physical registers. llvm-svn: 152063
-
Jim Grosbach authored
With the new composite physical registers to represent arbitrary pairs of DPR registers, we don't need the pseudo-registers anymore. Get rid of a bunch of them that use DPR register pairs and just use the real instructions directly instead. llvm-svn: 152045
-
Craig Topper authored
llvm-svn: 152019
-
Craig Topper authored
llvm-svn: 152016
-
- Mar 04, 2012
-
-
Craig Topper authored
llvm-svn: 152001
-
Craig Topper authored
llvm-svn: 151998
-
Craig Topper authored
llvm-svn: 151996
-
Craig Topper authored
Use uint8_t instead of enums to store values in X86 disassembler table. Shaves 150k off the size of X86DisassemblerDecoder.o llvm-svn: 151995
-
- Mar 03, 2012
-
-
Benjamin Kramer authored
llvm-svn: 151986
-
Benjamin Kramer authored
- Shrink the opcode field to 16 bits. - Shrink the AsmVariantID field to 8 bits. - Store the mnemonic string in a string table, store a 16 bit index. - Store a pascal-style length byte in the string instead of a null terminator, so we can avoid calling strlen on every entry we visit during mnemonic search. Shrinks X86AsmParser.o from 434k to 201k on x86_64 and eliminates relocs from the table. llvm-svn: 151984
-
Benjamin Kramer authored
StringToOffsetTable: Allow uniquing the first element, add an option to skip appending a terminating null. llvm-svn: 151983
-
- Mar 01, 2012
-
-
Benjamin Kramer authored
llvm-svn: 151821
-
Jim Grosbach authored
Allows us to de-virtualize the function and provides access to it in the instruction printer, which is useful for handling composite physical registers (e.g., ARM register lists). llvm-svn: 151815
-
Jim Grosbach authored
This reverts commit 151760. We want to move getSubReg() from TargetRegisterInfo into MCRegisterInfo, but to do that, the type of the lookup table needs to be the same for all targets. llvm-svn: 151814
-
Benjamin Kramer authored
This allows us to make TRC non-polymorphic and value-initializable, eliminating a huge static initializer and a ton of cruft from the generated code. Shrinks ARMBaseRegisterInfo.o by ~100k. llvm-svn: 151806
-
Benjamin Kramer authored
llvm-svn: 151792
-
Benjamin Kramer authored
Shrinks BasicAliasAnalysis.o from 106k to 56k on i386. llvm-svn: 151781
-
Benjamin Kramer authored
- The search bounds are constant, in the worst case (ARM target) it will scan over 30 uint16_ts. - This method isn't very hot, I had problems finding a testcase where it's called more than a dozen of times (no perf impact). llvm-svn: 151773
-
- Feb 29, 2012
-
-
Jim Grosbach authored
llvm-svn: 151764
-
Benjamin Kramer authored
Doesn't help ARM with its massive register set, but halves the size on x86 and all other targets. llvm-svn: 151760
-
Jim Grosbach authored
llvm-svn: 151758
-
Jim Grosbach authored
llvm-svn: 151756
-
Jim Grosbach authored
Instead of nested switch statements, use a lookup table. On ARM, this replaces a 23k (x86_64 release build) function with a 16k table. Its not unlikely to be faster, as well. llvm-svn: 151751
-
- Feb 28, 2012
-
-
Craig Topper authored
llvm-svn: 151622
-
- Feb 27, 2012
-
-
Craig Topper authored
llvm-svn: 151513
-
Craig Topper authored
llvm-svn: 151510
-
- Feb 23, 2012
-
-
Craig Topper authored
llvm-svn: 151246
-
- Feb 22, 2012
-
-
Craig Topper authored
Declare register classes as const. Fix a couple pointers to register classes that weren't already const. llvm-svn: 151138
-