reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1824     assert(isa<AtomicRMWInst>(I) || isa<AtomicCmpXchgInst>(I));
 1824     assert(isa<AtomicRMWInst>(I) || isa<AtomicCmpXchgInst>(I));
 1826     IRBuilder<> IRB(&I);
 1827     Value *Addr = I.getOperand(0);
 1828     Value *ShadowPtr = getShadowOriginPtr(Addr, IRB, I.getType(),
 1833       insertShadowCheck(Addr, &I);
 1838     if (isa<AtomicCmpXchgInst>(I))
 1839       insertShadowCheck(I.getOperand(1), &I);
 1839       insertShadowCheck(I.getOperand(1), &I);
 1841     IRB.CreateStore(getCleanShadow(&I), ShadowPtr);
 1843     setShadow(&I, getCleanShadow(&I));
 1843     setShadow(&I, getCleanShadow(&I));
 1844     setOrigin(&I, getCleanOrigin());