Home
last modified time | relevance | path

Searched refs:AtomicCmpXchgInst (Results 1 – 25 of 34) 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.cpp295 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in haveSameSpecialState()
296 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
297 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
299 cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() && in haveSameSpecialState()
301 cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() && in haveSameSpecialState()
302 CXI->getSynchScope() == cast<AtomicCmpXchgInst>(I2)->getSynchScope(); in haveSameSpecialState()
DInstructions.cpp1117 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init()
1148 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1156 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1157 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertBefore) { in AtomicCmpXchgInst()
1161 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1169 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1170 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
3556 AtomicCmpXchgInst *AtomicCmpXchgInst::clone_impl() const { in clone_impl()
3557 AtomicCmpXchgInst *Result = in clone_impl()
3558 new AtomicCmpXchgInst(getOperand(0), getOperand(1), getOperand(2), in clone_impl()
DAsmWriter.cpp2672 if (isa<AtomicCmpXchgInst>(I) && cast<AtomicCmpXchgInst>(I).isWeak()) in printInstruction()
2678 (isa<AtomicCmpXchgInst>(I) && cast<AtomicCmpXchgInst>(I).isVolatile()) || in printInstruction()
2950 } 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.cpp324 if (isa<AtomicCmpXchgInst>(I)) in isAtomic()
547 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic()
DMemorySanitizer.cpp1242 assert(isa<AtomicRMWInst>(I) || isa<AtomicCmpXchgInst>(I)); in handleCASOrRMW()
1254 if (isa<AtomicCmpXchgInst>(I)) in handleCASOrRMW()
1268 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { in visitAtomicCmpXchgInst()
DAddressSanitizer.cpp854 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess()
/external/llvm/include/llvm/Analysis/
DAliasAnalysis.h144 Location getLocation(const AtomicCmpXchgInst *CXI);
155 else if (auto *I = dyn_cast<AtomicCmpXchgInst>(Inst)) in getLocation()
397 return getModRefInfo((const AtomicCmpXchgInst*)I, Loc); in getModRefInfo()
480 ModRefResult getModRefInfo(const AtomicCmpXchgInst *CX, const Location &Loc);
483 ModRefResult getModRefInfo(const AtomicCmpXchgInst *CX, in getModRefInfo()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp54 bool expandAtomicCmpXchg(AtomicCmpXchgInst *CI);
89 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction()
203 AtomicCmpXchgInst::getStrongestFailureOrdering(Order)); in expandAtomicLoadToCmpXchg()
389 AtomicCmpXchgInst::getStrongestFailureOrdering(MemOpOrder)); in expandAtomicRMWToCmpXchg()
404 bool AtomicExpand::expandAtomicCmpXchg(AtomicCmpXchgInst *CI) { in expandAtomicCmpXchg()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp809 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(L)) { in cmpOperations()
811 cast<AtomicCmpXchgInst>(R)->isVolatile())) in cmpOperations()
814 cast<AtomicCmpXchgInst>(R)->isWeak())) in cmpOperations()
817 cast<AtomicCmpXchgInst>(R)->getSuccessOrdering())) in cmpOperations()
820 cast<AtomicCmpXchgInst>(R)->getFailureOrdering())) in cmpOperations()
823 cast<AtomicCmpXchgInst>(R)->getSynchScope()); in cmpOperations()
/external/llvm/lib/Analysis/
DAliasAnalysis.cpp294 AliasAnalysis::getLocation(const AtomicCmpXchgInst *CXI) { in getLocation()
397 AliasAnalysis::getModRefInfo(const AtomicCmpXchgInst *CX, const Location &Loc) { in getModRefInfo()
DCFLAliasAnalysis.cpp295 void visitAtomicCmpXchgInst(AtomicCmpXchgInst &Inst) { in visitAtomicCmpXchgInst()
562 Value *visitAtomicCmpXchgInst(AtomicCmpXchgInst &Inst) { in visitAtomicCmpXchgInst()
DMemoryDependenceAnalysis.cpp361 else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(Inst)) in isVolatile()
/external/llvm/include/llvm/IR/
DInstVisitor.h177 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
DInstruction.def137 HANDLE_MEMORY_INST(31, AtomicCmpXchg , AtomicCmpXchgInst )
DInstructions.h485 class AtomicCmpXchgInst : public Instruction {
491 AtomicCmpXchgInst *clone_impl() const override;
497 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
502 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal,
627 struct OperandTraits<AtomicCmpXchgInst> :
628 public FixedNumOperandTraits<AtomicCmpXchgInst, 3> {
631 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(AtomicCmpXchgInst, Value)
DIRBuilder.h1006 AtomicCmpXchgInst *
1011 return Insert(new AtomicCmpXchgInst(Ptr, Cmp, New, SuccessOrdering,
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1911 Vals.push_back(cast<AtomicCmpXchgInst>(I).isVolatile()); in WriteInstruction()
1913 cast<AtomicCmpXchgInst>(I).getSuccessOrdering())); in WriteInstruction()
1915 cast<AtomicCmpXchgInst>(I).getSynchScope())); in WriteInstruction()
1917 cast<AtomicCmpXchgInst>(I).getFailureOrdering())); in WriteInstruction()
1918 Vals.push_back(cast<AtomicCmpXchgInst>(I).isWeak()); in WriteInstruction()
/external/clang/lib/CodeGen/
DCGAtomic.cpp350 llvm::AtomicCmpXchgInst *Pair = CGF.Builder.CreateAtomicCmpXchg( in emitAtomicCmpXchg()
414 llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(SuccessOrder); in emitAtomicCmpXchgFailureSet()
1374 Failure = llvm::AtomicCmpXchgInst::getStrongestFailureOrdering(Success); in EmitAtomicCompareExchange()
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp471 else if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I)) in AddAliasScopeMetadata()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h777 void visitAtomicCmpXchg(const AtomicCmpXchgInst &I);
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4111 AtomicCmpXchgInst::getStrongestFailureOrdering(SuccessOrdering); in ParseFunctionBody()
4115 I = new AtomicCmpXchgInst(Ptr, Cmp, New, SuccessOrdering, FailureOrdering, in ParseFunctionBody()
4117 cast<AtomicCmpXchgInst>(I)->setVolatile(Record[OpNum]); in ParseFunctionBody()
4126 cast<AtomicCmpXchgInst>(I)->setWeak(Record[OpNum+4]); in ParseFunctionBody()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp1568 const AtomicCmpXchgInst *cxi = cast<AtomicCmpXchgInst>(I); in printInstruction()

12