- Jul 29, 2011
-
-
David Greene authored
Use a StringMap to ensure the StringInits are unique. This is especially important for AVX where we will have many smallish strings representing instruction prefixes, suffixes and the like. llvm-svn: 136491
-
David Greene authored
Use a DenseMap to make sure only one IntInit of any value exists. llvm-svn: 136490
-
David Greene authored
Make BitsInit a FoldingSetNode so we can unique it. llvm-svn: 136489
-
David Greene authored
Keep only two copies of BitInit: one for true and one for false. llvm-svn: 136488
-
David Greene authored
Keep only one UnsetInit around. llvm-svn: 136487
-
David Greene authored
Replace uses of new *Init with *Init::get. This hides the allocation implementation so that we can unique Inits in various ways. llvm-svn: 136486
-
David Greene authored
Make references to Inits const everywhere. This is the final step before making them unique. llvm-svn: 136485
-
David Greene authored
Remove all non-const iterators from Init classes. This is another step toward constifying Inits and ultimately turning them into FoldingSetNodes. llvm-svn: 136484
-
David Greene authored
Get rid of all Init members that modify internal state. This is in preparation for making references to Inits const. llvm-svn: 136483
-
David Greene authored
Add a getValues ListInit method to return the sequence of values in the list. llvm-svn: 136482
-
David Greene authored
Create a std::string wrapper for use as a DenseMap key. DenseMap is not safe in generate with strings, so this wrapper indicates that only strings guaranteed not to have certain values should be used in the DenseMap. llvm-svn: 136481
-
Devang Patel authored
llvm-svn: 136480
-
Jim Grosbach authored
Fill in the missing fixed bits and the register operand bits of the instruction encoding. Refactor the definition to make the mode explicit, which is consistent with how loads and stores are normally represented and makes parsing much easier. Add parsing aliases for pseudo-instruction variants. Update the disassembler for the new representations. Add tests for parsing and encoding. llvm-svn: 136479
-
Owen Anderson authored
llvm-svn: 136478
-
Nick Lewycky authored
llvm-svn: 136477
-
Jonathan D. Turner authored
Renamed Loaded member to ImportedBy, as it's easier to read. Added another set to represent the modules a module imports. llvm-svn: 136476
-
Jim Grosbach authored
llvm-svn: 136475
-
Jim Grosbach authored
llvm-svn: 136473
-
Jim Grosbach authored
llvm-svn: 136472
-
Jim Grosbach authored
llvm-svn: 136470
-
Douglas Gregor authored
llvm-svn: 136469
-
Jim Grosbach authored
llvm-svn: 136468
-
Owen Anderson authored
llvm-svn: 136467
-
Douglas Gregor authored
llvm-svn: 136463
-
Jay Foad authored
llvm-svn: 136461
-
Duncan Sands authored
whatever the size of unsigned is), though this can't actually occur for any integer value of NUM_NODES. llvm-svn: 136460
-
Nick Lewycky authored
screwy things by setting PWD != getcwd(). For example, some developers I know will use this to control the value in gcc's DW_AT_comp_dir value in debug output. With this patch, that trick will now work on clang too. The only other effect of this change is that the static analysis will now respect $PWD when reporting the directory of the files in its HTML output. I think that's fine. llvm-svn: 136459
-
Nick Lewycky authored
lines. No functionality change. llvm-svn: 136458
-
Eli Friedman authored
working on x86 (at least for trivial testcases); other architectures will need more work so that they actually emit the appropriate instructions for orderings stricter than 'monotonic'. (As far as I can tell, the ARM, PPC, Mips, and Alpha backends need such changes.) llvm-svn: 136457
-
Jakub Staszak authored
rounding errors. llvm-svn: 136456
-
Chandler Carruth authored
First off, only depend on the actual MC-ized disassemblers in the targets, not all of the libraries those in turn depend on. Second off, only depend on those MC-ized disassemblers for targets we're building. This should fix builds of fewer than all targets. llvm-svn: 136455
-
Bruno Cardoso Lopes authored
on the second half must be reindexed. llvm-svn: 136454
-
Bruno Cardoso Lopes authored
generation to always catch the weird cases. llvm-svn: 136453
-
Bruno Cardoso Lopes authored
llvm-svn: 136452
-
Bruno Cardoso Lopes authored
llvm-svn: 136451
-
Bruno Cardoso Lopes authored
undef mask elements. This fixes PR10529. llvm-svn: 136450
-
Bruno Cardoso Lopes authored
Also tidy up code a bit. llvm-svn: 136449
-
Bruno Cardoso Lopes authored
Also make PALIGNR masks to don't match 256-bits, which isn't supported It's also a step to solve PR10489 llvm-svn: 136448
-
Argyrios Kyrtzidis authored
DiagnosticErrorTraps can be composed (e.g. a trap inside another trap). Fixes http://llvm.org/PR10462 & rdar://9852007. llvm-svn: 136447
-
Bill Wendling authored
With this, we can now compile a simple EH program. llvm-svn: 136446
-