[JIT] Introduce BuiltinOpFunction and integrate into torchbind (#34098)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34098
* #33900 [JIT] Move stuff out of class_type.cpp
Test Plan: Imported from OSS
Differential Revision: D20229166
Pulled By: jamesr66a
fbshipit-source-id: d658a63a5d6e372e675f35b8456adc8de82b49f3