AbortedChanges

Summary

  1. Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline" (details)
  2. [gn build] Port ad99e34c59b (details)
Commit ad99e34c59b80fd094a6acdbcde4869ff37dac87 by Yuanfang Chen
Revert "[NewPM][CodeGen] Introduce CodeGenPassBuilder to help build codegen pipeline"

This reverts commit 31ecf8d29d81d196374a562c6d2bd2c25a62861e.
This reverts commit 3fdaa8602a086a3fca5f0fc8527536ac659079d0.

There is laying violation for Target->CodeGen.
The file was modifiedllvm/include/llvm/Passes/StandardInstrumentations.h
The file was modifiedllvm/lib/CodeGen/LLVMTargetMachine.cpp
The file was modifiedllvm/include/llvm/Target/TargetMachine.h
The file was removedllvm/include/llvm/CodeGen/CGPassBuilderOption.h
The file was modifiedllvm/lib/CodeGen/CMakeLists.txt
The file was removedllvm/lib/CodeGen/CodeGenPassBuilder.cpp
The file was modifiedllvm/lib/CodeGen/TargetPassConfig.cpp
The file was removedllvm/include/llvm/CodeGen/MachinePassRegistry.def
The file was removedllvm/include/llvm/CodeGen/CodeGenPassBuilder.h
Commit 0e0d93e2f09a3e84cee0e77f0f2510001c2f064a by llvmgnsyncbot
[gn build] Port ad99e34c59b
The file was modifiedllvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn