Lines Matching defs:TCK
650 bool CodeGenFunction::isNullPointerAllowed(TypeCheckKind TCK) {
651 return TCK == TCK_DowncastPointer || TCK == TCK_Upcast ||
652 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation;
655 bool CodeGenFunction::isVptrCheckRequired(TypeCheckKind TCK, QualType Ty) {
658 (TCK == TCK_MemberAccess || TCK == TCK_MemberCall ||
659 TCK == TCK_DowncastPointer || TCK == TCK_DowncastReference ||
660 TCK == TCK_UpcastToVirtualBase || TCK == TCK_DynamicOperation);
670 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc,
703 bool AllowNullPointers = isNullPointerAllowed(TCK);
786 llvm::ConstantInt::get(Int8Ty, TCK)};
800 !SkippedChecks.has(SanitizerKind::Vptr) && isVptrCheckRequired(TCK, Ty)) {
860 llvm::ConstantInt::get(Int8Ty, TCK)
1236 LValue CodeGenFunction::EmitCheckedLValue(const Expr *E, TypeCheckKind TCK) {
1251 EmitTypeCheck(TCK, E->getExprLoc(), LV.getPointer(*this), E->getType(),