summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Initialize MemCpyFnDevang Patel2007-10-311-1/+2
| | | | llvm-svn: 43569
* temporarily revert devang's patch to link in the llvm codegen etc.Chris Lattner2007-10-311-4/+2
| | | | llvm-svn: 43544
* Make target info available to clang code generator.Devang Patel2007-10-311-2/+4
| | | | | | | This is far from complete but this helps clang codegen module make progress. llvm-svn: 43536
* Refactor code into a separate method.Devang Patel2007-10-301-38/+45
| | | | llvm-svn: 43519
* Fix 80 col violations.Devang Patel2007-10-301-4/+8
| | | | llvm-svn: 43516
* Codegen global array initializers.Devang Patel2007-10-261-1/+35
| | | | llvm-svn: 43383
* Updated VC++ build system.Hartmut Kaiser2007-10-171-1/+1
| | | | | | | | Silenced some VC++ warnings. Had to rephrase a partial specialization of the IntrospectionTrait struct in SerializationTest.cpp, please review. Added a compiler specific workaround in IdentifierTable.h. Is that the way to fix this kind of issues? llvm-svn: 43074
* Phase 2 of making the Decl class more lightweight...Steve Naroff2007-09-131-1/+1
| | | | | | | | Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl. Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later. llvm-svn: 41934
* eliminate some VC++ warnings, patch contributed by Hartmut KaiserChris Lattner2007-09-041-2/+2
| | | | llvm-svn: 41692
* Implement codegen support for lowering "library builtins" like __builtin_isinf Chris Lattner2007-08-311-1/+5
| | | | | | | to their corresponding library routines (e.g. isinf). This allows us to handle all the stuff in macos math.h, and other stuff as it's added to *Builtins.def. llvm-svn: 41634
* add the ability to get the llvm function corresponding to a library builtin.Chris Lattner2007-08-311-4/+38
| | | | llvm-svn: 41633
* Implement code generation for constant CFStrings.Anders Carlsson2007-08-211-1/+57
| | | | llvm-svn: 41206
* Add preliminary support for converting struct types.Anders Carlsson2007-08-171-1/+1
| | | | llvm-svn: 41145
* Refactor code so that isIntegerConstantExpr has an ASTContext available.Chris Lattner2007-07-151-1/+1
| | | | llvm-svn: 39884
* A significant refactoring of the type size stuff to also Chris Lattner2007-07-141-3/+6
| | | | | | compute type alignment. This info is needed for struct layout. llvm-svn: 39850
* Implement trivial integer initializers, like 'int X = 4;' for globalChris Lattner2007-07-141-5/+10
| | | | | | vars. Approach suggested by Keith. llvm-svn: 39849
* In "int X,Y;", compile both X and Y.Chris Lattner2007-07-141-0/+6
| | | | llvm-svn: 39848
* implement support for basic codegen of global variables with no initializers.Chris Lattner2007-07-131-1/+34
| | | | llvm-svn: 39795
* remove location tracking for target infoChris Lattner2007-06-221-1/+1
| | | | llvm-svn: 39671
* Build enough support for aggregates to be able to compile this:Chris Lattner2007-06-221-0/+15
| | | | | | | | | | void test(int A, _Complex float Y) { _Complex float X; X = X; } llvm-svn: 39669
* Hook up global function and variable handling. We can now compile:Chris Lattner2007-06-201-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | int X, bar(int,int,int); short Y; double foo() { return bar(X, Y, 3); } into: @X = external global i32 ; <i32*> [#uses=1] @Y = external global i16 ; <i16*> [#uses=1] define double @foo() { entry: %tmp = load i32* @X ; <i32> [#uses=1] %tmp1 = load i16* @Y ; <i16> [#uses=1] %promote = sext i16 %tmp1 to i32 ; <i32> [#uses=1] %call = tail call i32 @bar( i32 %tmp, i32 %promote, i32 3 ) ; <i32> [#uses=1] %conv = sitofp i32 %call to double ; <double> [#uses=1] ret double %conv } declare i32 @bar(i32, i32, i32) llvm-svn: 39663
* Refactor CodeGenTypes out to CodeGenModule so it can be used for functionsChris Lattner2007-06-161-0/+4
| | | | | | and globals. llvm-svn: 39661
* Finally bite the bullet and make the major change: split the clang namespaceChris Lattner2007-06-151-1/+0
| | | | | | | | | | | | | out of the llvm namespace. This makes the clang namespace be a sibling of llvm instead of being a child. The good thing about this is that it makes many things unambiguous. The bad things is that many things in the llvm namespace (notably data structures like smallvector) now require an llvm:: qualifier. IMO, libsystem and libsupport should be split out of llvm into their own namespace in the future, which will fix this issue. llvm-svn: 39659
* Don't generate code for prototypesChris Lattner2007-06-151-1/+4
| | | | llvm-svn: 39656
* Implement conversion of clang ast types to LLVM types, at least for some trivialChris Lattner2007-05-291-2/+1
| | | | | | cases. llvm-svn: 39519
* Reorganize codegen files.Chris Lattner2007-05-281-0/+24
llvm-svn: 39504
OpenPOWER on IntegriCloud