Lines Matching defs:Scope

97   SIAtomicScope Scope = SIAtomicScope::SYSTEM;
107 SIAtomicScope Scope = SIAtomicScope::SYSTEM,
114 : Ordering(Ordering), FailureOrdering(FailureOrdering), Scope(Scope),
121 assert(Scope == SIAtomicScope::NONE &&
128 assert(Scope != SIAtomicScope::NONE &&
145 this->Scope = std::min(Scope, SIAtomicScope::SINGLETHREAD);
149 this->Scope = std::min(Scope, SIAtomicScope::WORKGROUP);
153 this->Scope = std::min(Scope, SIAtomicScope::AGENT);
161 return Scope;
293 /// the \p Scope memory scope for address spaces \p
296 SIAtomicScope Scope,
300 /// the \p Scope memory scope for address spaces \p
303 SIAtomicScope Scope,
307 /// to the \p Scope memory scope for address spaces \p AddrSpace. Return true
310 SIAtomicScope Scope,
330 /// observed by other memory instructions executing in memory scope \p Scope.
333 virtual bool insertWait(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
341 /// operations by any thread for memory scopes up to memory scope \p Scope .
344 SIAtomicScope Scope,
352 /// Scope. \p IsCrossAddrSpaceOrdering indicates if the memory ordering is
355 SIAtomicScope Scope,
389 SIAtomicScope Scope,
393 SIAtomicScope Scope,
397 SIAtomicScope Scope,
405 bool insertWait(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
411 SIAtomicScope Scope,
416 SIAtomicScope Scope,
428 SIAtomicScope Scope,
440 SIAtomicScope Scope,
444 SIAtomicScope Scope,
448 SIAtomicScope Scope,
456 bool insertWait(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
462 SIAtomicScope Scope,
467 SIAtomicScope Scope,
499 SIAtomicScope Scope,
503 SIAtomicScope Scope,
507 SIAtomicScope Scope,
515 bool insertAcquire(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
518 bool insertRelease(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
551 SIAtomicScope Scope,
559 bool insertWait(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
565 SIAtomicScope Scope,
575 SIAtomicScope Scope,
590 // Sets Scope policy to \p Value if CPol operand is present in instruction \p
605 SIAtomicScope Scope, SIAtomicAddrSpace AddrSpace) const;
610 bool insertWait(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
615 bool insertAcquire(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
625 bool insertRelease(MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
630 SIAtomicScope Scope,
632 return setAtomicScope(MI, Scope, AddrSpace);
636 SIAtomicScope Scope,
638 return setAtomicScope(MI, Scope, AddrSpace);
642 SIAtomicScope Scope,
644 return setAtomicScope(MI, Scope, AddrSpace);
844 SIAtomicScope Scope = SIAtomicScope::NONE;
853 std::tie(Scope, OrderingAddrSpace, IsCrossAddressSpaceOrdering) =
862 return SIMemOpInfo(Ordering, Scope, OrderingAddrSpace, InstrAddrSpace,
912 SIAtomicScope Scope = SIAtomicScope::NONE;
915 std::tie(Scope, OrderingAddrSpace, IsCrossAddressSpaceOrdering) =
924 return SIMemOpInfo(Ordering, Scope, OrderingAddrSpace, SIAtomicAddrSpace::ATOMIC,
978 SIAtomicScope Scope,
984 switch (Scope) {
1013 SIAtomicScope Scope,
1026 SIAtomicScope Scope,
1085 SIAtomicScope Scope,
1102 switch (Scope) {
1119 switch (Scope) {
1142 switch (Scope) {
1182 SIAtomicScope Scope,
1197 switch (Scope) {
1227 SIAtomicScope Scope,
1231 return insertWait(MI, Scope, AddrSpace, SIMemOp::LOAD | SIMemOp::STORE,
1236 SIAtomicScope Scope,
1257 switch (Scope) {
1288 SIAtomicScope Scope,
1294 switch (Scope) {
1330 SIAtomicScope Scope,
1336 switch (Scope) {
1365 SIAtomicScope Scope,
1371 switch (Scope) {
1437 SIAtomicScope Scope,
1452 (Scope == SIAtomicScope::WORKGROUP)) {
1454 Scope = SIAtomicScope::AGENT;
1460 return SIGfx7CacheControl::insertWait(MI, Scope, AddrSpace, Op,
1465 SIAtomicScope Scope,
1480 switch (Scope) {
1503 Scope = SIAtomicScope::AGENT;
1525 Changed |= SIGfx7CacheControl::insertAcquire(MI, Scope, AddrSpace, Pos);
1531 SIAtomicScope Scope,
1544 switch (Scope) {
1574 SIGfx7CacheControl::insertRelease(MI, Scope, AddrSpace,
1581 const MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
1587 switch (Scope) {
1626 SIAtomicScope Scope, SIAtomicAddrSpace AddrSpace) const {
1631 switch (Scope) {
1665 const MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
1671 switch (Scope) {
1734 SIAtomicScope Scope,
1749 switch (Scope) {
1820 SIAtomicScope Scope,
1833 switch (Scope) {
1844 // Since AddrSpace contains SIAtomicAddrSpace::GLOBAL and Scope is
1854 // Since AddrSpace contains SIAtomicAddrSpace::GLOBAL and Scope is
1876 Changed |= insertWait(MI, Scope, AddrSpace, SIMemOp::LOAD | SIMemOp::STORE,
1884 SIAtomicScope Scope,
1890 switch (Scope) {
1977 SIAtomicScope Scope,
1995 switch (Scope) {
2027 switch (Scope) {
2050 switch (Scope) {
2097 SIAtomicScope Scope,
2112 switch (Scope) {
2155 const MachineBasicBlock::iterator &MI, SIAtomicScope Scope,
2161 switch (Scope) {
2296 SIAtomicScope Scope,
2314 switch (Scope) {
2346 switch (Scope) {
2405 SIAtomicScope Scope,
2424 switch (Scope) {
2461 SIAtomicScope Scope,
2484 switch (Scope) {
2507 insertWait(MI, Scope, AddrSpace, SIMemOp::LOAD | SIMemOp::STORE,
2564 SIAtomicScope Scope,
2569 switch (Scope) {