TensorRT source code

Hello everyone,
Can someone tell me where to find source code for tensorRT, like internal implementations of functions like buildEngine() and how the optimization actually happens.
Thank you.

It’s not available.

Isn’t it open source?