Lines Matching refs:TCK
652 bool CodeGenFunction::isNullPointerAllowed(TypeCheckKind TCK) { in isNullPointerAllowed() argument
653 return TCK == TCK_DowncastPointer || TCK == TCK_Upcast || in isNullPointerAllowed()
654 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation; in isNullPointerAllowed()
657 bool CodeGenFunction::isVptrCheckRequired(TypeCheckKind TCK, QualType Ty) { in isVptrCheckRequired() argument
660 (TCK == TCK_MemberAccess || TCK == TCK_MemberCall || in isVptrCheckRequired()
661 TCK == TCK_DowncastPointer || TCK == TCK_DowncastReference || in isVptrCheckRequired()
662 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation); in isVptrCheckRequired()
672 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, in EmitTypeCheck() argument
705 bool AllowNullPointers = isNullPointerAllowed(TCK); in EmitTypeCheck()
784 llvm::ConstantInt::get(Int8Ty, TCK)}; in EmitTypeCheck()
798 !SkippedChecks.has(SanitizerKind::Vptr) && isVptrCheckRequired(TCK, Ty)) { in EmitTypeCheck()
857 llvm::ConstantInt::get(Int8Ty, TCK) in EmitTypeCheck()
1475 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() argument
1490 EmitTypeCheck(TCK, E->getExprLoc(), LV.getPointer(*this), E->getType(), in EmitCheckedLValue()