Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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;
51 Optional<uint8_t> getSyncScopeInclusionOrdering(SyncScope::ID SSID) const { in getSyncScopeInclusionOrdering()
52 if (SSID == SyncScope::SingleThread || in getSyncScopeInclusionOrdering()
[all …]
H A DSIMemoryLegalizer.cpp225 toSIAtomicScope(SyncScope::ID SSID, SIAtomicAddrSpace InstrAddrSpace) const;
555 SIMemOpAccess::toSIAtomicScope(SyncScope::ID SSID, in toSIAtomicScope()
557 if (SSID == SyncScope::System) in toSIAtomicScope()
573 if (SSID == SyncScope::SingleThread) in toSIAtomicScope()
623 SyncScope::ID SSID = SyncScope::SingleThread; in constructFromMIWithMMO()
720 SyncScope::ID SSID = static_cast<SyncScope::ID>(MI->getOperand(1).getImm()); in getAtomicFenceInfo()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSyncScope.h42 enum class SyncScope { enum
50 inline llvm::StringRef getAsString(SyncScope S) { in getAsString()
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()
[all …]
/netbsd-src/external/apache2/llvm/dist/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.cpp209 SyncScope::ID LLVMContextImpl::getOrInsertSyncScopeID(StringRef SSN) { in getOrInsertSyncScopeID()
211 assert(NewSSID < std::numeric_limits<SyncScope::ID>::max() && in getOrInsertSyncScopeID()
213 return SSC.insert(std::make_pair(SSN, SyncScope::ID(NewSSID))).first->second; in getOrInsertSyncScopeID()
H A DInstructions.cpp1428 SyncScope::System, InsertBef) {} in LoadInst()
1433 SyncScope::System, InsertAE) {} in LoadInst()
1436 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1448 Align Align, AtomicOrdering Order, SyncScope::ID SSID, in LoadInst()
1495 SyncScope::System, InsertBefore) {} in StoreInst()
1500 SyncScope::System, InsertAtEnd) {} in StoreInst()
1503 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1517 AtomicOrdering Order, SyncScope::ID SSID, in StoreInst()
1538 SyncScope::ID SSID) { in Init()
1565 SyncScope::ID SSID, in AtomicCmpXchgInst()
[all …]
H A DCore.cpp3639 isSingleThread ? SyncScope::SingleThread in LLVMBuildFence()
3640 : SyncScope::System, in LLVMBuildFence()
3990 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicRMW()
4003 singleThread ? SyncScope::SingleThread : SyncScope::System)); in LLVMBuildAtomicCmpXchg()
4024 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4026 SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4031 SyncScope::ID SSID = NewValue ? SyncScope::SingleThread : SyncScope::System; in LLVMSetAtomicSingleThread()
H A DAsmWriter.cpp2615 SyncScope::ID SSID);
2618 SyncScope::ID SSID);
2622 SyncScope::ID SSID);
2711 SyncScope::ID SSID) { in writeSyncScope()
2713 case SyncScope::System: { in writeSyncScope()
2730 SyncScope::ID SSID) { in writeAtomic()
2741 SyncScope::ID SSID) { in writeAtomicCmpXchg()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h187 SyncScope::ID SSID = SyncScope::System,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
242 return static_cast<SyncScope::ID>(AtomicInfo.SSID); in getSyncScopeID()
H A DAtomicExpandUtils.h26 AtomicOrdering, SyncScope::ID, Value *&, Value *&)>;
H A DMachineFunction.h846 const MDNode *Ranges = nullptr, SyncScope::ID SSID = SyncScope::System,
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h204 SyncScope::ID SSID = SyncScope::System,
207 Align Align, AtomicOrdering Order, SyncScope::ID SSID,
241 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
246 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
253 SyncScope::ID SSID = SyncScope::System) {
295 SyncScope::ID SSID;
329 AtomicOrdering Order, SyncScope::ID SSID = SyncScope::System,
332 AtomicOrdering Order, SyncScope::ID SSID, BasicBlock *InsertAtEnd);
373 SyncScope::ID getSyncScopeID() const { in getSyncScopeID()
378 void setSyncScopeID(SyncScope::ID SSID) { in setSyncScopeID()
[all …]
H A DLLVMContext.h45 namespace SyncScope {
124 SyncScope::ID getOrInsertSyncScopeID(StringRef SSN);
H A DIRBuilder.h1738 SyncScope::ID SSID = SyncScope::System,
1747 SyncScope::ID SSID = SyncScope::System) {
1760 SyncScope::ID SSID = SyncScope::System) {
/netbsd-src/external/apache2/llvm/dist/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.h292 virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts,
293 SyncScope Scope,
H A DCGAtomic.cpp371 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchg()
421 llvm::SyncScope::ID Scope) { in emitAtomicCmpXchgFailureSet()
516 llvm::SyncScope::ID Scope) { in EmitAtomicOp()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelDAGToDAG.cpp96 case SyncScope::SingleThread: in Select()
106 case SyncScope::System: in Select()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp504 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
506 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
824 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp100 AtomicOrdering MemOpOrder, SyncScope::ID SSID,
470 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in createCmpXchgInstFun()
771 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
1397 AtomicOrdering MemOpOrder, SyncScope::ID SSID, in insertRMWCmpXchgLoop()
1633 SyncScope::ID SSID, Value *&Success, Value *&NewLoaded) { in expandAtomicRMWToLibcall()
H A DMachineOperand.cpp475 SyncScope::ID SSID, in printSyncScope()
478 case SyncScope::System: in printSyncScope()
1020 const MDNode *Ranges, SyncScope::ID SSID, in MachineMemOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/AsmParser/
H A DLLParser.h273 bool parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID,
275 bool parseScope(SyncScope::ID &SSID);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp566 SmallVector<SyncScope::ID, 8> SSIDs;
764 SyncScope::ID getDecodedSyncScopeID(unsigned Val);
5033 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5093 SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5136 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
5202 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 2]); in parseFunctionBody()
5269 const SyncScope::ID SSID = getDecodedSyncScopeID(Record[OpNum + 3]); in parseFunctionBody()
5296 SyncScope::ID SSID = getDecodedSyncScopeID(Record[1]); in parseFunctionBody()
5535 SyncScope::ID BitcodeReader::getDecodedSyncScopeID(unsigned Val) { in getDecodedSyncScopeID()
5536 if (Val == SyncScope::SingleThread || Val == SyncScope::System) in getDecodedSyncScopeID()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLParser.cpp2427 bool LLParser::parseScopeAndOrdering(bool IsAtomic, SyncScope::ID &SSID, in parseScopeAndOrdering()
2439 bool LLParser::parseScope(SyncScope::ID &SSID) { in parseScope()
2440 SSID = SyncScope::System; in parseScope()
7457 SyncScope::ID SSID = SyncScope::System; in parseLoad()
7514 SyncScope::ID SSID = SyncScope::System; in parseStore()
7565 SyncScope::ID SSID = SyncScope::System; in parseCmpXchg()
7624 SyncScope::ID SSID = SyncScope::System; in parseAtomicRMW()
7713 SyncScope::ID SSID = SyncScope::System; in parseFence()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp501 bool parseOptionalScope(LLVMContext &Context, SyncScope::ID &SSID);
2973 SyncScope::ID &SSID) { in parseOptionalScope()
2974 SSID = SyncScope::System; in parseOptionalScope()
3038 SyncScope::ID SSID; in parseMachineMemoryOperand()

12