Documentation update

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@85 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2009-10-28 12:10:06 +00:00
commit 43998cc2df
15 changed files with 1343 additions and 2192 deletions

19
tools/intrs_for_doc.py Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env python
import os
intrs = []
for line in file('../llvm/_intrinsic_ids.py'):
if line.startswith('INTR_'):
if 'INTR_ARM_' not in line and \
'INTR_BFIN_' not in line and \
'INTR_PPC_' not in line and \
'INTR_SPU_' not in line and \
'INTR_X86_' not in line and \
'INTR_XCORE_' not in line:
intrs.append(line.split()[0])
i = 0
while i < len(intrs):
print "`" + "`,`".join(intrs[i:min(i+3,len(intrs)+1)]) + "`"
i += 3