Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A 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()
H A DSIMemoryLegalizer.cpp216 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 DSyncScope.h43 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 DLLVMContext.cpp88 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 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()
H A DInstructions.cpp1160 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 DCore.cpp3407 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 DAsmWriter.cpp2363 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 DLLVMContextImpl.h1358 StringMap<SyncScope::ID> SSC;
1363 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h190 SyncScope::ID SSID = SyncScope::System,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
242 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
H A DMachineFunction.h728 SyncScope::ID SSID = SyncScope::System,
H A DSelectionDAG.h988 SyncScope::ID SSID);
998 SyncScope::ID SSID);
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstructions.h191 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 DLLVMContext.h46 namespace SyncScope {
139 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
H A DIRBuilder.h1438 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 DTargetInfo.h266 virtual llvm::SyncScope::ID getLLVMSyncScopeID(SyncScope S,
H A DCGAtomic.cpp365 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchg()
415 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchgFailureSet()
497 llvm::SyncScope::ID Scope) { in EmitAtomicOp()
H A DTargetInfo.cpp466 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 DThreadSanitizer.cpp414 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 DMachineOperand.cpp469 SyncScope::ID SSID, in printSyncScope()
472 case SyncScope::System: in printSyncScope()
989 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
H A DMachineFunction.cpp389 SyncScope::ID SSID, AtomicOrdering Ordering, in getMachineMemOperand()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.h287 bool ParseScopeAndOrdering(bool isAtomic, SyncScope::ID &SSID,
289 bool ParseScope(SyncScope::ID &SSID);
H A DLLParser.cpp2144 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 DBitcodeReader.cpp524 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 DMIParser.cpp254 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()

12