Lines Matching refs:TCK
656 bool CodeGenFunction::isNullPointerAllowed(TypeCheckKind TCK) { in isNullPointerAllowed() argument
657 return TCK == TCK_DowncastPointer || TCK == TCK_Upcast || in isNullPointerAllowed()
658 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation; in isNullPointerAllowed()
661 bool CodeGenFunction::isVptrCheckRequired(TypeCheckKind TCK, QualType Ty) { in isVptrCheckRequired() argument
664 (TCK == TCK_MemberAccess || TCK == TCK_MemberCall || in isVptrCheckRequired()
665 TCK == TCK_DowncastPointer || TCK == TCK_DowncastReference || in isVptrCheckRequired()
666 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation); in isVptrCheckRequired()
676 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, in EmitTypeCheck() argument
709 bool AllowNullPointers = isNullPointerAllowed(TCK); in EmitTypeCheck()
792 llvm::ConstantInt::get(Int8Ty, TCK)}; in EmitTypeCheck()
806 !SkippedChecks.has(SanitizerKind::Vptr) && isVptrCheckRequired(TCK, Ty)) { in EmitTypeCheck()
866 llvm::ConstantInt::get(Int8Ty, TCK) in EmitTypeCheck()
1249 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() argument
1264 EmitTypeCheck(TCK, E->getExprLoc(), LV.getPointer(*this), E->getType(), in EmitCheckedLValue()