aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGBuiltin.cpp
AgeCommit message (Expand)Author
2009-04-18fix incorrect lowering of __builtin_ia32_shufpd, rdar://6803924Chris Lattner
2009-04-13Update to use hasAttr() instead of getAttr().Daniel Dunbar
2009-04-08Add a destination type argument to EmitConstantExpr. This will be used for wh...Anders Carlsson
2009-04-07Implement __sync_{add,sub,and,or,xor}_and_fetch andDaniel Dunbar
2009-02-16Support IRgen of sqrt -> llvm.sqrt, pow -> llvm.pow.Daniel Dunbar
2009-02-16Fix IRgen of __builtin_memset.Daniel Dunbar
2009-02-13Implicitly declare certain C library functions (malloc, strcpy, memmove,Douglas Gregor
2009-02-11Use EmitVAListRef instead of EmitLValue directly to handle array decayDaniel Dunbar
2009-02-05Reapply Daniel's patch to match up with llvm 63765.Dale Johannesen
2009-02-04Chase LLVM TOT in circles (i.e., revert r63773 to match revert ofDaniel Dunbar
2009-02-04(llvm up) Update for intrinsic lookup changes.Daniel Dunbar
2009-01-25Make the constant folder aware of Eli Friedman
2009-01-20Slight cleanup, and fix for va_arg on architectures where va_list is a Eli Friedman
2009-01-20Do codegen correctly for va_start/end/copy on architectures where Eli Friedman
2009-01-20Fix for PR3350: add special-casing for "references" to va_lists in Eli Friedman
2009-01-18Vector codegen improvementsNate Begeman
2008-12-22Generate code for __builtin_ia32_pshufwAnders Carlsson
2008-12-01Use the new Expr::EvaluateAnders Carlsson
2008-11-16rename Expr::tryEvaluate to Expr::Evaluate.Chris Lattner
2008-11-04Fix bug in va_copyAnders Carlsson
2008-10-29Fix for PR2966: va_start/va_end use the *address* of the Eli Friedman
2008-10-15Added pinsrd, pinsrq, and some other vector intrinsicsMon P Wang
2008-10-10Lift EmitTargetBuiltinExpr out of EmitBuiltinExpr.Daniel Dunbar
2008-10-06Make sema and codegen allow __builtin___CFStringMakeConstantString as a validChris Lattner
2008-10-06always try to fold a builtin before emitting it. In the futureChris Lattner
2008-10-06Move handling of __builtin_nan("") out of CGBuiltin.cpp into ExprConstant.cppChris Lattner
2008-10-06remove some code where CGBuiltin folds constants, and use tryEvaluate toChris Lattner
2008-09-30Added support for sse intrinsics loadlpd, loadhpd, muldq128, and mulld128Mon P Wang
2008-09-03Add __builtin_object_size support.Daniel Dunbar
2008-08-30Simplify some calls to Builder.CreateCallAnders Carlsson
2008-08-16Change WarnUnsupported to ErrorUnsupported (in name and in practice).Daniel Dunbar
2008-08-11More #include cleaningDaniel Dunbar
2008-08-11More #include cleaningDaniel Dunbar
2008-07-31Updated to match new atomic names (to enable overloading for pointers toMon P Wang
2008-07-25X86 builtin fixesNate Begeman
2008-07-23don't depend on the result of CreateNeg to be a binopChris Lattner
2008-07-22Implement bzero, memset, memmove builtins.Daniel Dunbar
2008-07-21Implement nans, prefetch, and trap builtins. Daniel Dunbar
2008-07-21Kill an unused variable warningDaniel Dunbar
2008-07-21Add __builtin_powi[fl] supportDaniel Dunbar
2008-07-21Implement ffs, parity, and popcount builtins.Daniel Dunbar
2008-07-18Add support shufpdMon P Wang
2008-07-09Codegen support for __builtin_stdarg_startChris Lattner
2008-06-30Make a few related changes:Chris Lattner
2008-06-25Updated atomic intrinsic name from llvm r52706. Fixed dropped bit in shufps.Mon P Wang
2008-06-17This patch is motivated by numerous strict-aliasing warnings when compilingTed Kremenek
2008-06-16force size of alloca to i32, which is currently required by LLVM IR.Chris Lattner
2008-06-13Basic support for volatile loads and stores. Stores the volatile Eli Friedman
2008-05-27Implementation of __builtin_ctlz.Eli Friedman
2008-05-20Add codegen support for stack address intrinsics.Eli Friedman