- May 09, 2013
-
-
Shuxin Yang authored
iteration. This on step toward non-iterative GVN. My local hack suggests that getting rid of iteration will speedup GVN by 30%+ on a medium sized input (2k LOC, C++). I cannot explain why not 2x or more at this moment. llvm-svn: 181532
-
Richard Smith authored
llvm-svn: 181531
-
Jyotsna Verma authored
getInvertedPredicatedOpcode() functions instead of switch cases. llvm-svn: 181530
-
Bill Wendling authored
The compact unwind registers were defined in two different places. It's better just to place them in the function that uses them and specify that this is a 64-bit or 32-bit machine. No functionality change. llvm-svn: 181529
-
Ariel J. Bernal authored
This patch fixes PR15601. - Added check for whether the loop variable and the initializer have the same type. - Added tests. llvm-svn: 181528
-
Richard Smith authored
Fix the return type of the complex creal functions. Patch by YunZhong Gao, modified to use _Static_assert and to check __STDC_HOSTED__ by me. llvm-svn: 181527
-
Daniel Malea authored
llvm-svn: 181526
-
David Blaikie authored
llvm-svn: 181525
-
Rafael Espindola authored
When we replace an internal alias with its target, be careful not to replace the entry in llvm.used (and llvm.compiler_used). llvm-svn: 181524
-
Fariborz Jahanian authored
warn in pedantic mode. llvm-svn: 181523
-
Edwin Vane authored
Updated reference and unit tests. llvm-svn: 181522
-
Fariborz Jahanian authored
'commands' will not go through typo fixit logic, preserving the old behavior (no typo, no diagnostics). // rdar://12381408 llvm-svn: 181521
-
Richard Osborne authored
Previously we only checked if the LR required saving if the frame size was non zero. However because the caller reserves 1 word for the callee to use that doesn't count towards our frame size it is possible for the LR to need saving and for the frame size to be 0. We didn't hit when the LR needed saving because of a function calls because the 1 word of stack we must allocate for our callee means the frame size is always non zero in this case. However we can hit this case if the LR is clobbered in inline asm. llvm-svn: 181520
-
Edwin Vane authored
The namespaceDecl() ASTMatcher was added in r179027. llvm-svn: 181519
-
Benjamin Kramer authored
That's obviously wrong. Conservatively restrict it to the sign bit, which matches the original intention of this analysis. Fixes PR15940. llvm-svn: 181518
-
Fariborz Jahanian authored
commands (\t \n are common). \\ rdar://12381408 llvm-svn: 181517
-
Rafael Espindola authored
In most cases the relocation type implies the object word size and endianness. llvm-svn: 181515
-
Benjamin Kramer authored
GCC defines only the wrappers, MSVC defines both, we define both now too. PR15844. llvm-svn: 181514
-
Benjamin Kramer authored
llvm-svn: 181513
-
Ashok Thirumurthi authored
Skipping a test that asserts with gcc and icc to allow the test suite to run to completion on the gcc buildbot. llvm-svn: 181512
-
Ashok Thirumurthi authored
Patch by Yao Qi. llvm-svn: 181511
-
Benjamin Kramer authored
llvm-svn: 181510
-
Rafael Espindola authored
llvm-svn: 181509
-
Kai Nacke authored
Add one of my contributions to CREDITS.TXT. llvm-svn: 181508
-
Richard Smith authored
object x, x's subobjects can be constructed by constexpr constructor even if they are of non-literal type, and can be read and written even though they're not members of a constexpr object or temporary. llvm-svn: 181506
-
Ted Kremenek authored
llvm-svn: 181505
-
Ted Kremenek authored
llvm-svn: 181504
-
Rui Ueyama authored
llvm-svn: 181503
-
Rafael Espindola authored
It was only implemented for ELF where it collected the Addend, so this patch also renames it to getRelocationAddend. llvm-svn: 181502
-
Greg Clayton authored
namespace lldb_private { class Thread { virtual lldb::StopInfoSP GetPrivateStopReason() = 0; }; } To not be virtual. The lldb_private::Thread now handles the correct caching and will call a new pure virtual function: namespace lldb_private { class Thread { virtual bool CalculateStopInfo() = 0; } } This function must be overridden by thead lldb_private::Thread subclass and the only thing it needs to do is to set the Thread::StopInfo() with the current stop reason and return true, or return false if there is no stop reason. The lldb_private::Thread class will take care of calling this function only when it is required. This allows lldb_private::Thread subclasses to be a bit simpler and not all need to duplicate the cache and invalidation settings. Also renamed: lldb::StopInfoSP lldb_private::Thread::GetPrivateStopReason(); To: lldb::StopInfoSP lldb_private::Thread::GetPrivateStopInfo(); Also cleaned up a case where the ThreadPlanStepOverBreakpoint might not re-set its breakpoint if the thread disappears (which was happening due to a bug when using the OperatingSystem plug-ins with memory threads and real threads). llvm-svn: 181501
-
Enrico Granata authored
This one actually exploits the SB API to obtain information about your inferior process llvm-svn: 181500
-
Sean Callanan authored
to the DeclContext. This fulfils the contract that we make with Clang by returning ELR_AlreadyLoaded. This is a little aggressive in that it does not allow the ASTImporter to import the child decls with any lexical parent other than the Decl that reported them as children. <rdar://problem/13517713> llvm-svn: 181498
-
Enrico Granata authored
Changing the std::map test case to use source breakpoints instead of relying on the nexting always "getting it right" to stop at the locations of interest This should make us more robust in the face of changing compiler line tables and other library modifications llvm-svn: 181497
-
Eric Christopher authored
temporarily while investigating gdb.cp/templates.exp. This reverts commit r181471. llvm-svn: 181496
-
Arnold Schwaighofer authored
A computable loop exit count does not imply the presence of an induction variable. Scalar evolution can return a value for an infinite loop. Fixes PR15926. llvm-svn: 181495
-
Ted Kremenek authored
Put some diagnostics in DiagnosticCommonKinds.td in a category, mirroring what they are in other .td files. I really dislike the copy-pasting of the category strings. If there is a better way to do this with TableGen, please advise. llvm-svn: 181494
-
Jim Ingham authored
llvm-svn: 181493
-
Rui Ueyama authored
llvm-svn: 181492
-
Nico Weber authored
clang would omit 'C' for 'copy' properties and '&' for 'retain' properties if the property was also 'readonly'. Fix this, which makes clang match gcc4.2's behavior. Fixes PR15928. llvm-svn: 181491
-
Argyrios Kyrtzidis authored
This made sense in pre-module era, before merging of HeaderFileInfos was introduced. Final part of rdar://13840148. llvm-svn: 181490
-