| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | FunctionComparator.cpp | 693 if (int Res = cmpNumbers(LI->getSyncScopeID(), in cmpOperations() 694 cast<LoadInst>(R)->getSyncScopeID())) in cmpOperations() 707 return cmpNumbers(SI->getSyncScopeID(), in cmpOperations() 708 cast<StoreInst>(R)->getSyncScopeID()); in cmpOperations() 752 return cmpNumbers(FI->getSyncScopeID(), in cmpOperations() 753 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations() 770 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations() 771 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations() 783 return cmpNumbers(RMWI->getSyncScopeID(), in cmpOperations() 784 cast<AtomicRMWInst>(R)->getSyncScopeID()); in cmpOperations()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Instruction.cpp | 874 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in hasSameSpecialState() 880 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in hasSameSpecialState() 902 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in hasSameSpecialState() 910 CXI->getSyncScopeID() == in hasSameSpecialState() 911 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in hasSameSpecialState() 916 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
|
| H A D | Instructions.cpp | 4361 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl() 4366 getOrdering(), getSyncScopeID()); in cloneImpl() 4372 getSuccessOrdering(), getFailureOrdering(), getSyncScopeID()); in cloneImpl() 4381 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl() 4387 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
|
| H A D | AsmWriter.cpp | 4815 writeAtomic(LI->getContext(), LI->getOrdering(), LI->getSyncScopeID()); in printInstruction() 4820 writeAtomic(SI->getContext(), SI->getOrdering(), SI->getSyncScopeID()); in printInstruction() 4825 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction() 4829 RMWI->getSyncScopeID()); in printInstruction() 4832 writeAtomic(FI->getContext(), FI->getOrdering(), FI->getSyncScopeID()); in printInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 483 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType() 510 RMWI->getSyncScopeID()); in convertAtomicXchgToIntegerType() 617 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType() 705 auto MemScope = SSNs[AI->getSyncScopeID()].empty() in tryExpandAtomicRMW() 707 : SSNs[AI->getSyncScopeID()]; in tryExpandAtomicRMW() 981 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW() 1047 AI->getOrdering(), AI->getSyncScopeID()); in widenPartwordAtomicRMW() 1140 CI->getSuccessOrdering(), CI->getFailureOrdering(), CI->getSyncScopeID()); in expandPartwordCmpXchg() 1318 CI->getFailureOrdering(), CI->getSyncScopeID()); in convertCmpXchgToIntegerType() 1716 AI->getOrdering(), AI->getSyncScopeID(), in expandAtomicRMWToCmpXchg()
|
| H A D | MachineFunction.cpp | 557 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand() 565 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand() 584 MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand() 597 MMO->getRanges(), MMO->getSyncScopeID(), MMO->getSuccessOrdering(), in getMachineMemOperand() 606 MMO->getAAInfo(), MMO->getRanges(), MMO->getSyncScopeID(), in getMachineMemOperand()
|
| H A D | MIRVRegNamerUtils.cpp | 129 MIOperands.push_back((unsigned)Op->getSyncScopeID()); in getInstructionOpcodeHash()
|
| H A D | MachineStableHash.cpp | 219 HashComponents.push_back(static_cast<unsigned>(Op->getSyncScopeID())); in stableHashValue()
|
| H A D | MachineOperand.cpp | 1112 assert(getSyncScopeID() == SSID && "Value truncated"); in MachineMemOperand() 1200 printSyncScope(OS, Context, getSyncScopeID(), SSNs); in print()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 393 LT->getSyncScopeID()); in replace() 585 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType() 604 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue() 1129 V1->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst() 1131 V2->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst() 1627 SI.getOrdering(), SI.getSyncScopeID()); in mergeStoreIntoSuccessor()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineMemOperand.h | 275 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
|
| H A D | SelectionDAGNodes.h | 1451 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUSwLowerLDS.cpp | 694 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in translateLDSMemoryOperationsToGlobalMemory() 704 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in translateLDSMemoryOperationsToGlobalMemory() 715 RMW->getOrdering(), RMW->getSyncScopeID()); in translateLDSMemoryOperationsToGlobalMemory() 727 XCHG->getFailureOrdering(), XCHG->getSyncScopeID()); in translateLDSMemoryOperationsToGlobalMemory()
|
| H A D | AMDGPULowerBufferFatPointers.cpp | 1039 NewLI->setAtomic(OrigLI.getOrdering(), OrigLI.getSyncScopeID()); in visitLoadImpl() 1805 LI.getSyncScopeID()); in visitLoadInst() 1815 SI.getSyncScopeID()); in visitStoreInst() 1825 AI.getSyncScopeID()); in visitAtomicRMWInst() 1839 SyncScope::ID SSID = AI.getSyncScopeID(); in visitAtomicCmpXchgInst()
|
| H A D | SIMemoryLegalizer.cpp | 816 MMI->isSyncScopeInclusion(SSID, MMO->getSyncScopeID()); in constructFromMIWithMMO() 823 SSID = *IsSyncScopeInclusion ? SSID : MMO->getSyncScopeID(); in constructFromMIWithMMO()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Instructions.h | 234 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function 358 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function 465 SyncScope::ID getSyncScopeID() const { 625 SyncScope::ID getSyncScopeID() const { 877 SyncScope::ID getSyncScopeID() const { 5117 return AI->getSyncScopeID(); 5119 return AI->getSyncScopeID(); 5121 return AI->getSyncScopeID(); 5123 return AI->getSyncScopeID(); 5125 return AI->getSyncScopeID();
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | GlobalOpt.cpp | 973 InitBool, false, Align(1), SI->getOrdering(), SI->getSyncScopeID(), in OptimizeGlobalAddressOfAllocation() 992 LI->getOrdering(), LI->getSyncScopeID(), in OptimizeGlobalAddressOfAllocation() 1287 LI->getSyncScopeID(), LI->getIterator()); in TryToShrinkGlobalToBoolean() 1298 SI->getSyncScopeID(), SI->getIterator()); in TryToShrinkGlobalToBoolean() 1305 LI->getOrdering(), LI->getSyncScopeID(), LI->getIterator()); in TryToShrinkGlobalToBoolean()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/ |
| H A D | Instruction.h | 429 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function 430 return cast<llvm::FenceInst>(Val)->getSyncScopeID(); in getSyncScopeID() 2092 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function 2093 return cast<llvm::AtomicRMWInst>(Val)->getSyncScopeID(); in getSyncScopeID() 2164 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function 2165 return cast<llvm::AtomicCmpXchgInst>(Val)->getSyncScopeID(); in getSyncScopeID()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILBitcodeWriter.cpp | 2460 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction() 2475 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction() 2487 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction() 2501 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction() 2506 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFPreserveStaticOffset.cpp | 216 Args.push_back(ConstantInt::get(Int8Ty, (unsigned)Insn->getSyncScopeID())); in fillCommonArgs()
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Instruction.cpp | 324 .emplaceIfTracking<GenericSetter<&FenceInst::getSyncScopeID, in setSyncScopeID() 1281 .emplaceIfTracking<GenericSetter<&AtomicRMWInst::getSyncScopeID, in setSyncScopeID() 1307 .emplaceIfTracking<GenericSetter<&AtomicCmpXchgInst::getSyncScopeID, in setSyncScopeID()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 1419 LI.getSyncScopeID(), LI.getOrdering()); in translateLoad() 1458 SI.getSyncScopeID(), SI.getOrdering()); in translateStore() 3373 getMemOpAlign(I), I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicCmpXchg() 3463 I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicRMW() 3472 Fence.getSyncScopeID()); in translateFence()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 798 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 3470 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction() 3489 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction() 3501 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction() 3516 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction() 3522 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 2978 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst() 3017 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst() 3183 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst()
|