Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp152 static unsigned getAtomicOpSize(AtomicCmpXchgInst *CASI) { in getAtomicOpSize() argument
153 const DataLayout &DL = CASI->getModule()->getDataLayout(); in getAtomicOpSize()
193 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction() local
215 } else if (CASI) { in runOnFunction()
216 if (!atomicSizeSupported(TLI, CASI)) { in runOnFunction()
217 expandAtomicCASToLibcall(CASI); in runOnFunction()
235 } else if (CASI && in runOnFunction()
245 FenceOrdering = CASI->getMergedOrdering(); in runOnFunction()
307 } else if (CASI) { in runOnFunction()
315 CASI = convertCmpXchgToIntegerType(CASI); in runOnFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp821 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic() local
822 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
823 Type *OrigOldValTy = CASI->getNewValOperand()->getType(); in instrumentAtomic()
832 IRB.CreateBitOrPointerCast(CASI->getCompareOperand(), Ty); in instrumentAtomic()
834 IRB.CreateBitOrPointerCast(CASI->getNewValOperand(), Ty); in instrumentAtomic()
838 createOrdering(&IRB, CASI->getSuccessOrdering()), in instrumentAtomic()
839 createOrdering(&IRB, CASI->getFailureOrdering())}; in instrumentAtomic()
849 IRB.CreateInsertValue(UndefValue::get(CASI->getType()), OldVal, 0); in instrumentAtomic()