summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Resort the #include lines in include/... and lib/... with theChandler Carruth2013-01-0241-53/+41
| | | | | | | | | | utils/sort_includes.py script. Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes. llvm-svn: 171362
* Update the root Makefile for VMCore -> IR. Missed by my original searchChandler Carruth2013-01-021-3/+3
| | | | | | sadly, and is somewhat surprising in general. llvm-svn: 171361
* Update the configure scripts as well as the makefiles for the move fromChandler Carruth2013-01-022-2/+2
| | | | | | VMCore to IR. llvm-svn: 171360
* Rename VMCore directory to IR.Chandler Carruth2013-01-0254-27/+27
| | | | | | | | | | | | | | | | | | Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
* Understand * and & in ternary expressions.Daniel Jasper2013-01-022-1/+6
| | | | | | Before: "int a = b ? *c : * d;" After: "int a = b ? *c : *d; llvm-svn: 171358
* Don't break after pointer or reference specifier.Daniel Jasper2013-01-022-3/+18
| | | | | | | | | | | | | | | This fixes llvm.org/PR14717. Buggy format: TypeSpecDecl * TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) { Now changed to: TypeSpecDecl *TypeSpecDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *II, Type *T) { llvm-svn: 171357
* Merge SSE and AVX instruction definitions for scalar forms of SQRT, RSQRT, ↵Craig Topper2013-01-021-82/+97
| | | | | | and RCP. llvm-svn: 171356
* Merge SSE and AVX instruction definitions for PSHUFD/PSHUFHW/PSHUFLW.Craig Topper2013-01-021-62/+61
| | | | llvm-svn: 171355
* Convert an if that never happens to an assert.Rafael Espindola2013-01-021-3/+2
| | | | llvm-svn: 171354
* docs: update docs/README.txt and make it useful.Sean Silva2013-01-021-6/+18
| | | | llvm-svn: 171353
* Revert 171351. It broke MC/X86/x86-32-avx.s.Rafael Espindola2013-01-021-97/+82
| | | | llvm-svn: 171352
* Merge SSE and AVX instruction definitions for scalar forms of SQRT, RSQRT, ↵Craig Topper2013-01-011-82/+97
| | | | | | and RCP. llvm-svn: 171351
* Simplify vector splat code. No functionality change.Benjamin Kramer2013-01-011-18/+2
| | | | llvm-svn: 171350
* Add IRBuilder::CreateVectorSplat and use it to simplify code.Benjamin Kramer2013-01-013-24/+18
| | | | llvm-svn: 171349
* SROA: Clean up unused assignment warnings from clang's analyzer.Benjamin Kramer2013-01-011-5/+4
| | | | | | No functionality change. llvm-svn: 171348
* Updating CREDITS.TXTHoward Hinnant2013-01-011-0/+4
| | | | llvm-svn: 171347
* Added DEBUG message when ObjCARC replaces a call which returns its argument ↵Michael Gottesman2013-01-011-2/+6
| | | | | | | | | | | verbatim with its argument to temporarily undo an optimization. Specifically these calls return their argument verbatim, as a low-level optimization. However, this makes high-level optimizations harder. We undo any uses of this optimization that the front-end emitted. We redo them later in the contract pass. llvm-svn: 171346
* Added DEBUG messages to the top of several processing loops in ObjCARC.cpp ↵Michael Gottesman2013-01-011-3/+32
| | | | | | | | | that emit what instructions are being visited. This is a part of a larger effort of adding DEBUG messages to the ARC Optimizer Backend. llvm-svn: 171345
* Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ↵Dmitri Gribenko2013-01-012-3/+8
| | | | | | | | | | ModuleID This is done to avoid odd test failures, like the one fixed in r171243. While there, FileCheck'ize tests. llvm-svn: 171344
* Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ↵Dmitri Gribenko2013-01-0129-30/+30
| | | | | | | | | | ModuleID This is done to avoid odd test failures, like the one fixed in r171243. My previous regex was not good enough to find these. llvm-svn: 171343
* Update the copyright coredits -- Happy new year 2013!NAKAMURA Takumi2013-01-0116-24/+24
| | | | llvm-svn: 171342
* Make opt grab the triple from the module and use it to initialize the target ↵Nadav Rotem2013-01-013-13/+10
| | | | | | machine. llvm-svn: 171341
* Remove unused argument from a multiclass.Craig Topper2013-01-011-5/+3
| | | | llvm-svn: 171340
* Merge intrinsic instruction definitions for SSE and AVX versions of RCPPS ↵Craig Topper2013-01-011-30/+34
| | | | | | and RSQRTPS. llvm-svn: 171339
* Remove 2 unused multiclasses.Craig Topper2013-01-011-26/+0
| | | | llvm-svn: 171338
* Merge AVX/SSE instruction definitions for SQRTPS/PD, RSQRTPS, RCPPS. No ↵Craig Topper2013-01-011-47/+58
| | | | | | funcitonal change intended. llvm-svn: 171337
* Use packed instead of scalar itineraries for SSE1/2 SQRTPS/PD, RCPPS, and ↵Craig Topper2012-12-311-6/+6
| | | | | | RSQRTPS. VEX-encoded forms already use packed. llvm-svn: 171336
* Make it explicit that the only entry points to the Program object areChandler Carruth2012-12-311-1/+1
| | | | | | | | | | | through the static helper functions. This is already true throughout the codebase. Slowly, I'm going to re-implement these static helpers in terms of a new process based interface which can expose more information, and remove the program object entirely. llvm-svn: 171335
* Remove an unused method on Program.Chandler Carruth2012-12-313-46/+0
| | | | | | | I'm simplifying this interface as much as I can before merging it with the new process interface. llvm-svn: 171334
* Remove an unused method on the Program class.Chandler Carruth2012-12-313-13/+0
| | | | llvm-svn: 171332
* Go ahead and get rid of the old page size interface and convert all theChandler Carruth2012-12-316-26/+12
| | | | | | | users over to the new one. No sense maintaining this "compatibility" layer it seems. llvm-svn: 171331
* Flesh out a page size accessor in the new API.Chandler Carruth2012-12-315-12/+43
| | | | | | | | Implement the old API in terms of the new one. This simplifies the implementation on Windows which can now re-use the self_process's once initialization. llvm-svn: 171330
* Silence some warnings and allow passing down some feature flags to the linker.Rafael Espindola2012-12-312-0/+30
| | | | | | Patch by Brad Smith. llvm-svn: 171329
* Remove the declspecs from small alignments that we can force withChandler Carruth2012-12-311-5/+12
| | | | | | | | | | | | a union. These don't actually work for by-value function arguments, and MSVC warns if they exist even while (we hope) it aligns the argument correctly due to the other union member. This means MSVC will miss out on optimizations based on the alignment of the buffer, but really, there aren't that many for x86 and MSVC is likely not doing a great job of optimizing LLVM and Clang anyways. llvm-svn: 171328
* Remove an unused function in the old Process interface.Chandler Carruth2012-12-313-35/+0
| | | | llvm-svn: 171327
* reimplement GetPointerBaseWithConstantOffset().Nuno Lopes2012-12-311-31/+21
| | | | | | | The new code is an improved copy of the code I deleted from Analysis/Loads.cpp. One less compute-constant-gep-offset implementation. yay :) llvm-svn: 171326
* recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). ↵Nuno Lopes2012-12-313-12/+155
| | | | | | Hopefully with bugs corrected now. llvm-svn: 171325
* Klaas de Vries: Fix bug in libc++'s std::string::find_first_not_of.Howard Hinnant2012-12-312-1/+3
| | | | llvm-svn: 171321
* [AlignOf] Add AlignedCharArray and refactor AlignedCharArrayUnion.Michael J. Spencer2012-12-312-74/+107
| | | | | | | This adds AlignedCharArray<Alignment, Size>. A templated struct that contains a member named buffer of type char[Size] that is aligned to Alignment. llvm-svn: 171319
* Revert "add support for PHI nodes to ObjectSizeOffsetVisitor"Benjamin Kramer2012-12-312-68/+3
| | | | | | This reverts r171298. Breaks clang selfhost. llvm-svn: 171318
* [CMake] Fix c++ abi library configuration on Linux.Michael J. Spencer2012-12-313-5/+69
| | | | | | | | | | You can now configure from the command line using: -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="path;path Also documents how to build on Linux. llvm-svn: 171316
* Add extra CHECK to make sure that 'or' instruction was replaced.Jakub Staszak2012-12-312-0/+3
| | | | | | Also add an assert to avoid confusion in the code where is known that C1 <= C2. llvm-svn: 171310
* Fix bits check in ELFObjectFile::isSectionZeroInit().Rafael Espindola2012-12-312-5/+2
| | | | | | | | Fixes PR14723. Patch by Sami Liedes! llvm-svn: 171309
* revert r171306, since we cannot compare APInts with different bitwidthsNuno Lopes2012-12-311-1/+1
| | | | llvm-svn: 171308
* use ValueTracking's GetPointerBaseWithConstantOffset() function instead of a ↵Nuno Lopes2012-12-311-36/+8
| | | | | | local implementation llvm-svn: 171307
* minor code simplificationNuno Lopes2012-12-311-1/+1
| | | | llvm-svn: 171306
* Use the generic dump template. Extracted from a patch by Sami Liedes.Rafael Espindola2012-12-311-53/+19
| | | | llvm-svn: 171305
* Dump sections. Extracted from a patch by Sami Liedes.Rafael Espindola2012-12-312-0/+94
| | | | llvm-svn: 171304
* add support for GlobalAlias to ObjectSizeOffsetVisitorNuno Lopes2012-12-312-0/+10
| | | | llvm-svn: 171303
* Print a header above the symbols. Extracted from a patch by Sami Liedes.Rafael Espindola2012-12-312-0/+14
| | | | llvm-svn: 171302
OpenPOWER on IntegriCloud