Home
last modified time | relevance | path

Searched refs:ValueHandle (Results 1 – 7 of 7) sorted by relevance

/external/compiler-rt/lib/ubsan/
Dubsan_handlers.h40 RECOVERABLE(type_mismatch, TypeMismatchData *Data, ValueHandle Pointer)
48 RECOVERABLE(add_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
51 RECOVERABLE(sub_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
54 RECOVERABLE(mul_overflow, OverflowData *Data, ValueHandle LHS, ValueHandle RHS)
57 RECOVERABLE(negate_overflow, OverflowData *Data, ValueHandle OldVal)
61 ValueHandle LHS, ValueHandle RHS)
72 ValueHandle LHS, ValueHandle RHS)
81 RECOVERABLE(out_of_bounds, OutOfBoundsData *Data, ValueHandle Index)
98 RECOVERABLE(vla_bound_not_positive, VLABoundData *Data, ValueHandle Bound)
115 RECOVERABLE(float_cast_overflow, void *Data, ValueHandle From)
[all …]
Dubsan_handlers.cc44 static void handleTypeMismatchImpl(TypeMismatchData *Data, ValueHandle Pointer, in handleTypeMismatchImpl()
94 ValueHandle Pointer) { in __ubsan_handle_type_mismatch()
99 ValueHandle Pointer) { in __ubsan_handle_type_mismatch_abort()
107 static void handleIntegerOverflowImpl(OverflowData *Data, ValueHandle LHS, in handleIntegerOverflowImpl()
127 void __ubsan::handler_name(OverflowData *Data, ValueHandle LHS, \
128 ValueHandle RHS) { \
142 static void handleNegateOverflowImpl(OverflowData *Data, ValueHandle OldVal, in handleNegateOverflowImpl()
165 ValueHandle OldVal) { in __ubsan_handle_negate_overflow()
170 ValueHandle OldVal) { in __ubsan_handle_negate_overflow_abort()
176 static void handleDivremOverflowImpl(OverflowData *Data, ValueHandle LHS, in handleDivremOverflowImpl()
[all …]
Dubsan_handlers_cxx.cc34 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, in HandleDynamicTypeCacheMiss()
78 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { in __ubsan_handle_dynamic_type_cache_miss()
83 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash) { in __ubsan_handle_dynamic_type_cache_miss_abort()
90 static void HandleCFIBadType(CFIBadTypeData *Data, ValueHandle Vtable, in HandleCFIBadType()
121 ValueHandle Vtable) { in __ubsan_handle_cfi_bad_type()
127 ValueHandle Vtable) { in __ubsan_handle_cfi_bad_type_abort()
Dubsan_handlers_cxx.h39 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash);
42 DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash);
47 __ubsan_handle_cfi_bad_type(CFIBadTypeData *Data, ValueHandle Vtable);
49 __ubsan_handle_cfi_bad_type_abort(CFIBadTypeData *Data, ValueHandle Vtable);
Dubsan_value.h137 typedef uptr ValueHandle; typedef
149 ValueHandle Val;
154 const unsigned InlineBits = sizeof(ValueHandle) * 8; in isInlineInt()
162 const unsigned InlineBits = sizeof(ValueHandle) * 8; in isInlineFloat()
168 Value(const TypeDescriptor &Type, ValueHandle Val) : Type(Type), Val(Val) {} in Value()
/external/llvm/unittests/IR/
DValueHandleTest.cpp21 class ValueHandle : public testing::Test { class
26 ValueHandle() : in ValueHandle() function in __anonbd7f0f210111::ValueHandle
37 TEST_F(ValueHandle, WeakVH_BasicOperation) { in TEST_F() argument
49 TEST_F(ValueHandle, WeakVH_Comparisons) { in TEST_F() argument
82 TEST_F(ValueHandle, WeakVH_FollowsRAUW) { in TEST_F() argument
92 TEST_F(ValueHandle, WeakVH_NullOnDeletion) { in TEST_F() argument
104 TEST_F(ValueHandle, AssertingVH_BasicOperation) { in TEST_F() argument
120 TEST_F(ValueHandle, AssertingVH_Const) { in TEST_F() argument
127 TEST_F(ValueHandle, AssertingVH_Comparisons) { in TEST_F() argument
160 TEST_F(ValueHandle, AssertingVH_DoesNotFollowRAUW) { in TEST_F() argument
[all …]
/external/llvm/test/Transforms/MergeFunc/
Dcrash2.ll8 ; causes an assert in the ValueHandle call back because we are RAUWing with a