summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/function-attributes.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the tests.Bill Wendling2013-01-311-2/+2
| | | | | | | This update coincides with r174110. That change ordered the attributes alphabetically. llvm-svn: 174111
* Semantic analysis and CodeGen support for C11's _Noreturn. This is modeled asRichard Smith2013-01-301-1/+7
| | | | | | an attribute for consistency with our other noreturn mechanisms. llvm-svn: 173898
* Add returns_twice to functions that are known to return twice. This implementsRafael Espindola2011-10-121-0/+11
| | | | | | the same behavior of gcc by keeping the attribute out of the function type. llvm-svn: 141803
* Propagate __attribute__((returns_twice)) from C to IL.Rafael Espindola2011-10-031-0/+11
| | | | llvm-svn: 141002
* Emit the 'alignstack' LLVM function attribute when we encounter a functionCharles Davis2010-02-131-0/+8
| | | | | | | marked 'force_align_arg_pointer'. Almost there; now all I need to do is finish up the backend. llvm-svn: 96100
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Set OptimizeForSize LLVM function attribute with -Os.Daniel Dunbar2009-10-271-9/+26
| | | | llvm-svn: 85278
* Convert test to FileCheck.Daniel Dunbar2009-10-271-20/+17
| | | | llvm-svn: 85277
* Prep for new warning.Mike Stump2009-07-211-1/+1
| | | | llvm-svn: 76638
* When defining a function whose type has no prototype, make an effortChris Lattner2009-05-051-0/+19
| | | | | | | | to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c. llvm-svn: 70971
* PR4133: fix always_inline implementation to be consistent with gcc.Eli Friedman2009-05-031-2/+1
| | | | llvm-svn: 70786
* defer emission of always_inline, extern_inline, and inline functions (when Chris Lattner2009-04-141-1/+2
| | | | | | not in c89 mode). llvm-svn: 69032
* Don't set both readnone and readonly.Daniel Dunbar2009-04-101-0/+4
| | | | llvm-svn: 68833
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Temporarily disable clearing of insert point (to indicate unreachableDaniel Dunbar2009-02-251-0/+7
| | | | | | | code) when calling noreturn functions; general expression emission isn't ready to do the right thing in all cases. llvm-svn: 65473
* Set call attribute for direct calls (i.e. noreturn).Daniel Dunbar2009-02-201-1/+12
| | | | | | - Remove an unused variant of EmitCallExpr overload. llvm-svn: 65130
* Force triple for codegen tests which have expectations on outputDaniel Dunbar2009-02-031-1/+1
| | | | | | types. llvm-svn: 63669
* Add attribute always_inline support.Daniel Dunbar2008-10-281-1/+3
| | | | llvm-svn: 58304
* fix test for latest changes in llvm asm representationNuno Lopes2008-09-301-4/+4
| | | | llvm-svn: 56842
* Fix function-attributes test case to not rely on llvm-gcc.Daniel Dunbar2008-09-271-5/+9
| | | | llvm-svn: 56734
* Set sext/zext on function result.Daniel Dunbar2008-09-051-0/+22
- <rdar://problem/6156739> llvm-svn: 55815
OpenPOWER on IntegriCloud