Home
last modified time | relevance | path

Searched refs:AtomicCmpXchgInst (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/test/CodeGen/CPP/
Datomic.ll65 …; CHECK: AtomicCmpXchgInst* [[INST:[a-zA-Z0-9_]+]] = new AtomicCmpXchgInst({{.*}}, SequentiallyCon…
71 …; CHECK: AtomicCmpXchgInst* [[INST:[a-zA-Z0-9_]+]] = new AtomicCmpXchgInst({{.*}}, AcquireRelease,…
77 …; CHECK: AtomicCmpXchgInst* [[INST:[a-zA-Z0-9_]+]] = new AtomicCmpXchgInst({{.*}}, SequentiallyCon…
83 …; CHECK: AtomicCmpXchgInst* [[INST:[a-zA-Z0-9_]+]] = new AtomicCmpXchgInst({{.*}}, AcquireRelease,…
/external/llvm/lib/IR/
DInstruction.cpp312 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in haveSameSpecialState()
313 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
314 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
316 cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() && in haveSameSpecialState()
318 cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() && in haveSameSpecialState()
319 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
DInstructions.cpp1381 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init()
1412 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1420 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1421 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertBefore) { in AtomicCmpXchgInst()
1425 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1433 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1434 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
3829 AtomicCmpXchgInst *AtomicCmpXchgInst::cloneImpl() const { in cloneImpl()
3830 AtomicCmpXchgInst *Result = in cloneImpl()
3831 new AtomicCmpXchgInst(getOperand(0), getOperand(1), getOperand(2), in cloneImpl()
DAsmWriter.cpp2784 if (isa<AtomicCmpXchgInst>(I) && cast<AtomicCmpXchgInst>(I).isWeak()) in printInstruction()
2790 (isa<AtomicCmpXchgInst>(I) && cast<AtomicCmpXchgInst>(I).isVolatile()) || in printInstruction()
3102 } else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&I)) { in printInstruction()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp24 static bool LowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in LowerAtomicCmpXchgInst()
126 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst)) in runOnBasicBlock()
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp182 if (isa<LoadInst>(I) || isa<StoreInst>(I) || isa<AtomicCmpXchgInst>(I) || in runOnFunction()
198 } else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(Inst)) { in runOnFunction()
DThreadSanitizer.cpp325 if (isa<AtomicCmpXchgInst>(I)) in isAtomic()
554 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic()
/external/llvm/include/llvm/Analysis/
DMemoryLocation.h68 static MemoryLocation get(const AtomicCmpXchgInst *CXI);
77 else if (auto *I = dyn_cast<AtomicCmpXchgInst>(Inst)) in get()
DAliasAnalysis.h396 ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX,
400 ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, const Value *P, in getModRefInfo()
479 return getModRefInfo((const AtomicCmpXchgInst*)I, Loc); in getModRefInfo()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp63 bool expandAtomicCmpXchg(AtomicCmpXchgInst *CI);
98 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction()
276 AtomicCmpXchgInst::getStrongestFailureOrdering(Order)); in expandAtomicLoadToCmpXchg()
337 AtomicCmpXchgInst::getStrongestFailureOrdering(MemOpOrder)); in createCmpXchgInstFun()
451 bool AtomicExpand::expandAtomicCmpXchg(AtomicCmpXchgInst *CI) { in expandAtomicCmpXchg()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp1017 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(L)) { in cmpOperations()
1019 cast<AtomicCmpXchgInst>(R)->isVolatile())) in cmpOperations()
1022 cast<AtomicCmpXchgInst>(R)->isWeak())) in cmpOperations()
1025 cast<AtomicCmpXchgInst>(R)->getSuccessOrdering())) in cmpOperations()
1028 cast<AtomicCmpXchgInst>(R)->getFailureOrdering())) in cmpOperations()
1031 cast<AtomicCmpXchgInst>(R)->getSynchScope()); in cmpOperations()
/external/llvm/lib/Analysis/
DMemoryLocation.cpp47 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get()
DAliasAnalysis.cpp276 ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, in getModRefInfo()
DCFLAliasAnalysis.cpp190 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &Inst) { in visitAtomicCmpXchgInst()
479 Value *visitAtomicCmpXchgInst(AtomicCmpXchgInst &Inst) { in visitAtomicCmpXchgInst()
DMemoryDependenceAnalysis.cpp367 else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(Inst)) in isVolatile()
/external/clang/lib/CodeGen/
DCGAtomic.cpp386 llvm::AtomicCmpXchgInst *Pair = CGF.Builder.CreateAtomicCmpXchg( in emitAtomicCmpXchg()
448 llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(SuccessOrder); in emitAtomicCmpXchgFailureSet()
1482 Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(Success); in EmitAtomicCompareExchange()
1567 auto Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(AO); in EmitAtomicUpdateLibcall()
1596 auto Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(AO); in EmitAtomicUpdateOp()
1654 auto Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(AO); in EmitAtomicUpdateLibcall()
1679 auto Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(AO); in EmitAtomicUpdateOp()
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp184 auto *CmpXChg1 = new AtomicCmpXchgInst(Addr, ConstantInt::get(IntType, 0), in TEST_F()
/external/llvm/include/llvm/IR/
DInstVisitor.h180 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
DInstruction.def153 HANDLE_MEMORY_INST(34, AtomicCmpXchg , AtomicCmpXchgInst )
DInstructions.h519 class AtomicCmpXchgInst : public Instruction {
528 AtomicCmpXchgInst *cloneImpl() const;
535 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
540 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
666 struct OperandTraits<AtomicCmpXchgInst> :
667 public FixedNumOperandTraits<AtomicCmpXchgInst, 3> {
670 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(AtomicCmpXchgInst, Value)
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h355 bool shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *AI) const override;
/external/llvm/lib/Target/ARM/
DARMISelLowering.h461 bool shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *AI) const override;
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp574 else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I)) in AddAliasScopeMetadata()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp2116 Vals.push_back(cast<AtomicCmpXchgInst>(I).isVolatile()); in WriteInstruction()
2118 cast<AtomicCmpXchgInst>(I).getSuccessOrdering())); in WriteInstruction()
2120 cast<AtomicCmpXchgInst>(I).getSynchScope())); in WriteInstruction()
2122 cast<AtomicCmpXchgInst>(I).getFailureOrdering())); in WriteInstruction()
2123 Vals.push_back(cast<AtomicCmpXchgInst>(I).isWeak()); in WriteInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h828 void visitAtomicCmpXchg(const AtomicCmpXchgInst &I);

12