mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[NFC] Rename registerAliasAnalyses -> registerDefaultAliasAnalyses
To clarify that this only affects the "default" AA. Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D93980
This commit is contained in:
parent
fa41ff28af
commit
d0c52bd0f8
@ -465,7 +465,7 @@ public:
|
||||
/// registered.
|
||||
///
|
||||
/// This also adds target-specific alias analyses registered via
|
||||
/// TargetMachine::registerAliasAnalyses().
|
||||
/// TargetMachine::registerDefaultAliasAnalyses().
|
||||
AAManager buildDefaultAAPipeline();
|
||||
|
||||
/// Parse a textual pass pipeline description into a \c
|
||||
|
@ -335,7 +335,7 @@ public:
|
||||
|
||||
/// Allow the target to register alias analyses with the AAManager for use
|
||||
/// with the new pass manager. Only affects the "default" AAManager.
|
||||
virtual void registerAliasAnalyses(AAManager &) {}
|
||||
virtual void registerDefaultAliasAnalyses(AAManager &) {}
|
||||
|
||||
/// Add passes to the specified pass manager to get the specified file
|
||||
/// emitted. Typically this will involve several steps of code generation.
|
||||
|
@ -1897,7 +1897,7 @@ AAManager PassBuilder::buildDefaultAAPipeline() {
|
||||
|
||||
// Add target-specific alias analyses.
|
||||
if (TM)
|
||||
TM->registerAliasAnalyses(AA);
|
||||
TM->registerDefaultAliasAnalyses(AA);
|
||||
|
||||
return AA;
|
||||
}
|
||||
|
@ -489,7 +489,7 @@ void AMDGPUTargetMachine::adjustPassManager(PassManagerBuilder &Builder) {
|
||||
});
|
||||
}
|
||||
|
||||
void AMDGPUTargetMachine::registerAliasAnalyses(AAManager &AAM) {
|
||||
void AMDGPUTargetMachine::registerDefaultAliasAnalyses(AAManager &AAM) {
|
||||
AAM.registerFunctionAnalysis<AMDGPUAA>();
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
|
||||
void registerPassBuilderCallbacks(PassBuilder &PB,
|
||||
bool DebugPassManager) override;
|
||||
void registerAliasAnalyses(AAManager &) override;
|
||||
void registerDefaultAliasAnalyses(AAManager &) override;
|
||||
|
||||
/// Get the integer value of a null pointer in the given address space.
|
||||
static int64_t getNullPointerValue(unsigned AddrSpace) {
|
||||
|
Loading…
Reference in New Issue
Block a user