Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_linux.cpp365 static AccessInfo GetAccessInfo(siginfo_t *info, ucontext_t *uc) { in GetAccessInfo()
378 return AccessInfo{}; // Not ours. in GetAccessInfo()
385 return AccessInfo{}; // Not ours. in GetAccessInfo()
396 return AccessInfo{}; // Not ours. in GetAccessInfo()
404 return AccessInfo{}; // Not ours. in GetAccessInfo()
427 return AccessInfo{}; in GetAccessInfo()
445 return AccessInfo{}; // Not our case in GetAccessInfo()
453 return AccessInfo{addr, size, is_store, !is_store, recover}; in GetAccessInfo()
457 AccessInfo ai = GetAccessInfo(info, uc); in HwasanOnSIGTRAP()
H A Dhwasan.h171 struct AccessInfo { struct
181 void HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, void *uc, argument
184 // This dispatches to HandleTagMismatch but sets up the AccessInfo, program
H A Dhwasan_checks.h46 AccessInfo access_info = { in SigTrap()
95 AccessInfo access_info = { in SigTrap()
H A Dhwasan.cpp225 void HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, void *uc, in HandleTagMismatch()
249 __hwasan::AccessInfo ai; in HwasanTagMismatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp512 uint32_t AccessInfo = MI.getOperand(1).getImm(); in LowerHWASAN_CHECK_MEMACCESS() local
514 HwasanMemaccessSymbols[HwasanMemaccessTuple(Reg, AccessInfo)]; in LowerHWASAN_CHECK_MEMACCESS()
521 utostr(AccessInfo) + "_short"; in LowerHWASAN_CHECK_MEMACCESS()
641 uint32_t AccessInfo = std::get<1>(P.first); in EmitHwasanMemaccessSymbols() local
645 1 << ((AccessInfo >> HWASanAccessInfo::AccessSizeShift) & 0xf); in EmitHwasanMemaccessSymbols()
815 .addImm(AccessInfo & HWASanAccessInfo::RuntimeMask), in EmitHwasanMemaccessSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp946 const int64_t AccessInfo = getAccessInfo(IsWrite, AccessSizeIndex); in instrumentMemAccessOutline() local
973 {Ptr, ConstantInt::get(Int32Ty, AccessInfo), in instrumentMemAccessOutline()
980 {ShadowBase, Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessOutline()
989 const int64_t AccessInfo = getAccessInfo(IsWrite, AccessSizeIndex); in instrumentMemAccessInline() local
1026 itostr(0x40 + (AccessInfo & HWASanAccessInfo::RuntimeMask)) + in instrumentMemAccessInline()
1036 "brk #" + itostr(0x900 + (AccessInfo & HWASanAccessInfo::RuntimeMask)), in instrumentMemAccessInline()
1045 itostr(0x40 + (AccessInfo & HWASanAccessInfo::RuntimeMask)), in instrumentMemAccessInline()
H A DAddressSanitizer.cpp1850 const ASanAccessInfo AccessInfo(IsWrite, CompileKernel, AccessSizeIndex); in instrumentAddress() local
1853 const ASanAccessInfo AccessInfo(IsWrite, CompileKernel, AccessSizeIndex); in instrumentAddress() local
1858 ConstantInt::get(Int32Ty, AccessInfo.Packed)}); in instrumentAddress()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp592 uint32_t AccessInfo = MI.getOperand(1).getImm(); in LowerHWASAN_CHECK_MEMACCESS() local
600 Reg, IsShort, AccessInfo, IsFixedShadow, FixedShadowOffset)]; in LowerHWASAN_CHECK_MEMACCESS()
607 utostr(AccessInfo); in LowerHWASAN_CHECK_MEMACCESS()
643 uint32_t AccessInfo = std::get<2>(P.first); in emitHwasanMemaccessSymbols() local
651 (AccessInfo >> HWASanAccessInfo::HasMatchAllShift) & 1; in emitHwasanMemaccessSymbols()
653 (AccessInfo >> HWASanAccessInfo::MatchAllShift) & 0xff; in emitHwasanMemaccessSymbols()
655 1 << ((AccessInfo >> HWASanAccessInfo::AccessSizeShift) & 0xf); in emitHwasanMemaccessSymbols()
657 (AccessInfo >> HWASanAccessInfo::CompileKernelShift) & 1; in emitHwasanMemaccessSymbols()
834 .addImm(AccessInfo & HWASanAccessInfo::RuntimeMask) in emitHwasanMemaccessSymbols()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp955 ASanAccessInfo AccessInfo(MI.getOperand(1).getImm()); in LowerASAN_CHECK_MEMACCESS() local
961 AccessInfo.CompileKernel, &ShadowBase, in LowerASAN_CHECK_MEMACCESS()
964 StringRef Name = AccessInfo.IsWrite ? "store" : "load"; in LowerASAN_CHECK_MEMACCESS()
967 Twine(1ULL << AccessInfo.AccessSizeIndex) + "_" + in LowerASAN_CHECK_MEMACCESS()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsics.td2441 // validity, AccessInfo (AccessInfo is defined in HWAddressSanitizer.h)
2453 // Parameters: Pointer to be checked for validity, AccessInfo, Shadow base
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp8451 for (const AccessInfo &AI : *Accesses) in checkForAllAccessesToMemoryKind()
8477 struct AccessInfo { struct
8488 bool operator==(const AccessInfo &RHS) const { in operator ==() argument
8491 bool operator()(const AccessInfo &LHS, const AccessInfo &RHS) const { in operator ()() argument
8504 using AccessSet = SmallSet<AccessInfo, 2, AccessInfo>;
8540 Changed |= Accesses->insert(AccessInfo{I, Ptr, AK}).second; in updateStateAndAccessesMap()