Home
last modified time | relevance | path

Searched refs:EmitCheck (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/CodeGen/
DCGExpr.cpp610 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()
DCodeGenFunction.cpp1071 EmitCheck(std::make_pair(IsFalse, SanitizerKind::Return), in GenerateCode()
1756 EmitCheck(std::make_pair(Builder.CreateICmpSGT(Size, Zero), in EmitVariablyModifiedType()
DCGClass.cpp2768 EmitCheck(std::make_pair(TypeTest, M), "cfi_check_fail", StaticData, in EmitVTablePtrCheck()
2800 EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIVCall), in EmitVTableTypeCheckedLoad()
DCGCall.cpp2843 EmitCheck(std::make_pair(Cond, SanitizerKind::ReturnsNonnullAttribute), in EmitFunctionEpilog()
3169 EmitCheck(std::make_pair(Cond, SanitizerKind::NonnullAttribute), in EmitNonNullArgCheck()
DCGExprScalar.cpp726 CGF.EmitCheck(std::make_pair(Check, SanitizerKind::FloatCastOverflow), in EmitFloatConversionCheck()
971 CGF.EmitCheck(Checks, CheckName, StaticData, DynamicData); in EmitBinOpCheck()
DCodeGenFunction.h3202 void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
DCGBuiltin.cpp790 EmitCheck(std::make_pair(static_cast<llvm::Value *>(Builder.getFalse()), in EmitBuiltinExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp793 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()
DCodeGenFunction.cpp1371 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()
DCGExprScalar.cpp954 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()
DCGClass.cpp2815 EmitCheck(std::make_pair(TypeTest, M), SanitizerHandler::CFICheckFail, in EmitVTablePtrCheck()
2857 EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIVCall), in EmitVTableTypeCheckedLoad()
DItaniumCXXABI.cpp781 CGF.EmitCheck(std::make_pair(CheckResult, SanitizerKind::CFIMFCall), in EmitLoadOfMemberFunctionPointer()
827 CGF.EmitCheck(std::make_pair(Bit, SanitizerKind::CFIMFCall), in EmitLoadOfMemberFunctionPointer()
DCGDecl.cpp752 EmitCheck({{IsNotNull, SanitizerKind::NullabilityAssign}}, in EmitNullabilityCheck()
DCGCall.cpp3439 EmitCheck(std::make_pair(Cond, CheckKind), Handler, StaticData, DynamicData); in EmitReturnValueCheck()
3818 EmitCheck(std::make_pair(Cond, CheckKind), Handler, StaticData, None); in EmitNonNullArgCheck()
DCGObjC.cpp1937 EmitCheck({{IsClass, SanitizerKind::ObjCCast}}, in EmitObjCForCollectionStmt()
DCodeGenFunction.h4452 void EmitCheck(ArrayRef<std::pair<llvm::Value *, SanitizerMask>> Checked,
DCGBuiltin.cpp1625 EmitCheck(std::make_pair(Cond, SanitizerKind::Builtin), in EmitCheckedArgForBuiltin()