Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp150 static unsigned getAtomicOpSize(AtomicCmpXchgInst *CASI) { in getAtomicOpSize() argument
182 static unsigned getAtomicOpAlign(AtomicCmpXchgInst *CASI) { in getAtomicOpAlign() argument
223 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction() local
245 } else if (CASI) { in runOnFunction()
246 if (!atomicSizeSupported(TLI, CASI)) { in runOnFunction()
247 expandAtomicCASToLibcall(CASI); in runOnFunction()
265 } else if (CASI && in runOnFunction()
274 FenceOrdering = CASI->getSuccessOrdering(); in runOnFunction()
327 } else if (CASI) { in runOnFunction()
335 CASI = convertCmpXchgToIntegerType(CASI); in runOnFunction()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp674 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic() local
675 Value *Addr = CASI->getPointerOperand(); in instrumentAtomic()
684 IRB.CreateBitOrPointerCast(CASI->getCompareOperand(), Ty); in instrumentAtomic()
686 IRB.CreateBitOrPointerCast(CASI->getNewValOperand(), Ty); in instrumentAtomic()
690 createOrdering(&IRB, CASI->getSuccessOrdering()), in instrumentAtomic()
691 createOrdering(&IRB, CASI->getFailureOrdering())}; in instrumentAtomic()
695 Type *OrigOldValTy = CASI->getNewValOperand()->getType(); in instrumentAtomic()
702 IRB.CreateInsertValue(UndefValue::get(CASI->getType()), OldVal, 0); in instrumentAtomic()