History log of /external/clang/test/CodeGen/2007-09-28-PackedUnionMember.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d6a5670465cb3f1d811695a9f23e372508240d2 14-Jan-2012 Richard Smith <richard-llvm@metafoo.co.uk> constexpr irgen: Add irgen support for APValue::Struct, APValue::Union,
APValue::Array and APValue::MemberPointer. All APValue values can now be emitted
as constants.

Add new CGCXXABI entry point for emitting an APValue MemberPointer. The other
entrypoints dealing with constant member pointers are no longer necessary and
will be removed in a later change.

Switch codegen from using EvaluateAsRValue/EvaluateAsLValue to
VarDecl::evaluateValue. This performs caching and deals with the nasty cases in
C++11 where a non-const object's initializer can refer indirectly to
previously-initialized fields within the same object.

Building the intermediate APValue object incurs a measurable performance hit on
pathological testcases with huge initializer lists, so we continue to build IR
directly from the Expr nodes for array and record types outside of C++11.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/2007-09-28-PackedUnionMember.c
3883e66cfd55de70d89831cf26f9ae53931d11d3 27-Jul-2011 Eric Christopher <echristo@apple.com> Migrate most of the rest of test/FrontendC from llvm and migrate
most of them to FileCheck.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/2007-09-28-PackedUnionMember.c