Home
last modified time | relevance | path

Searched refs:AccessInfo (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_linux.cpp320 struct AccessInfo { struct
328 static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) { in GetAccessInfo()
341 return AccessInfo{}; // Not ours. in GetAccessInfo()
348 return AccessInfo{}; // Not ours. in GetAccessInfo()
359 return AccessInfo{}; // Not ours. in GetAccessInfo()
367 return AccessInfo{}; // Not ours. in GetAccessInfo()
375 return AccessInfo{addr, size, is_store, !is_store, recover}; in GetAccessInfo()
378 static void HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, in HandleTagMismatch()
401 AccessInfo ai = GetAccessInfo(info, uc); in HwasanOnSIGTRAP()
439 __hwasan::AccessInfo ai; in __hwasan_tag_mismatch4()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp295 uint32_t AccessInfo = MI.getOperand(1).getImm(); in LowerHWASAN_CHECK_MEMACCESS() local
297 HwasanMemaccessSymbols[HwasanMemaccessTuple(Reg, IsShort, AccessInfo)]; in LowerHWASAN_CHECK_MEMACCESS()
304 utostr(AccessInfo); in LowerHWASAN_CHECK_MEMACCESS()
338 uint32_t AccessInfo = std::get<2>(P.first); in EmitHwasanMemaccessSymbols() local
344 (AccessInfo >> HWASanAccessInfo::HasMatchAllShift) & 1; in EmitHwasanMemaccessSymbols()
346 (AccessInfo >> HWASanAccessInfo::MatchAllShift) & 0xff; in EmitHwasanMemaccessSymbols()
348 1 << ((AccessInfo >> HWASanAccessInfo::AccessSizeShift) & 0xf); in EmitHwasanMemaccessSymbols()
350 (AccessInfo >> HWASanAccessInfo::CompileKernelShift) & 1; in EmitHwasanMemaccessSymbols()
506 .addImm(AccessInfo & HWASanAccessInfo::RuntimeMask) in EmitHwasanMemaccessSymbols()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64AsmPrinter.cpp314 uint32_t AccessInfo = MI.getOperand(1).getImm(); in LowerHWASAN_CHECK_MEMACCESS() local
316 HwasanMemaccessSymbols[HwasanMemaccessTuple(Reg, IsShort, AccessInfo)]; in LowerHWASAN_CHECK_MEMACCESS()
323 utostr(AccessInfo); in LowerHWASAN_CHECK_MEMACCESS()
356 uint32_t AccessInfo = std::get<2>(P.first); in EmitHwasanMemaccessSymbols() local
424 unsigned Size = 1 << (AccessInfo & 0xf); in EmitHwasanMemaccessSymbols()
494 .addImm(AccessInfo) in EmitHwasanMemaccessSymbols()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp610 const int64_t AccessInfo = Recover * 0x20 + IsWrite * 0x10 + AccessSizeIndex; in instrumentMemAccessInline() local
621 {shadowBase(), Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessInline()
677 "int3\nnopl " + itostr(0x40 + AccessInfo) + "(%rax)", in instrumentMemAccessInline()
686 "brk #" + itostr(0x900 + AccessInfo), in instrumentMemAccessInline()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp724 const int64_t AccessInfo = in instrumentMemAccessInline() local
740 {ShadowBase, Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessInline()
795 itostr(0x40 + (AccessInfo & HWASanAccessInfo::RuntimeMask)) + in instrumentMemAccessInline()
806 itostr(0x900 + (AccessInfo & HWASanAccessInfo::RuntimeMask)), in instrumentMemAccessInline()
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp6505 for (const AccessInfo &AI : *Accesses) in checkForAllAccessesToMemoryKind()
6531 struct AccessInfo { struct
6542 bool operator==(const AccessInfo &RHS) const { in operator ==() argument
6545 bool operator()(const AccessInfo &LHS, const AccessInfo &RHS) const { in operator ()() argument
6558 using AccessSet = SmallSet<AccessInfo, 2, AccessInfo>;
6594 Changed |= Accesses->insert(AccessInfo{I, Ptr, AK}).second; in updateStateAndAccessesMap()