Home
last modified time | relevance | path

Searched refs:AccessSizeIndex (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp158 unsigned AccessSizeIndex,
273 for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes; in initializeCallbacks() local
274 AccessSizeIndex++) { in initializeCallbacks()
275 HwasanMemoryAccessCallback[AccessIsWrite][AccessSizeIndex] = in initializeCallbacks()
278 itostr(1ULL << AccessSizeIndex) + EndingStr, in initializeCallbacks()
417 unsigned AccessSizeIndex, in instrumentMemAccessInline() argument
441 const int64_t AccessInfo = Recover * 0x20 + IsWrite * 0x10 + AccessSizeIndex; in instrumentMemAccessInline()
488 size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize); in instrumentMemAccess() local
490 IRB.CreateCall(HwasanMemoryAccessCallback[IsWrite][AccessSizeIndex], in instrumentMemAccess()
493 instrumentMemAccessInline(AddrLong, IsWrite, AccessSizeIndex, I); in instrumentMemAccess()
DAddressSanitizer.cpp660 bool IsWrite, size_t AccessSizeIndex,
1457 size_t AccessSizeIndex, in generateCrashCode() argument
1473 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1475 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1513 size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize); in instrumentAddress() local
1517 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex], in instrumentAddress()
1520 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][1][AccessSizeIndex], in instrumentAddress()
1577 AccessSizeIndex, SizeArgument, Exp); in instrumentAddress()
2322 for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes; in initializeCallbacks() local
2323 AccessSizeIndex++) { in initializeCallbacks()
[all …]
DMemorySanitizer.cpp571 for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes; in createUserspaceApi() local
572 AccessSizeIndex++) { in createUserspaceApi()
573 unsigned AccessSize = 1 << AccessSizeIndex; in createUserspaceApi()
575 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction( in createUserspaceApi()
580 MaybeStoreOriginFn[AccessSizeIndex] = M.getOrInsertFunction( in createUserspaceApi()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp495 bool IsWrite, size_t AccessSizeIndex,
1089 size_t AccessSizeIndex, in generateCrashCode() argument
1105 IRB.CreateCall(AsanErrorCallback[IsWrite][0][AccessSizeIndex], Addr); in generateCrashCode()
1107 Call = IRB.CreateCall(AsanErrorCallback[IsWrite][1][AccessSizeIndex], in generateCrashCode()
1143 size_t AccessSizeIndex = TypeSizeToSizeIndex(TypeSize); in instrumentAddress() local
1147 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][0][AccessSizeIndex], in instrumentAddress()
1150 IRB.CreateCall(AsanMemoryAccessCallback[IsWrite][1][AccessSizeIndex], in instrumentAddress()
1190 AccessSizeIndex, SizeArgument, Exp); in instrumentAddress()
1657 for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes; in initializeCallbacks() local
1658 AccessSizeIndex++) { in initializeCallbacks()
[all …]
DMemorySanitizer.cpp428 for (size_t AccessSizeIndex = 0; AccessSizeIndex < kNumberOfAccessSizes; in initializeCallbacks() local
429 AccessSizeIndex++) { in initializeCallbacks()
430 unsigned AccessSize = 1 << AccessSizeIndex; in initializeCallbacks()
432 MaybeWarningFn[AccessSizeIndex] = M.getOrInsertFunction( in initializeCallbacks()
437 MaybeStoreOriginFn[AccessSizeIndex] = M.getOrInsertFunction( in initializeCallbacks()