reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
445 if (Invalid || !N) return; 446 uint64_t TruncatedN = N.extOrTrunc(64).getZExtValue(); 467 if (N < -(int64_t)ArrayIndex || N > ArraySize - ArrayIndex) { 467 if (N < -(int64_t)ArrayIndex || N > ArraySize - ArrayIndex) { 470 N = N.extend(std::max<unsigned>(N.getBitWidth() + 1, 65)); 470 N = N.extend(std::max<unsigned>(N.getBitWidth() + 1, 65)); 470 N = N.extend(std::max<unsigned>(N.getBitWidth() + 1, 65)); 471 (llvm::APInt&)N += ArrayIndex; 472 assert(N.ugt(ArraySize) && "bounds check failed for in-bounds index"); 473 diagnosePointerArithmetic(Info, E, N);