- 3941b18 Make the constant folder aware of by Eli Friedman · 16 years ago
- f011589 Fix the address of a label to be properly considered and emitted as a constant. by Eli Friedman · 16 years ago
- f2da9df Refactor sizeof handling to use constant folding logic for constant by Eli Friedman · 16 years ago
- af707ab add initial support for the gcc "alignof(decl) is the alignment of the decl by Chris Lattner · 16 years ago
- e9feb47 Improve handling of alignof. alignof(VLA) now works properly for example. by Chris Lattner · 16 years ago
- 8f826f0 Fix invalid evaluation of _Complex float (real & imaginary parts had by Daniel Dunbar · 16 years ago
- 59b5da6 Support evaluation of vector constant expressions, and codegen of same. by Nate Begeman · 16 years ago
- 67303c1 postpone sizeof objc-class computatin to the clients. by Fariborz Jahanian · 16 years ago
- f185319 Fix some unused variable, control reaches end of non-void function, by Daniel Dunbar · 16 years ago
- 64b45f7 PODness and Type Traits by Sebastian Redl · 16 years ago
- 3f70456 Add codegen support for __null by Anders Carlsson · 16 years ago
- 86f1940 Add support for member references (E1.E2, E1->E2) with C++ semantics, by Douglas Gregor · 16 years ago
- 1c0cfd4 Get rid of the old Expr::Evaluate variant. by Anders Carlsson · 16 years ago
- 44b4321 Unifies the name-lookup mechanisms used in various parts of the AST by Douglas Gregor · 16 years ago
- e9a0f43 Workaround for PR3173. The fix is correct in the sense that if the enum by Eli Friedman · 16 years ago
- d407a76 This wasn't such a good idea after all as it broke some tests. by Anders Carlsson · 16 years ago
- b3fee0f Handle __builtin___CFStringMakeConstantString in Expr::Evaluate. by Anders Carlsson · 16 years ago
- 4fdfb09 Generate the correct results for the comma expression. Fixes PR3123. by Anders Carlsson · 16 years ago
- 027f62e Emit the correct diagnostic when a comma is in an ICE. by Anders Carlsson · 16 years ago
- 0e8acbb Change the diagnostics that the evaluator reports to be of type NOTE. by Anders Carlsson · 16 years ago
- f0c1e4b Replace the isEvaluated bool with a ShortCircuit int, making it easier to handle recursion by Anders Carlsson · 16 years ago
- 82206e2 Pass the expression to the Error and Extension methods. by Anders Carlsson · 16 years ago
- 5b45d4e Add a new variant of Evaluate and reimplement the old Evaluate in terms of the new. by Anders Carlsson · 16 years ago
- fcb4d09 General cleanup, evaluate the RHS of a logical op even if the LHS will give us the result. by Anders Carlsson · 16 years ago
- 54da049 EvalInfo now holds a reference to an EvalResult struct. by Anders Carlsson · 16 years ago
- cfe2571 remove debug-only assertion in the complex float evaluator as it makes some real apps crash by Nuno Lopes · 16 years ago
- 35873c4 The address of a variable is only constant if the variable has global storage. by Anders Carlsson · 16 years ago
- 4bbc0e0 Fix bug in the constant evaluator. Fixes PR3115. by Anders Carlsson · 16 years ago
- 9d4c157 Return false if we encounter a type we can't handle. by Anders Carlsson · 16 years ago
- 6dde0d5 Case values must be evaluated by Anders Carlsson · 16 years ago
- 51fe996 Use Expr::Evaluate for case statements. Fixes PR2525 by Anders Carlsson · 16 years ago
- a468d34 fix folding of '*doubleArray' by Nuno Lopes · 16 years ago
- 529569e Address some comments Eli had. by Anders Carlsson · 16 years ago
- a25bd55 use HandleConversionToBool() to check if a given cond is foldable (per Eli's comment) by Nuno Lopes · 16 years ago
- ccc3fce More complex float evaluator support. by Anders Carlsson · 16 years ago
- 6ee7aa1 rename Expr::tryEvaluate to Expr::Evaluate. by Chris Lattner · 16 years ago
- 9ad16ae Add very limited support for evaluating complex floats. by Anders Carlsson · 16 years ago
- f9ef0c6 fix folding of comma if given a non-constant operand. by Nuno Lopes · 16 years ago
- ca7c2ea make IntExprEvaluator fold the ?: operator by Nuno Lopes · 16 years ago
- 3068d11 More work on the constant evaluator. Eli, it would be great if you could have a look at this. by Anders Carlsson · 16 years ago
- 286f85e Add the ability to evaluate comparison operators with floating point numbers as operands. by Anders Carlsson · 16 years ago
- a6afa76 Fix for crash issues with comma operators with a void first operand, and by Eli Friedman · 16 years ago
- b11e778 Backout of r59196, plus a new ICE test. Sorry if this is a by Eli Friedman · 16 years ago
- dd2b12a Fix bug in constant evaluation exposed by 176.gcc. by Daniel Dunbar · 16 years ago
- 8a7b7c6 Disable some debug prints. by Daniel Dunbar · 16 years ago
- 4efaa27 Some additions to tryEvaluate I've had sitting around for a while. by Eli Friedman · 16 years ago
- 32fea9d fix a crash analyzing constants in 176.gcc/expr.c with my next patch. It was by Chris Lattner · 16 years ago
- c8cc9cc Teach the aggressive constant folder to fold X && 0 -> 0 and X || 1 -> 1 by Chris Lattner · 16 years ago
- 0518999 Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expressions, both of values and types. by Sebastian Redl · 16 years ago
- ac620de PR2919: __builtin_types_compatible_p strips CRV qualifiers. by Daniel Dunbar · 16 years ago
- 5db4b3f Teach tryEvaluate that fabs, copysign, and unary +/- are constants for by Daniel Dunbar · 16 years ago
- 7cbed03 Fix test suite regression, getFloatTypeSemantics shouldn't be called by Daniel Dunbar · 16 years ago
- ee5a700 Adjust calls to APFloat conversion for new interface. by Dale Johannesen · 16 years ago
- 7cecee8 ExprConstant should not abort when it sees a pointer constant that isn't. by Chris Lattner · 16 years ago
- 45b6b9d Add a Expr::isEvaluatable method, eliminate isBuiltinConstantExpr by Chris Lattner · 16 years ago
- a4d55d8 Move folding of __builtin_classify_type out of the CallExpr by Chris Lattner · 16 years ago
- 9e62171 Move handling of __builtin_nan("") out of CGBuiltin.cpp into ExprConstant.cpp by Chris Lattner · 16 years ago
- 34a74ab Teach FloatExprEvaluator to evaluate __builtin_huge_val and inf. by Chris Lattner · 16 years ago
- 019f4e8 Add a comment that describes tryEvaluate. Make tryEvaluate fold by Chris Lattner · 16 years ago
- d8bfe7f Initial implementation of floats in Expr::tryEvaluate; this doesn't by Eli Friedman · 16 years ago
- 0835a3c Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastExpr and ExplicitCastExpr derive from a common base class (CastExpr): by Argyrios Kyrtzidis · 16 years ago
- acc5f3e More #include cleaning by Daniel Dunbar · 16 years ago
- 165a70f Remove the old evaluator code. by Anders Carlsson · 16 years ago
- 2eb0ddc Turn on the new constant expression evaluator; it isn't by Eli Friedman · 16 years ago
- d9f4bcd Minor tweak plus a couple of FIXMEs. by Eli Friedman · 16 years ago
- 732b223 expand casts to handle what isIntegerConstantExpr handles. by Chris Lattner · 16 years ago
- 4c4867e Add support for __builtin_type_compatible_p, enums, etc. by Chris Lattner · 16 years ago
- 54176fd start remembering diagnostics for various cases, add some missing by Chris Lattner · 16 years ago
- 87eae5e Provide a structure for passing down 'is evaluated' and passing up by Chris Lattner · 16 years ago
- 75a4881 simplify some code a bit. by Chris Lattner · 16 years ago
- fcee001 share code between sizeof(expr) and sizeof(type) by Chris Lattner · 16 years ago
- ac7cb60 implement support for __extension__, make sure the result of a by Chris Lattner · 16 years ago
- 7a76778 add a new getIntTypeSizeInBits method. by Chris Lattner · 16 years ago
- cf0f51d rename "SInt" methods to "Int" in APValue. by Chris Lattner · 16 years ago
- b542afe make the new evaluator avoid conversions APValue<->APSInt in some cases. by Chris Lattner · 16 years ago
- f5eeb05 rearrange some code, no functionality changes. by Chris Lattner · 16 years ago
- 559e56b Fix small bug. The evaluator now works well enough to pass all tests by Anders Carlsson · 16 years ago
- 650c92f More constant expression work. by Anders Carlsson · 16 years ago
- a25ae3d Move out some methods. by Anders Carlsson · 16 years ago
- 2bad168 More work. by Anders Carlsson · 16 years ago
- 0fe52e1 Compilation fix by Seo Sanghyeon · 16 years ago
- 06a3675 Port more of Eli's evaluator over. This makes the int evaluator handle binary and unary operators. by Anders Carlsson · 16 years ago
- c754aa6 Commit beginnings of int evaluator. Currently not used. by Anders Carlsson · 16 years ago
- c44eec6 Shuffle things around in preparation for integrating Eli's constant evaluator. by Anders Carlsson · 16 years ago