summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Add include guards.Eric Christopher2013-04-241-0/+5
| | | | llvm-svn: 180188
* Formatting.Eric Christopher2013-04-241-1/+1
| | | | llvm-svn: 180186
* Align the __LD,__compact_unwind section.Bill Wendling2013-04-241-7/+16
| | | | | | | | I know what would be cool! We should align the compact unwind section because aligned data access is faster. <rdar://problem/13723271> llvm-svn: 180171
* remove cbe backend from sample configureJia Liu2013-04-242-2/+2
| | | | llvm-svn: 180169
* Cleanup testcase and ensure we actually exercise the inliner.Adrian Prantl2013-04-241-138/+144
| | | | | | rdar://problem/12415623 llvm-svn: 180168
* Machine model: Generate table entries for super-resources.Andrew Trick2013-04-231-14/+23
| | | | | | | | | Super-resources and resource groups are two ways of expressing overlapping sets of processor resources. Now we generate table entries the same way for both so the scheduler never needs to explicitly check for super-resources. llvm-svn: 180162
* Machine model: verify well-formed processor resource groups.Andrew Trick2013-04-232-0/+54
| | | | llvm-svn: 180161
* Machine model: rewrite a tablegen loop to avoid comparing record pointers.Andrew Trick2013-04-231-8/+4
| | | | llvm-svn: 180160
* Comment a strange field in ScheduleDAG.Andrew Trick2013-04-231-0/+4
| | | | llvm-svn: 180159
* Fix dependency layering issues caused by r180112.Eric Christopher2013-04-233-3/+4
| | | | | | Patch by Tom Stellard. (Committed while he's afk per request) llvm-svn: 180157
* Fixing cmake build for MCJIT unit testsAndrew Kaylor2013-04-231-0/+1
| | | | llvm-svn: 180150
* Fixing typo in comment.Andrew Kaylor2013-04-231-1/+1
| | | | llvm-svn: 180147
* Adding object caching support to MCJITAndrew Kaylor2013-04-235-18/+366
| | | | llvm-svn: 180146
* Hexagon: Use multiclass for combine and STri[bhwd]_shl_V4 instructions.Jyotsna Verma2013-04-233-176/+194
| | | | llvm-svn: 180145
* Hexagon: Define relations for GP-relative instructions.Jyotsna Verma2013-04-231-15/+17
| | | | | | No functionality change. llvm-svn: 180144
* Make sure the instruction right after an inlined function has aAdrian Prantl2013-04-232-4/+175
| | | | | | | | | | debug location. This solves a problem where range of an inlined subroutine is emitted wrongly. Patch by Manman Ren. Fixes rdar://problem/12415623 llvm-svn: 180140
* Add more tests for r179925 to verify correct handling of signext/zeroext; ↵Stephen Lin2013-04-232-3/+70
| | | | | | strengthen condition check to require actual MVT::i32 virtual register types, just in case (no actual functionality change) llvm-svn: 180138
* Fix typo.Rafael Espindola2013-04-233-11/+11
| | | | llvm-svn: 180137
* Lowercase "is" boolean variable prefix for consistency within function, no ↵Stephen Lin2013-04-231-12/+12
| | | | | | functionality change. llvm-svn: 180136
* Simplify yaml2obj a bit.Rafael Espindola2013-04-231-105/+112
| | | | | | | | | | | | The COFFParser now contains only a COFFYAML::Object and the string table (which is recomputed, not serialized). The structs in COFFParser now all begin with a Header field with what is actually on the COFF object. The other fields are things that are semantically part of the struct (relocations in a section for exmaple), but are not actually represented that way in the object file. llvm-svn: 180134
* Hexagon: Remove assembler mapped instruction definitions.Jyotsna Verma2013-04-236-108/+167
| | | | llvm-svn: 180133
* Change commentary for PowerPC Boolean vector contents.Bill Schmidt2013-04-231-1/+2
| | | | | | No functional change intended. llvm-svn: 180131
* [mips] Compare splat value with element size instead of calling isUIntN.Akira Hatanaka2013-04-231-2/+2
| | | | | | No intended changes in functionality. llvm-svn: 180130
* DAGCombine should not aggressively fold SEXT(VSETCC(...)) into a wider ↵Owen Anderson2013-04-232-2/+4
| | | | | | | | | VSETCC without first checking the target's vector boolean contents. This exposed an issue with PowerPC AltiVec where it appears it was setting the wrong vector boolean contents. The included change fixes the PowerPC tests, and was OK'd by Hal. llvm-svn: 180129
* Testing for _XCR_XFEATURE_ENABLED_MASK instead of a specific MSVC version ↵Aaron Ballman2013-04-231-1/+1
| | | | | | because some MSVC 2010 SP1 installations do not have the _xgetbv intrinsic. Patch thanks to Serge Pavlov! llvm-svn: 180125
* R600: Use .AMDGPU.config section to emit stacksizeVincent Lejeune2013-04-236-16/+40
| | | | llvm-svn: 180124
* R600: Add CF_ENDVincent Lejeune2013-04-236-47/+80
| | | | llvm-svn: 180123
* LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make sure ↵Nadav Rotem2013-04-232-4/+40
| | | | | | | | that the order in which the elements are scalarized is the same as the original order. This fixes a miscompilation in FreeBSD's regex library. llvm-svn: 180121
* Hexagon: Remove duplicate instructions to handle global/immediate valuesJyotsna Verma2013-04-233-321/+73
| | | | | | for absolute/absolute-set addressing modes. llvm-svn: 180120
* Call the potentially costly isAnnotatedParallel() only once. Pekka Jaaskelainen2013-04-232-4/+7
| | | | | | Made the uniform write test's checks a bit stricter. llvm-svn: 180119
* Add some constraints to use of 'returned':Stephen Lin2013-04-232-0/+8
| | | | | | | | | 1) Disallow 'returned' on parameter that is also 'sret' (no sensible semantics, as far as I can tell). 2) Conservatively disallow tail calls through 'returned' parameters that also are 'zext' or 'sext' (for consistency with treatment of other zero-extending and sign-extending operations in tail call position detection...can be revised later to handle situations that can be determined to be safe). This is a new attribute that is not yet used, so there is no impact. llvm-svn: 180118
* Write relocations in yaml2obj.Rafael Espindola2013-04-232-1/+34
| | | | llvm-svn: 180115
* Wrap.h: Define wrap / unwrap function for ExecutionEngineTom Stellard2013-04-232-1/+2
| | | | llvm-svn: 180112
* c vs c++ mistake in header file typedef for AtomicRMW fix in rev 180100.Carlo Kok2013-04-231-4/+4
| | | | llvm-svn: 180104
* Fixup for r180094: properly use MSan interface functionsAlexey Samsonov2013-04-231-2/+2
| | | | llvm-svn: 180103
* Expose IRBuilder::CreateAtomicRMW as LLVMBuildAtomicRMW in llvm-c.Carlo Kok2013-04-232-0/+89
| | | | llvm-svn: 180100
* Un-revert the environ copy in ProgramTest after fixing it on OS XReid Kleckner2013-04-231-2/+29
| | | | | | | | | | This was r180041 and r180046, which was reverted in r180066. Re-committing this should fix the dragonegg bootstrap, which I presume needs LD_LIBRARY_PATH to be propagated to the child. Tested on Linux, Windows, and Mac OS 10.6. llvm-svn: 180099
* Tell MSan that memory initialized by libz is validAlexey Samsonov2013-04-231-2/+9
| | | | llvm-svn: 180094
* Move test from grep to FileCheck.Rafael Espindola2013-04-231-2/+5
| | | | llvm-svn: 180092
* Use zlib to uncompress debug sections in DWARF parser.Alexey Samsonov2013-04-239-1/+87
| | | | | | | This makes llvm-dwarfdump and llvm-symbolizer understand debug info sections compressed by ld.gold linker. llvm-svn: 180088
* Add llvm_unreachable after fully covered switch to pacify GCCHans Wennborg2013-04-231-0/+1
| | | | llvm-svn: 180087
* Add more guards around zlib-dependent codeAlexey Samsonov2013-04-233-2/+5
| | | | llvm-svn: 180084
* Add basic zlib support to LLVM. This would allow to use ↵Alexey Samsonov2013-04-2316-4/+589
| | | | | | compression/uncompression in selected LLVM tools. llvm-svn: 180083
* Refuse to (even try to) vectorize loops which have uniform writes,Pekka Jaaskelainen2013-04-232-9/+67
| | | | | | | | | even if erroneously annotated with the parallel loop metadata. Fixes Bug 15794: "Loop Vectorizer: Crashes with the use of llvm.loop.parallel metadata" llvm-svn: 180081
* AArch64: remove unnecessary check that RS is validTim Northover2013-04-231-2/+3
| | | | | | | | AArch64 always demands a register-scavenger, so the pointer should never be NULL. However, in the spirit of paranoia, we'll assert it before use just in case. llvm-svn: 180080
* Struct-path aware TBAA: update getMostGenericTBAA Manman Ren2013-04-222-38/+60
| | | | | | | | | | The tag is of type TBAANode when flag EnableStructPathTBAA is off. Move implementation of MDNode::getMostGenericTBAA to TypeBasedAliasAnalysis.cpp since it depends on how to interprete the MDNodes for scalar TBAA and struct-path aware TBAA. llvm-svn: 180068
* Revert "Add a missing reference on a std::vector<> out param"Michael Gottesman2013-04-221-17/+2
| | | | | | | | | | | | | Revert "[Support] Propagate the environment into the test child process" This reverts commit r180046. This reverts commit r180041. These have broken buildbots for ~3 hours: http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/763 llvm-svn: 180066
* Remove unused DwarfSectionOffsetDirective stringMatt Arsenault2013-04-225-11/+9
| | | | | | | The value isn't actually used, and setting it emits a COFF specific directive. llvm-svn: 180064
* Move C++ code out of the C headers and into either C++ headersEric Christopher2013-04-2227-228/+253
| | | | | | | or the C++ files themselves. This enables people to use just a C compiler to interoperate with LLVM. llvm-svn: 180063
* [ms-inline asm] Removed this unnecessary check. In the current implementation,Chad Rosier2013-04-221-1/+1
| | | | | | Disp will always be one of MCSymbolRefExpr or MCConstantExpr, and never NULL. llvm-svn: 180059
OpenPOWER on IntegriCloud