- Feb 10, 2009
-
-
Fariborz Jahanian authored
in preparation for nonfragile ivar offset work. llvm-svn: 64225
-
- Feb 03, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 63644
-
Fariborz Jahanian authored
llvm-svn: 63578
-
- Feb 02, 2009
-
-
Fariborz Jahanian authored
objc2 nonfragile ivar access code gen. llvm-svn: 63541
-
- Jan 23, 2009
-
-
Fariborz Jahanian authored
for the new meta-data. llvm-svn: 62806
-
- Jan 21, 2009
-
-
Fariborz Jahanian authored
the new ObjC's abi. llvm-svn: 62721
-
- Jan 10, 2009
-
-
Fariborz Jahanian authored
not merging protocol properties into the classes which use those protocols. With this patch, all my exceutable test pass again. llvm-svn: 62030
-
- Dec 16, 2008
-
-
Nate Begeman authored
llvm-svn: 61097
-
- Nov 21, 2008
-
-
Fariborz Jahanian authored
code gen. method. llvm-svn: 59767
-
- Nov 20, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 59740
-
- Nov 19, 2008
-
-
Fariborz Jahanian authored
Also, took care of Daniel's commments. llvm-svn: 59575
-
- Nov 18, 2008
-
-
Fariborz Jahanian authored
__weak objects. llvm-svn: 59560
-
Fariborz Jahanian authored
llvm-svn: 59553
-
- Nov 15, 2008
-
-
Chris Lattner authored
Patch by Fariborz! llvm-svn: 59377
-
- Nov 01, 2008
-
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 58546
-
- Sep 24, 2008
-
-
Daniel Dunbar authored
implementing property access. llvm-svn: 56542
-
- Sep 09, 2008
-
-
Anders Carlsson authored
llvm-svn: 55983
-
Daniel Dunbar authored
- Add CodeGenFunction::EmitAnyExprToTemp o Like EmitAnyExpr, but emits aggregates to a temporary location if none is available. Seems like this should be simpler (even aside from using first class aggregates). - Killed CodeGenFunction::EmitCallArg (just append the pair) - Conversion of RValues to actual call arguments is now isolated in CodeGenFunction::EmitCall. llvm-svn: 55970
-
- Aug 31, 2008
-
-
Anders Carlsson authored
llvm-svn: 55583
-
- Aug 30, 2008
-
-
Daniel Dunbar authored
- Change Obj-C runtime message API, drop the ObjCMessageExpr arg in favor of just result type and selector. Necessary so it can be reused in situations where we don't want to cons up an ObjCMessageExpr. - Update aggregate binary assignment to know about special property ref lvalues. - Add CodeGenFunction::EmitCallArg overload which takes an already emitted rvalue. Add CodeGenFunction::StoreComplexIntoAddr. Disabled logic in Sema for parsing Objective-C dot-syntax that accesses methods. This code does not search in the correct order and the AST node has no way of properly representing its results. Updated StmtDumper to print a bit more information about ObjCPropertyRefExprs. llvm-svn: 55561
-
Daniel Dunbar authored
- Added CodeGenFunction::EmitCall which just takes the callee, return type, and a list of (Value*,QualType) pairs. - Added CodeGenFunction::EmitCallArg which handles emitting code for a call argument and turning it into an appropriate (Value*,QualType) pair. - Changed Objective-C runtime interface so that the actual emission of arguments for message sends is (once again) done in the code to emit a message send. No intended functionality change, this is prep work for better ABI support and for Objective-C property setter support. llvm-svn: 55560
-
- Aug 25, 2008
-
-
Daniel Dunbar authored
- NeXT loads the super class at runtime; this required changing the runtime interface to pass more information down. llvm-svn: 55307
-
- Aug 23, 2008
-
-
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 16, 2008
-
-
Daniel Dunbar authored
ObjCInterfaceDecl. Change ObjCRuntime::GenerateMessageSendSuper to take the ObjCInterfaceDecl for the super class, instead of just its name. Change EmitObjCMessageExpr to make the right runtime calls for super sends in class methods (i.e. a super send with the class object as the receiver). llvm-svn: 54833
-
Daniel Dunbar authored
- This is in prep for implementation class support for the NeXT runtime, for which the existing methods don't provide enough information (and additionally make too many assumptions about how things should be emitted). llvm-svn: 54824
-
- 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 Update NeXT runtime to get proper object & selector types from ASTContext. llvm-svn: 54667
-
Daniel Dunbar authored
- Implement type conversion of ObjCQualifiedIdType - Wire @protocol(...) to GenerateProtocolRef in ScalarExprEmitter llvm-svn: 54666
-
Daniel Dunbar authored
Changed CGObjCRuntime::GenerateConstantString interface to take std::string instead of char* and size. Change ObjC functions which call on GenerateConstantString to bitcast result to appropriate type. llvm-svn: 54659
-
- Aug 11, 2008
-
-
Daniel Dunbar authored
llvm-svn: 54642
-
Daniel Dunbar authored
- Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and SourceLocation.h) - Move ASTContext constructor into implementation llvm-svn: 54627
-
Daniel Dunbar authored
- Not currently accessible and completely non-functional. llvm-svn: 54624
-
- Aug 08, 2008
-
-
Chris Lattner authored
llvm-svn: 54548
-
- Jun 26, 2008
-
-
Chris Lattner authored
we don't push strings into LLVM IR and then have to read them back out. llvm-svn: 52765
-
Chris Lattner authored
calls to getStringValue llvm-svn: 52761
-
Chris Lattner authored
selectors instead of Value*'s. llvm-svn: 52760
-
Chris Lattner authored
llvm-svn: 52759
-
Chris Lattner authored
llvm-svn: 52758
-
Chris Lattner authored
llvm-svn: 52757
-
Chris Lattner authored
instead of passing in just a couple random things it currently happens to use. llvm-svn: 52756
-