Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp802 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
808 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
830 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
838 CXI->getSyncScopeID() == in hasSameSpecialState()
839 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
844 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
H A DInstructions.cpp4229 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4234 getOrdering(), getSyncScopeID()); in cloneImpl()
4240 getSuccessOrdering(), getFailureOrdering(), getSyncScopeID()); in cloneImpl()
4249 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4255 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
H A DAsmWriter.cpp4622 writeAtomic(LI->getContext(), LI->getOrdering(), LI->getSyncScopeID()); in printInstruction()
4627 writeAtomic(SI->getContext(), SI->getOrdering(), SI->getSyncScopeID()); in printInstruction()
4632 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction()
4636 RMWI->getSyncScopeID()); in printInstruction()
4639 writeAtomic(FI->getContext(), FI->getOrdering(), FI->getSyncScopeID()); in printInstruction()
H A DCore.cpp4341 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4343 return FI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4345 return SI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4347 return LI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4348 return cast<AtomicCmpXchgInst>(P)->getSyncScopeID() == in LLVMIsAtomicSingleThread()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp679 if (int Res = cmpNumbers(LI->getSyncScopeID(), in cmpOperations()
680 cast<LoadInst>(R)->getSyncScopeID())) in cmpOperations()
693 return cmpNumbers(SI->getSyncScopeID(), in cmpOperations()
694 cast<StoreInst>(R)->getSyncScopeID()); in cmpOperations()
738 return cmpNumbers(FI->getSyncScopeID(), in cmpOperations()
739 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations()
756 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations()
757 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations()
769 return cmpNumbers(RMWI->getSyncScopeID(), in cmpOperations()
770 cast<AtomicRMWInst>(R)->getSyncScopeID()); in cmpOperations()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp415 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType()
440 RMWI->getSyncScopeID()); in convertAtomicXchgToIntegerType()
546 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType()
630 auto MemScope = SSNs[AI->getSyncScopeID()].empty() in tryExpandAtomicRMW()
632 : SSNs[AI->getSyncScopeID()]; in tryExpandAtomicRMW()
902 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
998 AI->getOrdering(), AI->getSyncScopeID()); in widenPartwordAtomicRMW()
1091 CI->getSuccessOrdering(), CI->getFailureOrdering(), CI->getSyncScopeID()); in expandPartwordCmpXchg()
1269 CI->getFailureOrdering(), CI->getSyncScopeID()); in convertCmpXchgToIntegerType()
1656 AI->getOrdering(), AI->getSyncScopeID(), in expandAtomicRMWToCmpXchg()
H A DMachineFunction.cpp521 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
529 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
548 MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
561 MMO->getRanges(), MMO->getSyncScopeID(), MMO->getSuccessOrdering(), in getMachineMemOperand()
570 MMO->getAAInfo(), MMO->getRanges(), MMO->getSyncScopeID(), in getMachineMemOperand()
H A DMIRVRegNamerUtils.cpp131 MIOperands.push_back((unsigned)Op->getSyncScopeID()); in getInstructionOpcodeHash()
H A DMachineStableHash.cpp208 HashComponents.push_back(static_cast<unsigned>(Op->getSyncScopeID())); in stableHashValue()
H A DMachineOperand.cpp1097 assert(getSyncScopeID() == SSID && "Value truncated"); in MachineMemOperand()
1180 printSyncScope(OS, Context, getSyncScopeID(), SSNs); in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp371 LT->getSyncScopeID()); in replace()
570 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
589 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue()
1082 V1->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1084 V2->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1594 SI.getOrdering(), SI.getSyncScopeID()); in mergeStoreIntoSuccessor()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h271 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
H A DSelectionDAGNodes.h1376 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h228 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
349 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
454 SyncScope::ID getSyncScopeID() const {
612 SyncScope::ID getSyncScopeID() const {
843 SyncScope::ID getSyncScopeID() const {
4933 return AI->getSyncScopeID();
4935 return AI->getSyncScopeID();
4937 return AI->getSyncScopeID();
4939 return AI->getSyncScopeID();
4941 return AI->getSyncScopeID();
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp964 SI->getSyncScopeID(), SI->getIterator()); in OptimizeGlobalAddressOfAllocation()
981 LI->getOrdering(), LI->getSyncScopeID(), in OptimizeGlobalAddressOfAllocation()
1275 LI->getSyncScopeID(), LI->getIterator()); in TryToShrinkGlobalToBoolean()
1285 SI->getSyncScopeID(), SI->getIterator()); in TryToShrinkGlobalToBoolean()
1292 LI->getOrdering(), LI->getSyncScopeID(), LI->getIterator()); in TryToShrinkGlobalToBoolean()
H A DFunctionAttrs.cpp1532 return FI->getSyncScopeID() != SyncScope::SingleThread; in isOrderedAtomic()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp1182 LI.getSyncScopeID()); in visitLoadInst()
1192 SI.getSyncScopeID()); in visitStoreInst()
1202 AI.getSyncScopeID()); in visitAtomicRMWInst()
1216 SyncScope::ID SSID = AI.getSyncScopeID(); in visitAtomicCmpXchgInst()
H A DSIMemoryLegalizer.cpp835 MMI->isSyncScopeInclusion(SSID, MMO->getSyncScopeID()); in constructFromMIWithMMO()
842 SSID = *IsSyncScopeInclusion ? SSID : MMO->getSyncScopeID(); in constructFromMIWithMMO()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2460 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 DBPFPreserveStaticOffset.cpp218 Args.push_back(ConstantInt::get(Int8Ty, (unsigned)Insn->getSyncScopeID())); in fillCommonArgs()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1405 LI.getSyncScopeID(), LI.getOrdering()); in translateLoad()
1444 SI.getSyncScopeID(), SI.getOrdering()); in translateStore()
3235 getMemOpAlign(I), I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicCmpXchg()
3310 I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicRMW()
3319 Fence.getSyncScopeID()); in translateFence()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp794 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3307 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3322 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
3334 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
3349 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
3355 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2883 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2922 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
3087 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp896 static_cast<uint32_t>(getScope(MemOp->getSyncScopeID(), MMI)); in selectAtomicRMW()
987 static_cast<uint32_t>(getScope(MemOp->getSyncScopeID(), MMI)); in selectAtomicCmpXchg()

12