From 0ed153b0b4a41eee8eddb1258ca60ba1bf678cac Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Sat, 29 Mar 2014 13:28:05 +0000 Subject: ObjC: allow targets to decide when to use stret for blocks. This was originally part of the ARM64 patch, but seems semantically separate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205097 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 7694eed1a1..0d13bdcc2f 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -908,6 +908,10 @@ public: /// as a return type. bool ReturnTypeUsesSRet(const CGFunctionInfo &FI); + /// ReturnSlotInterferesWithArgs - Return true iff the given type uses an + /// argument slot when 'sret' is used as a return type. + bool ReturnSlotInterferesWithArgs(const CGFunctionInfo &FI); + /// ReturnTypeUsesFPRet - Return true iff the given type uses 'fpret' when /// used as a return type. bool ReturnTypeUsesFPRet(QualType ResultType); -- cgit v1.2.3