Home
last modified time | relevance | path

Searched refs:CmpXchg (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGAtomic.cpp200 llvm::Value *convertRValueToInt(RValue RVal, bool CmpXchg = false) const;
204 bool CmpXchg = false) const;
267 bool CmpXchg = false);
1409 static bool shouldCastToInt(llvm::Type *ValTy, bool CmpXchg) { in shouldCastToInt() argument
1411 return ValTy->isX86_FP80Ty() || CmpXchg; in shouldCastToInt()
1418 bool CmpXchg) const { in ConvertToValueOrAtomic()
1432 if (!shouldCastToInt(ValTy, CmpXchg)) { in ConvertToValueOrAtomic()
1474 bool IsVolatile, bool CmpXchg) { in EmitAtomicLoadOp() argument
1477 if (shouldCastToInt(Addr.getElementType(), CmpXchg)) in EmitAtomicLoadOp()
1615 llvm::Value *AtomicInfo::convertRValueToInt(RValue RVal, bool CmpXchg) const { in convertRValueToInt()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFCheckAndAdjustIR.cpp507 else if (auto *CmpXchg = dyn_cast<AtomicCmpXchgInst>(&I)) in insertASpaceCasts() local
508 PtrOpNum = CmpXchg->getPointerOperandIndex(); in insertASpaceCasts()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1796 if (auto *CmpXchg = dyn_cast<AtomicCmpXchgInst>(DeadI)) in isDSEBarrier() local
1797 return isStrongerThanMonotonic(CmpXchg->getSuccessOrdering()) || in isDSEBarrier()
1798 isStrongerThanMonotonic(CmpXchg->getFailureOrdering()); in isDSEBarrier()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2409 auto *CmpXchg = isExtractFromCmpXchg(SI.getCondition(), 1); in foldSelectCmpXchg() local
2410 if (!CmpXchg) in foldSelectCmpXchg()
2417 if (X == CmpXchg && X->getCompareOperand() == SI.getFalseValue()) in foldSelectCmpXchg()
2424 if (X == CmpXchg && X->getCompareOperand() == SI.getTrueValue()) in foldSelectCmpXchg()