Home
last modified time | relevance | path

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

123

/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceMemoryOperations.cpp29 } else if (AtomicCmpXchgInst *CmpXChg = dyn_cast<AtomicCmpXchgInst>(&I)) { in removeVolatileInFunction()
59 } else if (AtomicCmpXchgInst *CmpXChg = dyn_cast<AtomicCmpXchgInst>(&I)) { in reduceAtomicSyncScopesInFunction()
92 } else if (AtomicCmpXchgInst *CmpXChg = dyn_cast<AtomicCmpXchgInst>(&I)) { in reduceAtomicOrderingInFunction()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DLowerAtomicPass.cpp45 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&Inst)) in runOnBasicBlock()
DInferAddressSpaces.cpp471 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions()
1008 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace()
1009 return OpNo == AtomicCmpXchgInst::getPointerOperandIndex() && in isSimplePointerUseValidToReplace()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DAtomicExpandPass.cpp98 bool expandPartwordCmpXchg(AtomicCmpXchgInst *I);
100 void expandAtomicCmpXchgToMaskedIntrinsic(AtomicCmpXchgInst *CI);
102 AtomicCmpXchgInst *convertCmpXchgToIntegerType(AtomicCmpXchgInst *CI);
108 bool tryExpandAtomicCmpXchg(AtomicCmpXchgInst *CI);
110 bool expandAtomicCmpXchg(AtomicCmpXchgInst *CI);
122 void expandAtomicCASToLibcall(AtomicCmpXchgInst *I);
166 static unsigned getAtomicOpSize(AtomicCmpXchgInst *CASI) { in getAtomicOpSize()
207 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction()
486 AtomicCmpXchgInst::getStrongestFailureOrdering(Order)); in expandAtomicLoadToCmpXchg()
564 AtomicCmpXchgInst::getStrongestFailureOrdering(MemOpOrder), SSID); in createCmpXchgInstFun()
[all …]
DReturnProtectorLowering.cpp80 if (AI == cast<AtomicCmpXchgInst>(I)->getNewValOperand()) in hasAddressTaken()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstruction.cpp528 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(I1)) in haveSameSpecialState()
529 return CXI->isVolatile() == cast<AtomicCmpXchgInst>(I2)->isVolatile() && in haveSameSpecialState()
530 CXI->isWeak() == cast<AtomicCmpXchgInst>(I2)->isWeak() && in haveSameSpecialState()
532 cast<AtomicCmpXchgInst>(I2)->getSuccessOrdering() && in haveSameSpecialState()
534 cast<AtomicCmpXchgInst>(I2)->getFailureOrdering() && in haveSameSpecialState()
536 cast<AtomicCmpXchgInst>(I2)->getSyncScopeID(); in haveSameSpecialState()
716 return cast<AtomicCmpXchgInst>(this)->isVolatile(); in isVolatile()
DCore.cpp2011 if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(P)) in LLVMGetAlignment()
2031 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(P)) in LLVMSetAlignment()
3639 return cast<AtomicCmpXchgInst>(P)->isVolatile(); in LLVMGetVolatile()
3650 return cast<AtomicCmpXchgInst>(P)->setVolatile(isVolatile); in LLVMSetVolatile()
3654 return unwrap<AtomicCmpXchgInst>(CmpXchgInst)->isWeak(); in LLVMGetWeak()
3658 return unwrap<AtomicCmpXchgInst>(CmpXchgInst)->setWeak(isWeak); in LLVMSetWeak()
3949 return cast<AtomicCmpXchgInst>(P)->getSyncScopeID() == in LLVMIsAtomicSingleThread()
3959 return cast<AtomicCmpXchgInst>(P)->setSyncScopeID(SSID); in LLVMSetAtomicSingleThread()
3964 return mapToLLVMOrdering(cast<AtomicCmpXchgInst>(P)->getSuccessOrdering()); in LLVMGetCmpXchgSuccessOrdering()
3972 return cast<AtomicCmpXchgInst>(P)->setSuccessOrdering(O); in LLVMSetCmpXchgSuccessOrdering()
[all …]
DInstructions.cpp1674 void AtomicCmpXchgInst::Init(Value *Ptr, Value *Cmp, Value *NewVal, in Init()
1700 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1708 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1709 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertBefore) { in AtomicCmpXchgInst()
1713 AtomicCmpXchgInst::AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, in AtomicCmpXchgInst() function in AtomicCmpXchgInst
1721 AtomicCmpXchg, OperandTraits<AtomicCmpXchgInst>::op_begin(this), in AtomicCmpXchgInst()
1722 OperandTraits<AtomicCmpXchgInst>::operands(this), InsertAtEnd) { in AtomicCmpXchgInst()
4839 AtomicCmpXchgInst *AtomicCmpXchgInst::cloneImpl() const { in cloneImpl()
4840 AtomicCmpXchgInst *Result = new AtomicCmpXchgInst( in cloneImpl()
/openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
DLowerAtomic.h24 bool lowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI);
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp650 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(L)) { in cmpOperations()
652 cast<AtomicCmpXchgInst>(R)->isVolatile())) in cmpOperations()
655 cmpNumbers(CXI->isWeak(), cast<AtomicCmpXchgInst>(R)->isWeak())) in cmpOperations()
659 cast<AtomicCmpXchgInst>(R)->getSuccessOrdering())) in cmpOperations()
663 cast<AtomicCmpXchgInst>(R)->getFailureOrdering())) in cmpOperations()
666 cast<AtomicCmpXchgInst>(R)->getSyncScopeID()); in cmpOperations()
DLowerAtomic.cpp23 bool llvm::lowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in lowerAtomicCmpXchgInst()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp166 } else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(&I)) { in addBoundsChecking()
DMemProfiler.cpp296 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess()
DHWAddressSanitizer.cpp760 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands()
784 if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) in getPointerOperandIndex()
DThreadSanitizer.cpp769 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DMemoryLocation.h32 class AtomicCmpXchgInst; variable
241 static MemoryLocation get(const AtomicCmpXchgInst *CXI);
DAliasAnalysis.h56 class AtomicCmpXchgInst; variable
583 ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX,
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DMemoryLocation.cpp59 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get()
87 return get(cast<AtomicCmpXchgInst>(Inst)); in getOrNone()
DAliasAnalysis.cpp566 ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, in getModRefInfo()
622 return getModRefInfo((const AtomicCmpXchgInst *)I, Loc, AAQIP); in getModRefInfo()
DCaptureTracking.cpp374 auto *ACXI = cast<AtomicCmpXchgInst>(I); in DetermineUseCaptureKind()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUMemoryUtils.cpp142 if (checkNoAlias(dyn_cast<AtomicCmpXchgInst>(DefInst)) || in isReallyAClobber()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/
DRISCVISelLowering.h557 shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *CI) const override;
559 AtomicCmpXchgInst *CI,
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h45 class AtomicCmpXchgInst; variable
597 void visitAtomicCmpXchg(const AtomicCmpXchgInst &I);
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstVisitor.h171 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
DInstruction.def176 HANDLE_MEMORY_INST(36, AtomicCmpXchg , AtomicCmpXchgInst )

123