- Sep 29, 2011
-
-
Jakob Stoklund Olesen authored
The function needs to scan the implicit operands anyway, so no performance is won by caching the number of implicit operands added to an instruction. This also fixes a bug when adding operands after an implicit operand has been added manually. The NumImplicitOps count wasn't kept up to date. MachineInstr::addOperand() will now consistently place all explicit operands before all the implicit operands, regardless of the order they are added. It is possible to change an MI opcode and add additional explicit operands. They will be inserted before any existing implicit operands. The only exception is inline asm instructions where operands are never reordered. This is because of a hack that marks explicit clobber regs on inline asm as <implicit-def> to please the fast register allocator. This hack can go away when InstrEmitter and FastIsel can add exact <dead> flags to physreg defs. llvm-svn: 140744
-
Douglas Gregor authored
we have the ability to create a new, distict diagnostic consumer when we go off and build a module. This avoids the currently horribleness where the same diagnostic consumer sees diagnostics for multiple translation units (and multiple SourceManagers!) causing all sorts of havok. llvm-svn: 140743
-
Daniel Dunbar authored
"show-in-system-header" bits, which is part of teasing them apart from the diagnostic mapping kind. llvm-svn: 140742
-
Daniel Dunbar authored
"show-in-system-header" bits, which I will be adding in Clang shortly. llvm-svn: 140741
-
Eric Christopher authored
correspond to. llvm-svn: 140740
-
Eric Christopher authored
exist anymore. llvm-svn: 140739
-
Eric Christopher authored
llvm-svn: 140738
-
Eric Christopher authored
point in the code. Ensures that we don't miss any places and the check is reasonably cheap. llvm-svn: 140737
-
Eric Christopher authored
llvm-svn: 140736
-
Jakob Stoklund Olesen authored
It broke the unit tests. Please reapply with tests fixed. llvm-svn: 140735
-
Howard Hinnant authored
Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be defined if one has all of the xxx_l() functions. I've defined this for apple, freebsd and win32. _LIBCPP_HAS_DEFAULTRUNELOCALE should be defined if there is a _DefaultRuneLocale. I've defined this for apple and freebsd. The block of code we're trying to migrate away from is now under #ifdef __linux__. I've tested only on OS X. I hope I haven't broken things too badly elsewhere. Please let me know. llvm-svn: 140734
-
Evan Cheng authored
ends up introducing a cycle in the DAG. rdar://10196296 llvm-svn: 140733
-
Chad Rosier authored
strings. rdar://9696709 llvm-svn: 140732
-
- Sep 28, 2011
-
-
Akira Hatanaka authored
multiclasses. llvm-svn: 140731
-
Bill Wendling authored
Upon further review, most of the EH code should remain written at the IR level. The part which breaks SSA form is the dispatch table, so that part will be moved to the back-end. llvm-svn: 140730
-
Fariborz Jahanian authored
some arguments types are ns_consumed and some otherwise matching types are not. This is objc side of // rdar://10187884 llvm-svn: 140729
-
Howard Hinnant authored
llvm-svn: 140728
-
Michael J. Spencer authored
llvm-svn: 140726
-
Ted Kremenek authored
llvm-svn: 140725
-
Howard Hinnant authored
Attempt to enable locale simplification. On which platforms can we now #define _LIBCPP_STABLE_APPLE_ABI? llvm-svn: 140724
-
Eli Friedman authored
llvm-svn: 140723
-
Michael J. Spencer authored
llvm-svn: 140722
-
Michael J. Spencer authored
llvm-svn: 140721
-
Eli Friedman authored
NULL cannot be portably used as the last argument to a function with __attribute((sentinel)), even though it usually works. Use (void*)0 instead. PR11002. llvm-svn: 140720
-
Bill Wendling authored
llvm-svn: 140719
-
Bill Wendling authored
llvm-svn: 140718
-
Fariborz Jahanian authored
some arguments types are ns_consumed and some otherwise matching types are not. This fixes the objc++ side only *auch*. // rdar://10187884 llvm-svn: 140717
-
Richard Trieu authored
llvm-svn: 140716
-
Eric Christopher authored
llvm-svn: 140715
-
Johnny Chen authored
llvm-svn: 140714
-
Ted Kremenek authored
Tweak -Wobjc-missing-super-calls to not warning about missing [super dealloc] when in GC-only mode, and to not warning about missing [super finalize] when not using GC. llvm-svn: 140713
-
Devang Patel authored
Add llvm-cov skeleton. It has initial support to read coverage info generated by GCOVProfiling.cpp. Today, you can do prompt> clang a.c -ftest-coverage -fprofile-arcs -o a prompt> ./a prompt> llvm-cov -gcno a.gcno -gcda a.gcda a.c : #include "a.h" : : int main() { : int i = 0; : if (i) { 1: int j = 0; 1: j = 1; 1: } else { : int k = 1; : k = 2; : } 1: return 0; : } : : llvm-svn: 140712
-
Argyrios Kyrtzidis authored
llvm-svn: 140711
-
Johnny Chen authored
end address is an LLDB_INVALID_ADDRESS. Modify the test case to dump all the symbols in all the sections. llvm-svn: 140710
-
Justin Holewinski authored
llvm-svn: 140709
-
Chandler Carruth authored
llvm-svn: 140708
-
Argyrios Kyrtzidis authored
llvm-svn: 140707
-
Argyrios Kyrtzidis authored
llvm-svn: 140706
-
Akira Hatanaka authored
llvm-svn: 140705
-
Akira Hatanaka authored
llvm-svn: 140704
-