Skip to content

Commit 68f3016

Browse files
committed
Remove llvm:: prefix in changes
1 parent e562837 commit 68f3016

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

llvm/lib/Analysis/AliasSetTracker.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST,
5454
if (Alias == SetMustAlias) {
5555
// Check that these two merged sets really are must aliases. If we cannot
5656
// find a must-alias pair between them, this set becomes a may alias.
57-
if (!llvm::any_of(MemoryLocs, [&](const MemoryLocation &MemLoc) {
58-
return llvm::any_of(AS.MemoryLocs,
59-
[&](const MemoryLocation &ASMemLoc) {
60-
return BatchAA.isMustAlias(MemLoc, ASMemLoc);
61-
});
57+
if (!any_of(MemoryLocs, [&](const MemoryLocation &MemLoc) {
58+
return any_of(AS.MemoryLocs, [&](const MemoryLocation &ASMemLoc) {
59+
return BatchAA.isMustAlias(MemLoc, ASMemLoc);
60+
});
6261
}))
6362
Alias = SetMayAlias;
6463
}
@@ -67,7 +66,7 @@ void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST,
6766
if (MemoryLocs.empty()) {
6867
std::swap(MemoryLocs, AS.MemoryLocs);
6968
} else {
70-
llvm::append_range(MemoryLocs, AS.MemoryLocs);
69+
append_range(MemoryLocs, AS.MemoryLocs);
7170
AS.MemoryLocs.clear();
7271
}
7372

@@ -115,7 +114,7 @@ void AliasSet::addPointer(AliasSetTracker &AST, const MemoryLocation &MemLoc,
115114
if (isMustAlias() && !KnownMustAlias) {
116115
// If we cannot find a must-alias with any of the existing MemoryLocs, we
117116
// must downgrade to may-alias.
118-
if (!llvm::any_of(MemoryLocs, [&](const MemoryLocation &ASMemLoc) {
117+
if (!any_of(MemoryLocs, [&](const MemoryLocation &ASMemLoc) {
119118
return AST.getAliasAnalysis().isMustAlias(MemLoc, ASMemLoc);
120119
}))
121120
Alias = SetMayAlias;
@@ -268,7 +267,7 @@ AliasSet &AliasSetTracker::getAliasSetFor(const MemoryLocation &MemLoc) {
268267
AliasSet *&MapEntry = PointerMap[MemLoc.Ptr];
269268
if (MapEntry) {
270269
AliasSet *AS = MapEntry->getForwardedTarget(*this);
271-
if (llvm::is_contained(AS->MemoryLocs, MemLoc)) {
270+
if (is_contained(AS->MemoryLocs, MemLoc)) {
272271
if (AS != MapEntry) {
273272
AS->addRef();
274273
MapEntry->dropRef(*this);

polly/lib/Analysis/ScopDetectionDiagnostic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ bool ReportNonSimpleMemoryAccess::classof(const RejectReason *RR) {
638638

639639
ReportAlias::ReportAlias(Instruction *Inst, AliasSet &AS)
640640
: RejectReason(RejectReasonKind::Alias), Inst(Inst) {
641-
llvm::append_range(Pointers, AS.getPointers());
641+
append_range(Pointers, AS.getPointers());
642642
}
643643

644644
std::string ReportAlias::formatInvalidAlias(std::string Prefix,

0 commit comments

Comments
 (0)