Searched refs:CASI (Results 1 – 2 of 2) sorted by relevance
207 auto CASI = dyn_cast<AtomicCmpXchgInst>(I); in runOnFunction() local229 } 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 …]
761 } else if (AtomicCmpXchgInst *CASI = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentAtomic() local762 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()