- Mar 26, 2010
-
-
Johnny Chen authored
It doesn't seem to be used anywhere. llvm-svn: 99566
-
Jim Grosbach authored
llvm-svn: 99565
-
Gabor Greif authored
llvm-svn: 99564
-
- Mar 25, 2010
-
-
Daniel Dunbar authored
exactly two passes in that case, and don't ever need to recompute any layout, so this is a nice baseline for relaxation performance. llvm-svn: 99563
-
Douglas Gregor authored
the type of its corresponding non-type template parameter changes the value. Previously, we were diagnosing this as an error, which was wrong. We give reasonably nice warnings like: test/SemaTemplate/temp_arg_nontype.cpp:100:10: warning: non-type template argument value '256' truncated to '0' for template parameter of type 'unsigned char' Overflow<256> *overflow3; // expected-warning{{non-type template ... ^~~ test/SemaTemplate/temp_arg_nontype.cpp:96:24: note: template parameter is declared here template<unsigned char C> struct Overflow; ^ llvm-svn: 99561
-
Douglas Gregor authored
how to handle a diagnostic during template argument deduction, which may be "substitution failure", "suppress", or "report". This keeps us from, e.g., emitting warnings while performing template argument deduction. llvm-svn: 99560
-
John McCall authored
doing all the cleanup tasks and checks. This gives us the proper context for checking access to base and member destructors. llvm-svn: 99559
-
Fariborz Jahanian authored
from properties of _Complex type. (radar 7351147). llvm-svn: 99558
-
Johnny Chen authored
llvm-svn: 99557
-
Anders Carlsson authored
llvm-svn: 99555
-
John McCall authored
friendship for a derived class if the base class specifier was non-public, and thus not considering friendship for non-public members of public bases. llvm-svn: 99554
-
John McCall authored
we look for shadow friend decls in the appropriate scope before injecting a new declaration. llvm-svn: 99552
-
Jim Grosbach authored
llvm-svn: 99549
-
Johnny Chen authored
expect a Format arg. N2VCvtD/N2VCvtQ are modified to use the NVCVTFrm format. llvm-svn: 99548
-
Evan Cheng authored
llvm-svn: 99546
-
Evan Cheng authored
llvm-svn: 99544
-
Daniel Dunbar authored
- Still O(N^2), just a faster form, and now its the MCAsmLayout's fault. On the .s I am tuning against (combine.s from 403.gcc): -- ddunbar@lordcrumb:MC$ diff stats-before.txt stats-after.txt 5,10c5,10 < 1728 assembler - Number of assembler layout and relaxation steps < 7707 assembler - Number of emitted assembler fragments < 120588 assembler - Number of emitted object file bytes < 2233448 assembler - Number of evaluated fixups < 1727 assembler - Number of relaxed instructions < 6723845 mcexpr - Number of MCExpr evaluations --- > 3 assembler - Number of assembler layout and relaxation steps > 7707 assembler - Number of emitted assembler fragments > 120588 assembler - Number of emitted object file bytes > 14796 assembler - Number of evaluated fixups > 1727 assembler - Number of relaxed instructions > 67889 mcexpr - Number of MCExpr evaluations -- Feel free to LOL at the -before numbers, if you like. I am a little surprised we make more than 2 relaxation passes. It's pretty trivial for us to do relaxation out-of-order if that would give a speedup. llvm-svn: 99543
-
Daniel Dunbar authored
llvm-svn: 99542
-
Jakob Stoklund Olesen authored
llvm-svn: 99540
-
Jakob Stoklund Olesen authored
Remove much horribleness from X86InstrFormats as a result. Similar simplifications are probably possible for other targets. llvm-svn: 99539
-
Chris Lattner authored
the custom insertion hook deletes the instruction, then we try to set dead flags on it. Neither the code that I added nor the code that was there before was safe. llvm-svn: 99538
-
Evan Cheng authored
llvm-svn: 99537
-
Daniel Dunbar authored
llvm-svn: 99529
-
Daniel Dunbar authored
llvm-svn: 99528
-
Fariborz Jahanian authored
llvm-svn: 99526
-
John McCall authored
llvm-svn: 99525
-
Jakob Stoklund Olesen authored
On Nehalem and newer CPUs there is a 2 cycle latency penalty on using a register in a different domain than where it was defined. Some instructions have equvivalents for different domains, like por/orps/orpd. The SSEDomainFix pass tries to minimize the number of domain crossings by changing between equvivalent opcodes where possible. This is a work in progress, in particular the pass doesn't do anything yet. SSE instructions are tagged with their execution domain in TableGen using the last two bits of TSFlags. Note that not all instructions are tagged correctly. Life just isn't that simple. The SSE execution domain issue is very similar to the ARM NEON/VFP pipeline issue handled by NEONMoveFixPass. This pass may become target independent to handle both. llvm-svn: 99524
-
Daniel Dunbar authored
gcc, and the common expectation seems to be that they are unused. If and when someone cares we can add them back with well documented demantics. llvm-svn: 99522
-
Johnny Chen authored
instead of the current N2V. Format of NVDupLane instances are set to NEONFrm currently. llvm-svn: 99518
-
Anders Carlsson authored
llvm-svn: 99516
-
Douglas Gregor authored
llvm-svn: 99515
-
Bob Wilson authored
opcode values fitting in one byte (svn r99494). llvm-svn: 99514
-
John Thompson authored
llvm-svn: 99513
-
Daniel Dunbar authored
llvm-svn: 99512
-
Douglas Gregor authored
llvm-svn: 99510
-
Douglas Gregor authored
- When substituting template arguments as part of template argument deduction, introduce a new local instantiation scope. - When substituting into a function prototype type, introduce a new "temporary" local instantiation scope that merges with its outer scope but also keeps track of any additions it makes, removing them when we exit that scope. Fixes PR6700, where we were getting too much mixing of local instantiation scopes due to template argument deduction that substituted results into function types. llvm-svn: 99509
-
Anders Carlsson authored
When -fdump-vtable-layouts is specified, construction vtable initializers will be generated using the new vtable layout code. (The code is still not completely in place but this is a huge step forward). llvm-svn: 99508
-
Devang Patel authored
llvm-svn: 99507
-
John Criswell authored
now configures prerequisite projects individually but also ignores them in the big project switch statement to avoid the incorrect warning. llvm-svn: 99506
-
Nuno Lopes authored
llvm-svn: 99505
-