Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp440 LI->getSyncScopeID() == cast<LoadInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
446 SI->getSyncScopeID() == cast<StoreInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
468 FI->getSyncScopeID() == cast<FenceInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
476 CXI->getSyncScopeID() == in haveSameSpecialState()
477 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
482 RMWI->getSyncScopeID() == cast<AtomicRMWInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
H A DAsmWriter.cpp4338 writeAtomic(LI->getContext(), LI->getOrdering(), LI->getSyncScopeID()); in printInstruction()
4343 writeAtomic(SI->getContext(), SI->getOrdering(), SI->getSyncScopeID()); in printInstruction()
4348 CXI->getFailureOrdering(), CXI->getSyncScopeID()); in printInstruction()
4352 RMWI->getSyncScopeID()); in printInstruction()
4355 writeAtomic(FI->getContext(), FI->getOrdering(), FI->getSyncScopeID()); in printInstruction()
H A DInstructions.cpp4387 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4392 getOrdering(), getSyncScopeID()); in cloneImpl()
4398 getSuccessOrdering(), getFailureOrdering(), getSyncScopeID()); in cloneImpl()
4407 getAlign(), getOrdering(), getSyncScopeID()); in cloneImpl()
4413 return new FenceInst(getContext(), getOrdering(), getSyncScopeID()); in cloneImpl()
H A DCore.cpp4035 return I->getSyncScopeID() == SyncScope::SingleThread; in LLVMIsAtomicSingleThread()
4036 return cast<AtomicCmpXchgInst>(P)->getSyncScopeID() == in LLVMIsAtomicSingleThread()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionComparator.cpp570 if (int Res = cmpNumbers(LI->getSyncScopeID(), in cmpOperations()
571 cast<LoadInst>(R)->getSyncScopeID())) in cmpOperations()
587 return cmpNumbers(SI->getSyncScopeID(), in cmpOperations()
588 cast<StoreInst>(R)->getSyncScopeID()); in cmpOperations()
632 return cmpNumbers(FI->getSyncScopeID(), in cmpOperations()
633 cast<FenceInst>(R)->getSyncScopeID()); in cmpOperations()
650 return cmpNumbers(CXI->getSyncScopeID(), in cmpOperations()
651 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations()
663 return cmpNumbers(RMWI->getSyncScopeID(), in cmpOperations()
664 cast<AtomicRMWInst>(R)->getSyncScopeID()); in cmpOperations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAtomicRMW.cpp128 SI->setAtomic(Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst()
157 Ordering, RMWI.getSyncScopeID()); in visitAtomicRMWInst()
H A DInstCombineLoadStoreAlloca.cpp299 LT->getSyncScopeID()); in replace()
486 NewLoad->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in combineLoadToNewType()
507 NewStore->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in combineStoreToNewValue()
1028 V1->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1030 V2->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
1567 SI.getOrdering(), SI.getSyncScopeID()); in mergeStoreIntoSuccessor()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRVRegNamerUtils.cpp130 MIOperands.push_back((unsigned)Op->getSyncScopeID()); in getInstructionOpcodeHash()
H A DMachineStableHash.cpp187 HashComponents.push_back(static_cast<unsigned>(Op->getSyncScopeID())); in stableHashValue()
H A DMachineFunction.cpp454 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
462 AAMDNodes(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
481 MMO->getAAInfo(), nullptr, MMO->getSyncScopeID(), in getMachineMemOperand()
494 MMO->getRanges(), MMO->getSyncScopeID(), MMO->getSuccessOrdering(), in getMachineMemOperand()
503 MMO->getAAInfo(), MMO->getRanges(), MMO->getSyncScopeID(), in getMachineMemOperand()
H A DAtomicExpandPass.cpp368 NewLI->setAtomic(LI->getOrdering(), LI->getSyncScopeID()); in convertAtomicLoadToIntegerType()
482 NewSI->setAtomic(SI->getOrdering(), SI->getSyncScopeID()); in convertAtomicStoreToIntegerType()
810 SyncScope::ID SSID = AI->getSyncScopeID(); in expandPartwordAtomicRMW()
963 CI->getSuccessOrdering(), CI->getFailureOrdering(), CI->getSyncScopeID()); in expandPartwordCmpXchg()
1142 CI->getFailureOrdering(), CI->getSyncScopeID()); in convertCmpXchgToIntegerType()
1523 AI->getOrdering(), AI->getSyncScopeID(), in expandAtomicRMWToCmpXchg()
H A DMachineOperand.cpp1038 assert(getSyncScopeID() == SSID && "Value truncated"); in MachineMemOperand()
1117 printSyncScope(OS, Context, getSyncScopeID(), SSNs); in print()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp534 return LI->isAtomic() && LI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
536 return SI->isAtomic() && SI->getSyncScopeID() != SyncScope::SingleThread; in isAtomic()
856 FunctionCallee F = FI->getSyncScopeID() == SyncScope::SingleThread in instrumentAtomic()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineMemOperand.h264 SyncScope::ID getSyncScopeID() const { in getSyncScopeID() function
H A DSelectionDAGNodes.h1302 SyncScope::ID getSyncScopeID() const { return MMO->getSyncScopeID(); }
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp959 SI->getSyncScopeID(), SI); in OptimizeGlobalAddressOfMalloc()
976 LI->getOrdering(), LI->getSyncScopeID(), LI); in OptimizeGlobalAddressOfMalloc()
1255 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
1265 SI->getSyncScopeID(), SI); in TryToShrinkGlobalToBoolean()
1272 LI->getOrdering(), LI->getSyncScopeID(), LI); in TryToShrinkGlobalToBoolean()
H A DFunctionAttrs.cpp1490 return FI->getSyncScopeID() != SyncScope::SingleThread; in isOrderedAtomic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1305 LI.getSyncScopeID(), LI.getOrdering()); in translateLoad()
1347 SI.getSyncScopeID(), SI.getOrdering()); in translateStore()
2767 getMemOpAlign(I), AAMetadata, nullptr, I.getSyncScopeID(), in translateAtomicCmpXchg()
2834 AAMetadata, nullptr, I.getSyncScopeID(), in translateAtomicRMW()
2843 Fence.getSyncScopeID()); in translateFence()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMemoryLegalizer.cpp646 MMI->isSyncScopeInclusion(SSID, MMO->getSyncScopeID()); in constructFromMIWithMMO()
653 SSID = IsSyncScopeInclusion.getValue() ? SSID : MMO->getSyncScopeID(); in constructFromMIWithMMO()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h242 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 {
856 SyncScope::ID getSyncScopeID() const {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3072 Vals.push_back(getEncodedSyncScopeID(cast<LoadInst>(I).getSyncScopeID())); in writeInstruction()
3087 getEncodedSyncScopeID(cast<StoreInst>(I).getSyncScopeID())); in writeInstruction()
3099 getEncodedSyncScopeID(cast<AtomicCmpXchgInst>(I).getSyncScopeID())); in writeInstruction()
3114 getEncodedSyncScopeID(cast<AtomicRMWInst>(I).getSyncScopeID())); in writeInstruction()
3120 Vals.push_back(getEncodedSyncScopeID(cast<FenceInst>(I).getSyncScopeID())); in writeInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2539 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2578 NewLI->setAtomic(LI.getOrdering(), LI.getSyncScopeID()); in visitLoadInst()
2739 NewSI->setAtomic(SI.getOrdering(), SI.getSyncScopeID()); in visitStoreInst()
H A DJumpThreading.cpp1495 LoadI->getOrdering(), LoadI->getSyncScopeID(), in simplifyPartiallyRedundantLoad()
H A DGVN.cpp1195 Load->getSyncScopeID(), UnavailableBlock->getTerminator()); in eliminatePartiallyRedundantLoad()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp4576 SyncScope::ID SSID = I.getSyncScopeID(); in visitAtomicCmpXchg()
4624 SyncScope::ID SSID = I.getSyncScopeID(); in visitAtomicRMW()
4655 Ops[2] = DAG.getTargetConstant(I.getSyncScopeID(), dl, in visitFence()
4663 SyncScope::ID SSID = I.getSyncScopeID(); in visitAtomicLoad()
4716 SyncScope::ID SSID = I.getSyncScopeID(); in visitAtomicStore()

12