summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert r163099 per chandlerc's request.Joao Matos2012-09-043-9/+1
| | | | llvm-svn: 163147
* Revert r163076 per chandlerc's request.Joao Matos2012-09-042-39/+22
| | | | llvm-svn: 163146
* Revert r163078 per chandlerc's request.Joao Matos2012-09-045-62/+26
| | | | llvm-svn: 163145
* [ms-inline asm] The MCInstrDesc only tracks register definitions. For now,Chad Rosier2012-09-042-3/+3
| | | | | | | assume that if the 1st operands is an expression and the instruction mayStore, then it is a memory definition. llvm-svn: 163144
* [ms-inline asm] Fix an illegal index and an 80-column violation.Chad Rosier2012-09-041-7/+7
| | | | llvm-svn: 163143
* Fix 80-column violation.Chad Rosier2012-09-041-2/+2
| | | | llvm-svn: 163142
* Patch from Filipe Cabecinhas that uses argparse in dotest.py instead of a ↵Greg Clayton2012-09-041-305/+237
| | | | | | | | | | | | | | | | | hand coded option. I made a few modifications: Changed the '-A' option to also have a long option of '--arch'. This is now specified multiple times to get multiple architectures. Old: -A i386^x86_64 New: -A i386 -A x86_64 --arch i386 --arch x86_64 Changed the '-C' option to also have a long option of '--compiler'. This is now specified multiple times to get multiple compiler. Old: -C clang^gcc New: -C clang -C gcc --compiler clang --compiler gcc llvm-svn: 163141
* [Sanitizer] Support for reading inlined frames from llvm-symbolizerAlexey Samsonov2012-09-042-45/+96
| | | | llvm-svn: 163140
* Patch from info from Daniel Malea that should fix the build on linux after ↵Greg Clayton2012-09-042-0/+3
| | | | | | fixes committed with revision 162860. llvm-svn: 163139
* [compiler-rt] Recurse into 'utils' directory in CMake build of compiler-rt, ↵Alexey Samsonov2012-09-044-1/+22
| | | | | | enable build of llvm-symbolizer binary (currently for one target only) llvm-svn: 163138
* Porting Hexagon MI Scheduler to the new API.Sergei Larin2012-09-0411-5/+1381
| | | | | | | Change current Hexagon MI scheduler to use new converging scheduler. Integrates DFA resource model into it. llvm-svn: 163137
* Patch to implement UMLAL/SMLAL instructions for the ARM architectureArnold Schwaighofer2012-09-047-17/+339
| | | | | | | | | | | This patch corrects the definition of umlal/smlal instructions and adds support for matching them to the ARM dag combiner. Bug 12213 Patch by Yin Ma! llvm-svn: 163136
* Improved "objc_refs" a bit to be able to find all instances of a class'Greg Clayton2012-09-043-13/+132
| | | | | | | superclasses on top of finding the exact class. The current attempt is still too slow, but it lays the groundwork. llvm-svn: 163135
* This patch optimizes shuffle instruction - generates 2 instructions instead ↵Elena Demikhovsky2012-09-042-22/+21
| | | | | | | | | | | | | | | | | | | | of 4. Since this specific shuffle is widely used in many workloads we have ~10% performance on them. shufflevector <8 x float> %A, <8 x float> %B, <8 x i32> <i32 0, i32 8, i32 2, i32 10, i32 4, i32 12, i32 6, i32 14> vmovaps (%rdx), %ymm0 vshufps $8, %ymm0, %ymm0, %ymm0 vmovaps (%rcx), %ymm1 vshufps $8, %ymm0, %ymm1, %ymm1 vunpcklps %ymm0, %ymm1, %ymm0 vmovaps (%rcx), %ymm0 vmovsldup (%rdx), %ymm1 vblendps $85, %ymm0, %ymm1, %ymm0 llvm-svn: 163134
* [Sanitizer] llvm-symbolizer util: make it more conforming to LLVM code ↵Alexey Samsonov2012-09-042-237/+316
| | | | | | style, and support fetching inlining info llvm-svn: 163133
* LICM may hoist an instruction with undefined behavior above a trap.Nadav Rotem2012-09-042-8/+57
| | | | | | | | | | Scan the body of the loop and find instructions that may trap. Use this information when deciding if it is safe to hoist or sink instructions. Notice that we can optimize the search of instructions that may throw in the case of nested loops. rdar://11518836 llvm-svn: 163132
* Fix Android build of gtest and lib/Support.Evgeniy Stepanov2012-09-044-6/+16
| | | | llvm-svn: 163131
* Add dependency to intrinsics_genTobias Grosser2012-09-041-0/+5
| | | | | | | | | | The IndVarSimplify pass in Polly uses the intrinsics header. We need to ensure that the header is generated, before we use it. This patch fixes the problem for the cmake build (it did not show up in the autoconf one). Contributed by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> llvm-svn: 163130
* Add support for fetching inlining context (stack of source code locations)Alexey Samsonov2012-09-0412-90/+361
| | | | | | | | | | | by instruction address from DWARF. Add --inlining flag to llvm-dwarfdump to demonstrate and test this functionality, so that "llvm-dwarfdump --inlining --address=0x..." now works much like "addr2line -i 0x...", provided that the binary has debug info (Clang's -gline-tables-only *is* enough). llvm-svn: 163128
* Be conservative about allocations that may alias the accessed pointer.Bob Wilson2012-09-041-0/+3
| | | | | | | | | | If an allocation has a must-alias relation to the access pointer, we treat it as a Def. Otherwise, without this check, the code here was just skipping over the allocation call and ignoring it. I noticed this by inspection and don't have a specific testcase that it breaks, but it seems like we need to treat a may-alias allocation as a Clobber. llvm-svn: 163127
* [ms-inline asm] Use the new GetMCInstOperandNum() interface in the front-end.Chad Rosier2012-09-031-3/+20
| | | | llvm-svn: 163126
* [ms-inline asm] Make comment more verbose and add an assert.Chad Rosier2012-09-031-1/+2
| | | | llvm-svn: 163125
* [ms-inline asm] Asm operands can map to one or more MCOperands. Therefore, addChad Rosier2012-09-036-11/+33
| | | | | | | the NumMCOperands argument to the GetMCInstOperandNum() function that is set to the number of MCOperands this asm operand mapped to. llvm-svn: 163124
* [ms-inline asm] Add a comment.Chad Rosier2012-09-031-0/+3
| | | | llvm-svn: 163123
* [ms-inline asm] Add an interface to the GetMCInstOperandNum() function in theChad Rosier2012-09-036-6/+40
| | | | | | MCTargetAsmParser class. llvm-svn: 163122
* [cindex.py] Allow to configure the path of libclangTobias Grosser2012-09-031-134/+189
| | | | | | | | | | | By calling cindex.Config.set_library_path(path) or cindex.Config.set_library_file(file) it is possible to specify from where we load libclang. This fixes an open FIXME. We also point the user to these functions, in case libclang can not be loaded sucessfully. llvm-svn: 163121
* Some minor mingw64 porting tweaks from Glen.Howard Hinnant2012-09-032-4/+9
| | | | llvm-svn: 163120
* Remove extraneous return.Chad Rosier2012-09-031-1/+1
| | | | llvm-svn: 163119
* [ms-inline asm] Return the MCOperandNum instead of passing a reference.Chad Rosier2012-09-031-10/+9
| | | | llvm-svn: 163118
* Remove always true checks. Noticed by Adhemerval Zanella.Roman Divacky2012-09-031-2/+2
| | | | llvm-svn: 163117
* Add braces to the case statement.Chad Rosier2012-09-031-1/+2
| | | | llvm-svn: 163116
* IRBuilderify the SjlLjEHPrepare pass.Benjamin Kramer2012-09-031-57/+25
| | | | | | No functionality change. llvm-svn: 163115
* test/Driver/android-standalone.cpp: Fix test failure on Windowns, again.NAKAMURA Takumi2012-09-031-1/+1
| | | | llvm-svn: 163114
* Improved the warning for the #@ Microsoft charizing operator. The existing ↵Joao Matos2012-09-031-1/+1
| | | | | | one misspelled the token as "@#" and didn't capitalize Microsoft. llvm-svn: 163113
* Fix test failure on Windowns.Evgeniy Stepanov2012-09-031-1/+1
| | | | llvm-svn: 163112
* Follow-up on r163110 - forgot to commit some new tests...Timur Iskhodzhanov2012-09-031-0/+78
| | | | llvm-svn: 163111
* Fix PR13444 - wrong mangling of "const char * const *" and friends with ↵Timur Iskhodzhanov2012-09-033-75/+105
| | | | | | "-cxx-abi microsoft" llvm-svn: 163110
* Android standalone toolchain support.Evgeniy Stepanov2012-09-0317-16/+44
| | | | | | | | This change adds detection of C++ headers and libraries paths when building with the standalone toolchain from Android NDK. They are in a slightly unusual place. llvm-svn: 163109
* Update isl to a newer versionTobias Grosser2012-09-031-1/+1
| | | | | | | | This fixes some undefined behavior in isl. Reported by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> llvm-svn: 163108
* When updating live range endpoints, make sure to preserve the early clobber bit.Lang Hames2012-09-031-2/+2
| | | | | | Fixs PR13719. llvm-svn: 163107
* Fix more fallout from r158919, similar to PR13547.Bob Wilson2012-09-032-2/+21
| | | | | | | | | This code used to only handle malloc-like calls, which do not read memory. r158919 changed it to check isNoAliasFn(), which includes strdup-like and realloc-like calls, but it was not checking for dependencies on the memory read by those calls. llvm-svn: 163106
* Removed unused argument.Chad Rosier2012-09-031-3/+2
| | | | llvm-svn: 163105
* Removed unused argument.Chad Rosier2012-09-035-24/+20
| | | | llvm-svn: 163104
* some peepholes that should match horizontal add/sub operations.Chris Lattner2012-09-031-0/+12
| | | | llvm-svn: 163103
* [ms-inline asm] Update for the MatchInstruction API change in r163101.Chad Rosier2012-09-031-5/+7
| | | | llvm-svn: 163102
* [ms-inline asm] Expose the Kind and Opcode variables from theChad Rosier2012-09-035-17/+34
| | | | | | | | | | MatchInstructionImpl() function. These values are used by the ConvertToMCInst() function to index into the ConversionTable. The values are also needed to call the GetMCInstOperandNum() function. llvm-svn: 163101
* Move ErrorLoc decl into the scope where it's actually used.Chad Rosier2012-09-031-2/+1
| | | | llvm-svn: 163100
* Added a new cursor for SEHLeaveStmt to libclang.Joao Matos2012-09-033-1/+9
| | | | llvm-svn: 163099
* escape special char when handling CXX_FOR_OCAMLOPTNuno Lopes2012-09-021-1/+1
| | | | llvm-svn: 163098
* fix test's RUN linesNuno Lopes2012-09-021-19/+19
| | | | llvm-svn: 163097
OpenPOWER on IntegriCloud