#!/usr/bin/env python
# This creates a CSV file from the output of the debug output of subtarget:
# llvm-tblgen --gen-subtarget --debug-only=subtarget-emitter
# With thanks to Dave Estes for mentioning the idea at 2014 LLVM Developers' Meeting
;
;
;
;
=
=
= None
global ,
=
=
global
return != None
return True
global ,
# remove default and itinerary so we can control their sort order to make
# them first
=
=
=
# print header
# The interesting bits
= ;
= ;
= ;
= ;
=
# scan the file
=
=
=
=
=
=