Home
last modified time | relevance | path

Searched refs:getSyncScopeID (Results 1 – 25 of 37) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/IR/
H A DInstruction.cpp449 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
455 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
477 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
485 CXI->getSyncScopeID() == in haveSameSpecialState()
486 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
491 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
H A DAsmWriter.cpp4329 writeAtomic(LI->getContext(), LI->getOrdering(), LI->getSyncScopeID()); in printInstruction()
4334 writeAtomic(SI->getContext(), SI->getOrdering(), SI->getSyncScopeID()); in printInstruction()
4339 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction()
4343 RMWI->getSyncScopeID()); in printInstruction()
4346 writeAtomic(FI->getContext(), FI->getOrdering(), FI->getSyncScopeID()); in printInstruction()
H A DInstructions.cpp4675 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4680 getOrdering(), getSyncScopeID()); in cloneImpl()
4686 getSuccessOrdering(), getFailureOrdering(), getSyncScopeID()); in cloneImpl()
4695 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4701 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp577 if (int Res = cmpNumbers(LI->getSyncScopeID(), in cmpOperations()
578 cast<LoadInst>(R)->getSyncScopeID())) in cmpOperations()
593 return cmpNumbers(SI->getSyncScopeID(), in cmpOperations()
594 cast<StoreInst>(R)->getSyncScopeID()); in cmpOperations()
638 return cmpNumbers(FI->getSyncScopeID(), in cmpOperations()
639 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations()
656 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations()
657 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations()
669 return cmpNumbers(RMWI->getSyncScopeID(), in cmpOperations()
670 cast<AtomicRMWInst>(R)->getSyncScopeID()); in cmpOperations()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp133 SI->setAtomic(Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst()
162 Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst()
H A DInstCombineLoadStoreAlloca.cpp289 LT->getSyncScopeID()); in replace()
475 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
496 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue()
1008 V1->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1010 V2->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1547 SI.getOrdering(), SI.getSyncScopeID()); in mergeStoreIntoSuccessor()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp369 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType()
504 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType()
594 auto MemScope = SSNs[AI->getSyncScopeID()].empty() in tryExpandAtomicRMW()
596 : SSNs[AI->getSyncScopeID()]; in tryExpandAtomicRMW()
817 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
969 CI->getSuccessOrdering(), CI->getFailureOrdering(), CI->getSyncScopeID()); in expandPartwordCmpXchg()
1148 CI->getFailureOrdering(), CI->getSyncScopeID()); in convertCmpXchgToIntegerType()
1530 AI->getOrdering(), AI->getSyncScopeID(), in expandAtomicRMWToCmpXchg()
H A DMIRVRegNamerUtils.cpp129 MIOperands.push_back((unsigned)Op->getSyncScopeID()); in getInstructionOpcodeHash()
H A DMachineFunction.cpp478 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
486 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
505 MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
518 MMO->getRanges(), MMO->getSyncScopeID(), MMO->getSuccessOrdering(), in getMachineMemOperand()
527 MMO->getAAInfo(), MMO->getRanges(), MMO->getSyncScopeID(), in getMachineMemOperand()
H A DMachineStableHash.cpp191 HashComponents.push_back(static_cast<unsigned>(Op->getSyncScopeID())); in stableHashValue()
H A DMachineOperand.cpp1041 assert(getSyncScopeID() == SSID && "Value truncated"); in MachineMemOperand()
1122 printSyncScope(OS, Context, getSyncScopeID(), SSNs); in print()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h263 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
H A DSelectionDAGNodes.h1316 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h236 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
362 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
469 SyncScope::ID getSyncScopeID() const {
631 SyncScope::ID getSyncScopeID() const {
857 SyncScope::ID getSyncScopeID() const {
5387 return AI->getSyncScopeID();
5389 return AI->getSyncScopeID();
5391 return AI->getSyncScopeID();
5393 return AI->getSyncScopeID();
5395 return AI->getSyncScopeID();
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp926 SI->getSyncScopeID(), SI); in OptimizeGlobalAddressOfAllocation()
945 LI->getOrdering(), LI->getSyncScopeID(), LI); in OptimizeGlobalAddressOfAllocation()
1241 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
1251 SI->getSyncScopeID(), SI); in TryToShrinkGlobalToBoolean()
1258 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
H A DFunctionAttrs.cpp1723 return FI->getSyncScopeID() != SyncScope::SingleThread; in isOrderedAtomic()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2478 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
2493 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
2505 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
2519 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
2524 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp324 Args.push_back(IRB->getInt32(I.getSyncScopeID())); in visitAtomicCmpXchgInst()
H A DSPIRVInstructionSelector.cpp514 uint32_t Scope = static_cast<uint32_t>(getScope(MemOp->getSyncScopeID())); in selectAtomicRMW()
559 unsigned Scope = static_cast<uint32_t>(getScope(MemOp->getSyncScopeID())); in selectAtomicCmpXchg()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/
H A DReducerWorkItem.cpp185 OldMMO->getSyncScopeID(), OldMMO->getSuccessOrdering(), in cloneMemOperands()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1328 LI.getSyncScopeID(), LI.getOrdering()); in translateLoad()
1368 SI.getSyncScopeID(), SI.getOrdering()); in translateStore()
2873 getMemOpAlign(I), I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicCmpXchg()
2943 I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicRMW()
2952 Fence.getSyncScopeID()); in translateFence()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp710 MMI->isSyncScopeInclusion(SSID, MMO->getSyncScopeID()); in constructFromMIWithMMO()
717 SSID = *IsSyncScopeInclusion ? SSID : MMO->getSyncScopeID(); in constructFromMIWithMMO()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp812 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3121 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3136 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
3148 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
3163 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
3169 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2512 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2551 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2710 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst()

12