mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add an accesor for the isNormalMemory field in the SDep class.
llvm-svn: 61342
This commit is contained in:
parent
5b994215c8
commit
41ba26a452
@ -166,6 +166,13 @@ namespace llvm {
|
|||||||
return getKind() != Data;
|
return getKind() != Data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// isNormalMemory - Test if this is an Order dependence between two
|
||||||
|
/// memory accesses where both sides of the dependence access memory
|
||||||
|
/// in non-volatile and fully modeled ways.
|
||||||
|
bool isNormalMemory() const {
|
||||||
|
return getKind() == Order && Contents.Order.isNormalMemory;
|
||||||
|
}
|
||||||
|
|
||||||
/// isMustAlias - Test if this is an Order dependence that is marked
|
/// isMustAlias - Test if this is an Order dependence that is marked
|
||||||
/// as "must alias", meaning that the SUnits at either end of the edge
|
/// as "must alias", meaning that the SUnits at either end of the edge
|
||||||
/// have a memory dependence on a known memory location.
|
/// have a memory dependence on a known memory location.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user