summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
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
commit4c758ea3e0d31e56773ef74ecac1775c641377e5 (patch)
tree0a109f93cf70b534d01a935be9d78ed558e127fe /llvm/utils/TableGen
parent87001fd6fd5194a26e00c18a77e65807ca49c1c0 (diff)
downloadbcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.tar.gz
bcm5719-llvm-4c758ea3e0d31e56773ef74ecac1775c641377e5.zip
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. llvm-svn: 56622
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/IntrinsicEmitter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/IntrinsicEmitter.cpp b/llvm/utils/TableGen/IntrinsicEmitter.cpp
index 38a5255a592..ade1c8c6645 100644
--- a/llvm/utils/TableGen/IntrinsicEmitter.cpp
+++ b/llvm/utils/TableGen/IntrinsicEmitter.cpp
@@ -314,7 +314,7 @@ EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, std::ostream &OS) {
break;
}
}
- OS << " Attr |= ParamAttr::ReadNone; // These do not access memory.\n";
+ OS << " Attr |= Attribute::ReadNone; // These do not access memory.\n";
OS << " break;\n";
for (unsigned i = 0, e = Ints.size(); i != e; ++i) {
switch (Ints[i].ModRef) {
@@ -325,7 +325,7 @@ EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, std::ostream &OS) {
break;
}
}
- OS << " Attr |= ParamAttr::ReadOnly; // These do not write memory.\n";
+ OS << " Attr |= Attribute::ReadOnly; // These do not write memory.\n";
OS << " break;\n";
OS << " }\n";
OS << "#endif\n\n";
OpenPOWER on IntegriCloud