Lines Matching refs:SanOpts

501   return SanOpts.has(SanitizerKind::Null) |  in sanitizePerformTypeCheck()
502 SanOpts.has(SanitizerKind::Alignment) | in sanitizePerformTypeCheck()
503 SanOpts.has(SanitizerKind::ObjectSize) | in sanitizePerformTypeCheck()
504 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()
526 if ((SanOpts.has(SanitizerKind::Null) || AllowNullPointers) && in EmitTypeCheck()
543 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()
562 if (SanOpts.has(SanitizerKind::Alignment)) { in EmitTypeCheck()
597 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()
721 assert(SanOpts.has(SanitizerKind::ArrayBounds) && in EmitBoundsCheck()
827 if (SanOpts.has(SanitizerKind::CFIUnrelatedCast)) { in EmitPointerWithAlignment()
919 if (SanOpts.has(SanitizerKind::ArrayBounds) && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()
1289 SanOpts.has(SanitizerKind::Bool) && hasBooleanRepresentation(Ty); in EmitLoadOfScalar()
1291 SanOpts.has(SanitizerKind::Enum) && Ty->getAs<EnumType>(); in EmitLoadOfScalar()
2467 assert(SanOpts.has(Checked[0].second)); in EmitCheck()
2472 assert(SanOpts.has(Checked[i].second)); in EmitCheck()
2707 if (SanOpts.has(SanitizerKind::ArrayBounds)) in EmitArraySubscriptExpr()
3458 if (SanOpts.has(SanitizerKind::CFIDerivedCast)) in EmitCastLValue()
3474 if (SanOpts.has(SanitizerKind::CFIUnrelatedCast)) in EmitCastLValue()
3803 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function) && in EmitCall()
3850 if (SanOpts.has(SanitizerKind::CFIICall) && in EmitCall()