Lines Matching refs:TCK
655 bool CodeGenFunction::isNullPointerAllowed(TypeCheckKind TCK) { in isNullPointerAllowed() argument
656 return TCK == TCK_DowncastPointer || TCK == TCK_Upcast || in isNullPointerAllowed()
657 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation; in isNullPointerAllowed()
660 bool CodeGenFunction::isVptrCheckRequired(TypeCheckKind TCK, QualType Ty) { in isVptrCheckRequired() argument
663 (TCK == TCK_MemberAccess || TCK == TCK_MemberCall || in isVptrCheckRequired()
664 TCK == TCK_DowncastPointer || TCK == TCK_DowncastReference || in isVptrCheckRequired()
665 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation); in isVptrCheckRequired()
675 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc, in EmitTypeCheck() argument
708 bool AllowNullPointers = isNullPointerAllowed(TCK); in EmitTypeCheck()
788 llvm::ConstantInt::get(Int8Ty, TCK)}; in EmitTypeCheck()
802 !SkippedChecks.has(SanitizerKind::Vptr) && isVptrCheckRequired(TCK, Ty)) { in EmitTypeCheck()
863 llvm::ConstantInt::get(Int8Ty, TCK) in EmitTypeCheck()
1279 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) { in EmitCheckedLValue() argument
1294 EmitTypeCheck(TCK, E->getExprLoc(), LV.getPointer(*this), E->getType(), in EmitCheckedLValue()