Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp659 if (int Res = cmpNumbers(LI->getSyncScopeID(), in cmpOperations()
660 cast<LoadInst>(R)->getSyncScopeID())) in cmpOperations()
673 return cmpNumbers(SI->getSyncScopeID(), in cmpOperations()
674 cast<StoreInst>(R)->getSyncScopeID()); in cmpOperations()
718 return cmpNumbers(FI->getSyncScopeID(), in cmpOperations()
719 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations()
736 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations()
737 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations()
749 return cmpNumbers(RMWI->getSyncScopeID(), in cmpOperations()
750 cast<AtomicRMWInst>(R)->getSyncScopeID()); in cmpOperations()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp710 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
716 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
738 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
746 CXI->getSyncScopeID() == in hasSameSpecialState()
747 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
752 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in hasSameSpecialState()
H A DCore.cpp4107 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4109 return FI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4111 return SI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4113 return LI->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4114 return cast<AtomicCmpXchgInst>(P)->getSyncScopeID() == in LLVMIsAtomicSingleThread()
H A DInstructions.cpp4815 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4820 getOrdering(), getSyncScopeID()); in cloneImpl()
4826 getSuccessOrdering(), getFailureOrdering(), getSyncScopeID()); in cloneImpl()
4835 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4841 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
H A DAsmWriter.cpp4529 writeAtomic(LI->getContext(), LI->getOrdering(), LI->getSyncScopeID()); in printInstruction()
4534 writeAtomic(SI->getContext(), SI->getOrdering(), SI->getSyncScopeID()); in printInstruction()
4539 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction()
4543 RMWI->getSyncScopeID()); in printInstruction()
4546 writeAtomic(FI->getContext(), FI->getOrdering(), FI->getSyncScopeID()); in printInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp380 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType()
511 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType()
595 auto MemScope = SSNs[AI->getSyncScopeID()].empty() in tryExpandAtomicRMW()
597 : SSNs[AI->getSyncScopeID()]; in tryExpandAtomicRMW()
849 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
916 AI->getOrdering(), AI->getSyncScopeID()); in widenPartwordAtomicRMW()
1008 CI->getSuccessOrdering(), CI->getFailureOrdering(), CI->getSyncScopeID()); in expandPartwordCmpXchg()
1185 CI->getFailureOrdering(), CI->getSyncScopeID()); in convertCmpXchgToIntegerType()
1572 AI->getOrdering(), AI->getSyncScopeID(), in expandAtomicRMWToCmpXchg()
H A DMachineFunction.cpp509 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
517 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
536 MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
549 MMO->getRanges(), MMO->getSyncScopeID(), MMO->getSuccessOrdering(), in getMachineMemOperand()
558 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()
1177 printSyncScope(OS, Context, getSyncScopeID(), SSNs); in print()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp367 LT->getSyncScopeID()); in replace()
571 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
590 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue()
1083 V1->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1085 V2->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1595 SI.getOrdering(), SI.getSyncScopeID()); in mergeStoreIntoSuccessor()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h266 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
H A DSelectionDAGNodes.h1349 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h239 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
373 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
480 SyncScope::ID getSyncScopeID() const {
642 SyncScope::ID getSyncScopeID() const {
876 SyncScope::ID getSyncScopeID() const {
5436 return AI->getSyncScopeID();
5438 return AI->getSyncScopeID();
5440 return AI->getSyncScopeID();
5442 return AI->getSyncScopeID();
5444 return AI->getSyncScopeID();
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp954 SI->getSyncScopeID(), SI); in OptimizeGlobalAddressOfAllocation()
971 LI->getOrdering(), LI->getSyncScopeID(), LI); in OptimizeGlobalAddressOfAllocation()
1263 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
1273 SI->getSyncScopeID(), SI); in TryToShrinkGlobalToBoolean()
1280 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
H A DFunctionAttrs.cpp1511 return FI->getSyncScopeID() != SyncScope::SingleThread; in isOrderedAtomic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp2469 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
2484 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
2496 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
2510 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
2515 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp217 Args.push_back(ConstantInt::get(Int8Ty, (unsigned)Insn->getSyncScopeID())); in fillCommonArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1409 LI.getSyncScopeID(), LI.getOrdering()); in translateLoad()
1449 SI.getSyncScopeID(), SI.getOrdering()); in translateStore()
3046 getMemOpAlign(I), I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicCmpXchg()
3122 I.getAAMetadata(), nullptr, I.getSyncScopeID(), in translateAtomicRMW()
3131 Fence.getSyncScopeID()); in translateFence()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp795 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp490 Args.push_back(IRB->getInt32(I.getSyncScopeID())); in visitAtomicCmpXchgInst()
H A DSPIRVInstructionSelector.cpp688 uint32_t Scope = static_cast<uint32_t>(getScope(MemOp->getSyncScopeID())); in selectAtomicRMW()
733 unsigned Scope = static_cast<uint32_t>(getScope(MemOp->getSyncScopeID())); in selectAtomicCmpXchg()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp744 MMI->isSyncScopeInclusion(SSID, MMO->getSyncScopeID()); in constructFromMIWithMMO()
751 SSID = *IsSyncScopeInclusion ? SSID : MMO->getSyncScopeID(); in constructFromMIWithMMO()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3218 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3233 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
3245 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
3260 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
3266 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2932 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2967 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
3124 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst()

12