JIT: Switch basic block successors to a visitor pattern (#86543)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Mon, 22 May 2023 22:00:37 +0000 (00:00 +0200)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 22:00:37 +0000 (00:00 +0200)
commit040fc24b19abc5a0227aaedcb4ed60656876f3ad
treec33c5c392ef25cff90a0b13d218f95ace1459616
parent00be01878b0d1b0ff3322c3fd4114345ac45eda1
JIT: Switch basic block successors to a visitor pattern (#86543)

BasicBlock::GetAllSuccs seems to be very slow.
src/coreclr/jit/block.cpp
src/coreclr/jit/block.h
src/coreclr/jit/compiler.hpp
src/coreclr/jit/dataflow.h
src/coreclr/jit/fgbasic.cpp
src/coreclr/jit/liveness.cpp
src/coreclr/jit/lsrabuild.cpp
src/coreclr/jit/promotionliveness.cpp
src/coreclr/jit/redundantbranchopts.cpp
src/coreclr/jit/ssabuilder.cpp
src/coreclr/jit/valuenum.cpp