Home
last modified time | relevance | path

Searched refs:SyncScope (Results 1 – 25 of 69) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineModuleInfo.h33 SyncScope::ID AgentSSID;
35 SyncScope::ID WorkgroupSSID;
37 SyncScope::ID WavefrontSSID;
39 SyncScope::ID SystemOneAddressSpaceSSID;
41 SyncScope::ID AgentOneAddressSpaceSSID;
43 SyncScope::ID WorkgroupOneAddressSpaceSSID;
45 SyncScope::ID WavefrontOneAddressSpaceSSID;
47 SyncScope::ID SingleThreadOneAddressSpaceSSID;
55 Optional<uint8_t> getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering()
56 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering()
[all …]
DSIMemoryLegalizer.cpp215 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrScope) const;
452 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
454 if (SSID == SyncScope::System) in toSIAtomicScope()
470 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
520 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
613 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUMachineModuleInfo.h33 SyncScope::ID AgentSSID;
35 SyncScope::ID WorkgroupSSID;
37 SyncScope::ID WavefrontSSID;
39 SyncScope::ID SystemOneAddressSpaceSSID;
41 SyncScope::ID AgentOneAddressSpaceSSID;
43 SyncScope::ID WorkgroupOneAddressSpaceSSID;
45 SyncScope::ID WavefrontOneAddressSpaceSSID;
47 SyncScope::ID SingleThreadOneAddressSpaceSSID;
55 Optional<uint8_t> getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering()
56 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering()
[all …]
DSIMemoryLegalizer.cpp219 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrScope) const;
478 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
480 if (SSID == SyncScope::System) in toSIAtomicScope()
496 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
546 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
639 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/external/llvm-project/clang/include/clang/Basic/
DSyncScope.h42 enum class SyncScope { enum
50 inline llvm::StringRef getAsString(SyncScope S) { in getAsString()
52 case SyncScope::OpenCLWorkGroup: in getAsString()
54 case SyncScope::OpenCLDevice: in getAsString()
56 case SyncScope::OpenCLAllSVMDevices: in getAsString()
58 case SyncScope::OpenCLSubGroup: in getAsString()
73 virtual SyncScope map(unsigned S) const = 0;
109 SyncScope map(unsigned S) const override { in map()
112 return SyncScope::OpenCLWorkGroup; in map()
114 return SyncScope::OpenCLDevice; in map()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp70 SyncScope::ID SingleThreadSSID = in LLVMContext()
72 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext()
76 SyncScope::ID SystemSSID = in LLVMContext()
78 assert(SystemSSID == SyncScope::System && in LLVMContext()
272 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
DLLVMContextImpl.cpp216 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
218 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
220 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
DInstructions.cpp1309 SyncScope::System, InsertBef) {} in LoadInst()
1314 SyncScope::System, InsertAE) {} in LoadInst()
1317 MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1329 MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1380 SyncScope::System, InsertBefore) {} in StoreInst()
1385 SyncScope::System, InsertAtEnd) {} in StoreInst()
1388 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1402 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1430 SyncScope::ID SSID) { in Init()
1463 SyncScope::ID SSID, in AtomicCmpXchgInst()
[all …]
/external/llvm-project/llvm/lib/IR/
DLLVMContext.cpp81 SyncScope::ID SingleThreadSSID = in LLVMContext()
83 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext()
87 SyncScope::ID SystemSSID = in LLVMContext()
89 assert(SystemSSID == SyncScope::System && in LLVMContext()
304 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
DLLVMContextImpl.cpp208 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
210 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
212 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
DInstructions.cpp1408 SyncScope::System, InsertBef) {} in LoadInst()
1413 SyncScope::System, InsertAE) {} in LoadInst()
1416 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1428 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1475 SyncScope::System, InsertBefore) {} in StoreInst()
1480 SyncScope::System, InsertAtEnd) {} in StoreInst()
1483 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1497 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1518 SyncScope::ID SSID) { in Init()
1553 SyncScope::ID SSID, in AtomicCmpXchgInst()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h187 SyncScope::ID SSID = SyncScope::System,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
242 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
DMachineFunction.h758 SyncScope::ID SSID = SyncScope::System,
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineMemOperand.h187 SyncScope::ID SSID = SyncScope::System,
249 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
250 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h192 SyncScope::ID SSID = SyncScope::System,
195 MaybeAlign Align, AtomicOrdering Order, SyncScope::ID SSID,
223 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
228 AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd) in LoadInst()
270 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
275 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
282 SyncScope::ID SSID = SyncScope::System) {
323 SyncScope::ID SSID;
351 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
354 AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd);
[all …]
DLLVMContext.h40 namespace SyncScope {
111 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
/external/llvm-project/llvm/include/llvm/IR/
DLLVMContext.h45 namespace SyncScope {
123 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
DInstructions.h204 SyncScope::ID SSID = SyncScope::System,
207 Align Align, AtomicOrdering Order, SyncScope::ID SSID,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
246 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
253 SyncScope::ID SSID = SyncScope::System) {
295 SyncScope::ID SSID;
329 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
332 AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd);
373 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
378 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp96 case SyncScope::SingleThread: in Select()
106 case SyncScope::System: in Select()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.h281 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts,
282 SyncScope Scope,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelDAGToDAG.cpp97 case SyncScope::SingleThread: in Select()
107 case SyncScope::System: in Select()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Djit_pch.hpp124 static const auto Sync_CrossThread = llvm::SyncScope::System;
/external/llvm-project/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp186 SyncScope::System, BB); in TEST_F()
189 AtomicOrdering::Monotonic, SyncScope::System, BB); in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp417 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
419 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
712 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp504 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
506 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
824 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()

123