summaryrefslogtreecommitdiffstats
path: root/clang/lib/Headers/mm_malloc.h
Commit message (Collapse)AuthorAgeFilesLines
* lib/Headers/mm_malloc.h: Use __mingw_aligned_malloc() in _mm_malloc() on mingw.NAKAMURA Takumi2011-07-181-1/+3
| | | | | | By default, mingw does not have _mm_alloc() nor _aligned_malloc(). llvm-svn: 135388
* lib/Headers/mm_malloc.h: On Windows, we can expect _mm_malloc would be ↵NAKAMURA Takumi2011-03-151-0/+2
| | | | | | provided as macro by <malloc.h>. llvm-svn: 127654
* Undo part of my previous commit to mm_malloc.h, going back to the use ofChandler Carruth2010-11-221-13/+5
| | | | | | | | | | | | | | stdlib.h. There were numerous problems with forward declaring 'malloc' and 'free', but the most important is that these are reserved by POSIX and may be implemented via a function-like macro. As suggested by Dale Johannesen, I'm instead guarding the only include of this in our builtin headers with __STDC_HOSTED__, and I've removed the include of the header from the test suite. I'll discuss with folks whether we want to have a hosted section of the test suite or not, and add it (and perhaps other tests) back there if that's the direction. llvm-svn: 119958
* Futher reduce the includes of our builtin headers, and teach limits.h to avoidChandler Carruth2010-11-161-5/+13
| | | | | | | | include_next when not hosted or unavailable. This follows the pattern in stdint.h and allows these headers to work even in a freestanding configuration without a standard library. llvm-svn: 119343
* From scratch rewrite of mm_malloc.h.Eric Christopher2010-10-181-19/+28
| | | | | | Patch by Matthew Beaumont-Gay! llvm-svn: 116771
* Fix 80 col violations.Daniel Dunbar2010-03-261-3/+6
| | | | llvm-svn: 99648
* fix PR6658: inline isn't a keyword in C89 mode, use __inline__ instead.Chris Lattner2010-03-221-2/+2
| | | | llvm-svn: 99190
* Add the nodebug attribute to intrinsicsAnders Carlsson2009-02-141-2/+2
| | | | llvm-svn: 64519
* Add mm_malloc.h, patch by Sam Weinig.Anders Carlsson2009-01-081-0/+59
llvm-svn: 61954
OpenPOWER on IntegriCloud