- Nov 10, 2010
-
-
Andrew Trick authored
benchmarks hitting an assertion. Adds LiveIntervalUnion::collectInterferingVRegs. Fixes "late spilling" by checking for any unspillable live vregs among all physReg aliases. llvm-svn: 118701
-
Caroline Tice authored
main thread from having to wait on it (which was causing some I/O hangs). llvm-svn: 118700
-
Rafael Espindola authored
llvm-svn: 118699
-
Dan Gohman authored
instructions instead of hard-coding operand numbers. llvm-svn: 118698
-
Johnny Chen authored
llvm-svn: 118697
-
Dan Gohman authored
their comments. llvm-svn: 118696
-
Johnny Chen authored
@unittest2.skip("rdar://problem/8648070 'expression *bar_ptr' seg faults") It has been fixed by r118672. llvm-svn: 118695
-
Duncan Sands authored
nodes can be used in loops, this could result in infinite looping if there is no recursion limit, so add such a limit. It is also used for the SelectInst case because in theory there could be an infinite loop there too if the basic block is unreachable. llvm-svn: 118694
-
Dan Gohman authored
llvm-svn: 118693
-
Dan Gohman authored
it, and to be consistent. llvm-svn: 118692
-
Jim Ingham authored
llvm-svn: 118691
-
Devang Patel authored
llvm-svn: 118690
-
Fariborz Jahanian authored
other class extensions. // rdar://7629420 llvm-svn: 118689
-
Jim Grosbach authored
double quoting of ObjC symbol names in constant pool entries. rdar://8652107 llvm-svn: 118688
-
Dan Gohman authored
arbitrary memory into a helper function, and adjust some comments. llvm-svn: 118687
-
Dan Gohman authored
indivudal members holding the same data, to clarify the relationship between NonLocalDepResult and NonLocalDepEntry. llvm-svn: 118686
-
Tobias Grosser authored
Store the flags needed to disable optimizations and to emit LLVM-IR depending on the version of llvm-gcc used. llvm-svn: 118684
-
Michael J. Spencer authored
llvm-svn: 118683
-
Michael J. Spencer authored
llvm-svn: 118682
-
Michael J. Spencer authored
llvm-svn: 118681
-
Duncan Sands authored
The simplifications performed here never create new instructions, they only return existing instructions (or a constant), and so are always a win. In theory they should transform (for example) %z = and i32 %x, %y %s = select i1 %cond, i32 %y, i32 %z %r = and i32 %x, %s into %r = and i32 %x, y but in practice they get into a fight with instcombine, and lose. Unfortunately instcombine does a poor job in this case. Nonetheless I'm committing this transform to make it easier to discuss what to do to make peace with instcombine. llvm-svn: 118679
-
NAKAMURA Takumi authored
Win32/Process.inc: [PR8527] Process::FileDescriptorIsDisplayed(fd) should not check by FILE_TYPE_CHAR. It must be better to check it with Console API. The special file "NUL" is FILE_TYPE_CHAR with GetFileType(h). It was treated as display device and discarding output to NUL had failed. (eg. opt -o nul) llvm-svn: 118678
-
Duncan Sands authored
of InputData. llvm-svn: 118677
-
John McCall authored
@property declaration to the autogenerated methods. I'm uncertain whether this should apply to attributes in general, but these are a reasonable core. Implements rdar://problem/8617301 llvm-svn: 118676
-
Ted Kremenek authored
using new/delete and OwningPtrs. After memory profiling Clang, I witnessed periodic leaks of these objects; digging deeper into the code, it was clear that our management of these objects was a mess. The ownership rules were murky at best, and not always followed. Worse, there are plenty of error paths where we could screw up. This patch introduces AttributeList::Factory, which is a factory class that creates AttributeList objects and then blows them away all at once. While conceptually simple, most of the changes in this patch just have to do with migrating over to the new interface. Most of the changes have resulted in some nice simplifications. This new strategy currently holds on to all AttributeList objects during the lifetime of the Parser object. This is easily tunable. If we desire to have more bound the lifetime of AttributeList objects more precisely, we can have the AttributeList::Factory object (in Parser) push/pop its underlying allocator as we enter/leave key methods in the Parser. This means that we get simple memory management while still having the ability to finely control memory use if necessary. Note that because AttributeList objects are now BumpPtrAllocated, we may reduce malloc() traffic in many large files with attributes. This fixes the leak reported in: <rdar://problem/8650003> llvm-svn: 118675
-
Argyrios Kyrtzidis authored
Fixes rdar://8649963. llvm-svn: 118674
-
Rafael Espindola authored
llvm-svn: 118673
-
Greg Clayton authored
comes from by using a virtual function to provide it from the Module's SymbolVendor by default. This allows the DWARF parser, when being used to parse DWARF in .o files with a parent DWARF + debug map parser, to get its type list from the DWARF + debug map parser so when we go and find full definitions for types (that might come from other .o files), we can use the type list from the debug map parser. Otherwise we ended up mixing clang types from one .o file (say a const pointer to a forward declaration "class A") with the a full type from another .o file. This causes expression parsing, when copying the clang types from those parsed by the DWARF parser into the expression AST, to fail -- for good reason. Now all types are created in the same list. Also added host support for crash description strings that can be set before doing a piece of work. On MacOSX, this ties in with CrashReporter support that allows a string to be dispalyed when the app crashes and allows LLDB.framework to print a description string in the crash log. Right now this is hookup up the the CommandInterpreter::HandleCommand() where each command notes that it is about to be executed, so if we crash while trying to do this command, we should be able to see the command that caused LLDB to exit. For all other platforms, this is a nop. llvm-svn: 118672
-
Jim Grosbach authored
VariantKind marker to indicate the additional information necessary. Update MC to handle the new Kinds. rdar://8647623 llvm-svn: 118671
-
John McCall authored
Fixes PR7915. llvm-svn: 118670
-
John McCall authored
Recover from the latter and fail early for the former. Fixes PR8022. llvm-svn: 118669
-
Bruno Cardoso Lopes authored
llvm-svn: 118668
-
Bruno Cardoso Lopes authored
llvm-svn: 118667
-
Sean Callanan authored
ignoring the show_address parameter. llvm-svn: 118666
-
Dale Johannesen authored
order to reduce ((x<<30)>>24) to x<<6, check the correct bits. PR 8547. llvm-svn: 118665
-
Bill Wendling authored
llvm-svn: 118662
-
Jakob Stoklund Olesen authored
llvm-svn: 118661
-
Dan Gohman authored
chaining and simplify FunctionAttrs' GetModRefBehavior logic. llvm-svn: 118660
-
Chris Lattner authored
unknown pragmas should just be passed through to the .i file. llvm-svn: 118659
-
John McCall authored
a positive value into a signed bitfield of the exact width of the value. llvm-svn: 118657
-