Port the cost model printer to New PM
authorArthur Eubanks <aeubanks@google.com>
Wed, 8 Sep 2021 20:27:55 +0000 (13:27 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 8 Sep 2021 21:47:05 +0000 (14:47 -0700)
commitfe15347a1e03588376073f38b625acacb93122f4
treef0025edc66e7696da1a6d46aa2f975f996a6510b
parenta574f0e0c347cd8bee97e6770022aeb537542b22
Port the cost model printer to New PM

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D109284
llvm/include/llvm/Analysis/CostModel.h [new file with mode: 0644]
llvm/lib/Analysis/CostModel.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/CodeGen/ARM/vcvt-cost.ll
llvm/test/CodeGen/ARM/vselect_imax.ll