summaryrefslogtreecommitdiff
path: root/clang/CodeGen
AgeCommit message (Collapse)Author
2018-11-06Revert "[COFF, ARM64] Implement InterlockedXor*_* builtins"Mandeep Singh Grang
This reverts commit cc3d3cd0fbeb88412d332354c261ff139c4ede6b. llvm-svn: 346192
2018-11-06[COFF, ARM64] Implement InterlockedXor*_* builtinsMandeep Singh Grang
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
2013-06-18Remove duplicated file and directory.Rafael Espindola
llvm-svn: 184188
2013-06-18Add support for -fpcc-struct-return. Patch by Arthur O'Dwyer!John McCall
llvm-svn: 184166
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner
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
2008-03-14add initial support for generating an llvm.globalctors list. Patch by David ↵Chris Lattner
Chisnall llvm-svn: 48362
2008-03-12Update to reflect changes in parameter attribute api.Chris Lattner
llvm-svn: 48290
2008-03-09Propagate calling convention information to function declarations and CallInstNate Begeman
instructions. llvm-svn: 48077
2008-03-08Fix a fixme by allowing pointers in different address spaces to haveChris Lattner
different widths. Start simplifying TargetInfo accessor methods. llvm-svn: 48050
2008-03-07Add fastcall/stdcall attribute supportNate Begeman
Generate CallingConv::Fast when fastcall attribute is present llvm-svn: 48017
2008-03-05remove the source location arguments to various target query methods.Chris Lattner
llvm-svn: 47954
2008-03-03fix codegen support for functions that are nothrow and noreturn.Chris Lattner
llvm-svn: 47838
2008-03-03Add a bunch of attributes, patch by Nuno Lopes.Chris Lattner
llvm-svn: 47837
2008-03-01Add codegen support for ObjC message expressions with the GNU runtime.Chris Lattner
Patch by David Chisnall! llvm-svn: 47790
2008-03-01Add codegen support for ObjC message expressions with the GNU runtime.Chris Lattner
Patch by David Chisnall! llvm-svn: 47789
2008-02-29make include guards more unique.Chris Lattner
llvm-svn: 47754
2008-02-26Implement codegen for the following static var init.Lauro Ramos Venancio
void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627
2008-02-26Fix a bug in ConvertAsmString function. Lauro Ramos Venancio
llvm-svn: 47618
2008-02-26Convert x86 target specific inline asm constraints to LLVM.Lauro Ramos Venancio
llvm-svn: 47609
2008-02-21Clean up constant implicit cast emission; fixes a few edge cases Eli Friedman
invlolving implicit casts that cause both a decay to pointer type and a type conversion. llvm-svn: 47440
2008-02-21Fix brace-enclosed string initializers for char arrays. From pr2079, Eli Friedman
ahtough I had the fix in my tree previously. llvm-svn: 47439
2008-02-21implement codegen support for sizeof(void), fixing PR2080.Chris Lattner
llvm-svn: 47429
2008-02-20Tabs are the enemyNate Begeman
llvm-svn: 47410
2008-02-20Alternate address spaces work:Chris Lattner
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
2008-02-19Improve non-const initializer implementation. Lauro Ramos Venancio
llvm-svn: 47347
2008-02-19Implement CodeGenModule::getMemSetFn method.Lauro Ramos Venancio
llvm-svn: 47346
2008-02-19Simplify aggregate initilizer implementation. Use the ↵Lauro Ramos Venancio
CodeGenModule::EmitConstantExpr method when possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336
2008-02-19A global without initializer must be emitted as weak.Lauro Ramos Venancio
Fix Olden/bh test. llvm-svn: 47292
2008-02-18Implement multi-dimension array initalizer.Lauro Ramos Venancio
Fix McCat/08-main test. llvm-svn: 47286
2008-02-16implement codegen support for aggregates casted to void.Chris Lattner
llvm-svn: 47226
2008-02-16Implement extern block var.Lauro Ramos Venancio
llvm-svn: 47223
2008-02-15Split out incomplete arrays from VariableArrayType into Eli Friedman
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
2008-02-15Remove useless parameter from isConstantSizeType.Eli Friedman
llvm-svn: 47156
2008-02-12Adjust for the API change to APInt::getBitsSet.Dan Gohman
People more familiar with clang than me, please review this. llvm-svn: 47033
2008-02-11strings are arrays tooChris Lattner
llvm-svn: 46945
2008-02-11A couple of minor fixes to aggregate codegen, to stop asserting on someEli Friedman
edge cases. llvm-svn: 46944
2008-02-11Make unsupported constant exprs fail with a warning instead of crashing Eli Friedman
codegen. llvm-svn: 46943
2008-02-11Fix PR1992 by computing the right type for string literals, whichChris Lattner
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
2008-02-09Implement __builtin_va_copyAnders Carlsson
llvm-svn: 46911
2008-02-09Expose the logic for field address codegen; it is needed for aggregate Eli Friedman
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
2008-02-08Fix a bitfield regression. Reported by Anders Carlsson.Lauro Ramos Venancio
llvm-svn: 46889
2008-02-08Put back the top-level asm code; all tests pass now.Anders Carlsson
llvm-svn: 46868
2008-02-08Back out 46855 for now, it causes test failures on Darwin.Anders Carlsson
llvm-svn: 46867
2008-02-07Simplify bitfield codegen.Lauro Ramos Venancio
Fix codegen of struct { short a[3]; int b:15; }. llvm-svn: 46859
2008-02-07Fix codegen ofLauro Ramos Venancio
struct { char a[3]; unsigned char b:1; }; Fix PR1990. llvm-svn: 46856
2008-02-07Handle top-level asm declarations.Anders Carlsson
llvm-svn: 46855
2008-02-06Add pointer + int (and vice versa) to the constant emitter.Anders Carlsson
llvm-svn: 46812
2008-02-06Generate code for the various __builtin_ctz functions.Anders Carlsson
llvm-svn: 46811
2008-02-06now that ConvertTagDeclType is nice and simple, use it from UpdateCompletedType.Chris Lattner
llvm-svn: 46809
2008-02-06simplify and speed up type refinement logic. No functionality change.Chris Lattner
llvm-svn: 46808