- Aug 30, 2008
-
-
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
-
- Jun 01, 2008
-
-
Argyrios Kyrtzidis authored
llvm-svn: 51847
-
Anton Korobeynikov authored
Implemented by David Chisnall! llvm-svn: 51835
-
- Apr 13, 2008
-
-
Chris Lattner authored
llvm-svn: 49607
-
- Mar 31, 2008
-
-
Chris Lattner authored
etoile runtime, patch by David Chisnall! llvm-svn: 48969
-
- Mar 16, 2008
-
-
Chris Lattner authored
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
-
- Mar 01, 2008
-
-
Chris Lattner authored
Patch by David Chisnall! llvm-svn: 47790
-