summaryrefslogtreecommitdiff
path: root/include/llvm/Intrinsics.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-25 21:00:45 +0000
committerDevang Patel <dpatel@apple.com>2008-09-25 21:00:45 +0000
commit0598866c052147c31b808391f58434ce3dbfb838 (patch)
tree5a33037d52126e5eb635d76afe643d9b854694a1 /include/llvm/Intrinsics.h
parent32b952a2a60d1091e0e17bb6ce788cd1d41e6f8b (diff)
downloadllvm-0598866c052147c31b808391f58434ce3dbfb838.tar.gz
llvm-0598866c052147c31b808391f58434ce3dbfb838.tar.bz2
llvm-0598866c052147c31b808391f58434ce3dbfb838.tar.xz
Large mechanical patch.
s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Intrinsics.h')
-rw-r--r--include/llvm/Intrinsics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Intrinsics.h b/include/llvm/Intrinsics.h
index 1874d1a29d..b15b021f40 100644
--- a/include/llvm/Intrinsics.h
+++ b/include/llvm/Intrinsics.h
@@ -24,7 +24,7 @@ class Type;
class FunctionType;
class Function;
class Module;
-class PAListPtr;
+class AttrListPtr;
/// Intrinsic Namespace - This namespace contains an enum with a value for
/// every intrinsic/builtin function known by LLVM. These enum values are
@@ -49,9 +49,9 @@ namespace Intrinsic {
///
const FunctionType *getType(ID id, const Type **Tys = 0, unsigned numTys = 0);
- /// Intrinsic::getParamAttrs(ID) - Return the attributes for an intrinsic.
+ /// Intrinsic::getAttributes(ID) - Return the attributes for an intrinsic.
///
- PAListPtr getParamAttrs(ID id);
+ AttrListPtr getAttributes(ID id);
/// Intrinsic::getDeclaration(M, ID) - Create or insert an LLVM Function
/// declaration for an intrinsic, and return it.