Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineModuleInfo.h34 SyncScope::ID AgentSSID;
36 SyncScope::ID WorkgroupSSID;
38 SyncScope::ID WavefrontSSID;
46 Optional<uint8_t> getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering()
47 if (SSID == SyncScope::SingleThread) in getSyncScopeInclusionOrdering()
55 else if (SSID == SyncScope::System) in getSyncScopeInclusionOrdering()
65 SyncScope::ID getAgentSSID() const { in getAgentSSID()
69 SyncScope::ID getWorkgroupSSID() const { in getWorkgroupSSID()
73 SyncScope::ID getWavefrontSSID() const { in getWavefrontSSID()
85 Optional<bool> isSyncScopeInclusion(SyncScope::ID A, SyncScope::ID B) const { in isSyncScopeInclusion()
DSIMemoryLegalizer.cpp218 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrScope) const;
421 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
429 if (SSID == SyncScope::System) in toSIAtomicScope()
445 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
479 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
572 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DLLVMContext.cpp87 SyncScope::ID SingleThreadSSID = in LLVMContext()
89 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext()
93 SyncScope::ID SystemSSID = in LLVMContext()
95 assert(SystemSSID == SyncScope::System && in LLVMContext()
290 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
DLLVMContextImpl.cpp217 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
219 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
221 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
DInstructions.cpp1109 SyncScope::System, InsertBef) {} in LoadInst()
1114 SyncScope::System, InsertAE) {} in LoadInst()
1118 SyncScope::ID SSID, Instruction *InsertBef) in LoadInst()
1130 SyncScope::ID SSID, in LoadInst()
1224 SyncScope::System, InsertBefore) {} in StoreInst()
1229 SyncScope::System, InsertAtEnd) {} in StoreInst()
1233 SyncScope::ID SSID, in StoreInst()
1249 SyncScope::ID SSID, in StoreInst()
1279 SyncScope::ID SSID) { in Init()
1312 SyncScope::ID SSID, in AtomicCmpXchgInst()
[all …]
DCore.cpp3087 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence()
3088 : SyncScope::System, in LLVMBuildFence()
3370 mapFromLLVMOrdering(ordering), singleThread ? SyncScope::SingleThread in LLVMBuildAtomicRMW()
3371 : SyncScope::System)); in LLVMBuildAtomicRMW()
3383 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg()
3391 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
3393 SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
3398 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
DAsmWriter.cpp2318 SyncScope::ID SSID);
2321 SyncScope::ID SSID);
2325 SyncScope::ID SSID);
2411 SyncScope::ID SSID) { in writeSyncScope()
2413 case SyncScope::System: { in writeSyncScope()
2430 SyncScope::ID SSID) { in writeAtomic()
2441 SyncScope::ID SSID) { in writeAtomicCmpXchg()
DLLVMContextImpl.h1356 StringMap<SyncScope::ID> SSC;
1361 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
DVerifier.cpp3215 Assert(LI.getSyncScopeID() == SyncScope::System, in visitLoadInst()
3243 Assert(SI.getSyncScopeID() == SyncScope::System, in visitStoreInst()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h190 SyncScope::ID SSID = SyncScope::System,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
242 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
DMachineFunction.h679 SyncScope::ID SSID = SyncScope::System,
DSelectionDAG.h997 SyncScope::ID SSID);
1007 SyncScope::ID SSID);
DSelectionDAGNodes.h1296 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstructions.h197 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
203 SyncScope::ID SSID = SyncScope::System,
206 unsigned Align, AtomicOrdering Order, SyncScope::ID SSID,
249 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
254 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
261 SyncScope::ID SSID = SyncScope::System) {
302 SyncScope::ID SSID;
331 SyncScope::ID SSID = SyncScope::System,
334 unsigned Align, AtomicOrdering Order, SyncScope::ID SSID,
374 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
[all …]
DLLVMContext.h46 namespace SyncScope {
138 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
DIRBuilder.h1354 SyncScope::ID SSID = SyncScope::System,
1363 SyncScope::ID SSID = SyncScope::System) {
1370 SyncScope::ID SSID = SyncScope::System) {
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp184 SyncScope::System, BB); in TEST_F()
187 AtomicOrdering::Monotonic, SyncScope::System, BB); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp384 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
386 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
680 Function *F = FI->getSyncScopeID() == SyncScope::SingleThread ? in instrumentAtomic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp467 SyncScope::ID SSID, in printSyncScope()
470 case SyncScope::System: in printSyncScope()
982 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
DMachineFunction.cpp370 SyncScope::ID SSID, AtomicOrdering Ordering, in getMachineMemOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/
DLLParser.h282 bool ParseScopeAndOrdering(bool isAtomic, SyncScope::ID &SSID,
284 bool ParseScope(SyncScope::ID &SSID);
DLLParser.cpp2119 bool LLParser::ParseScopeAndOrdering(bool isAtomic, SyncScope::ID &SSID, in ParseScopeAndOrdering()
2131 bool LLParser::ParseScope(SyncScope::ID &SSID) { in ParseScope()
2132 SSID = SyncScope::System; in ParseScope()
6508 SyncScope::ID SSID = SyncScope::System; in ParseLoad()
6557 SyncScope::ID SSID = SyncScope::System; in ParseStore()
6601 SyncScope::ID SSID = SyncScope::System; in ParseCmpXchg()
6653 SyncScope::ID SSID = SyncScope::System; in ParseAtomicRMW()
6706 SyncScope::ID SSID = SyncScope::System; in ParseFence()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp524 SmallVector<SyncScope::ID, 8> SSIDs;
682 SyncScope::ID getDecodedSyncScopeID(unsigned Val);
4336 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
4390 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
4420 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
4466 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
4480 SyncScope::ID SSID = getDecodedSyncScopeID(Record[1]); in parseFunctionBody()
4677 SyncScope::ID BitcodeReader::getDecodedSyncScopeID(unsigned Val) { in getDecodedSyncScopeID()
4678 if (Val == SyncScope::SingleThread || Val == SyncScope::System) in getDecodedSyncScopeID()
4679 return SyncScope::ID(Val); in getDecodedSyncScopeID()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/MIRParser/
DMIParser.cpp250 bool parseOptionalScope(LLVMContext &Context, SyncScope::ID &SSID);
2388 SyncScope::ID &SSID) { in parseOptionalScope()
2389 SSID = SyncScope::System; in parseOptionalScope()
2453 SyncScope::ID SSID; in parseMachineMemoryOperand()
/external/vulkan-validation-layers/layers/
Dcore_validation.h44 enum SyncScope { enum
58 SyncScope scope;
68 SyncScope scope;

12