| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineModuleInfo.h | 34 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()
|
| H A D | SIMemoryLegalizer.cpp | 216 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrScope) const; 419 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope() 427 if (SSID == SyncScope::System) in toSIAtomicScope() 443 if (SSID == SyncScope::SingleThread) in toSIAtomicScope() 476 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO() 569 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | SyncScope.h | 43 enum class SyncScope { enum 53 case SyncScope::OpenCLWorkGroup: in getAsString() 55 case SyncScope::OpenCLDevice: in getAsString() 57 case SyncScope::OpenCLAllSVMDevices: in getAsString() 59 case SyncScope::OpenCLSubGroup: in getAsString() 74 virtual SyncScope map(unsigned S) const = 0; 110 SyncScope map(unsigned S) const override { in map() 113 return SyncScope::OpenCLWorkGroup; in map() 115 return SyncScope::OpenCLDevice; in map() 117 return SyncScope::OpenCLAllSVMDevices; in map() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 88 SyncScope::ID SingleThreadSSID = in LLVMContext() 90 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext() 94 SyncScope::ID SystemSSID = in LLVMContext() 96 assert(SystemSSID == SyncScope::System && in LLVMContext() 291 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
|
| H A D | LLVMContextImpl.cpp | 217 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()
|
| H A D | Instructions.cpp | 1160 SyncScope::System, InsertBef) {} in LoadInst() 1165 SyncScope::System, InsertAE) {} in LoadInst() 1237 SyncScope::System, InsertAtEnd) {} in StoreInst() 1241 SyncScope::ID SSID, in StoreInst() 1257 SyncScope::ID SSID, in StoreInst() 1287 SyncScope::ID SSID) { in Init() 1347 SyncScope::ID SSID) { in Init() 1367 SyncScope::ID SSID, in AtomicRMWInst() 1378 SyncScope::ID SSID, in AtomicRMWInst() 1423 SyncScope::ID SSID, in FenceInst() [all …]
|
| H A D | Core.cpp | 3407 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence() 3408 : SyncScope::System, in LLVMBuildFence() 3738 mapFromLLVMOrdering(ordering), singleThread ? SyncScope::SingleThread in LLVMBuildAtomicRMW() 3739 : SyncScope::System)); in LLVMBuildAtomicRMW() 3751 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg() 3759 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 3761 SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 3766 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
|
| H A D | AsmWriter.cpp | 2363 SyncScope::ID SSID); 2366 SyncScope::ID SSID); 2370 SyncScope::ID SSID); 2456 SyncScope::ID SSID) { in writeSyncScope() 2458 case SyncScope::System: { in writeSyncScope() 2475 SyncScope::ID SSID) { in writeAtomic() 2486 SyncScope::ID SSID) { in writeAtomicCmpXchg()
|
| H A D | LLVMContextImpl.h | 1358 StringMap<SyncScope::ID> SSC; 1363 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
|
| /freebsd-12.1/contrib/llvm/include/llvm/CodeGen/ |
| H A D | MachineMemOperand.h | 190 SyncScope::ID SSID = SyncScope::System, 241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() 242 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
|
| H A D | MachineFunction.h | 728 SyncScope::ID SSID = SyncScope::System,
|
| H A D | SelectionDAG.h | 988 SyncScope::ID SSID); 998 SyncScope::ID SSID);
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 191 SyncScope::ID SSID = SyncScope::System, 222 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, 272 SyncScope::ID SSID = SyncScope::System) { 313 SyncScope::ID SSID; 342 SyncScope::ID SSID = SyncScope::System, 397 SyncScope::ID SSID = SyncScope::System) { 441 SyncScope::ID SSID; 468 SyncScope::ID SSID = SyncScope::System, 518 SyncScope::ID SSID; 674 SyncScope::ID SSID; [all …]
|
| H A D | LLVMContext.h | 46 namespace SyncScope { 139 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
|
| H A D | IRBuilder.h | 1438 SyncScope::ID SSID = SyncScope::System, 1447 SyncScope::ID SSID = SyncScope::System) { 1454 SyncScope::ID SSID = SyncScope::System) {
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | TargetInfo.h | 266 virtual llvm::SyncScope::ID getLLVMSyncScopeID(SyncScope S,
|
| H A D | CGAtomic.cpp | 365 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchg() 415 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchgFailureSet() 497 llvm::SyncScope::ID Scope) { in EmitAtomicOp()
|
| H A D | TargetInfo.cpp | 466 llvm::SyncScope::ID 467 TargetCodeGenInfo::getLLVMSyncScopeID(SyncScope S, llvm::LLVMContext &C) const { in getLLVMSyncScopeID() 7781 llvm::SyncScope::ID getLLVMSyncScopeID(SyncScope S, 7900 llvm::SyncScope::ID 7901 AMDGPUTargetCodeGenInfo::getLLVMSyncScopeID(SyncScope S, in getLLVMSyncScopeID() 7905 case SyncScope::OpenCLWorkGroup: in getLLVMSyncScopeID() 7908 case SyncScope::OpenCLDevice: in getLLVMSyncScopeID() 7911 case SyncScope::OpenCLAllSVMDevices: in getLLVMSyncScopeID() 7914 case SyncScope::OpenCLSubGroup: in getLLVMSyncScopeID()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 414 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic() 416 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic() 709 Function *F = FI->getSyncScopeID() == SyncScope::SingleThread ? in instrumentAtomic()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | MachineOperand.cpp | 469 SyncScope::ID SSID, in printSyncScope() 472 case SyncScope::System: in printSyncScope() 989 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
|
| H A D | MachineFunction.cpp | 389 SyncScope::ID SSID, AtomicOrdering Ordering, in getMachineMemOperand()
|
| /freebsd-12.1/contrib/llvm/lib/AsmParser/ |
| H A D | LLParser.h | 287 bool ParseScopeAndOrdering(bool isAtomic, SyncScope::ID &SSID, 289 bool ParseScope(SyncScope::ID &SSID);
|
| H A D | LLParser.cpp | 2144 bool LLParser::ParseScopeAndOrdering(bool isAtomic, SyncScope::ID &SSID, in ParseScopeAndOrdering() 2156 bool LLParser::ParseScope(SyncScope::ID &SSID) { in ParseScope() 2157 SSID = SyncScope::System; in ParseScope() 6672 SyncScope::ID SSID = SyncScope::System; in ParseLoad() 6721 SyncScope::ID SSID = SyncScope::System; in ParseStore() 6765 SyncScope::ID SSID = SyncScope::System; in ParseCmpXchg() 6817 SyncScope::ID SSID = SyncScope::System; in ParseAtomicRMW() 6875 SyncScope::ID SSID = SyncScope::System; in ParseFence()
|
| /freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 524 SmallVector<SyncScope::ID, 8> SSIDs; 682 SyncScope::ID getDecodedSyncScopeID(unsigned Val); 4400 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody() 4454 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody() 4484 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody() 4530 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody() 4544 SyncScope::ID SSID = getDecodedSyncScopeID(Record[1]); in parseFunctionBody() 4741 SyncScope::ID BitcodeReader::getDecodedSyncScopeID(unsigned Val) { in getDecodedSyncScopeID() 4742 if (Val == SyncScope::SingleThread || Val == SyncScope::System) in getDecodedSyncScopeID() 4743 return SyncScope::ID(Val); in getDecodedSyncScopeID() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 254 bool parseOptionalScope(LLVMContext &Context, SyncScope::ID &SSID); 2546 SyncScope::ID &SSID) { in parseOptionalScope() 2547 SSID = SyncScope::System; in parseOptionalScope() 2611 SyncScope::ID SSID; in parseMachineMemoryOperand()
|