Lines Matching refs:SanOpts
482 return SanOpts.has(SanitizerKind::Null) | in sanitizePerformTypeCheck()
483 SanOpts.has(SanitizerKind::Alignment) | in sanitizePerformTypeCheck()
484 SanOpts.has(SanitizerKind::ObjectSize) | in sanitizePerformTypeCheck()
485 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()
507 if ((SanOpts.has(SanitizerKind::Null) || AllowNullPointers) && in EmitTypeCheck()
525 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()
544 if (SanOpts.has(SanitizerKind::Alignment)) { in EmitTypeCheck()
579 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()
702 assert(SanOpts.has(SanitizerKind::ArrayBounds) && in EmitBoundsCheck()
805 if (SanOpts.has(SanitizerKind::ArrayBounds) && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()
1184 SanOpts.has(SanitizerKind::Bool) && hasBooleanRepresentation(Ty); in EmitLoadOfScalar()
1186 SanOpts.has(SanitizerKind::Enum) && Ty->getAs<EnumType>(); in EmitLoadOfScalar()
2318 assert(SanOpts.has(Checked[0].second)); in EmitCheck()
2323 assert(SanOpts.has(Checked[i].second)); in EmitCheck()
2439 if (SanOpts.has(SanitizerKind::ArrayBounds)) in EmitArraySubscriptExpr()
3036 if (SanOpts.has(SanitizerKind::CFIDerivedCast)) in EmitCastLValue()
3049 if (SanOpts.has(SanitizerKind::CFIUnrelatedCast)) in EmitCastLValue()
3354 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function) && in EmitCall()