diff options
author | Tim Northover <tnorthover@apple.com> | 2014-03-29 13:28:05 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2014-03-29 13:28:05 +0000 |
commit | e77cc39afff8b9bedbd5a3be6fdbeef5e786184f (patch) | |
tree | ea8fcd7c22a75c9434eb859d3d093f6a4247ea9a /clang/lib/CodeGen/CodeGenModule.h | |
parent | e8fba987355caf92749e25a9f50b4f1ed1006fcf (diff) | |
download | bcm5719-llvm-e77cc39afff8b9bedbd5a3be6fdbeef5e786184f.tar.gz bcm5719-llvm-e77cc39afff8b9bedbd5a3be6fdbeef5e786184f.zip |
ObjC: allow targets to decide when to use stret for blocks.
This was originally part of the ARM64 patch, but seems semantically
separate.
llvm-svn: 205097
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 7694eed1a1b..0d13bdcc2fa 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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); |