[AA] Rename FunctionModRefBehavior to MemoryEffects (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 14 Oct 2022 14:57:07 +0000 (16:57 +0200)
committerNikita Popov <npopov@redhat.com>
Wed, 19 Oct 2022 08:37:53 +0000 (10:37 +0200)
commita5b35dee7a945452fd0c0183cad9bcc598a6ecd6
treeb6de0b246d0343078f8f089c7e2e72bf0e5b9992
parent82c820b95cf7ec284baf182cf838ca9e26758098
[AA] Rename FunctionModRefBehavior to MemoryEffects (NFC)

As part of https://discourse.llvm.org/t/rfc-unify-memory-effect-attributes/65579,
the FunctionModRefBehavior class sees a good bit of additional use,
and I've found the name to be something of a mouthful. This patch
renames it to MemoryEffects, which has a couple of advantages over
the old name:
 * It is more concise.
 * It decouples it from modelling only functions.
 * It matches the terminology of the aforementioned RFC.
 * The meaning should be more obvious to people not familiar with
   our particular AA lingo.

This patch just updates the class definition. Other uses of the
name will be updated separately.

Differential Revision: https://reviews.llvm.org/D135962
llvm/include/llvm/IR/ModRef.h