Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DInstruction.cpp355 LI->getSynchScope() == cast<LoadInst>(I2)->getSynchScope(); in haveSameSpecialState()
361 SI->getSynchScope() == cast<StoreInst>(I2)->getSynchScope(); in haveSameSpecialState()
379 FI->getSynchScope() == cast<FenceInst>(I2)->getSynchScope(); in haveSameSpecialState()
387 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
392 RMWI->getSynchScope() == cast<AtomicRMWInst>(I2)->getSynchScope(); in haveSameSpecialState()
DAsmWriter.cpp3169 writeAtomic(LI->getOrdering(), LI->getSynchScope()); in printInstruction()
3174 writeAtomic(SI->getOrdering(), SI->getSynchScope()); in printInstruction()
3179 CXI->getSynchScope()); in printInstruction()
3181 writeAtomic(RMWI->getOrdering(), RMWI->getSynchScope()); in printInstruction()
3183 writeAtomic(FI->getOrdering(), FI->getSynchScope()); in printInstruction()
DInstructions.cpp3924 getAlignment(), getOrdering(), getSynchScope()); in cloneImpl()
3929 getAlignment(), getOrdering(), getSynchScope()); in cloneImpl()
3937 getSynchScope()); in cloneImpl()
3946 getOrdering(), getSynchScope()); in cloneImpl()
3952 return new FenceInst(getContext(), getOrdering(), getSynchScope()); in cloneImpl()
DCore.cpp3075 return I->getSynchScope() == SingleThread; in LLVMIsAtomicSingleThread()
3076 return cast<AtomicCmpXchgInst>(P)->getSynchScope() == SingleThread; in LLVMIsAtomicSingleThread()
DVerifier.cpp2996 Assert(LI.getSynchScope() == CrossThread, in visitLoadInst()
3025 Assert(SI.getSynchScope() == CrossThread, in visitStoreInst()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp950 cmpNumbers(LI->getSynchScope(), cast<LoadInst>(R)->getSynchScope())) in cmpOperations()
965 return cmpNumbers(SI->getSynchScope(), cast<StoreInst>(R)->getSynchScope()); in cmpOperations()
1020 return cmpNumbers(FI->getSynchScope(), cast<FenceInst>(R)->getSynchScope()); in cmpOperations()
1037 return cmpNumbers(CXI->getSynchScope(), in cmpOperations()
1038 cast<AtomicCmpXchgInst>(R)->getSynchScope()); in cmpOperations()
1050 return cmpNumbers(RMWI->getSynchScope(), in cmpOperations()
1051 cast<AtomicRMWInst>(R)->getSynchScope()); in cmpOperations()
DGlobalOpt.cpp849 SI->getOrdering(), SI->getSynchScope(), SI); in OptimizeGlobalAddressOfMalloc()
866 LI->getOrdering(), LI->getSynchScope(), in OptimizeGlobalAddressOfMalloc()
1617 LI->getOrdering(), LI->getSynchScope(), LI); in TryToShrinkGlobalToBoolean()
1626 SI->getOrdering(), SI->getSynchScope(), SI); in TryToShrinkGlobalToBoolean()
1631 LI->getOrdering(), LI->getSynchScope(), LI); in TryToShrinkGlobalToBoolean()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp330 NewLoad->setAtomic(LI.getOrdering(), LI.getSynchScope()); in combineLoadToNewType()
403 NewStore->setAtomic(SI.getOrdering(), SI.getSynchScope()); in combineStoreToNewValue()
896 V1->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
898 V2->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
1391 SI.getSynchScope()); in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp368 return LI->isAtomic() && LI->getSynchScope() == CrossThread; in isAtomic()
370 return SI->isAtomic() && SI->getSynchScope() == CrossThread; in isAtomic()
655 Function *F = FI->getSynchScope() == SingleThread ? in instrumentAtomic()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp371 NewLI->setAtomic(LI->getOrdering(), LI->getSynchScope()); in convertAtomicLoadToIntegerType()
454 NewSI->setAtomic(SI->getOrdering(), SI->getSynchScope()); in convertAtomicStoreToIntegerType()
811 CI->getFailureOrdering(), CI->getSynchScope()); in expandPartwordCmpXchg()
934 CI->getSynchScope()); in convertCmpXchgToIntegerType()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeIntegerTypes.cpp192 N->getSynchScope()); in PromoteIntRes_Atomic0()
205 N->getSynchScope()); in PromoteIntRes_Atomic1()
229 N->getSynchScope()); in PromoteIntRes_AtomicCmpSwap()
242 N->getFailureOrdering(), N->getSynchScope()); in PromoteIntRes_AtomicCmpSwap()
999 N->getOrdering(), N->getSynchScope()); in PromoteIntOp_ATOMIC_STORE()
1361 AN->getSynchScope()); in ExpandIntegerResult()
2720 cast<AtomicSDNode>(N)->getSynchScope()); in ExpandIntRes_ATOMIC_LOAD()
3214 cast<AtomicSDNode>(N)->getSynchScope()); in ExpandIntOp_ATOMIC_STORE()
DLegalizeDAG.cpp2801 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
2814 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
2829 cast<AtomicSDNode>(Node)->getSynchScope()); in ExpandNode()
DSelectionDAGBuilder.cpp3911 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicCmpXchg()
3947 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicRMW()
3973 Ops[2] = DAG.getConstant(I.getSynchScope(), dl, in visitFence()
3981 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicLoad()
4016 SynchronizationScope Scope = I.getSynchScope(); in visitAtomicStore()
/external/llvm/include/llvm/IR/
DInstructions.h249 SynchronizationScope getSynchScope() const { in getSynchScope() function
372 SynchronizationScope getSynchScope() const { in getSynchScope() function
473 SynchronizationScope getSynchScope() const {
598 SynchronizationScope getSynchScope() const {
773 SynchronizationScope getSynchScope() const {
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2578 Vals.push_back(getEncodedSynchScope(cast<LoadInst>(I).getSynchScope())); in writeInstruction()
2592 Vals.push_back(getEncodedSynchScope(cast<StoreInst>(I).getSynchScope())); in writeInstruction()
2604 getEncodedSynchScope(cast<AtomicCmpXchgInst>(I).getSynchScope())); in writeInstruction()
2618 getEncodedSynchScope(cast<AtomicRMWInst>(I).getSynchScope())); in writeInstruction()
2623 Vals.push_back(getEncodedSynchScope(cast<FenceInst>(I).getSynchScope())); in writeInstruction()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1051 SynchronizationScope getSynchScope() const {
1149 assert(getSynchScope() == SynchScope && "Synch-scope encoding error!");
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2392 NewLI->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
2412 NewLI->setAtomic(LI.getOrdering(), LI.getSynchScope()); in visitLoadInst()
2553 NewSI->setAtomic(SI.getOrdering(), SI.getSynchScope()); in visitStoreInst()
DJumpThreading.cpp1060 LI->getAlignment(), LI->getOrdering(), LI->getSynchScope(), in SimplifyPartiallyRedundantLoad()
DGVN.cpp1561 LI->getOrdering(), LI->getSynchScope(), in PerformLoadPRE()
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp3306 Node->getSynchScope()); in lowerATOMIC_LOAD_SUB()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp20640 auto SynchScope = AI->getSynchScope(); in lowerIdempotentRMWIntoFencedLoad()
21224 AN->getSynchScope()); in lowerAtomicArith()
21257 cast<AtomicSDNode>(Node)->getSynchScope()); in LowerATOMIC_STORE()