summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ExtendingLLVM.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-09 22:07:39 +0000
committerChris Lattner <sabre@nondot.org>2006-03-09 22:07:39 +0000
commita0a2e0b25eddf30410a4cbdbe693312a5bb1265f (patch)
tree84771fd3a922f6f5e4ae1452275e62e0c7c4b88d /llvm/docs/ExtendingLLVM.html
parent591693f3bf73d576b57d26bdf2dab9cff4e909a4 (diff)
downloadbcm5719-llvm-a0a2e0b25eddf30410a4cbdbe693312a5bb1265f.tar.gz
bcm5719-llvm-a0a2e0b25eddf30410a4cbdbe693312a5bb1265f.zip
Intrinsic adding is a little bit simpler now
llvm-svn: 26668
Diffstat (limited to 'llvm/docs/ExtendingLLVM.html')
-rw-r--r--llvm/docs/ExtendingLLVM.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/llvm/docs/ExtendingLLVM.html b/llvm/docs/ExtendingLLVM.html
index 419b7c634f2..0d90fc1c081 100644
--- a/llvm/docs/ExtendingLLVM.html
+++ b/llvm/docs/ExtendingLLVM.html
@@ -85,15 +85,8 @@ function and then be turned into an instruction if warranted.</p>
what the restrictions are. Talk to other people about it so that you are
sure it's a good idea.</li>
-<li><tt>llvm/include/llvm/Intrinsics.h</tt>:
- add an enum in the <tt>llvm::Intrinsic</tt> namespace</li>
-
-<li><tt>llvm/lib/VMCore/Verifier.cpp</tt>:
- Add code to check the invariants of the intrinsic are respected.</li>
-
-<li><tt>llvm/lib/VMCore/Function.cpp (<tt>Function::getIntrinsicID()</tt>)</tt>:
- Identify the new intrinsic function, returning the enum for the intrinsic
- that you added.</li>
+<li><tt>llvm/include/llvm/Intrinsics.td</tt>:
+ Add an entry for your intrinsic.</li>
<li><tt>llvm/lib/Analysis/BasicAliasAnalysis.cpp</tt>: If the new intrinsic does
not access memory or does not write to memory, add it to the relevant list
OpenPOWER on IntegriCloud