Home
last modified time | relevance | path

Searched refs:getSynchScope (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/IR/
DInstruction.cpp271 LI->getSynchScope() == cast<LoadInst>(I2)->getSynchScope(); in haveSameSpecialState()
277 SI->getSynchScope() == cast<StoreInst>(I2)->getSynchScope(); in haveSameSpecialState()
294 FI->getSynchScope() == cast<FenceInst>(I2)->getSynchScope(); in haveSameSpecialState()
302 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
307 RMWI->getSynchScope() == cast<AtomicRMWInst>(I2)->getSynchScope(); in haveSameSpecialState()
DAsmWriter.cpp2942 writeAtomic(LI->getOrdering(), LI->getSynchScope()); in printInstruction()
2947 writeAtomic(SI->getOrdering(), SI->getSynchScope()); in printInstruction()
2952 CXI->getSynchScope()); in printInstruction()
2954 writeAtomic(RMWI->getOrdering(), RMWI->getSynchScope()); in printInstruction()
2956 writeAtomic(FI->getOrdering(), FI->getSynchScope()); in printInstruction()
DInstructions.cpp3547 getAlignment(), getOrdering(), getSynchScope()); in clone_impl()
3552 getAlignment(), getOrdering(), getSynchScope()); in clone_impl()
3560 getSynchScope()); in clone_impl()
3569 getOrdering(), getSynchScope()); in clone_impl()
3575 return new FenceInst(getContext(), getOrdering(), getSynchScope()); in clone_impl()
DVerifier.cpp2560 Assert(LI.getSynchScope() == CrossThread, in visitLoadInst()
2589 Assert(SI.getSynchScope() == CrossThread, in visitStoreInst()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp741 cmpNumbers(LI->getSynchScope(), cast<LoadInst>(R)->getSynchScope())) in cmpOperations()
756 return cmpNumbers(SI->getSynchScope(), cast<StoreInst>(R)->getSynchScope()); in cmpOperations()
806 return cmpNumbers(FI->getSynchScope(), cast<FenceInst>(R)->getSynchScope()); in cmpOperations()
822 return cmpNumbers(CXI->getSynchScope(), in cmpOperations()
823 cast<AtomicCmpXchgInst>(R)->getSynchScope()); in cmpOperations()
835 return cmpNumbers(RMWI->getSynchScope(), in cmpOperations()
836 cast<AtomicRMWInst>(R)->getSynchScope()); in cmpOperations()
DGlobalOpt.cpp890 SI->getOrdering(), SI->getSynchScope(), SI); in OptimizeGlobalAddressOfMalloc()
907 LI->getOrdering(), LI->getSynchScope(), in OptimizeGlobalAddressOfMalloc()
1660 LI->getOrdering(), LI->getSynchScope(), LI); in TryToShrinkGlobalToBoolean()
1669 SI->getOrdering(), SI->getSynchScope(), SI); in TryToShrinkGlobalToBoolean()
1674 LI->getOrdering(), LI->getSynchScope(), LI); in TryToShrinkGlobalToBoolean()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp319 return LI->isAtomic() && LI->getSynchScope() == CrossThread; in isAtomic()
321 return SI->isAtomic() && SI->getSynchScope() == CrossThread; in isAtomic()
571 Function *F = FI->getSynchScope() == SingleThread ? in instrumentAtomic()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1334 StringRef CrossThread = ConvertAtomicSynchScope(load->getSynchScope()); in printInstruction()
1352 StringRef CrossThread = ConvertAtomicSynchScope(store->getSynchScope()); in printInstruction()
1560 StringRef CrossThread = ConvertAtomicSynchScope(fi->getSynchScope()); in printInstruction()
1573 StringRef CrossThread = ConvertAtomicSynchScope(cxi->getSynchScope()); in printInstruction()
1592 StringRef CrossThread = ConvertAtomicSynchScope(rmwi->getSynchScope()); in printInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp178 N->getSynchScope()); in PromoteIntRes_Atomic0()
191 N->getSynchScope()); in PromoteIntRes_Atomic1()
215 N->getSynchScope()); in PromoteIntRes_AtomicCmpSwap()
228 N->getFailureOrdering(), N->getSynchScope()); in PromoteIntRes_AtomicCmpSwap()
947 N->getOrdering(), N->getSynchScope()); in PromoteIntOp_ATOMIC_STORE()
1288 AN->getSynchScope()); in ExpandIntegerResult()
2487 cast<AtomicSDNode>(N)->getSynchScope()); in ExpandIntRes_ATOMIC_LOAD()
2919 cast<AtomicSDNode>(N)->getSynchScope()); in ExpandIntOp_ATOMIC_STORE()
DSelectionDAGBuilder.cpp3712 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicCmpXchg()
3748 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicRMW()
3773 Ops[2] = DAG.getConstant(I.getSynchScope(), TLI.getPointerTy()); in visitFence()
3780 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicLoad()
3815 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicStore()
DLegalizeDAG.cpp2906 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
2919 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
2954 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
/external/llvm/include/llvm/IR/
DInstructions.h237 SynchronizationScope getSynchScope() const { in getSynchScope() function
356 SynchronizationScope getSynchScope() const { in getSynchScope() function
450 SynchronizationScope getSynchScope() const {
570 SynchronizationScope getSynchScope() const {
739 SynchronizationScope getSynchScope() const {
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1889 Vals.push_back(GetEncodedSynchScope(cast<LoadInst>(I).getSynchScope())); in WriteInstruction()
1903 Vals.push_back(GetEncodedSynchScope(cast<StoreInst>(I).getSynchScope())); in WriteInstruction()
1915 cast<AtomicCmpXchgInst>(I).getSynchScope())); in WriteInstruction()
1929 cast<AtomicRMWInst>(I).getSynchScope())); in WriteInstruction()
1934 Vals.push_back(GetEncodedSynchScope(cast<FenceInst>(I).getSynchScope())); in WriteInstruction()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1088 SynchronizationScope getSynchScope() const {
1184 assert(getSynchScope() == SynchScope && "Synch-scope encoding error!");
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp1115 SI.getSynchScope()); in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp2581 Node->getSynchScope()); in lowerATOMIC_LOAD_SUB()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp16756 auto SynchScope = AI->getSynchScope(); in lowerIdempotentRMWIntoFencedLoad()
17072 cast<AtomicSDNode>(Node)->getSynchScope()); in LowerLOAD_SUB()
17093 cast<AtomicSDNode>(Node)->getSynchScope()); in LowerATOMIC_STORE()