- Sep 09, 2011
-
-
Jakob Stoklund Olesen authored
In some cases such as interpreters using indirectbr, the CFG can be very complicated, and live range splitting may be forced to insert a large number of phi-defs. When that happens, traceSiblingValue can spend a lot of time zipping around in the CFG looking for defs and reloads. This patch causes more information to be cached in SibValues, and the cached values are used to terminate searches early. This speeds up spilling by 20x in one interpreter test case. For more typical code, this is just a 10% speedup of spilling. The previous version had bugs that caused miscompilations. They have been fixed. llvm-svn: 139378
-
Enrico Granata authored
--show-aliases (-a) shows aliases for commands, as well as built-in commands --hide-user-defined (-u) hides user defined commands by default 'help' without arguments does not show aliases anymore. to see them, add --show-aliases to have only built-in commands appear, use 'help --hide-user-defined' ; there is currently no way to hide built-in commands from the help output 'help command' is not changed by this commit, and help is shown even if command is an alias and -a is not specified llvm-svn: 139377
-
Johnny Chen authored
./build-swig-Python.sh: line 76: INTERFACE_FILES: command not found when running SWIG, which was introduced during the last checkin. llvm-svn: 139376
-
Andrew Trick authored
llvm-svn: 139375
-
Devang Patel authored
llvm-svn: 139374
-
Douglas Gregor authored
construct a new DeclRefExpr rather than re-using the existing DeclRefExpr. Patch by Likai Liu, fixes PR8345. llvm-svn: 139373
-
Enrico Granata authored
llvm-svn: 139372
-
Jim Grosbach authored
llvm-svn: 139371
-
Caitlin Sadowski authored
Thread safety: This patch deals with previously unhandled cases when building lock expressions. We now resolve this expressions, avoid crashing when encountering cast expressions, and have a diagnostic for unresolved lock expressions llvm-svn: 139370
-
Caitlin Sadowski authored
llvm-svn: 139369
-
Caitlin Sadowski authored
llvm-svn: 139368
-
Caitlin Sadowski authored
llvm-svn: 139367
-
Francois Pichet authored
llvm-svn: 139364
-
Tobias Grosser authored
llvm-svn: 139363
-
Tobias Grosser authored
llvm-svn: 139362
-
John McCall authored
what 'nullPos' is supposed to mean, at least at this one site. Use closed forms for the arithmetic. Rip out some clever but ultimately pointless code that was trying to use 0 or 0L depending the size of a pointer vs. the size of int; first, it didn't work on LLP64 systems, and second, the sentinel checking code requires a pointer-typed value anyway, so this fixit would not have actually removed the warning. llvm-svn: 139361
-
Duncan Sands authored
any given function. As pointed out by John McCall, this is needed to have redundant eh.typeid.for tests be eliminated in the presence of cleanups. llvm-svn: 139360
-
Argyrios Kyrtzidis authored
instead of codegen waiting to consume such a declaration, which won't happen if that decls are coming from a PCH. Fixes rdar://10028656. llvm-svn: 139359
-
Argyrios Kyrtzidis authored
in the translation unit. llvm-svn: 139358
-
Argyrios Kyrtzidis authored
llvm-svn: 139357
-
Craig Topper authored
llvm-svn: 139356
-
John McCall authored
llvm-svn: 139355
-
John McCall authored
converting to an arbitrary Objective-C pointer type is. Without significantly re-implementing anything, change the API to reflect this, and as a minor optimization, strip the pointer conversion off before potentially building it. Mostly, this removes a really bizarre-looking bit of code from BuildInstanceMessage. llvm-svn: 139354
-
Craig Topper authored
Fix handling of Intel syntax disassembling of movs and stos to stop being blank. Also fixed scas, and cmps to always print size suffix in Intel syntax since its abiguous without arguments. Fixes PR10875. llvm-svn: 139353
-
John McCall authored
than conversions of C pointers to ObjC pointers. In order to ensure that we've caught every case, add asserts to CastExpr that strictly determine which cast kind is used for which kind of bit cast. llvm-svn: 139352
-
Richard Trieu authored
Clean up the RebuildUnknownAnyExpr visitor in SemaExpr.cpp. Mainly swapped around variable names so that this visitor be more like other visitors in clang. llvm-svn: 139351
-
Richard Trieu authored
Changed references of BaseTy, MemInitTy, CXXScopeTy, TemplateParamsTy to CXXBaseSpecifier, CXXCtorInitializer, NestedNameSpecifier, TemplateParameterList and removed their typedefs. llvm-svn: 139350
-
Richard Trieu authored
Change references to StmtTy to Stmt and removed typedefs of StmtTy. Also removed typedef of AttrTy since it is not used. llvm-svn: 139349
-
Douglas Gregor authored
indicates that a declaration is only visible within the module it is declared in. llvm-svn: 139348
-
Richard Trieu authored
llvm-svn: 139347
-
Richard Trieu authored
Capitialize paramater names in SemaExpr.cpp and resolve any parameter name conflicts between declarations and definitions from this and previous refactorings. llvm-svn: 139346
-
Enrico Granata authored
llvm-svn: 139345
-
Akira Hatanaka authored
removing support for Mips1 and Mips2. This change and the ones that follow have been discussed with and approved by Bruno. llvm-svn: 139344
-
Benjamin Kramer authored
llvm-svn: 139343
-
Johnny Chen authored
llvm-svn: 139342
-
Nick Lewycky authored
MachOObjectFile.cpp:524: error: unused variable 'NumLoadCommands' [-Wunused-variable] llvm-svn: 139341
-
Ivan Krasin authored
llvm-svn: 139340
-
Akira Hatanaka authored
llvm-svn: 139339
-
Johnny Chen authored
llvm-svn: 139338
-
Enrico Granata authored
Basic infrastructure code to exploit malloc stack logging as available on Mac OS X to track the allocation history of pointers on the target process llvm-svn: 139337
-