| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
#elseinformation as well.
llvm-svn: 60955
|
| |
|
|
|
|
|
| |
- Added a side-table per each token-cached file with the preprocessor conditional stack. This tracks what #if's are matched with what #endifs and where their respective tokens are in the PTH file. This will allow for quick skipping of excluded conditional branches in the Preprocessor.
- Performance testing shows the addition of this information (without actually utilizing it) leads to no performance regressions.
llvm-svn: 60911
|
| |
|
|
|
|
| |
absolute path.
llvm-svn: 60558
|
| |
|
|
|
|
| |
Use an array instead of a DenseMap to cache persistent IDs -> IdentifierInfo*. This leads to a 4% speedup at -fsyntax-only using PTH.
llvm-svn: 60452
|
| |
|
|
|
|
|
|
|
| |
- Output 32 bit integers using bit-shifting + write of individual bytes.
This is motivated because we aren't guaranteed to load 32-bit ints of the mmaped PTH file at 4-byte offsets.
- Don't emit flags for IdentifierInfos. These are lazily populated by the Preprocessor/Parser.
- Only write out tokens for files with absolute paths. This is potentially temporary, but simplifies things for now.
llvm-svn: 60435
|
| |
|
|
|
|
|
|
| |
- a table including the IdentifierInfo data
- an index from persistent IdentifierInfo IDs to indices within this file.
- Enhance PTH generation to write out file map information, mapping inodes to tokens.
llvm-svn: 60132
|
| |
|
|
| |
llvm-svn: 60086
|
| |
|
|
| |
llvm-svn: 60077
|
| |
|
|
|
|
| |
to CacheTokens.cpp.
llvm-svn: 60071
|
| |
|
|
|
|
|
|
| |
the Backend output should be done in binary mode.
- I'd appreciate it if someone who has a Windows build could verify
this.
llvm-svn: 59221
|
|
|
llvm-svn: 57863
|