https://github.com/halide/Halide
Revision 7496245ee5b1528dcb9fcc67627d5effe7cd65ca authored by Steven Johnson on 02 April 2020, 00:41:18 UTC, committed by Steven Johnson on 02 April 2020, 00:41:18 UTC
IR.h is an expensive header, and most includees don't need all of it (often, Expr.h is all they need). When other classes are needed (eg Function) the specific headers are included (rather than adding forward declarations).

Also did some drive-by addition of explicit std c++ headers where obvious.
1 parent 3da5069
History
Tip revision: 7496245ee5b1528dcb9fcc67627d5effe7cd65ca authored by Steven Johnson on 02 April 2020, 00:41:18 UTC
Avoid including IR.h in other .h files except where necessary
Tip revision: 7496245
File Mode Size
.github
apps
cmake
python_bindings
src
test
tools
tutorial
util
.clang-format -rw-r--r-- 1.5 KB
.clang-format-ignore -rw-r--r-- 265 bytes
.clang-tidy -rw-r--r-- 452 bytes
.gitattributes -rw-r--r-- 342 bytes
.gitignore -rw-r--r-- 1.0 KB
.gitmodules -rw-r--r-- 0 bytes
.travis.yml -rw-r--r-- 2.2 KB
CMakeLists.txt -rw-r--r-- 17.8 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.4 KB
Doxyfile -rw-r--r-- 103.6 KB
Doxyfile.in -rw-r--r-- 64.3 KB
LICENSE.txt -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 95.1 KB
README.md -rw-r--r-- 16.0 KB
README_cmake.md -rw-r--r-- 9.9 KB
README_rungen.md -rw-r--r-- 12.1 KB
README_webassembly.md -rw-r--r-- 10.5 KB
halide.cmake -rw-r--r-- 30.1 KB

README.md

back to top