Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineModuleInfo.h29 SyncScope::ID AgentSSID;
31 SyncScope::ID WorkgroupSSID;
33 SyncScope::ID WavefrontSSID;
35 SyncScope::ID SystemOneAddressSpaceSSID;
37 SyncScope::ID AgentOneAddressSpaceSSID;
39 SyncScope::ID WorkgroupOneAddressSpaceSSID;
41 SyncScope::ID WavefrontOneAddressSpaceSSID;
43 SyncScope::ID SingleThreadOneAddressSpaceSSID;
52 getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering()
53 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering()
[all …]
H A DSIMemoryLegalizer.cpp225 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrAddrSpace) const;
626 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
628 if (SSID == SyncScope::System) in toSIAtomicScope()
638 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
682 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
776 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSyncScope.h42 enum class SyncScope { enum
55 inline llvm::StringRef getAsString(SyncScope S) { in getAsString()
57 case SyncScope::HIPSingleThread: in getAsString()
59 case SyncScope::HIPWavefront: in getAsString()
61 case SyncScope::HIPWorkgroup: in getAsString()
63 case SyncScope::HIPAgent: in getAsString()
65 case SyncScope::HIPSystem: in getAsString()
67 case SyncScope::OpenCLWorkGroup: in getAsString()
69 case SyncScope::OpenCLDevice: in getAsString()
71 case SyncScope::OpenCLAllSVMDevices: in getAsString()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
H A DReduceMemoryOperations.cpp51 if (LI->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
52 LI->setSyncScopeID(SyncScope::System); in reduceAtomicSyncScopesInFunction()
54 if (SI->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
55 SI->setSyncScopeID(SyncScope::System); in reduceAtomicSyncScopesInFunction()
57 if (RMW->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
58 RMW->setSyncScopeID(SyncScope::System); in reduceAtomicSyncScopesInFunction()
60 if (CmpXChg->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
61 CmpXChg->setSyncScopeID(SyncScope::System); in reduceAtomicSyncScopesInFunction()
63 if (Fence->getSyncScopeID() != SyncScope::System && !O.shouldKeep()) in reduceAtomicSyncScopesInFunction()
64 Fence->setSyncScopeID(SyncScope::System); in reduceAtomicSyncScopesInFunction()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h191 SyncScope::ID SSID = SyncScope::System,
197 SyncScope::ID SSID = SyncScope::System,
263 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
264 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
H A DAtomicExpandUtils.h26 AtomicOrdering, SyncScope::ID, Value *&, Value *&)>;
H A DMachineFunction.h978 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
985 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp95 SyncScope::ID SingleThreadSSID = in LLVMContext()
97 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext()
101 SyncScope::ID SystemSSID = in LLVMContext()
103 assert(SystemSSID == SyncScope::System && in LLVMContext()
310 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
H A DLLVMContextImpl.cpp226 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
228 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
230 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
H A DInstructions.cpp1569 SyncScope::System, InsertBef) {} in LoadInst()
1574 SyncScope::System, InsertAE) {} in LoadInst()
1577 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1589 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1634 SyncScope::System, InsertBefore) {} in StoreInst()
1639 SyncScope::System, InsertAtEnd) {} in StoreInst()
1642 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1656 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1677 SyncScope::ID SSID) { in Init()
1704 SyncScope::ID SSID, in AtomicCmpXchgInst()
[all …]
H A DCore.cpp3594 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence()
3595 : SyncScope::System, in LLVMBuildFence()
3914 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicRMW()
3927 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg()
3948 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
3950 SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
3955 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DInstructions.h207 SyncScope::ID SSID = SyncScope::System,
210 Align Align, AtomicOrdering Order, SyncScope::ID SSID,
239 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
244 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
251 SyncScope::ID SSID = SyncScope::System) {
293 SyncScope::ID SSID;
327 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
330 AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd);
365 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
370 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
[all …]
H A DLLVMContext.h44 namespace SyncScope {
125 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
H A DIRBuilder.h1750 SyncScope::ID SSID = SyncScope::System,
1759 SyncScope::ID SSID = SyncScope::System) {
1772 SyncScope::ID SSID = SyncScope::System) {
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuilder.h141 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
152 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
H A DTargetInfo.h311 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts,
312 SyncScope Scope,
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp136 case SyncScope::SingleThread: in Select()
146 case SyncScope::System: in Select()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOperand.cpp510 SyncScope::ID SSID, in printSyncScope()
513 case SyncScope::System: in printSyncScope()
1068 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
1089 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
H A DAtomicExpandPass.cpp105 AtomicOrdering MemOpOrder, SyncScope::ID SSID,
547 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in createCmpXchgInstFun()
862 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
1494 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in insertRMWCmpXchgLoop()
1736 SyncScope::ID SSID, Value *&Success, Value *&NewLoaded) { in expandAtomicRMWToLibcall()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp353 if (SSID.has_value() && *SSID != SyncScope::SingleThread) { in runOn()
H A DThreadSanitizer.cpp481 return *SSID != SyncScope::SingleThread; in isTsanAtomic()
804 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp551 static SPIRV::Scope::Scope getScope(SyncScope::ID Ord) { in getScope()
553 case SyncScope::SingleThread: in getScope()
555 case SyncScope::System: in getScope()
704 SyncScope::ID Ord = SyncScope::ID(I.getOperand(1).getImm()); in selectFence()
/openbsd-src/gnu/llvm/llvm/include/llvm/AsmParser/
H A DLLParser.h297 bool parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID,
299 bool parseScope(SyncScope::ID &SSID);
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp675 SmallVector<SyncScope::ID, 8> SSIDs;
860 SyncScope::ID getDecodedSyncScopeID(unsigned Val);
6009 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
6084 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
6128 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
6198 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
6274 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
6302 SyncScope::ID SSID = getDecodedSyncScopeID(Record[1]); in parseFunctionBody()
6555 SyncScope::ID BitcodeReader::getDecodedSyncScopeID(unsigned Val) { in getDecodedSyncScopeID()
6556 if (Val == SyncScope::SingleThread || Val == SyncScope::System) in getDecodedSyncScopeID()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLParser.cpp2448 bool LLParser::parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID, in parseScopeAndOrdering()
2460 bool LLParser::parseScope(SyncScope::ID &SSID) { in parseScope()
2461 SSID = SyncScope::System; in parseScope()
7549 SyncScope::ID SSID = SyncScope::System; in parseLoad()
7606 SyncScope::ID SSID = SyncScope::System; in parseStore()
7657 SyncScope::ID SSID = SyncScope::System; in parseCmpXchg()
7716 SyncScope::ID SSID = SyncScope::System; in parseAtomicRMW()
7823 SyncScope::ID SSID = SyncScope::System; in parseFence()

12