- Mar 14, 2012
-
-
Sebastian Redl authored
llvm-svn: 152721
-
Erik Verbruggen authored
longer needed as the CFG is fully linearized. llvm-svn: 152720
-
David Chisnall authored
llvm-svn: 152718
-
David Chisnall authored
llvm-svn: 152717
-
David Chisnall authored
llvm-svn: 152716
-
Eli Bendersky authored
llvm-svn: 152712
-
Benjamin Kramer authored
llvm-svn: 152711
-
Benjamin Kramer authored
llvm-svn: 152710
-
Daniel Dunbar authored
[Basic] Change DiagnosticBuilder to use a separate status variable to track whether the builder is active. - This may seem superflous, but actually this allows the optimizer to more easily eliminate the isActive() checks needed by the SemaDiagnosticBuilder and DiagnosticBuilder dtors. And by more easily, I mean the current LLVM is actually able to do one and not the other. :) This is good for another 20k code size reduction. llvm-svn: 152709
-
Daniel Dunbar authored
- As with DiagnosticBuilder, it is very important that SemaDiagnosticBuilder be completely inline to ensure that the compiler can rip it apart and sink it to registers. This is good for another 30k reduction in code size. llvm-svn: 152708
-
Bill Wendling authored
Also do some minor reformatting. llvm-svn: 152707
-
Chandler Carruth authored
a worklist rather than a recursive call. No functionality changed. llvm-svn: 152706
-
Bill Wendling authored
There were cases where a value could be used and it's both crossing an invoke and NOT crossing an invoke. This could happen in the landing pads. In that case, we will demote the value to the stack like we did before. <rdar://problem/10609139> llvm-svn: 152705
-
Bill Wendling authored
expensive "getFirstTerminator" call. This reduces the time of compilation in PR12258 from >10 minutes to < 10 seconds. llvm-svn: 152704
-
Eli Bendersky authored
llvm-svn: 152703
-
Eli Bendersky authored
llvm-svn: 152702
-
Andrew Trick authored
New flags: -misched-topdown, -misched-bottomup. They can be used with the default scheduler or with -misched=shuffle. Without either topdown/bottomup flag -misched=shuffle now alternates scheduling direction. LiveIntervals update is unimplemented with bottom-up scheduling, so only -misched-topdown currently works. Capped the ScheduleDAG hierarchy with a concrete ScheduleDAGMI class. ScheduleDAGMI is aware of the top and bottom of the unscheduled zone within the current region. Scheduling policy can be plugged into the ScheduleDAGMI driver by implementing MachineSchedStrategy. ConvergingScheduler is now the default scheduling algorithm. It exercises the new driver but still does no reordering. llvm-svn: 152700
-
Andrew Trick authored
llvm-svn: 152699
-
rdar://problem/10434005Greg Clayton authored
Prepare LLDB to be built with C++11 by hiding all accesses to std::tr1 behind macros that allows us to easily compile for either C++. llvm-svn: 152698
-
Eric Christopher authored
output (we're emitting a specification already and the information isn't changing). Saves 1% on the debug information for a build of llvm. Fixes rdar://11043421 llvm-svn: 152697
-
rdar://problem/11042408Greg Clayton authored
Fixed an issue with the FUNC_STARTS load command where we would get the symbol size wrong and we would add all sorts of symbols due to bit zero being set to indicate thumb. llvm-svn: 152696
-
Matt Beaumont-Gay authored
llvm-svn: 152695
-
Benjamin Kramer authored
Also check the error message. llvm-svn: 152694
-
Nick Kledzik authored
llvm-svn: 152693
-
Benjamin Kramer authored
llvm-svn: 152692
-
Eric Christopher authored
args. Fixes rdar://11042577 llvm-svn: 152691
-
Jason Molenda authored
llvm-svn: 152689
-
Benjamin Kramer authored
llvm-svn: 152688
-
Jason Molenda authored
llvm-svn: 152687
-
Chad Rosier authored
llvm-svn: 152686
-
Fariborz Jahanian authored
field. // rdar://11040024 llvm-svn: 152685
-
Chad Rosier authored
rdar://10963572 llvm-svn: 152684
-
Eric Christopher authored
function templates as well. A future commit will mangle the added name with the template args like classes are mangled. Fixes rdar://10986010 llvm-svn: 152683
-
David Blaikie authored
"struct{template struct{" would fail an assertion. This assertion failure seems to have gone away somewhere along the line so here's a test to make sure we don't regress. We still accept some very weird explicit template 'instantiations' ("template int;", anyone) but at least we're not asserting/crashing here. llvm-svn: 152681 -
Jason Molenda authored
Also add a copy files phase for -target ios that installs the debugserver launch plists. llvm-svn: 152680
-
rdar://problem/11034170Greg Clayton authored
Simplify the locking strategy for Module and its owned objects to always use the Module's mutex to avoid A/B deadlocks. We had a case where a symbol vendor was locking itself and then calling a function that would try to get it's Module's mutex and at the same time another thread had the Module mutex that was trying to get the SymbolVendor mutex. Now any classes that inherit from ModuleChild should use the module lock using code like: void ModuleChildSubclass::Function { ModuleSP module_sp(GetModule()); if (module_sp) { lldb_private::Mutex::Locker locker(module_sp->GetMutex()); ... do work here... } } This will help avoid deadlocks by using as few locks as possible for a module and all its child objects and also enforce detecting if a module has gone away (the ModuleSP will be returned empty if the weak_ptr does refer to a valid object anymore). llvm-svn: 152679 -
Evan Cheng authored
Fortify r152675 a bit. Although I'm not able to come up with a test case that would trigger the truncation case. llvm-svn: 152678
-
Anna Zaks authored
llvm-svn: 152677
-
Anna Zaks authored
respectively. llvm-svn: 152676
-
Evan Cheng authored
(i16 load $addr+c*sizeof(i16)) and replace uses of (i32 vextract) with the i16 load. It should issue an extload instead: (i32 extload $addr+c*sizeof(i16)). rdar://11035895 llvm-svn: 152675
-