| /openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| D | ReduceMemoryOperations.cpp | 29 } 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/ |
| D | LowerAtomicPass.cpp | 45 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(&Inst)) in runOnBasicBlock()
|
| D | InferAddressSpaces.cpp | 471 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/ |
| D | AtomicExpandPass.cpp | 98 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 …]
|
| D | ReturnProtectorLowering.cpp | 80 if (AI == cast<AtomicCmpXchgInst>(I)->getNewValOperand()) in hasAddressTaken()
|
| /openbsd/src/gnu/llvm/llvm/lib/IR/ |
| D | Instruction.cpp | 528 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()
|
| D | Core.cpp | 2011 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 …]
|
| D | Instructions.cpp | 1674 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/ |
| D | LowerAtomic.h | 24 bool lowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI);
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | FunctionComparator.cpp | 650 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()
|
| D | LowerAtomic.cpp | 23 bool llvm::lowerAtomicCmpXchgInst(AtomicCmpXchgInst *CXI) { in lowerAtomicCmpXchgInst()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| D | BoundsChecking.cpp | 166 } else if (AtomicCmpXchgInst *AI = dyn_cast<AtomicCmpXchgInst>(&I)) { in addBoundsChecking()
|
| D | MemProfiler.cpp | 296 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess()
|
| D | HWAddressSanitizer.cpp | 760 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands() 784 if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) in getPointerOperandIndex()
|
| D | ThreadSanitizer.cpp | 769 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic()
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/ |
| D | MemoryLocation.h | 32 class AtomicCmpXchgInst; variable 241 static MemoryLocation get(const AtomicCmpXchgInst *CXI);
|
| D | AliasAnalysis.h | 56 class AtomicCmpXchgInst; variable 583 ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX,
|
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | MemoryLocation.cpp | 59 MemoryLocation MemoryLocation::get(const AtomicCmpXchgInst *CXI) { in get() 87 return get(cast<AtomicCmpXchgInst>(Inst)); in getOrNone()
|
| D | AliasAnalysis.cpp | 566 ModRefInfo AAResults::getModRefInfo(const AtomicCmpXchgInst *CX, in getModRefInfo() 622 return getModRefInfo((const AtomicCmpXchgInst *)I, Loc, AAQIP); in getModRefInfo()
|
| D | CaptureTracking.cpp | 374 auto *ACXI = cast<AtomicCmpXchgInst>(I); in DetermineUseCaptureKind()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/ |
| D | AMDGPUMemoryUtils.cpp | 142 if (checkNoAlias(dyn_cast<AtomicCmpXchgInst>(DefInst)) || in isReallyAClobber()
|
| /openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/ |
| D | RISCVISelLowering.h | 557 shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *CI) const override; 559 AtomicCmpXchgInst *CI,
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| D | SelectionDAGBuilder.h | 45 class AtomicCmpXchgInst; variable 597 void visitAtomicCmpXchg(const AtomicCmpXchgInst &I);
|
| /openbsd/src/gnu/llvm/llvm/include/llvm/IR/ |
| D | InstVisitor.h | 171 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
|
| D | Instruction.def | 176 HANDLE_MEMORY_INST(36, AtomicCmpXchg , AtomicCmpXchgInst )
|