summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[COFF, ARM64] Implement InterlockedXor*_* builtins"Mandeep Singh Grang2018-11-062-14288/+0
| | | | | | This reverts commit cc3d3cd0fbeb88412d332354c261ff139c4ede6b. llvm-svn: 346192
* [COFF, ARM64] Implement InterlockedXor*_* builtinsMandeep Singh Grang2018-11-062-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 Espindola2013-06-181-34/+0
| | | | llvm-svn: 184188
* Add support for -fpcc-struct-return. Patch by Arthur O'Dwyer!John McCall2013-06-181-0/+34
| | | | llvm-svn: 184166
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-1519-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 Lattner2008-03-142-0/+58
| | | | | | Chisnall llvm-svn: 48362
* Update to reflect changes in parameter attribute api.Chris Lattner2008-03-121-4/+3
| | | | llvm-svn: 48290
* Propagate calling convention information to function declarations and CallInstNate Begeman2008-03-092-7/+15
| | | | | | instructions. llvm-svn: 48077
* Fix a fixme by allowing pointers in different address spaces to haveChris Lattner2008-03-081-6/+2
| | | | | | different widths. Start simplifying TargetInfo accessor methods. llvm-svn: 48050
* Add fastcall/stdcall attribute supportNate Begeman2008-03-071-0/+4
| | | | | | Generate CallingConv::Fast when fastcall attribute is present llvm-svn: 48017
* remove the source location arguments to various target query methods.Chris Lattner2008-03-056-31/+24
| | | | llvm-svn: 47954
* fix codegen support for functions that are nothrow and noreturn.Chris Lattner2008-03-031-9/+8
| | | | llvm-svn: 47838
* Add a bunch of attributes, patch by Nuno Lopes.Chris Lattner2008-03-032-21/+57
| | | | llvm-svn: 47837
* Add codegen support for ObjC message expressions with the GNU runtime.Chris Lattner2008-03-012-0/+144
| | | | | | Patch by David Chisnall! llvm-svn: 47790
* Add codegen support for ObjC message expressions with the GNU runtime.Chris Lattner2008-03-014-2/+63
| | | | | | Patch by David Chisnall! llvm-svn: 47789
* make include guards more unique.Chris Lattner2008-02-293-6/+6
| | | | llvm-svn: 47754
* Implement codegen for the following static var init.Lauro Ramos Venancio2008-02-265-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 Venancio2008-02-261-2/+2
| | | | llvm-svn: 47618
* Convert x86 target specific inline asm constraints to LLVM.Lauro Ramos Venancio2008-02-261-5/+5
| | | | llvm-svn: 47609
* Clean up constant implicit cast emission; fixes a few edge cases Eli Friedman2008-02-211-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 Friedman2008-02-211-3/+6
| | | | | | ahtough I had the fix in my tree previously. llvm-svn: 47439
* implement codegen support for sizeof(void), fixing PR2080.Chris Lattner2008-02-211-4/+9
| | | | llvm-svn: 47429
* Tabs are the enemyNate Begeman2008-02-201-1/+1
| | | | llvm-svn: 47410
* Alternate address spaces work:Chris Lattner2008-02-201-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 Venancio2008-02-191-31/+51
| | | | llvm-svn: 47347
* Implement CodeGenModule::getMemSetFn method.Lauro Ramos Venancio2008-02-192-1/+15
| | | | llvm-svn: 47346
* Simplify aggregate initilizer implementation. Use the ↵Lauro Ramos Venancio2008-02-191-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 Venancio2008-02-191-0/+3
| | | | | | Fix Olden/bh test. llvm-svn: 47292
* Implement multi-dimension array initalizer.Lauro Ramos Venancio2008-02-181-60/+85
| | | | | | Fix McCat/08-main test. llvm-svn: 47286
* implement codegen support for aggregates casted to void.Chris Lattner2008-02-161-4/+12
| | | | llvm-svn: 47226
* Implement extern block var.Lauro Ramos Venancio2008-02-162-4/+10
| | | | llvm-svn: 47223
* Split out incomplete arrays from VariableArrayType into Eli Friedman2008-02-151-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 Friedman2008-02-152-4/+4
| | | | llvm-svn: 47156
* Adjust for the API change to APInt::getBitsSet.Dan Gohman2008-02-121-1/+1
| | | | | | People more familiar with clang than me, please review this. llvm-svn: 47033
* strings are arrays tooChris Lattner2008-02-111-2/+0
| | | | llvm-svn: 46945
* A couple of minor fixes to aggregate codegen, to stop asserting on someEli Friedman2008-02-111-7/+14
| | | | | | edge cases. llvm-svn: 46944
* Make unsupported constant exprs fail with a warning instead of crashing Eli Friedman2008-02-111-12/+11
| | | | | | codegen. llvm-svn: 46943
* Fix PR1992 by computing the right type for string literals, whichChris Lattner2008-02-113-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_copyAnders Carlsson2008-02-091-0/+19
| | | | llvm-svn: 46911
* Expose the logic for field address codegen; it is needed for aggregate Eli Friedman2008-02-092-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 Venancio2008-02-081-1/+2
| | | | llvm-svn: 46889
* Put back the top-level asm code; all tests pass now.Anders Carlsson2008-02-081-0/+9
| | | | llvm-svn: 46868
* Back out 46855 for now, it causes test failures on Darwin.Anders Carlsson2008-02-081-9/+0
| | | | llvm-svn: 46867
* Simplify bitfield codegen.Lauro Ramos Venancio2008-02-072-52/+37
| | | | | | Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859
* Fix codegen ofLauro Ramos Venancio2008-02-071-4/+9
| | | | | | | | | | | struct { char a[3]; unsigned char b:1; }; Fix PR1990. llvm-svn: 46856
* Handle top-level asm declarations.Anders Carlsson2008-02-071-0/+9
| | | | llvm-svn: 46855
* Add pointer + int (and vice versa) to the constant emitter.Anders Carlsson2008-02-061-2/+10
| | | | llvm-svn: 46812
* Generate code for the various __builtin_ctz functions.Anders Carlsson2008-02-061-0/+14
| | | | llvm-svn: 46811
* now that ConvertTagDeclType is nice and simple, use it from UpdateCompletedType.Chris Lattner2008-02-062-10/+7
| | | | llvm-svn: 46809
* simplify and speed up type refinement logic. No functionality change.Chris Lattner2008-02-061-59/+46
| | | | llvm-svn: 46808
OpenPOWER on IntegriCloud