| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Instruction.cpp | 449 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 D | AsmWriter.cpp | 4329 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 D | Instructions.cpp | 4675 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 D | FunctionComparator.cpp | 577 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 D | InstCombineAtomicRMW.cpp | 133 SI->setAtomic(Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst() 162 Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst()
|
| H A D | InstCombineLoadStoreAlloca.cpp | 289 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 D | AtomicExpandPass.cpp | 369 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 D | MIRVRegNamerUtils.cpp | 129 MIOperands.push_back((unsigned)Op->getSyncScopeID()); in getInstructionOpcodeHash()
|
| H A D | MachineFunction.cpp | 478 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 D | MachineStableHash.cpp | 191 HashComponents.push_back(static_cast<unsigned>(Op->getSyncScopeID())); in stableHashValue()
|
| H A D | MachineOperand.cpp | 1041 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 D | MachineMemOperand.h | 263 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
|
| H A D | SelectionDAGNodes.h | 1316 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 236 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 D | GlobalOpt.cpp | 926 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 D | FunctionAttrs.cpp | 1723 return FI->getSyncScopeID() != SyncScope::SingleThread; in isOrderedAtomic()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2478 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 D | SPIRVEmitIntrinsics.cpp | 324 Args.push_back(IRB->getInt32(I.getSyncScopeID())); in visitAtomicCmpXchgInst()
|
| H A D | SPIRVInstructionSelector.cpp | 514 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 D | ReducerWorkItem.cpp | 185 OldMMO->getSyncScopeID(), OldMMO->getSuccessOrdering(), in cloneMemOperands()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1328 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 D | SIMemoryLegalizer.cpp | 710 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 D | ThreadSanitizer.cpp | 812 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3121 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 D | SROA.cpp | 2512 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()
|