llvm-project/clang/test/CodeGenCXX
Mike Stump 71609a2874 Split out return adjustments in thunks from this adjustment in thunks
so the optimizer can tailcall into the return value adjustment thunk.
This improves codesize for complex hierarchies.

llvm-svn: 85988
2009-11-04 00:53:51 +00:00
..
PR4827-cast.cpp Use the correct cast kinds for bit casts and function to pointer decay. Fixes PR4827. 2009-09-01 20:52:42 +00:00
PR4890-debug-info-dtor.cpp Pass the GlobalDecl to getMangledName, fixes PR4890. 2009-09-11 00:11:35 +00:00
PR4983-constructor-conversion.cpp Add back the workaround since it lead to constructor conversion bugs :( 2009-09-15 21:14:33 +00:00
PR5050-constructor-conversion.cpp Mangle record types as decls. 2009-09-26 03:55:37 +00:00
PR5093-static-member-function.cpp Handle CXXMemberCallExprs that point to a static method. Fixes PR5093. 2009-09-29 03:54:11 +00:00
__null.cpp Rename clang to clang-cc. 2009-03-24 02:24:46 +00:00
address-of-fntemplate.cpp Change FixOverloadedFunctionReference to return a (possibly new) expression. Substitute TemplateIdRefExprs with DeclRefExprs. Doug, plz review :) 2009-10-21 17:16:23 +00:00
anonymous-namespaces.cpp Anonymous namespaces, sema + codegen. A lot of semantics are still broken, 2009-10-01 00:25:31 +00:00
anonymous-union-member-initializer.cpp Fix an assertion when initializing a union using a member initializer. (We weren't casting from the union type to the initializer type correctly). 2009-09-02 21:14:47 +00:00
array-construction.cpp Code gen for array construction - WIP 2009-10-28 20:55:41 +00:00
array-pointer-decay.cpp Use CastExpr::CK_ArrayToPointerDecay and fix an assert. 2009-08-08 21:04:35 +00:00
attr.cpp Ensure we have atleast 2-byte alignment for member functions. 2009-10-05 22:49:20 +00:00
call-arg-zero-temp.cpp Code-gen for CXXZeroInitValueExpr AST passed 2009-10-20 23:29:04 +00:00
cast-conversion.cpp Patch to implement static casting which requires one 2009-10-01 20:39:51 +00:00
casts.cpp Set the cast kind to CK_NoOp for C-style casts that are really const casts. Fixes PR5248. 2009-10-19 18:14:28 +00:00
class-layout.cpp Use the CGRecordLayoutBuilder even if there are no fields, because in C++ an empty class will have a padding byte. 2009-07-27 17:10:54 +00:00
conditional-expr-lvalue.cpp Add test case. 2009-09-15 16:36:17 +00:00
const-init.cpp Add support for generating reference initialization code. 2009-04-11 01:08:03 +00:00
constructor-conversion.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
constructor-default-arg.cpp Mangle record types as decls. 2009-09-26 03:55:37 +00:00
constructor-for-array-members.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
constructor-init-reference.cpp Make IRGen for initializing a member reference work correctly. 2009-08-29 20:58:20 +00:00
constructor-init.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
constructor-template.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
conversion-function.cpp If a conversion operator exists in a base class, make sure to cast the object to that base class. 2009-09-15 07:42:44 +00:00
convert-to-fptr.cpp Patch for AST representation for the implicit conversion to a function 2009-09-28 18:35:46 +00:00
copy-assign-synthesis-1.cpp Mangle record types as decls. 2009-09-26 03:55:37 +00:00
copy-assign-synthesis.cpp Adds testing of copy assignment of anonymous union 2009-08-13 21:47:21 +00:00
copy-constructor-elim.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
copy-constructor-synthesis.cpp Mangle record types as decls. 2009-09-26 03:55:37 +00:00
decl-ref-init.cpp patch to ir-gen conversion function call used in 2009-09-23 22:34:00 +00:00
default-arg-temps.cpp add support for codegening CXXZeroInitValueExprs 2009-10-18 15:18:11 +00:00
default-constructor-for-members.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
default-destructor-synthesis.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
delete.cpp Fix a lame regression in IR gen for C++ delete expressions. PR5102 2009-10-01 05:49:51 +00:00
derived-to-base-conv.cpp Copy conversion of an expression to its base class 2009-10-19 19:18:20 +00:00
derived-to-base.cpp Handle CK_DerivedToBase when emitting lvalue casts. 2009-09-12 16:16:49 +00:00
destructor-calls.cpp Emit the destructor epilogue in a cleanup block so a return from a destructor body still calls the epilogue. 2009-10-06 18:09:57 +00:00
destructors.cpp CodeGen may see out-of-line declarations of the various special member 2009-10-01 20:44:19 +00:00
devirtualize-virtual-function-calls.cpp Even more devirtualization cleverness. 2009-10-12 19:59:15 +00:00
explicit-instantiation.cpp Tweak the semantics of FunctionDecl::isOutOfLine to consider an 2009-09-11 20:15:17 +00:00
expr.cpp Fix PR5211: codegen shouldn't assume that the result of ||/&& is int 2009-10-17 04:24:20 +00:00
extern-c.cpp extern "C" should preserve the 'extern' qualifier for VarDecls. Fixes 6853728. 2009-05-16 21:02:39 +00:00
function-template-specialization.cpp Substitute unscoped template names. 2009-09-17 04:02:31 +00:00
global-init.cpp If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static. 2009-10-08 17:28:59 +00:00
implicit-instantiation-1.cpp Implement implicit instantiation of the member functions of a class template 2009-06-22 23:06:13 +00:00
mangle-extreme.cpp Substitution for prefixes. 2009-09-17 04:16:28 +00:00
mangle-subst-std.cpp Mangle std::basic_ostream<char, std::char_traits<char>> as So. 2009-10-08 17:20:26 +00:00
mangle-subst.cpp Builtin types are subsitutable if they are qualified. Fixes PR5196. 2009-10-16 02:06:06 +00:00
mangle.cpp Mangle anonymous structs/unions correctly. Fixes PR5139. 2009-10-07 01:45:02 +00:00
member-function-pointers.cpp Use CK_BitCast for member function pointer casts. Fixes PR5138. 2009-10-18 20:31:03 +00:00
member-functions.cpp Mangle record types as decls. 2009-09-26 03:55:37 +00:00
member-pointers-zero-init.cpp Handle CK_NullToMemberPointer in ScalarExprEmitter::EmitCast 2009-08-24 18:26:39 +00:00
namespace-aliases.cpp Handle namespace aliases. 2009-09-23 19:19:16 +00:00
nested-base-member-access.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
new.cpp Emit new[] cookie when needed. 2009-09-23 18:59:48 +00:00
nullptr.cpp Codegen support for nullptr from C++0x. 2009-09-15 04:39:46 +00:00
overload-binop-implicitconvert.cpp Move C++ test over to CodeGenCXX, since it requires CodeGen to reproduce 2009-09-01 15:39:05 +00:00
predefined-expr-sizeof.cpp Add test for dependent PredefinedExprs. 2009-09-11 18:49:46 +00:00
predefined-expr.cpp Speed up testing by avoiding stdio.h, also helps testing on windows. 2009-10-08 23:05:06 +00:00
ptr-to-datamember.cpp Add Code gen support for '->*' operator which fell 2009-10-26 21:58:25 +00:00
ptr-to-member-function.cpp Fixed a code gen bug (by fixing the AST) involving user-defined 2009-10-23 18:08:22 +00:00
reference-field.cpp Some small fixes for fields of reference type. 2009-05-30 21:09:44 +00:00
references.cpp Fix the 32-bit ABI to return structures with non-trivial copy ctors or dtors indirectly. 2009-10-20 22:07:59 +00:00
reinterpret-cast.cpp Handle reinterpret_cast between integral types and pointer types. 2009-09-15 04:48:33 +00:00
static-assert.cpp Don't assert when generating code with static_asserts. 2009-06-11 21:22:55 +00:00
static-data-member.cpp Fix a crash when referencing static data members. 2009-09-02 21:01:21 +00:00
static-init.cpp Use the inbounds variant of getelementptr for common pointer arithmetic. 2009-08-12 00:33:55 +00:00
template-anonymous-union-member-initializer.cpp Fix a codegen crash when a class template has a constructor that does member initialization of an anonymous union. 2009-09-02 19:17:55 +00:00
temporaries.cpp Add missing colons for FileCheck. 2009-10-31 20:42:26 +00:00
trivial-constructor-init.cpp Allow null initialization of scalara data members 2009-09-02 17:10:17 +00:00
virt.cpp Split out return adjustments in thunks from this adjustment in thunks 2009-11-04 00:53:51 +00:00
virtual-base-cast.cpp Uncomment some commented out code. 2009-10-06 23:02:00 +00:00
virtual-function-calls.cpp Fix test. 2009-10-12 20:06:34 +00:00
vtable-cast-crash.cpp Fix a crash when generating vtables that contain destructors. 2009-09-12 00:00:29 +00:00
x86_64-arguments.cpp x86-64 ABI: If a type is a C++ record with either a non-trivial destructor or a non-trivial copy constructor, it should be passed in a pointer. Daniel, plz review. 2009-09-16 15:53:40 +00:00