Home
last modified time | relevance | path

Searched refs:CASI (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp207 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction() local
229 } else if (CASI) { in runOnFunction()
230 if (!atomicSizeSupported(TLI, CASI)) { in runOnFunction()
231 expandAtomicCASToLibcall(CASI); in runOnFunction()
251 } else if (CASI) { in runOnFunction()
257 I = CASI = convertCmpXchgToIntegerType(CASI); in runOnFunction()
274 } else if (CASI && in runOnFunction()
284 FenceOrdering = CASI->getMergedOrdering(); in runOnFunction()
299 else if (CASI && TLI->shouldExpandAtomicCmpXchgInIR(CASI) != in runOnFunction()
337 } else if (CASI) in runOnFunction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp761 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic() local
762 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
763 Type *OrigOldValTy = CASI->getNewValOperand()->getType(); in instrumentAtomic()
771 IRB.CreateBitOrPointerCast(CASI->getCompareOperand(), Ty); in instrumentAtomic()
773 IRB.CreateBitOrPointerCast(CASI->getNewValOperand(), Ty); in instrumentAtomic()
777 createOrdering(&IRB, CASI->getSuccessOrdering()), in instrumentAtomic()
778 createOrdering(&IRB, CASI->getFailureOrdering())}; in instrumentAtomic()
788 IRB.CreateInsertValue(PoisonValue::get(CASI->getType()), OldVal, 0); in instrumentAtomic()