Split the giant lookup table into 3 smaller ones

Instead of having a single, enormous LUT for all CUDA names, let's
have separate ones for different types of entity. We often know
that we're looking at a typename, or a function name, or a macro
name - so we can be more efficient (and resilient to name
collisions) by having smaller lookup tables for each of those
classes of entity).

Here we start that off by having three LUTs:
- Header names
- Type names
- Everything else

Future work could usefully split "everything else" into:
- enum values
- macro names
- function names
- everything else

It's worth noting that the "needs new matcher" todos I delete here
were actually resolved with the previous commit. It no longer
naively searches for things that start with "cu*" - it will find
exactly those things that are present in our lookup tables.


[ROCm/hip commit: 695a1eb059]
이 커밋은 다음에 포함됨:
Chris Kitching가 2017-10-24 20:38:49 +01:00를 커밋했습니다
1 부모 1cf0c75c49
커밋 22e7c4ebfc
3 파일이 변경됨
+460 -447

검색과 일치하는 파일 없음

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다. Diff 로드