- Dec 02, 2008
-
-
Eli Friedman authored
ScalarExprEmitter::VisitBinLOr. llvm-svn: 60415
-
- Nov 22, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 59886
-
- Nov 19, 2008
-
-
Daniel Dunbar authored
llvm-svn: 59622
-
Daniel Dunbar authored
value). - Use extra argument to EmitStoreThroughLValue to provide place to write update bit-field value if caller requires it. - This fixes several FIXMEs. llvm-svn: 59615
-
- Nov 16, 2008
-
-
Chris Lattner authored
llvm-svn: 59404
-
- Nov 13, 2008
-
-
Daniel Dunbar authored
- Use dotted notation for blocks related to a particular statement type. - Use .end for landing pads. No functionality change in NDEBUG mode. :) llvm-svn: 59210
-
- Nov 12, 2008
-
-
Daniel Dunbar authored
what "cond.?" means, and this avoids quoting). llvm-svn: 59128
-
Chris Lattner authored
This cuts another 200 lines off expr.ll, forming 23 selects. llvm-svn: 59124
-
Chris Lattner authored
This happens for stuff like this: x = cond1 || cond2 || cond3 || cond4; llvm-svn: 59123
-
Chris Lattner authored
constant folding. llvm-svn: 59121
-
Chris Lattner authored
shrinks code yet again by a bit. llvm-svn: 59114
-
Chris Lattner authored
CodeGenFunction.cpp. Change VisitConditionalOperator to use constant fold instead of codegen'ing a constant conditional. Change ForStmt to use EmitBranchOnBoolExpr, this shrinks expr.c very slightly to 40239 lines. llvm-svn: 59113
-
Chris Lattner authored
llvm-svn: 59103
-
Daniel Dunbar authored
llvm-svn: 59095
-
Daniel Dunbar authored
- EmitStmt is no longer required to finish with a current insertion point defined (i.e. it does not need to make dummy blocks). Instead, it can clear the insertion point in the builder which indicates that the current insertion point is unreachable. - CodeGenFunction provides HaveInsertPoint and EnsureInsertPoint which respectively test if there is an insert point and ensure an insertion point exists (by making a dummy block). - Clearly mark functions in CodeGenFunction which can be called with no insertion point defined. Currently this is a limited set, and EmitStmt simply EnsureInsertPoint()s before emitting subsequent IR. Remove EmitDummyBlock, which is no longer needed. Clients who haven't already cleared the insertion point (typically via EmitBranch) can do so by hand. Remove isDummyBlock, which has effectively been renamed to HaveInsertPoint. The main thrust of this change is that we no longer have create dummy blocks just to destroy them a short time later in EmitBlock in the common case that there is no unreachable code following something like a goto. Additionally, this means that we are not using the hokey condition in isDummyBlock that a block without a name is a dummy block. Guess how well that works when we never emit block names! llvm-svn: 59089
-
- Nov 11, 2008
-
-
Chris Lattner authored
llvm-svn: 59061
-
Sebastian Redl authored
Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expressions, both of values and types. llvm-svn: 59057
-
Daniel Dunbar authored
- Emits an unconditional branch, with extra logic to avoid generating spurious branches out of dummy blocks. llvm-svn: 59037
-
Chris Lattner authored
the size of the -O0 output on some cases. For example, on expr.c from 176.gcc, it shrinks the .ll file from 43164 to 42835 lines, and removed references to two external symbols. llvm-svn: 59034
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 59017
-
- Nov 04, 2008
-
-
Anders Carlsson authored
llvm-svn: 58681
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
- Oct 27, 2008
-
-
Chris Lattner authored
t.c:1:13: error: cannot codegen this designators yet int a[10] = {2, 4, [8]=9, 10}; ^~~~~~~~~~~~~~~~~ llvm-svn: 58220
-
- Oct 17, 2008
-
-
Daniel Dunbar authored
llvm-svn: 57716
-
- Oct 10, 2008
-
-
Dale Johannesen authored
llvm-svn: 57332
-
- Sep 04, 2008
-
-
Daniel Dunbar authored
llvm-svn: 55759
-
- Aug 29, 2008
-
-
Daniel Dunbar authored
- Notably VLAs llvm-svn: 55544
-
Daniel Dunbar authored
Objective-C property references. - This handles property references "more correctly" but setters still don't work. llvm-svn: 55534
-
- Aug 27, 2008
-
-
Daniel Dunbar authored
llvm-svn: 55410
-
- Aug 25, 2008
-
-
Daniel Dunbar authored
llvm-svn: 55312
-
Daniel Dunbar authored
EmitScalarConversion(). - Important for allowing Obj-C void * to id<X> casts and so on. - Not sure about this fix however, perhaps Type should understand that id is effectively a pointer type. llvm-svn: 55311
-
- Aug 23, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 55249
-
Daniel Dunbar authored
Implement Obj-C lvalue message sends (aggregate returns). Update several places to emit more precise ErrorUnsupported warnings for currently unimplemented Obj-C features (main missing chunks are property references, Obj-C exception handling, and the for ... in syntax). llvm-svn: 55234
-
Daniel Dunbar authored
- Returns an RValue. - Reduced to only taking the CodeGenFunction, Expr, and Receiver. - Becomes responsible for emitting the arguments. Add CodeGenFunction::EmitCallExprExt - Takes optional extra arguments to insert at the head of the call. - This allows the Obj-C runtimes to call into this and isolates the argument and call instruction generation code to one place. Upshot is that we now pass structures (more) correctly. Also, fix one aspect of generating methods which take structure arguments (for NeXT). This probably needs to be merged with the SetFunctionAttributes code in CodeGenModule.cpp llvm-svn: 55223
-
- Aug 20, 2008
-
-
Daniel Dunbar authored
- Drop duplicate (and broken) code for sending messages. - Add EmitObjCProtocolExpr to CodeGenFunction. llvm-svn: 55024
-
- Aug 16, 2008
-
-
Daniel Dunbar authored
llvm-svn: 54837
-
Daniel Dunbar authored
- We are beyond the point where this shows up often and when it does generating miscompiled files is bad. llvm-svn: 54836
-
- Aug 13, 2008
-
-
Daniel Dunbar authored
ObjCProtocolDecl directly. Implement CodeGen support for forward protocol decls (no-ops are so nice to implement). Also moved CGObjCRuntime.h out of CodeGenModule.h llvm-svn: 54709
-
- Aug 12, 2008
-
-
Daniel Dunbar authored
- Was unused and generated a unnecessary load of self (missed file) llvm-svn: 54668
-
Daniel Dunbar authored
- Implement type conversion of ObjCQualifiedIdType - Wire @protocol(...) to GenerateProtocolRef in ScalarExprEmitter llvm-svn: 54666
-