batched cleanups (#17288)
authorMichael Suo <suo@fb.com>
Thu, 21 Feb 2019 02:27:31 +0000 (18:27 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 21 Feb 2019 02:31:53 +0000 (18:31 -0800)
commit501d346da83f970c9c1bc491e7f797bf3a889278
tree4f88fc6a18dc12f3235458ee87650536cc171483
parentcb3d3d1115e49106cad4675882fe34bb068133ac
batched cleanups (#17288)

Summary:
Bunch of random stuff I came across while doing UDT stuff. Putting in a separate PR to avoid noise
- fix up the alias analysis list ops to include fork/wait
- improve dump() for aliasDb to print writes
- Move BuiltinFunction::call() to sugaredvalue with the rest of the methods
- formatting and includes
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17288

Differential Revision: D14147105

Pulled By: suo

fbshipit-source-id: 62e2a922a1726b684347365dc42c72188f154e9c
aten/src/ATen/core/ivalue.h
aten/src/ATen/core/jit_type.h
torch/csrc/jit/passes/alias_analysis.cpp
torch/csrc/jit/passes/python_print.cpp
torch/csrc/jit/passes/utils/alias_tracker.cpp
torch/csrc/jit/script/compiler.cpp
torch/csrc/jit/script/init.cpp
torch/csrc/jit/script/sugared_value.cpp
torch/csrc/jit/script/tree_views.h