- Aug 10, 2012
-
-
Joerg Sonnenberger authored
includes both. Deal with feof and ferror potentially being macros. llvm-svn: 161658
-
Joerg Sonnenberger authored
llvm-svn: 161657
-
Benjamin Kramer authored
llvm-svn: 161656
-
NAKAMURA Takumi authored
llvm-svn: 161655
-
Pete Cooper authored
Fix crash when when do lto on Bullet. Dynamic GEPs in SROA were incorrectly being applied to all accesses to an alloca, not just the ones which read from the GEP. Thanks to Evan for reducing the test. rdar://11861001 llvm-svn: 161654
-
Jakob Stoklund Olesen authored
When replacing Old with New, it can happen that New is already a successor. Add the old and new edge weights instead of creating a duplicate edge. llvm-svn: 161653
-
John McCall authored
things going on here that were problematic: - We were missing the actual access check, or rather, it was suppressed on account of being a redeclaration lookup. - The access check would naturally happen during delay, which isn't appropriate in this case. - We weren't actually emitting dependent diagnostics associated with class templates, which was unfortunate. - Access was being propagated incorrectly for friend method declarations that couldn't be matched at parse-time. llvm-svn: 161652
-
Rafael Espindola authored
switched from a bytecode+bzip2 to the current bitcode. llvm-svn: 161651
-
Jordan Rose authored
The old behavior was to re-scan any files (like modules) where we may have directives but won't actually be parsing during the -verify invocation. Now, we keep the old behavior in Debug builds as a sanity check (though modules are a known entity), and expect all legitimate directives to come from comments seen by the preprocessor. This also affects the ARC migration tool, which captures diagnostics in order to filter some out. This change adds an explicit cleanup to CaptureDiagnosticsConsumer in order to let its sub-consumer handle the real end of diagnostics. This was originally split into four patches, but the tests do not run cleanly without all four, so I've combined them into one commit. Patches by Andy Gibbs, with slight modifications from me. llvm-svn: 161650
-
Jordan Rose authored
Patch by Andy Gibbs! llvm-svn: 161649
-
David Blaikie authored
This also provides isConst/Volatile/Restrict on FunctionTypes to coalesce the implementation with other callers (& update those other callers). Patch contributed by Sam Panzer (panzer@google.com). llvm-svn: 161647
-
Bob Wilson authored
We've switched to a 3-component version numbering scheme for Apple releases, and with this scheme, the final number is the one most relevant for setting LLVM_MINOR_VERSION. <rdar://problem/12071459> llvm-svn: 161645
-
Jakob Stoklund Olesen authored
No changes to these patches, MRI needed to be notified when changing uses into defs and vice versa. llvm-svn: 161644
-
Jakob Stoklund Olesen authored
This was the cause of the buildbot failures. llvm-svn: 161643
-
Chad Rosier authored
llvm-svn: 161642
-
Chad Rosier authored
This new attribute is intended to be used by the backend to determine how the inline asm string should be parsed/printed. This patch adds the ia_nsdialect attribute and also adds a test case to ensure the IR is correctly parsed, but there is no functional change at this time. The standard dialect is assumed to be AT&T. Therefore, this attribute should only be added to MS-style inline assembly statements, which use the Intel dialect. If we ever support more dialects we'll need to add additional state to the attribute. llvm-svn: 161641
-
Jakob Stoklund Olesen authored
These commits broke a number of buildbots. llvm-svn: 161640
-
Johnny Chen authored
Forgot to check in this file. Oops! llvm-svn: 161639
-
rdar://problem/11457143Johnny Chen authored
Add 'watchpoint command add/delete/list' to lldb, plus two .py test files. llvm-svn: 161638
-
Jordan Rose authored
Both methods need to clear out existing bindings and provide a new default binding. Originally KillStruct always provided UnknownVal as the default, but it's allowed symbolic values for quite some time (for handling returned structs in C). No functionality change. llvm-svn: 161637
-
Jordan Rose authored
This should speed up activities that need to access bindings by cluster, such as invalidation and dead-bindings cleaning. In some cases all we save is the cost of building the region cluster map, but other times we can actually avoid traversing the rest of the store. In casual testing, this produced a speedup of nearly 10% analyzing SQLite, with /less/ memory used. llvm-svn: 161636
-
Jordan Rose authored
This makes it faster to access and invalidate bindings with symbolic offsets by only computing this information once. No intended functionality change. llvm-svn: 161635
-
Jakob Stoklund Olesen authored
This makes it possible to speed up def_iterator by stopping at the first use. This makes def_empty() and getUniqueVRegDef() much faster when there are many uses. In a +Asserts build, LiveVariables is 100x faster in one case because getVRegDef() has an assertion that would scan to the end of a def_iterator chain. Spill weight calculation is significantly faster (300x in one case) because isTriviallyReMaterializable() calls MRI->isConstantPhysReg(%RIP) which calls def_empty(%RIP). llvm-svn: 161634
-
Jakob Stoklund Olesen authored
Use a more conventional doubly linked list where the Prev pointers form a cycle. This means it is no longer necessary to adjust the Prev pointers when reallocating the VRegInfo array. The test changes are required because the register allocation hint is using the use-list order to break ties. llvm-svn: 161633
-
Jakob Stoklund Olesen authored
Register MachineOperands are kept in linked lists accessible via MRI's reg_iterator interfaces. The linked list management was handled partly by MachineOperand methods, partly by MRI methods. Move all of the list management into MRI, delete MO::AddRegOperandToRegInfo() and MO::RemoveRegOperandFromRegInfo(). Be more explicit about handling the cases where an MRI pointer isn't available. llvm-svn: 161632
-
Jordan Rose authored
This was triggering -Woverloaded-virtual, but there's really no reason for the cast version to be virtual anyway. It just calls through to the QualType entry point. llvm-svn: 161631
-
Eli Friedman authored
llvm-svn: 161630
-
Benjamin Kramer authored
Should fix the failures seen on some linux builders. llvm-svn: 161629
-
Eric Christopher authored
the register info for getEncodingValue. This builds on the small patch of yesterday to set HWEncoding in the register file. One (deprecated) use was turned into a hard number to avoid needing register info in the old JIT. llvm-svn: 161628
-
Jakob Stoklund Olesen authored
No test case, the crash only happens when the default use list order is changed. llvm-svn: 161627
-
Jakob Stoklund Olesen authored
llvm-svn: 161626
-
Johnny Chen authored
Added back member initialization for m_batch_command_mode, which was most likely removed accidentally a while back. The consequence occurred recently probably due to our swicth to build with c++11. This fixed 3 test failures. llvm-svn: 161625
-
Chad Rosier authored
This new API will be used by clang to parse ms-style inline asms. One goal of this project is to use this style of inline asm for targets other then x86. Therefore, this API needs to be implemented for non-x86 targets at some point in the future. llvm-svn: 161624
-
rdar://problem/11578397Enrico Granata authored
<rdar://problem/11578397> Adding a new --summary-string option for the frame variable command which allows the user to provide a summary string with which he wants to display the variables without having to make a named summary first llvm-svn: 161623
-
- Aug 09, 2012
-
-
Chad Rosier authored
llvm-svn: 161622
-
Jordan Rose authored
An ASTContext's RecordLayoutInfo can only be used to look up offsets of direct base classes, and we need the offset to make non-symbolic bindings in RegionStore. This change makes sure that we have one layer of CXXBaseObjectRegion for each base we are casting through. This was causing crashes on an internal buildbot. llvm-svn: 161621
-
Fariborz Jahanian authored
llvm-svn: 161620
-
Chad Rosier authored
llvm-svn: 161619
-
Chandler Carruth authored
of PARALLEL_DIRS are. They apparantly aren't what either Nick, Eric, or I thought. ;] Should let the bots make forward progress. llvm-svn: 161618
-
Anna Zaks authored
llvm-svn: 161617
-