summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* TargetMachine: document unnamed bool argumentDylan Noblesmith2011-12-021-3/+3
| | | | | | | Its meaning was slightly mysterious without looking at subclasses. llvm-svn: 145705
* unittests: add ErrorStr to ExecutionEngine testDylan Noblesmith2011-12-021-3/+5
| | | | | | Makes failures more self-explanatory. llvm-svn: 145704
* Fix http://llvm.org/bugs/show_bug.cgi?id=11459. Patch supplied by Alberto ↵Howard Hinnant2011-12-021-0/+10
| | | | | | Ganesh Barbati. llvm-svn: 145703
* Make r145697 actually work.Hans Wennborg2011-12-022-2/+2
| | | | | | Use the canonical type of the typedef to compare with the underlying type. llvm-svn: 145702
* [arm-fast-isel] After promoting a function parameter be sure to update theChad Rosier2011-12-022-2/+50
| | | | | | | | argument value type. Otherwise, the sign/zero-extend has no effect on arguments passed via the stack (i.e., undefined high-order bits). rdar://10515467 llvm-svn: 145701
* Make sure that name lookup in C checks whether a name is hidden.Douglas Gregor2011-12-022-3/+18
| | | | llvm-svn: 145700
* specify cpu for test to fix failure on some darwin systems with a g4+ cpuHal Finkel2011-12-021-1/+1
| | | | llvm-svn: 145699
* Fix http://llvm.org/bugs/show_bug.cgi?id=11428. Fix provided by Alberto ↵Howard Hinnant2011-12-0211-144/+137
| | | | | | Ganesh Barbati llvm-svn: 145698
* Make conversion specifier warning refer to typedef if possible.Hans Wennborg2011-12-025-20/+74
| | | | | | | | For example, the warning for printf("%zu", 42.0); changes from "conversion specifies type 'unsigned long'" to "conversion specifies type 'size_t' (aka 'unsigned long')" llvm-svn: 145697
* When making a module visible, also make any of its exported modulesDouglas Gregor2011-12-022-6/+12
| | | | | | | visible, allowing one to create modules that import (and then re-export) other modules. llvm-svn: 145696
* Implement (de-)serialization of the set of exported modules in aDouglas Gregor2011-12-025-2/+96
| | | | | | module map. llvm-svn: 145695
* [asan] quick fix for mac build, second attempt. Sorry for spam.Kostya Serebryany2011-12-021-1/+1
| | | | llvm-svn: 145694
* Clean up aliases for ARM VLD1 single-lane assembly parsing a bit.Jim Grosbach2011-12-024-28/+135
| | | | | | Add the 16-bit lane variants while I'm at it. llvm-svn: 145693
* [asan] quick fix for mac buildKostya Serebryany2011-12-021-0/+2
| | | | llvm-svn: 145692
* [asan] minimize the use of STL. One bit is still left.Kostya Serebryany2011-12-026-22/+18
| | | | llvm-svn: 145691
* Fix quadratic behavior in InlineFunction by fetching the personality ↵Benjamin Kramer2011-12-021-29/+33
| | | | | | | | | | function of the callee once and not for every invoke in the caller. The callee is usually smaller than the caller, too. This reduces the compile time of ARMDisassembler.cpp by 32% (Release build). It still takes ages to compile though. llvm-svn: 145690
* Check for error after InstantiateMultclassDef.Jim Grosbach2011-12-021-0/+2
| | | | llvm-svn: 145689
* Modified the Objective-C type map in SymbolFileSymtabSean Callanan2011-12-022-3/+3
| | | | | | | | | | to use ConstStrings. The const char*s were assumed to be from ConstStrings before, but since storing a full-on ConstString is no more expensive than storing a const char* it makes better sense to enforce uniqueness with the type checker. llvm-svn: 145688
* Notify the AST writer (via ASTDeserializationListener) when aDouglas Gregor2011-12-024-1/+16
| | | | | | | (sub)module is read from an AST file. This makes sure that the AST writer knows how to map all modules to their global IDs. llvm-svn: 145685
* Jean-Daniel: __builtin_popcountll support for WindowsHoward Hinnant2011-12-021-3/+26
| | | | llvm-svn: 145684
* Implement name hiding for macro definitions within modules, such thatDouglas Gregor2011-12-028-23/+116
| | | | | | | | only the macro definitions from visible (sub)modules will actually be visible. This provides the same behavior for macros that r145640 provided for declarations. llvm-svn: 145683
* Add XOP feature flag.Jan Sjödin2011-12-023-2/+12
| | | | llvm-svn: 145682
* Reduce duplicate code in isHorizontalBinOp and add some asserts to protect ↵Craig Topper2011-12-021-32/+24
| | | | | | assumptions llvm-svn: 145681
* Add instruction selection support for horizontal add/sub of 256-bit floating ↵Craig Topper2011-12-023-2/+168
| | | | | | point vectors. Also add the test case for 256-bit integer vectors. llvm-svn: 145680
* remove unneeded FIXME commentHal Finkel2011-12-021-1/+0
| | | | llvm-svn: 145679
* adjust the instruction ordering in some PPC tests: changes due to postRA ↵Hal Finkel2011-12-024-8/+23
| | | | | | haz. rec. llvm-svn: 145678
* make sure ScheduleDAGInstrs::EmitSchedule does not crash when the first ↵Hal Finkel2011-12-021-5/+5
| | | | | | instruction in Sequence is a Noop llvm-svn: 145677
* update PPC 940 hazard rec. to function in postRA modeHal Finkel2011-12-026-142/+93
| | | | llvm-svn: 145676
* Added support for extracting method information fromSean Callanan2011-12-022-1/+106
| | | | | | | | Objective-C symbols. The methods aren't used yet if there is a competing definition in the DWARF; I will resolve that next. llvm-svn: 145675
* build: Add ModuleName per-subdir variable as a way to organize the differentDaniel Dunbar2011-12-0211-3/+21
| | | | | | | | | sets of functions/objects into high level groups. Currently we have "builtins" (the main compiler-rt code), "profile", and "asan". - Use this to define CommonFunctions and ArchFunctions to only reference the builtins functions. llvm-svn: 145674
* Fix bitfield handling for record layout with #pragma pack. ↵Eli Friedman2011-12-022-3/+50
| | | | | | <rdar://problem/10494810> and PR9560. llvm-svn: 145673
* runtime/Linux: Initial support for tying compiler-rt build into Clang build onDaniel Dunbar2011-12-021-1/+14
| | | | | | | | Linux. - Currently just builds a full library, and only on x86, and only for the target arch. llvm-svn: 145672
* Add support for AVX registers to clang inline asm. Add a small testcaseEric Christopher2011-12-023-1/+9
| | | | | | | | | and update the Sema testcase with a register that we won't hit for a while I hope. Fixes rdar://10510405 llvm-svn: 145671
* Clean up some oddly gratuitous vertical whitespace.Eric Christopher2011-12-021-8/+0
| | | | llvm-svn: 145670
* Rename function.Eric Christopher2011-12-021-1/+1
| | | | llvm-svn: 145669
* After moving lldb::pid_t to 64 bits, keep a deprecated version around forGreg Clayton2011-12-022-0/+19
| | | | | | | previous binaries that link against this for a few builds to make sure we can continue to run against previous binaries. llvm-svn: 145668
* <rdar://problem/10394517>Greg Clayton2011-12-021-2/+9
| | | | | | | | | | | | Fixed templates with NonTypeTemplateParmDecl objects. For example: template <unsigned N> .... This fixes SmallVector and all of the other classes that have template params that are non types. llvm-svn: 145667
* Implementing parsing and resolution of module export declarationsDouglas Gregor2011-12-028-7/+274
| | | | | | | | within module maps, which will (eventually) be used to re-export a module from another module. There are still some pieces missing, however. llvm-svn: 145665
* lib/asan: Fix possible type mismatches.Daniel Dunbar2011-12-021-2/+2
| | | | llvm-svn: 145664
* lib/asan: Attempt to ensure __WORDSIZE gets defined, it is not always set byDaniel Dunbar2011-12-021-0/+10
| | | | | | Darwin's stdint.h for example. llvm-svn: 145663
* Fix test regression introduced by r145656. When seeing a string literal ↵Ted Kremenek2011-12-021-1/+6
| | | | | | that isn't accepted by 'asm', skip to the enclosing ')'. llvm-svn: 145662
* Fix a few more places where TargetData/TargetLibraryInfo is not being passed.Chad Rosier2011-12-0212-40/+79
| | | | | | Add FIXMEs to places that are non-trivial to fix. llvm-svn: 145661
* "f" should be an alias for "frame select" not "finish" to match the gdb usage.Jim Ingham2011-12-021-1/+6
| | | | llvm-svn: 145660
* add/update LICENSE.TXT files for the third_party code used by asanKostya Serebryany2011-12-023-0/+54
| | | | llvm-svn: 145659
* build/asan: Better fix for ASAN i386 build on Darwin, this causes us to see theDaniel Dunbar2011-12-022-6/+6
| | | | | | non-standard struct names. llvm-svn: 145658
* build/asan: Fix ASAN build for i386, for reasons I don't really understand weDaniel Dunbar2011-12-022-5/+5
| | | | | | get the DARWIN_UNIX03 definition on x86_64 but not on i386. llvm-svn: 145657
* Diagnose use of wide string literal in 'asm' instead of crashing. Fixes ↵Ted Kremenek2011-12-023-5/+17
| | | | | | <rdar://problem/10465079>. llvm-svn: 145656
* ARM start parsing VLD1 single lane instructions.Jim Grosbach2011-12-022-14/+115
| | | | | | | The alias pseudos need cleaned up for size suffix handling, but this gets the basics working. Will be cleaning up and adding more. llvm-svn: 145655
* Fix wrong-code bug when a const automatic variable of struct type has both aRichard Smith2011-12-022-7/+21
| | | | | | | | | | | | mutable member and a constant initializer. We'd previously promoted such variables to global constants, resulting in nasal demons if the mutable member was modified. This is only a temporary fix. The subtle interplay between isConstantInitializer and CGExprConstant is very bug-prone; there are some other issues in this area which I will be addressing in subsequent, more major reworking of this code. llvm-svn: 145654
* [asan] update docs to allow, but discourage, -O0Kostya Serebryany2011-12-021-4/+5
| | | | llvm-svn: 145653
OpenPOWER on IntegriCloud