diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-01-12 18:57:32 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-01-12 18:57:32 +0000 |
commit | f4a5498ab44f06b2b74da7fda92521f34bb22367 (patch) | |
tree | 996c18fac94a1f426b60a7e11b8e90b48a93e496 /include/llvm | |
parent | 92938b714565db1aea797d7c7a04987cfc6384c2 (diff) | |
download | external_llvm-f4a5498ab44f06b2b74da7fda92521f34bb22367.zip external_llvm-f4a5498ab44f06b2b74da7fda92521f34bb22367.tar.gz external_llvm-f4a5498ab44f06b2b74da7fda92521f34bb22367.tar.bz2 |
Add hasByValArgument() to test if a call instruction has byval argument(s).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Instructions.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 1594a0a..76190f1 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -944,6 +944,9 @@ public: /// @brief Determine if the call returns a structure. bool isStructReturn() const; + /// @brief Determine if any call argument is an aggregate passed by value. + bool hasByValArgument() const; + /// getCalledFunction - Return the function being called by this instruction /// if it is a direct call. If it is a call through a function pointer, /// return null. |