Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "[COFF, ARM64] Implement InterlockedXor*_* builtins" | Mandeep Singh Grang | 2018-11-06 | 2 | -14288/+0 |
| | | | | | | This reverts commit cc3d3cd0fbeb88412d332354c261ff139c4ede6b. llvm-svn: 346192 | ||||
* | [COFF, ARM64] Implement InterlockedXor*_* builtins | Mandeep Singh Grang | 2018-11-06 | 2 | -0/+14288 |
| | | | | | | | | | | | | | | Summary: This is fifth in a series of patches to move intrinsic definitions out of intrin.h. Reviewers: rnk, efriedma, mstorsjo, TomTan Reviewed By: efriedma Subscribers: javed.absar, kristof.beyls, chrib, jfb, kristina, cfe-commits Differential Revision: https://reviews.llvm.org/D54065 llvm-svn: 346191 | ||||
* | Remove duplicated file and directory. | Rafael Espindola | 2013-06-18 | 1 | -34/+0 |
| | | | | llvm-svn: 184188 | ||||
* | Add support for -fpcc-struct-return. Patch by Arthur O'Dwyer! | John McCall | 2013-06-18 | 1 | -0/+34 |
| | | | | llvm-svn: 184166 | ||||
* | Make a major restructuring of the clang tree: introduce a top-level | Chris Lattner | 2008-03-15 | 19 | -7078/+0 |
| | | | | | | | | | | lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402 | ||||
* | add initial support for generating an llvm.globalctors list. Patch by David ↵ | Chris Lattner | 2008-03-14 | 2 | -0/+58 |
| | | | | | | Chisnall llvm-svn: 48362 | ||||
* | Update to reflect changes in parameter attribute api. | Chris Lattner | 2008-03-12 | 1 | -4/+3 |
| | | | | llvm-svn: 48290 | ||||
* | Propagate calling convention information to function declarations and CallInst | Nate Begeman | 2008-03-09 | 2 | -7/+15 |
| | | | | | | instructions. llvm-svn: 48077 | ||||
* | Fix a fixme by allowing pointers in different address spaces to have | Chris Lattner | 2008-03-08 | 1 | -6/+2 |
| | | | | | | different widths. Start simplifying TargetInfo accessor methods. llvm-svn: 48050 | ||||
* | Add fastcall/stdcall attribute support | Nate Begeman | 2008-03-07 | 1 | -0/+4 |
| | | | | | | Generate CallingConv::Fast when fastcall attribute is present llvm-svn: 48017 | ||||
* | remove the source location arguments to various target query methods. | Chris Lattner | 2008-03-05 | 6 | -31/+24 |
| | | | | llvm-svn: 47954 | ||||
* | fix codegen support for functions that are nothrow and noreturn. | Chris Lattner | 2008-03-03 | 1 | -9/+8 |
| | | | | llvm-svn: 47838 | ||||
* | Add a bunch of attributes, patch by Nuno Lopes. | Chris Lattner | 2008-03-03 | 2 | -21/+57 |
| | | | | llvm-svn: 47837 | ||||
* | Add codegen support for ObjC message expressions with the GNU runtime. | Chris Lattner | 2008-03-01 | 2 | -0/+144 |
| | | | | | | Patch by David Chisnall! llvm-svn: 47790 | ||||
* | Add codegen support for ObjC message expressions with the GNU runtime. | Chris Lattner | 2008-03-01 | 4 | -2/+63 |
| | | | | | | Patch by David Chisnall! llvm-svn: 47789 | ||||
* | make include guards more unique. | Chris Lattner | 2008-02-29 | 3 | -6/+6 |
| | | | | llvm-svn: 47754 | ||||
* | Implement codegen for the following static var init. | Lauro Ramos Venancio | 2008-02-26 | 5 | -8/+21 |
| | | | | | | | | | | | void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627 | ||||
* | Fix a bug in ConvertAsmString function. | Lauro Ramos Venancio | 2008-02-26 | 1 | -2/+2 |
| | | | | llvm-svn: 47618 | ||||
* | Convert x86 target specific inline asm constraints to LLVM. | Lauro Ramos Venancio | 2008-02-26 | 1 | -5/+5 |
| | | | | llvm-svn: 47609 | ||||
* | Clean up constant implicit cast emission; fixes a few edge cases | Eli Friedman | 2008-02-21 | 1 | -24/+24 |
| | | | | | | | invlolving implicit casts that cause both a decay to pointer type and a type conversion. llvm-svn: 47440 | ||||
* | Fix brace-enclosed string initializers for char arrays. From pr2079, | Eli Friedman | 2008-02-21 | 1 | -3/+6 |
| | | | | | | ahtough I had the fix in my tree previously. llvm-svn: 47439 | ||||
* | implement codegen support for sizeof(void), fixing PR2080. | Chris Lattner | 2008-02-21 | 1 | -4/+9 |
| | | | | llvm-svn: 47429 | ||||
* | Tabs are the enemy | Nate Begeman | 2008-02-20 | 1 | -1/+1 |
| | | | | llvm-svn: 47410 | ||||
* | Alternate address spaces work: | Chris Lattner | 2008-02-20 | 1 | -1/+1 |
| | | | | | | | | | rename QualType::getQualifiers to getCVRQualifiers. Add some fixme's and clean up some code relevant to qualifiers. Change ASQualType to contain a Type* instead of a QualType. Any CVR qualifiers should be on the outer qual type. llvm-svn: 47398 | ||||
* | Improve non-const initializer implementation. | Lauro Ramos Venancio | 2008-02-19 | 1 | -31/+51 |
| | | | | llvm-svn: 47347 | ||||
* | Implement CodeGenModule::getMemSetFn method. | Lauro Ramos Venancio | 2008-02-19 | 2 | -1/+15 |
| | | | | llvm-svn: 47346 | ||||
* | Simplify aggregate initilizer implementation. Use the ↵ | Lauro Ramos Venancio | 2008-02-19 | 1 | -43/+14 |
| | | | | | | | | | CodeGenModule::EmitConstantExpr method when possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336 | ||||
* | A global without initializer must be emitted as weak. | Lauro Ramos Venancio | 2008-02-19 | 1 | -0/+3 |
| | | | | | | Fix Olden/bh test. llvm-svn: 47292 | ||||
* | Implement multi-dimension array initalizer. | Lauro Ramos Venancio | 2008-02-18 | 1 | -60/+85 |
| | | | | | | Fix McCat/08-main test. llvm-svn: 47286 | ||||
* | implement codegen support for aggregates casted to void. | Chris Lattner | 2008-02-16 | 1 | -4/+12 |
| | | | | llvm-svn: 47226 | ||||
* | Implement extern block var. | Lauro Ramos Venancio | 2008-02-16 | 2 | -4/+10 |
| | | | | llvm-svn: 47223 | ||||
* | Split out incomplete arrays from VariableArrayType into | Eli Friedman | 2008-02-15 | 1 | -8/+11 |
| | | | | | | | | | | IncompleteArrayType. This should make code dealing with both incomplete and variable length arrays much more readable, plus it allows properly making the distinction between isVariableArrayType() and isVariablyModifiedType(). The patch is a little big, but it's strightforward. so I don't think there should be any issues. llvm-svn: 47165 | ||||
* | Remove useless parameter from isConstantSizeType. | Eli Friedman | 2008-02-15 | 2 | -4/+4 |
| | | | | llvm-svn: 47156 | ||||
* | Adjust for the API change to APInt::getBitsSet. | Dan Gohman | 2008-02-12 | 1 | -1/+1 |
| | | | | | | People more familiar with clang than me, please review this. llvm-svn: 47033 | ||||
* | strings are arrays too | Chris Lattner | 2008-02-11 | 1 | -2/+0 |
| | | | | llvm-svn: 46945 | ||||
* | A couple of minor fixes to aggregate codegen, to stop asserting on some | Eli Friedman | 2008-02-11 | 1 | -7/+14 |
| | | | | | | edge cases. llvm-svn: 46944 | ||||
* | Make unsupported constant exprs fail with a warning instead of crashing | Eli Friedman | 2008-02-11 | 1 | -12/+11 |
| | | | | | | codegen. llvm-svn: 46943 | ||||
* | Fix PR1992 by computing the right type for string literals, which | Chris Lattner | 2008-02-11 | 3 | -17/+11 |
| | | | | | | | | is an array type not a pointer type. This requires updating some diags that change and updating the code generator to handle the proper form of strings. llvm-svn: 46941 | ||||
* | Implement __builtin_va_copy | Anders Carlsson | 2008-02-09 | 1 | -0/+19 |
| | | | | llvm-svn: 46911 | ||||
* | Expose the logic for field address codegen; it is needed for aggregate | Eli Friedman | 2008-02-09 | 2 | -3/+13 |
| | | | | | | | | initializers, and I don't want to duplicate the bitfield-handling code. (I'll send a patch for aggregate initializers to the mailing list sometime soon.) llvm-svn: 46904 | ||||
* | Fix a bitfield regression. Reported by Anders Carlsson. | Lauro Ramos Venancio | 2008-02-08 | 1 | -1/+2 |
| | | | | llvm-svn: 46889 | ||||
* | Put back the top-level asm code; all tests pass now. | Anders Carlsson | 2008-02-08 | 1 | -0/+9 |
| | | | | llvm-svn: 46868 | ||||
* | Back out 46855 for now, it causes test failures on Darwin. | Anders Carlsson | 2008-02-08 | 1 | -9/+0 |
| | | | | llvm-svn: 46867 | ||||
* | Simplify bitfield codegen. | Lauro Ramos Venancio | 2008-02-07 | 2 | -52/+37 |
| | | | | | | Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859 | ||||
* | Fix codegen of | Lauro Ramos Venancio | 2008-02-07 | 1 | -4/+9 |
| | | | | | | | | | | | struct { char a[3]; unsigned char b:1; }; Fix PR1990. llvm-svn: 46856 | ||||
* | Handle top-level asm declarations. | Anders Carlsson | 2008-02-07 | 1 | -0/+9 |
| | | | | llvm-svn: 46855 | ||||
* | Add pointer + int (and vice versa) to the constant emitter. | Anders Carlsson | 2008-02-06 | 1 | -2/+10 |
| | | | | llvm-svn: 46812 | ||||
* | Generate code for the various __builtin_ctz functions. | Anders Carlsson | 2008-02-06 | 1 | -0/+14 |
| | | | | llvm-svn: 46811 | ||||
* | now that ConvertTagDeclType is nice and simple, use it from UpdateCompletedType. | Chris Lattner | 2008-02-06 | 2 | -10/+7 |
| | | | | llvm-svn: 46809 | ||||
* | simplify and speed up type refinement logic. No functionality change. | Chris Lattner | 2008-02-06 | 1 | -59/+46 |
| | | | | llvm-svn: 46808 |