reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3517 Assert(RMWI.getOrdering() != AtomicOrdering::NotAtomic, 3518 "atomicrmw instructions must be atomic.", &RMWI); 3519 Assert(RMWI.getOrdering() != AtomicOrdering::Unordered, 3520 "atomicrmw instructions cannot be unordered.", &RMWI); 3521 auto Op = RMWI.getOperation(); 3522 PointerType *PTy = dyn_cast<PointerType>(RMWI.getOperand(0)->getType()); 3523 Assert(PTy, "First atomicrmw operand must be a pointer.", &RMWI); 3529 &RMWI, ElTy); 3534 &RMWI, ElTy); 3539 &RMWI, ElTy); 3541 checkAtomicMemAccessSize(ElTy, &RMWI); 3542 Assert(ElTy == RMWI.getOperand(1)->getType(), 3543 "Argument value type does not match pointer operand type!", &RMWI, 3546 "Invalid binary operation!", &RMWI); 3547 visitInstruction(RMWI);