Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/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;
52 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering()
64 else if (SSID == SyncScope::System || in getSyncScopeInclusionOrdering()
85 SyncScope::ID getAgentSSID() const { in getAgentSSID()
89 SyncScope::ID getWorkgroupSSID() const { in getWorkgroupSSID()
93 SyncScope::ID getWavefrontSSID() const { in getWavefrontSSID()
[all …]
H A DSIMemoryLegalizer.cpp225 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrAddrSpace) const;
561 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
563 if (SSID == SyncScope::System) in toSIAtomicScope()
579 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
629 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
726 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DSyncScope.h42 enum class SyncScope { enum
52 case SyncScope::OpenCLWorkGroup: in getAsString()
54 case SyncScope::OpenCLDevice: in getAsString()
56 case SyncScope::OpenCLAllSVMDevices: in getAsString()
58 case SyncScope::OpenCLSubGroup: in getAsString()
73 virtual SyncScope map(unsigned S) const = 0;
109 SyncScope map(unsigned S) const override { in map()
112 return SyncScope::OpenCLWorkGroup; in map()
114 return SyncScope::OpenCLDevice; in map()
116 return SyncScope::OpenCLAllSVMDevices; in map()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h192 SyncScope::ID SSID = SyncScope::System,
198 SyncScope::ID SSID = SyncScope::System,
264 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
265 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
H A DAtomicExpandUtils.h26 AtomicOrdering, SyncScope::ID, Value *&, Value *&)>;
H A DMachineFunction.h910 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
917 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp87 SyncScope::ID SingleThreadSSID = in LLVMContext()
89 assert(SingleThreadSSID == SyncScope::SingleThread && in LLVMContext()
93 SyncScope::ID SystemSSID = in LLVMContext()
95 assert(SystemSSID == SyncScope::System && in LLVMContext()
290 SyncScope::ID LLVMContext::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
H A DLLVMContextImpl.cpp205 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
207 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
209 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
H A DInstructions.cpp1441 SyncScope::System, InsertBef) {} in LoadInst()
1446 SyncScope::System, InsertAE) {} in LoadInst()
1508 SyncScope::System, InsertBefore) {} in StoreInst()
1513 SyncScope::System, InsertAtEnd) {} in StoreInst()
1516 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1551 SyncScope::ID SSID) { in Init()
1578 SyncScope::ID SSID, in AtomicCmpXchgInst()
1591 SyncScope::ID SSID, in AtomicCmpXchgInst()
1606 SyncScope::ID SSID) { in Init()
1683 SyncScope::ID SSID, in FenceInst()
[all …]
H A DCore.cpp3650 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence()
3651 : SyncScope::System, in LLVMBuildFence()
4001 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicRMW()
4014 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg()
4035 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4037 SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4042 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
H A DAsmWriter.cpp2604 SyncScope::ID SSID);
2607 SyncScope::ID SSID);
2611 SyncScope::ID SSID);
2700 SyncScope::ID SSID) { in writeSyncScope()
2702 case SyncScope::System: { in writeSyncScope()
2719 SyncScope::ID SSID) { in writeAtomic()
2730 SyncScope::ID SSID) { in writeAtomicCmpXchg()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h45 namespace SyncScope {
124 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
H A DInstructions.h205 SyncScope::ID SSID = SyncScope::System,
254 SyncScope::ID SSID = SyncScope::System) {
296 SyncScope::ID SSID;
330 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 DIRBuilder.h1756 SyncScope::ID SSID = SyncScope::System,
1765 SyncScope::ID SSID = SyncScope::System) {
1778 SyncScope::ID SSID = SyncScope::System) {
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h134 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
145 llvm::SyncScope::ID SSID = llvm::SyncScope::System) {
H A DTargetInfo.h299 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts,
300 SyncScope Scope,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp134 case SyncScope::SingleThread: in Select()
144 case SyncScope::System: in Select()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp475 SyncScope::ID SSID, in printSyncScope()
478 case SyncScope::System: in printSyncScope()
1027 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
1048 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
H A DAtomicExpandPass.cpp101 AtomicOrdering MemOpOrder, SyncScope::ID SSID,
507 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in createCmpXchgInstFun()
810 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
1438 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in insertRMWCmpXchgLoop()
1674 SyncScope::ID SSID, Value *&Success, Value *&NewLoaded) { in expandAtomicRMWToLibcall()
H A DMachineFunction.cpp433 SyncScope::ID SSID, AtomicOrdering Ordering, in getMachineMemOperand()
443 SyncScope::ID SSID, AtomicOrdering Ordering, in getMachineMemOperand()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp534 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
536 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
856 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h265 bool parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID,
267 bool parseScope(SyncScope::ID &SSID);
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp566 SmallVector<SyncScope::ID, 8> SSIDs;
732 SyncScope::ID getDecodedSyncScopeID(unsigned Val);
4985 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5045 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5087 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
5151 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
5222 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5249 SyncScope::ID SSID = getDecodedSyncScopeID(Record[1]); in parseFunctionBody()
5466 SyncScope::ID BitcodeReader::getDecodedSyncScopeID(unsigned Val) { in getDecodedSyncScopeID()
5467 if (Val == SyncScope::SingleThread || Val == SyncScope::System) in getDecodedSyncScopeID()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp2100 bool LLParser::parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID, in parseScopeAndOrdering()
2112 bool LLParser::parseScope(SyncScope::ID &SSID) { in parseScope()
2113 SSID = SyncScope::System; in parseScope()
7158 SyncScope::ID SSID = SyncScope::System; in parseLoad()
7215 SyncScope::ID SSID = SyncScope::System; in parseStore()
7266 SyncScope::ID SSID = SyncScope::System; in parseCmpXchg()
7325 SyncScope::ID SSID = SyncScope::System; in parseAtomicRMW()
7414 SyncScope::ID SSID = SyncScope::System; in parseFence()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp509 bool parseOptionalScope(LLVMContext &Context, SyncScope::ID &SSID);
3144 SyncScope::ID &SSID) { in parseOptionalScope()
3145 SSID = SyncScope::System; in parseOptionalScope()
3209 SyncScope::ID SSID; in parseMachineMemoryOperand()

12