| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | SyncScope.h | 42 enum class SyncScope { enum 62 case SyncScope::SystemScope: in getAsString() 64 case SyncScope::DeviceScope: in getAsString() 66 case SyncScope::WorkgroupScope: in getAsString() 68 case SyncScope::WavefrontScope: in getAsString() 70 case SyncScope::SingleScope: in getAsString() 74 case SyncScope::HIPWavefront: in getAsString() 76 case SyncScope::HIPWorkgroup: in getAsString() 78 case SyncScope::HIPAgent: in getAsString() 80 case SyncScope::HIPSystem: in getAsString() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMachineModuleInfo.h | 29 SyncScope::ID AgentSSID; 31 SyncScope::ID WorkgroupSSID; 33 SyncScope::ID WavefrontSSID; 35 SyncScope::ID SystemOneAddressSpaceSSID; 37 SyncScope::ID AgentOneAddressSpaceSSID; 39 SyncScope::ID WorkgroupOneAddressSpaceSSID; 53 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering() 65 else if (SSID == SyncScope::System || in getSyncScopeInclusionOrdering() 86 SyncScope::ID getAgentSSID() const { in getAgentSSID() 90 SyncScope::ID getWorkgroupSSID() const { in getWorkgroupSSID() [all …]
|
| H A D | SIMemoryLegalizer.cpp | 225 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrAddrSpace) const; 671 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope() 673 if (SSID == SyncScope::System) in toSIAtomicScope() 683 if (SSID == SyncScope::SingleThread) in toSIAtomicScope() 727 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO() 821 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AMDGPU.cpp | 466 llvm::SyncScope::ID 474 case SyncScope::SingleScope: in getLLVMSyncScopeID() 477 case SyncScope::HIPWavefront: in getLLVMSyncScopeID() 478 case SyncScope::OpenCLSubGroup: in getLLVMSyncScopeID() 479 case SyncScope::WavefrontScope: in getLLVMSyncScopeID() 482 case SyncScope::HIPWorkgroup: in getLLVMSyncScopeID() 487 case SyncScope::HIPAgent: in getLLVMSyncScopeID() 488 case SyncScope::OpenCLDevice: in getLLVMSyncScopeID() 489 case SyncScope::DeviceScope: in getLLVMSyncScopeID() 492 case SyncScope::SystemScope: in getLLVMSyncScopeID() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineMemOperand.h | 192 SyncScope::ID SSID = SyncScope::System, 198 SyncScope::ID SSID = SyncScope::System, 266 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() 267 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
|
| H A D | AtomicExpandUtils.h | 26 AtomicOrdering, SyncScope::ID, Value *&, Value *&)>;
|
| H A D | MachineFunction.h | 1031 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System, 1038 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | LLVMContext.cpp | 100 SyncScope::ID SingleThreadSSID = in LLVMContext() 102 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext() 106 SyncScope::ID SystemSSID = in LLVMContext() 108 assert(SystemSSID == SyncScope::System && in LLVMContext() 318 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
|
| H A D | LLVMContextImpl.cpp | 228 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID() 230 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID() 232 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
|
| H A D | Instructions.cpp | 1420 SyncScope::System, InsertBef) {} in LoadInst() 1425 SyncScope::System, InsertAE) {} in LoadInst() 1489 SyncScope::System, InsertBefore) {} in StoreInst() 1494 SyncScope::System, InsertAtEnd) {} in StoreInst() 1499 SyncScope::System, InsertBefore) {} in StoreInst() 1551 SyncScope::ID SSID) { in Init() 1572 SyncScope::ID SSID, in AtomicCmpXchgInst() 1585 SyncScope::ID SSID, in AtomicCmpXchgInst() 1600 SyncScope::ID SSID) { in Init() 1686 SyncScope::ID SSID, in FenceInst() [all …]
|
| H A D | Core.cpp | 3732 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence() 3733 : SyncScope::System, in LLVMBuildFence() 4073 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicRMW() 4086 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg() 4107 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4109 return FI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4111 return SI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4113 return LI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4115 SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4120 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 207 SyncScope::ID SSID = SyncScope::System, 251 SyncScope::ID SSID = SyncScope::System) { 293 SyncScope::ID SSID; 332 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, 385 SyncScope::ID SSID = SyncScope::System) { 430 SyncScope::ID SSID; 459 SyncScope::ID SSID = SyncScope::System, 508 SyncScope::ID SSID; 524 SyncScope::ID SSID); 708 SyncScope::ID SSID; [all …]
|
| H A D | LLVMContext.h | 44 namespace SyncScope { 126 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
|
| H A D | IRBuilder.h | 1834 SyncScope::ID SSID = SyncScope::System, 1843 SyncScope::ID SSID = SyncScope::System) { 1856 SyncScope::ID SSID = SyncScope::System) {
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 133 llvm::SyncScope::ID SSID = llvm::SyncScope::System) { 142 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
|
| H A D | TargetInfo.cpp | 153 llvm::SyncScope::ID 155 SyncScope Scope, in getLLVMSyncScopeID()
|
| H A D | TargetInfo.h | 320 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts, 321 SyncScope Scope,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelDAGToDAG.cpp | 137 case SyncScope::SingleThread: in Select() 147 case SyncScope::System: in Select()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
| H A D | RISCVInstructionSelector.cpp | 82 void emitFence(AtomicOrdering FenceOrdering, SyncScope::ID FenceSSID, 694 SyncScope::ID FenceSSID = in select() 695 static_cast<SyncScope::ID>(MI.getOperand(1).getImm()); in select() 1269 SyncScope::ID FenceSSID, in emitFence() 1275 FenceSSID == SyncScope::System) { in emitFence() 1291 if (FenceSSID == SyncScope::SingleThread) { in emitFence()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineOperand.cpp | 528 SyncScope::ID SSID, in printSyncScope() 531 case SyncScope::System: in printSyncScope() 1086 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand() 1107 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
|
| H A D | AtomicExpandPass.cpp | 105 AtomicOrdering MemOpOrder, SyncScope::ID SSID, 541 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in createCmpXchgInstFun() 849 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW() 1480 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in insertRMWCmpXchgLoop() 1727 SyncScope::ID SSID, Value *&Success, Value *&NewLoaded) { in expandAtomicRMWToLibcall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 310 bool parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID, 312 bool parseScope(SyncScope::ID &SSID);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 476 return *SSID != SyncScope::SingleThread; in isTsanAtomic() 795 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
|
| H A D | SanitizerBinaryMetadata.cpp | 421 if ((SSID.has_value() && *SSID != SyncScope::SingleThread) || in runOn()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVInstructionSelector.cpp | 558 static SPIRV::Scope::Scope getScope(SyncScope::ID Ord) { in getScope() 560 case SyncScope::SingleThread: in getScope() 562 case SyncScope::System: in getScope() 713 SyncScope::ID Ord = SyncScope::ID(I.getOperand(1).getImm()); in selectFence()
|