- Jan 25, 2013
-
-
Nick Lewycky authored
llvm-svn: 173429
-
NAKAMURA Takumi authored
llvm-svn: 173428
-
Andrew Trick authored
This fixes DAG subtree analysis at the boundary. llvm-svn: 173427
-
Andrew Trick authored
Maintain separate per-node and per-tree book-keeping. Track all instructions above a DAG node including nested subtrees. Seperately track instructions within a subtree. Record subtree parents. llvm-svn: 173426
-
Andrew Trick authored
Allow the strategy to select SchedDFS. Allow the results of SchedDFS to affect initialization of the scheduler state. llvm-svn: 173425
-
Andrew Trick authored
llvm-svn: 173424
-
Andrew Trick authored
llvm-svn: 173423
-
NAKAMURA Takumi authored
clang/test/Index/crash-recovery-*.c: Drop 'REQUIRES:shell". "test !" is available on Lit win32 since r173421. llvm-svn: 173422
-
NAKAMURA Takumi authored
llvm-svn: 173421
-
Andrew Trick authored
This is mostly refactoring, along with adding an instruction count within the subtrees and ensuring we only look at data edges. llvm-svn: 173420
-
NAKAMURA Takumi authored
llvm-svn: 173419
-
NAKAMURA Takumi authored
clang/test/CodeGenCXX/debug-info-static-member.cpp: Appease targetting msvc to add explicit -target x86_64-unknown-unknown. with -target i686-win32, you will see; debug-info-static-member.cpp:11:22: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init] const static float const_b = 3.14; ^ ~~~~ constexpr llvm-svn: 173418
-
Chandler Carruth authored
loops over instructions in the basic block or the use-def list of the value, neither of which are really efficient when repeatedly querying about values in the same basic block. What's more, we already know that the CondBB is small, and so we can do a much more efficient test by counting the uses in CondBB, and seeing if those account for all of the uses. Finally, we shouldn't blanket fail on any such instruction, instead we should conservatively assume that those instructions are part of the cost. Note that this actually fixes a bug in the pass because isUsedInBasicBlock has a really terrible bug in it. I'll fix that in my next commit, but the fix for it would make this code suddenly take the compile time hit I thought it already was taking, so I wanted to go ahead and migrate this code to a faster & better pattern. The bug in isUsedInBasicBlock was also causing other tests to test the wrong thing entirely: for example we weren't actually disabling speculation for floating point operations as intended (and tested), but the test passed because we failed to speculate them due to the isUsedInBasicBlock failure. llvm-svn: 173417
-
NAKAMURA Takumi authored
These files had been ignored. - clang_f_opts.h - debug-comp-dir.S - debug-main-file.S llvm-svn: 173416
-
NAKAMURA Takumi authored
llvm-svn: 173415
-
Richard Smith authored
and split it out of -Wgnu into its own warning flag. * In C++11, this is now a hard error (GCC has no extension here in C++11 mode). The error can be disabled with -Wno-static-float-init, and has a fixit to add 'constexpr'. * In C++98, this is still an ExtWarn, but is now controlled by -Wstatic-float-init as well as -Wgnu. llvm-svn: 173414
-
Andrew Trick authored
interface and allow other strategies to select it. llvm-svn: 173413
-
Daniel Dunbar authored
llvm-svn: 173412
-
Daniel Dunbar authored
llvm-svn: 173411
-
Daniel Dunbar authored
GCC docs. - Found by inspection. llvm-svn: 173410
-
Daniel Dunbar authored
llvm-svn: 173409
-
NAKAMURA Takumi authored
llvm-svn: 173408
-
Jack Carter authored
directive for the Mips assembler. Contributer: Vladimir Medic llvm-svn: 173407
-
rdar://problem/13072285Jason Molenda authored
Change the GDBRemoteRegisterContext::AddRegister function to take its RegisterInfo argument by value instead of using a reference - it will modify the object and modifying the contents of the g_register_infos table in GDBRemoteRegisterContext.cpp can cause a crash the next time we step through it. llvm-svn: 173406
-
Douglas Gregor authored
AST reader. The global module index tracks all of the identifiers known to a set of module files. Lookup of those identifiers looks first in the global module index, which returns the set of module files in which that identifier can be found. The AST reader only needs to look into those module files and any module files not known to the global index (e.g., because they were (re)built after the global index), reducing the number of on-disk hash tables to visit. For an example source I'm looking at, we go from 237844 total identifier lookups into on-disk hash tables down to 126817. Unfortunately, this does not translate into a performance advantage. At best, it's a wash once the global module index has been built, but that's ignore the cost of building the global module index (which is itself fairly large). Profiles show that the global module index code is far less efficient than it should be; optimizing it might give enough of an advantage to justify its continued inclusion. llvm-svn: 173405
-
Douglas Gregor authored
"-fmodules-global-index" and expand its behavior to include both the use and generation of the global module index. llvm-svn: 173404
-
Douglas Gregor authored
identifiers within the AST file reader. llvm-svn: 173403
-
Daniel Malea authored
- introduce new variable ARCHFLAG in make/Makefile.rules to switch between "-arch" on Mac and "-m" everywhere else - update testcase makefiles to use LD_EXTRAS instead of LDFLAGS (the former interacts with Makefile.rules badly) - special treatment for gcc 4.6: replace "-std=c++11" with "-std=c++0x" as the former is not handled correctly - remove hardcoded "-arch" from test Makefile This patch should not have any effect on lldb on Mac OS X. llvm-svn: 173402
-
Akira Hatanaka authored
llvm-svn: 173401
-
Jordan Rose authored
Thanks, Dmitri. llvm-svn: 173400
-
Andrew Trick authored
For sanity, create a root when NumDataSuccs >= 4. Splitting large subtrees will no longer be detrimental after my next checkin to handle nested tree. A magic number of 4 is fine because single subtrees seldom rejoin more than this. It makes subtrees easier to visualize and heuristics more sane. llvm-svn: 173399
-
Andrew Trick authored
llvm-svn: 173398
-
Richard Smith authored
for template instantiations, and use it to simplify the implementation of FunctionDecl::isInlined(). This incidentally changes the result of isInlined on a declared-but-not-defined non-inline member function from true to false. This is sort of a bug fix, but currently isInlined is only called on function definitions, so it has no visible effects. llvm-svn: 173397
-
Dmitri Gribenko authored
llvm-svn: 173396
-
Jakob Stoklund Olesen authored
Patch by Stefan Hepp. llvm-svn: 173395
-
Daniel Malea authored
- Add new decorator "@skipIfGcc" to lldbtest.py llvm-svn: 173394
-
Dmitri Gribenko authored
llvm-svn: 173393
-
Anna Zaks authored
llvm-svn: 173392
-
Dmitri Gribenko authored
llvm-svn: 173391
-
Jim Ingham authored
handler. Also put in string translations for a couple of exceptions we were missing. llvm-svn: 173390
-