Displaying 8 results from an estimated 8 matches for "clang_redundant_headers".
2017 Dec 06
3
Who wants faster LLVM/Clang builds?
...p 3.43 2.52 -26.5%
> tools/libclang/CXStoredDiagnostic.cpp 1.67 1.26 -24.8%
> tools/clang-func-mapping/ClangFnMapGen.cpp 2.48 1.89 -23.8%
>
> Full list:
> <clang.txt>
>
> The corresponding patches (careful, they are big):
> <llvm_redundant_headers.patch>
> <clang_redundant_headers.patch>
>
> *Methodology*
> My tool took the compile_commands.json from LLVM build and iterated over
> files trying to remove redundant headers. To find which header files could
> be removed it scanned the file for "#include" lines and tried to remove
> them one by on...
2017 Dec 06
2
Who wants faster LLVM/Clang builds?
....5%
> tools/libclang/CXStoredDiagnostic.cpp 1.67 1.26 -24.8%
> tools/clang-func-mapping/ClangFnMapGen.cpp 2.48 1.89 -23.8%
>
> Full list:
>
> <clang.txt>
>
>
> The corresponding patches (careful, they are big):
>
> <llvm_redundant_headers.patch>
> <clang_redundant_headers.patch>
>
>
> *Methodology*
> My tool took the compile_commands.json from LLVM build and iterated over
> files trying to remove redundant headers. To find which header files could
> be removed it scanned the file for "#include" lines and tried to remove
> them one...
2017 Dec 05
9
Who wants faster LLVM/Clang builds?
...05/981e50d6/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171205/981e50d6/attachment-0008.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_redundant_headers.patch
Type: application/octet-stream
Size: 117203 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171205/981e50d6/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llv...
2017 Dec 09
2
[cfe-dev] Who wants faster LLVM/Clang builds?
...08/8b360593/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171208/8b360593/attachment-0008.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_redundant_headers.patch
Type: application/octet-stream
Size: 47574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171208/8b360593/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm...
2017 Dec 15
3
[cfe-dev] Who wants faster LLVM/Clang builds?
...%
> unittests/Tooling/RefactoringActionRulesTest.cpp 3.22 2.34 -27.5% 108.3
> 90.0 -16.9%
> lib/Serialization/GeneratePCH.cpp 2.38 1.78 -25.1% 83.8 71.1 -15.1%
>
> Full list:
> <clang.txt>
>
>
> The updated patches:
> <llvm_redundant_headers.patch>
> <clang_redundant_headers.patch>
>
> Thanks,
> Michael
>
> On Dec 8, 2017, at 9:20 AM, Quentin Colombet via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
>
> On Dec 6, 2017, at 1:17 PM, Matthias Braun via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> - We do...
2017 Dec 06
2
[cfe-dev] Who wants faster LLVM/Clang builds?
...pp 1.67 1.26 -24.8%
>> tools/clang-func-mapping/ClangFnMapGen.cpp 2.48 1.89 -23.8%
>>
>> Full list:
>>
>> <clang.txt>
>>
>>
>> The corresponding patches (careful, they are big):
>>
>> <llvm_redundant_headers.patch>
>> <clang_redundant_headers.patch>
>>
>>
>> *Methodology*
>> My tool took the compile_commands.json from LLVM build and iterated over
>> files trying to remove redundant headers. To find which header files could
>> be removed it scanned the file for "#include" lines and tried...
2017 Dec 06
2
[cfe-dev] Who wants faster LLVM/Clang builds?
...g/CXStoredDiagnostic.cpp 1.67 1.26 -24.8%
>> tools/clang-func-mapping/ClangFnMapGen.cpp 2.48 1.89 -23.8%
>>
>> Full list:
>> <clang.txt>
>>
>> The corresponding patches (careful, they are big):
>> <llvm_redundant_headers.patch>
>> <clang_redundant_headers.patch>
>>
>> Methodology
>> My tool took the compile_commands.json from LLVM build and iterated over files trying to remove redundant headers. To find which header files could be removed it scanned the file for "#include" lines and tried to remove them one by one (c...
2017 Dec 06
3
[cfe-dev] Who wants faster LLVM/Clang builds?
- We do indeed have a lot of unnecessary includes around in llvm (or pretty much any other C++ project for that matter).
- I want faster builds.
- The only way to reliably fight this is indeed automatic tools.
- Having the right amount of includes also has documentation value and ideally let's you understand the structure of your project.
- However relying on transitive includes works contrary