X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FInstructions.h;h=3dd42797c63cbe905388f2ecedb39cd8d694440c;hb=41e2397b720bc5d917ef614a7a6c257e8a3c8e42;hp=2e6b85b729b18cb50b15a736b65b63ffafac1cca;hpb=67909435402300f4ef9923cd24d53b44be17c97f;p=oota-llvm.git diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 2e6b85b729b..3dd42797c63 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -957,8 +957,9 @@ public: bool doesNotThrow() const; void setDoesNotThrow(bool doesNotThrow = true); - /// @brief Determine if the call returns a structure. - bool isStructReturn() const; + /// @brief Determine if the call returns a structure through first + /// pointer argument. + bool hasStructRetAttr() const; /// @brief Determine if any call argument is an aggregate passed by value. bool hasByValArgument() const; @@ -1769,8 +1770,9 @@ public: bool doesNotThrow() const; void setDoesNotThrow(bool doesNotThrow = true); - /// @brief Determine if the call returns a structure. - bool isStructReturn() const; + /// @brief Determine if the call returns a structure through first + /// pointer argument. + bool hasStructRetAttr() const; /// getCalledFunction - Return the function called, or null if this is an /// indirect function invocation.