aboutsummaryrefslogtreecommitdiff
path: root/CodeGen
AgeCommit message (Collapse)Author
2007-08-26Implement compound assignment operators whose LHS is scalar but RHS is complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41464 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement codegen of compound assignment operators for complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41463 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26compound assignment operators are of type CompoundAssignOperatorChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41460 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26update fixme'sChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41458 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement complex divisionChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41457 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26fix a typo noticed by Gordon HenriksenChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41451 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26llvmgcc is right :)Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41450 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26compound assignmetns work for scalars.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41449 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement conversions of complex to bool.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41448 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26remove ConvertScalarValueToBool.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41447 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26reimplement ConvertScalarValueToBool in CGExprScalar.cppChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41446 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26refactor some code to expose compex->scalar conversion to CGFChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41445 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26be slightly more volatile correctChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41444 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26these fixme's are easy :)Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41442 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement a fixme, add a couple more :)Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41441 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26there are no conversions from aggregates to scalars.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41440 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement conversions from complex to scalar types.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41439 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26Omit EmitConversionChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41438 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26Fix return of aggregate and return of complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41437 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26these implicit conversions are now explicit :)Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41436 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26remove uses of EmitConversionChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41435 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implicit casts take care of this code, remove it now.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41434 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26refactor scalar conversions out into CGExprScalar.cppChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41433 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26Implement casts from scalar -> complex and complex->complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41429 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement codegen of __imag of a scalar. Our impl doesn't suffer from Chris Lattner
GCC bug PR33192. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41427 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26Make initialization of complex vars work.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41426 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26fix codegen of pre/post inc/dec of a pointer.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41425 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26tolerate unimplemented codegen betterChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41424 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26int X[] isn't a VLA. This improves support for stdio.h on darwin.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41423 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement rudimentary union layout support.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41421 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26Don't make unknown builtins fatal errors yet.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41419 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26remove a bunch of dead codeChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41418 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-26implement codegen for complex literals.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41414 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-25The new correct compound assignment operators exposed a bug in codegen.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41405 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24implement codegen for real/imag. TODO: imag of non-complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41376 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24Teach emit-llvm for scalars to properly handle compound assignment Chris Lattner
operators in all their glory :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41373 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24print the computation type for compound assignment operators in dumps.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41361 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24completely refactor codegen of scalar expressions out into its own ↵Chris Lattner
CGExprScalar.cpp file. This patch temporarily breaks compound assignment operators, but greatly simplifies many things. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41355 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24rename two files.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41350 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24implement codegen of builtin_choose_expr for complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41349 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-24stub out complex -> bool conversion.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41347 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-23implement complex subtractionChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41345 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-23implement passing of complex and aggregates through call args.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41344 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-23add support for codegen of calls returning complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41336 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21add some fixme's, implement complex struct members.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41256 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21implement codegen for --/++Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41255 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21implement __extension__ and unary~ for complex.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41249 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21implement codegen for complex unary +/-Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41247 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21minor nicities.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41244 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-21implement support for complex subscripts.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41240 91177308-0d34-0410-b5e6-96231b3b80d8