/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SyncScope.h | 42 enum class SyncScope { enum 60 inline llvm::StringRef getAsString(SyncScope S) { in getAsString() 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() 72 case SyncScope::HIPSingleThread: in getAsString() 74 case SyncScope::HIPWavefront: in getAsString() 76 case SyncScope::HIPWorkgroup: in getAsString() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUMachineModuleInfo.h | 30 SyncScope::ID AgentSSID; 32 SyncScope::ID WorkgroupSSID; 34 SyncScope::ID WavefrontSSID; 36 SyncScope::ID SystemOneAddressSpaceSSID; 38 SyncScope::ID AgentOneAddressSpaceSSID; 40 SyncScope::ID WorkgroupOneAddressSpaceSSID; 42 SyncScope::ID WavefrontOneAddressSpaceSSID; 44 SyncScope::ID SingleThreadOneAddressSpaceSSID; 53 getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering() 54 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering() [all …]
|
H A D | SIMemoryLegalizer.cpp | 231 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrAddrSpace) const; 761 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope() 763 if (SSID == SyncScope::System) in toSIAtomicScope() 773 if (SSID == SyncScope::SingleThread) in toSIAtomicScope() 816 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO() 912 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
|
H A D | AMDGPULowerBufferFatPointers.cpp | 735 void insertPreMemOpFence(AtomicOrdering Order, SyncScope::ID SSID); 736 void insertPostMemOpFence(AtomicOrdering Order, SyncScope::ID SSID); 739 bool IsVolatile, SyncScope::ID SSID); 1033 SyncScope::ID SSID) { in insertPreMemOpFence() 1046 SyncScope::ID SSID) { in insertPostMemOpFence() 1061 SyncScope::ID SSID) { in handleMemoryInst() 1216 SyncScope::ID SSID = AI.getSyncScopeID(); in visitAtomicCmpXchgInst()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 310 llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts, 311 SyncScope Scope, 506 llvm::SyncScope::ID 508 SyncScope Scope, in getLLVMSyncScopeID() 513 case SyncScope::HIPSingleThread: in getLLVMSyncScopeID() 514 case SyncScope::SingleScope: in getLLVMSyncScopeID() 517 case SyncScope::HIPWavefront: in getLLVMSyncScopeID() 518 case SyncScope::OpenCLSubGroup: in getLLVMSyncScopeID() 519 case SyncScope::WavefrontScope: in getLLVMSyncScopeID() 522 case SyncScope::HIPWorkgroup: in getLLVMSyncScopeID() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineMemOperand.h | 193 SyncScope::ID SSID = SyncScope::System, 199 SyncScope::ID SSID = SyncScope::System, 271 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() 272 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 | 1032 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System, 1038 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System, 1044 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
|
/freebsd/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() 325 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
|
H A D | LLVMContextImpl.cpp | 233 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID() 235 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID() 237 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
|
H A D | Core.cpp | 3956 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence() 3957 : SyncScope::System, in LLVMBuildFence() 4307 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicRMW() 4320 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg() 4341 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4343 return FI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4345 return SI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4347 return LI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4349 SyncScope::SingleThread; in LLVMIsAtomicSingleThread() 4354 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
|
H A D | Instructions.cpp | 1276 SyncScope::System, InsertBef) {} in LoadInst() 1279 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst() 1311 SyncScope::System, InsertBefore) {} in StoreInst() 1314 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst() 1334 SyncScope::ID SSID) { in Init() 1355 SyncScope::ID SSID, in AtomicCmpXchgInst() 1370 SyncScope::ID SSID) { in Init() 1391 SyncScope::ID SSID, InsertPosition InsertBefore) in AtomicRMWInst() 1446 SyncScope::ID SSID, InsertPosition InsertBefore) in FenceInst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instructions.h | 199 SyncScope::ID SSID = SyncScope::System, 228 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() 233 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID() 240 SyncScope::ID SSID = SyncScope::System) { 282 SyncScope::ID SSID; 313 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System, 349 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() 354 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID() 361 SyncScope::ID SSID = SyncScope::System) { 406 SyncScope::ID SSID; [all …]
|
H A D | LLVMContext.h | 44 namespace SyncScope { 126 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 154 llvm::SyncScope::ID 156 SyncScope Scope, in getLLVMSyncScopeID()
|
H A D | CGBuilder.h | 171 llvm::SyncScope::ID SSID = llvm::SyncScope::System) { 181 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
|
H A D | TargetInfo.h | 332 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts, 333 SyncScope Scope,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyISelDAGToDAG.cpp | 145 case SyncScope::SingleThread: in Select() 155 case SyncScope::System: in Select()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVInstructionSelector.cpp | 80 void emitFence(AtomicOrdering FenceOrdering, SyncScope::ID FenceSSID, 707 SyncScope::ID FenceSSID = in select() 708 static_cast<SyncScope::ID>(MI.getOperand(1).getImm()); in select() 1274 SyncScope::ID FenceSSID, in emitFence() 1280 FenceSSID == SyncScope::System) { in emitFence() 1296 if (FenceSSID == SyncScope::SingleThread) { in emitFence()
|
/freebsd/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 | 99 AtomicOrdering MemOpOrder, SyncScope::ID SSID, 576 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in createCmpXchgInstFun() 902 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW() 1564 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in insertRMWCmpXchgLoop() 1811 SyncScope::ID SSID, Value *&Success, Value *&NewLoaded) { in expandAtomicRMWToLibcall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 39 SyncScope::ID Work_ItemSSID; 40 SyncScope::ID WorkGroupSSID; 41 SyncScope::ID DeviceSSID; 42 SyncScope::ID AllSVMDevicesSSID; 43 SyncScope::ID SubGroupSSID; 720 static SPIRV::Scope::Scope getScope(SyncScope::ID Ord, in getScope() 722 if (Ord == SyncScope::SingleThread || Ord == MMI->Work_ItemSSID) in getScope() 724 else if (Ord == SyncScope::System || Ord == MMI->DeviceSSID) in getScope() 966 SyncScope::ID Ord = SyncScope::ID(I.getOperand(1).getImm()); in selectFence()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | LLParser.h | 319 bool parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID, 321 bool parseScope(SyncScope::ID &SSID);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 475 return *SSID != SyncScope::SingleThread; in isTsanAtomic() 794 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
|
H A D | SanitizerBinaryMetadata.cpp | 429 if ((SSID.has_value() && *SSID != SyncScope::SingleThread) || in runOn()
|