Files
clang-p2996/llvm/lib/Transforms/Utils/PredicateInfo.cpp
Nikita Popov d46a69cab4 [PredicateInfo] Use BumpPtrAllocator for predicates (NFC) (#145692)
Currently predicates are allocated on the heap and tracked with an
intrusive list. Use a bump pointer allocator instead, which is more
efficient. The list is no longer needed, as we don't have to track
predicates for freeing.

The bump pointer allocator is provided as a parameter for PredicateInfo
to allow reusing the same allocator for all functions during IPSCCP.
2025-06-26 09:04:41 +02:00

32 KiB