summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
* Patch to build class meta-data for each implementation Fariborz Jahanian2009-01-241-9/+44
| | | | | | of class in objc2's nonfragile abi. llvm-svn: 62935
* remove a bunch of alignment handling code out of CGExprScalar, sinceChris Lattner2009-01-241-20/+18
| | | | | | | alignment must always be a constant. Just let the constant folder do it. llvm-svn: 62933
* remove dead code.Chris Lattner2009-01-241-15/+0
| | | | llvm-svn: 62930
* This patch builds the meta-class object for each Fariborz Jahanian2009-01-241-75/+171
| | | | | | implemented class in objc2's nonfrigile abi. llvm-svn: 62929
* Start filling in x86_64 ABI implementation.Daniel Dunbar2009-01-241-13/+159
| | | | | | | - No functionality change, moved behind -use-x86_64-abi option until it becomes non-experimental. llvm-svn: 62915
* Some very early work for new objc's Fariborz Jahanian2009-01-231-11/+208
| | | | | | meta-data generation. llvm-svn: 62894
* Handle pointer arithmetic on function pointers.Daniel Dunbar2009-01-231-5/+28
| | | | | | - <rdar://problem/6518844> Clang-generated bitcode crashes LLVM while compiling function pointer addition expression llvm-svn: 62857
* Checked in an oops!Fariborz Jahanian2009-01-231-1/+2
| | | | llvm-svn: 62853
* Another missing LLVM type for objc2's new abi defined.Fariborz Jahanian2009-01-231-3/+12
| | | | llvm-svn: 62852
* Define LLVM types for nonfragile abi metadata.Fariborz Jahanian2009-01-231-25/+158
| | | | llvm-svn: 62830
* Use NonFragileABI as name of new Next abi. More comments Fariborz Jahanian2009-01-223-58/+120
| | | | | | for the new meta-data. llvm-svn: 62806
* More refactoring of common API to the common class forFariborz Jahanian2009-01-221-93/+104
| | | | | | the two Next's objc runtimes. More comments. llvm-svn: 62735
* Allow creation of "dummy" compile units for debug information.Daniel Dunbar2009-01-221-10/+13
| | | | | | | | - Although gross, this is needed currently to ensure that we produce well formed debug information (to match pace with the assertions being added to DebugInfo in LLVM). llvm-svn: 62734
* Moved whole bunch of common APIs to the common class.Fariborz Jahanian2009-01-211-37/+37
| | | | | | No change in functionality. llvm-svn: 62729
* Refactoring ObjC Next's runtime classes in preparation forFariborz Jahanian2009-01-213-75/+126
| | | | | | the new ObjC's abi. llvm-svn: 62721
* revert the gnu objc patches, they regress codegen-gnu.mChris Lattner2009-01-211-11/+7
| | | | llvm-svn: 62708
* switch from getTypeAtIndex to getElementType. It is non-virtualChris Lattner2009-01-211-1/+1
| | | | | | and more idiomatic. llvm-svn: 62705
* Fix objc type conversion issues with the GNU runtime, patch byChris Lattner2009-01-211-7/+11
| | | | | | David Chisnall llvm-svn: 62703
* silence a couple unused variable 'result' warnings.Chris Lattner2009-01-211-2/+2
| | | | llvm-svn: 62674
* Commented objective-c's metadata types. Minor clean up.Fariborz Jahanian2009-01-211-5/+89
| | | | | | No change in functionality. llvm-svn: 62646
* Slight cleanup, and fix for va_arg on architectures where va_list is a Eli Friedman2009-01-204-15/+16
| | | | | | struct. llvm-svn: 62585
* Do codegen correctly for va_start/end/copy on architectures where Eli Friedman2009-01-201-4/+14
| | | | | | | | | va_list is a struct, like x86-64. If anyone has a better idea for how to do the check in the if statements, suggestions are welcome. llvm-svn: 62582
* Fix for PR3350: add special-casing for "references" to va_lists in Eli Friedman2009-01-201-5/+1
| | | | | | | | builtins. Also, a minor tweak to va_copy for consistency. llvm-svn: 62574
* Remove ScopedDecl, collapsing all of its functionality into Decl, soDouglas Gregor2009-01-203-5/+5
| | | | | | | | | | | | | | | | that every declaration lives inside a DeclContext. Moved several things that don't have names but were ScopedDecls (and, therefore, NamedDecls) to inherit from Decl rather than NamedDecl, including ObjCImplementationDecl and LinkageSpecDecl. Now, we don't store empty DeclarationNames for these things, nor do we try to insert them into DeclContext's lookup structure. The serialization tests are temporarily disabled. We'll re-enable them once we've sorted out the remaining ownership/serialiazation issues between DeclContexts and TranslationUnion, DeclGroups, etc. llvm-svn: 62562
* Update for new SourceLocation API.Daniel Dunbar2009-01-201-0/+1
| | | | llvm-svn: 62556
* Rename SourceManager::getCanonicalFileID -> getFileID. There isChris Lattner2009-01-191-1/+1
| | | | | | no longer such thing as a non-canonical FileID. llvm-svn: 62499
* remove the SourceManager:: and FullSourceLoc::getFileEntryForLoc methods.Chris Lattner2009-01-191-1/+1
| | | | llvm-svn: 62496
* Vector codegen improvementsNate Begeman2009-01-183-44/+81
| | | | llvm-svn: 62458
* CG support for inline asm constraints with symbolic names. Fixes PR3345Anders Carlsson2009-01-181-2/+18
| | | | llvm-svn: 62444
* Add sema support for symbolic names in inline asm statements.Anders Carlsson2009-01-181-1/+1
| | | | llvm-svn: 62441
* Add support for vectors to APValue. Vector constant evaluator and tests coming.Nate Begeman2009-01-181-0/+13
| | | | llvm-svn: 62438
* Change TargetInfo::validateInputConstraint to take begin/end name iterators ↵Anders Carlsson2009-01-171-1/+3
| | | | | | instead of the number of outputs. No functionality change. llvm-svn: 62433
* Patch to re-implement ivar-list meta-data generation to fixFariborz Jahanian2009-01-171-11/+31
| | | | | | cases of unnamed ivar bitfields. llvm-svn: 62429
* add support for usage of cast to union thing with static varsNuno Lopes2009-01-171-20/+28
| | | | llvm-svn: 62387
* Changed the API yet again.Fariborz Jahanian2009-01-161-5/+3
| | | | llvm-svn: 62335
* Used a more suitable api to get to the type of a recordFariborz Jahanian2009-01-161-1/+1
| | | | | | in code gen. llvm-svn: 62326
* more SourceLocation lexicon change: instead of referring to theChris Lattner2009-01-163-14/+15
| | | | | | "logical" location, refer to the "instantiation" location. llvm-svn: 62316
* Attempt to unbreak Windows build.Daniel Dunbar2009-01-161-3/+3
| | | | llvm-svn: 62295
* Implemented code gen for sizeof(objc class interface).Fariborz Jahanian2009-01-161-1/+8
| | | | llvm-svn: 62289
* add codegen support to union castsNuno Lopes2009-01-151-1/+14
| | | | | | init of static vars still not working. I'll get back to it tomorrow or so llvm-svn: 62278
* Fix some unused variable, control reaches end of non-void function,Daniel Dunbar2009-01-151-3/+2
| | | | | | and uninitialized use options. llvm-svn: 62270
* Add dummy X86_64 ABIInfo implementation.Daniel Dunbar2009-01-151-5/+26
| | | | llvm-svn: 62268
* Bug fix, __private_extern__ globals were always introducing a definition.Daniel Dunbar2009-01-131-10/+31
| | | | llvm-svn: 62139
* Patch to implement code gen for aggrgate-valued property usedFariborz Jahanian2009-01-121-0/+8
| | | | | | to access a field of its type. llvm-svn: 62123
* Cleanup DeclContext::addDecl and DeclContext::insert interface, from Piotr RakDouglas Gregor2009-01-121-8/+4
| | | | llvm-svn: 62122
* (LLVM up) Match TargetData API change in LLVM TOT.Daniel Dunbar2009-01-124-12/+12
| | | | llvm-svn: 62101
* Handle multi-value inputsAnders Carlsson2009-01-121-5/+18
| | | | llvm-svn: 62069
* make ScalarExprEmitter::EmitCompare() emit the expression with the correct ↵Nuno Lopes2009-01-111-3/+2
| | | | | | | | type instead of always zext it to an int this fixes codegen of simple exprs in C++ like 'if (x != 0)' llvm-svn: 62060
* More inline asm fixesAnders Carlsson2009-01-111-1/+4
| | | | llvm-svn: 62049
* Handle readwrite constraints correctlyAnders Carlsson2009-01-111-1/+2
| | | | llvm-svn: 62043
OpenPOWER on IntegriCloud