/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 610 EmitCheck(Checks, "type_mismatch", StaticData, Ptr); in EmitTypeCheck() 677 EmitCheck(std::make_pair(EqualHash, SanitizerKind::Vptr), in EmitTypeCheck() 766 EmitCheck(std::make_pair(Check, SanitizerKind::ArrayBounds), "out_of_bounds", in EmitBoundsCheck() 1339 EmitCheck(std::make_pair(Check, Kind), "load_invalid_value", StaticArgs, in EmitLoadOfScalar() 2497 void CodeGenFunction::EmitCheck( in EmitCheck() function in CodeGenFunction 2720 EmitCheck(std::make_pair(Cond, Mask), "cfi_check_fail", {}, in EmitCfiCheckFail() 4054 EmitCheck(std::make_pair(CalleeRTTIMatch, SanitizerKind::Function), in EmitCall() 4086 EmitCheck(std::make_pair(TypeTest, SanitizerKind::CFIICall), in EmitCall()
|
D | CodeGenFunction.cpp | 1071 EmitCheck(std::make_pair(IsFalse, SanitizerKind::Return), in GenerateCode() 1756 EmitCheck(std::make_pair(Builder.CreateICmpSGT(Size, Zero), in EmitVariablyModifiedType()
|
D | CGClass.cpp | 2768 EmitCheck(std::make_pair(TypeTest, M), "cfi_check_fail", StaticData, in EmitVTablePtrCheck() 2800 EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIVCall), in EmitVTableTypeCheckedLoad()
|
D | CGCall.cpp | 2843 EmitCheck(std::make_pair(Cond, SanitizerKind::ReturnsNonnullAttribute), in EmitFunctionEpilog() 3169 EmitCheck(std::make_pair(Cond, SanitizerKind::NonnullAttribute), in EmitNonNullArgCheck()
|
D | CGExprScalar.cpp | 726 CGF.EmitCheck(std::make_pair(Check, SanitizerKind::FloatCastOverflow), in EmitFloatConversionCheck() 971 CGF.EmitCheck(Checks, CheckName, StaticData, DynamicData); in EmitBinOpCheck()
|
D | CodeGenFunction.h | 3202 void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
|
D | CGBuiltin.cpp | 790 EmitCheck(std::make_pair(static_cast<llvm::Value *>(Builder.getFalse()), in EmitBuiltinExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 793 EmitCheck(Checks, SanitizerHandler::TypeMismatch, StaticData, in EmitTypeCheck() 869 EmitCheck(std::make_pair(EqualHash, SanitizerKind::Vptr), in EmitTypeCheck() 1015 EmitCheck(std::make_pair(Check, SanitizerKind::ArrayBounds), in EmitBoundsCheck() 1703 EmitCheck(std::make_pair(Check, Kind), SanitizerHandler::LoadInvalidValue, in EmitScalarRangeCheck() 3190 void CodeGenFunction::EmitCheck( in EmitCheck() function in CodeGenFunction 3447 EmitCheck(std::make_pair(Cond, Mask), SanitizerHandler::CFICheckFail, {}, in EmitCfiCheckFail() 3462 EmitCheck(std::make_pair(static_cast<llvm::Value *>(Builder.getFalse()), in EmitUnreachable() 5159 EmitCheck(std::make_pair(CalleeRTTIMatch, SanitizerKind::Function), in EmitCall() 5200 EmitCheck(std::make_pair(TypeTest, SanitizerKind::CFIICall), in EmitCall()
|
D | CodeGenFunction.cpp | 1371 EmitCheck(std::make_pair(IsFalse, SanitizerKind::Return), in GenerateCode() 2108 EmitCheck(std::make_pair(Builder.CreateICmpSGT(Size, Zero), in EmitVariablyModifiedType() 2543 EmitCheck({std::make_pair(TheCheck, SanitizerKind::Alignment)}, in emitAlignmentAssumptionCheck()
|
D | CGExprScalar.cpp | 954 CGF.EmitCheck(std::make_pair(Check, SanitizerKind::FloatCastOverflow), in EmitFloatConversionCheck() 1048 CGF.EmitCheck(Check.second, SanitizerHandler::ImplicitConversion, StaticArgs, in EmitIntegerTruncationCheck() 1190 CGF.EmitCheck(Checks, SanitizerHandler::ImplicitConversion, StaticArgs, in EmitIntegerSignChangeCheck() 1528 CGF.EmitCheck(Checks, Check, StaticData, DynamicData); in EmitBinOpCheck() 4960 EmitCheck(Checks, SanitizerHandler::PointerOverflow, StaticArgs, DynamicArgs); in EmitCheckedInBoundsGEP()
|
D | CGClass.cpp | 2815 EmitCheck(std::make_pair(TypeTest, M), SanitizerHandler::CFICheckFail, in EmitVTablePtrCheck() 2857 EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIVCall), in EmitVTableTypeCheckedLoad()
|
D | ItaniumCXXABI.cpp | 781 CGF.EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIMFCall), in EmitLoadOfMemberFunctionPointer() 827 CGF.EmitCheck(std::make_pair(Bit, SanitizerKind::CFIMFCall), in EmitLoadOfMemberFunctionPointer()
|
D | CGDecl.cpp | 752 EmitCheck({{IsNotNull, SanitizerKind::NullabilityAssign}}, in EmitNullabilityCheck()
|
D | CGCall.cpp | 3439 EmitCheck(std::make_pair(Cond, CheckKind), Handler, StaticData, DynamicData); in EmitReturnValueCheck() 3818 EmitCheck(std::make_pair(Cond, CheckKind), Handler, StaticData, None); in EmitNonNullArgCheck()
|
D | CGObjC.cpp | 1937 EmitCheck({{IsClass, SanitizerKind::ObjCCast}}, in EmitObjCForCollectionStmt()
|
D | CodeGenFunction.h | 4452 void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
|
D | CGBuiltin.cpp | 1625 EmitCheck(std::make_pair(Cond, SanitizerKind::Builtin), in EmitCheckedArgForBuiltin()
|