Home
last modified time | relevance | path

Searched refs:AccessKind (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/gdbstub/examples/armv4t/
Dmem_sniffer.rs3 pub enum AccessKind { enum
9 pub kind: AccessKind,
39 kind: AccessKind::Read,
56 kind: AccessKind::Write,
Demu.rs3 use crate::mem_sniffer::{AccessKind, MemSniffer};
93 AccessKind::Read => Event::WatchRead(access.addr), in step()
94 AccessKind::Write => Event::WatchWrite(access.addr), in step()
/external/rust/crates/gdbstub/examples/armv4t_multicore/
Dmem_sniffer.rs4 pub enum AccessKind { enum
11 pub kind: AccessKind,
41 kind: AccessKind::Read,
58 kind: AccessKind::Write,
Demu.rs16 use crate::mem_sniffer::{AccessKind, MemSniffer};
137 AccessKind::Read => { in step_core()
149 AccessKind::Write => { in step_core()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafety.h52 enum AccessKind { enum
151 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld()
223 LockKind getLockKindFromAccessKind(AccessKind AK);
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafety.h69 enum AccessKind { enum
178 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld()
257 LockKind getLockKindFromAccessKind(AccessKind AK);
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCStringChecker.cpp54 enum class AccessKind { write, read }; enum
57 AccessKind Access) { in createOutOfBoundErrorMsg()
65 if (Access == AccessKind::write) { in createOutOfBoundErrorMsg()
240 AccessKind Access) const;
243 AccessKind Access) const;
328 AccessKind Access) const { in CheckLocation()
379 AccessKind Access) const { in CheckBufferAccess()
1173 state = CheckBufferAccess(C, state, Dest, Size, AccessKind::write); in evalCopyCommon()
1174 state = CheckBufferAccess(C, state, Source, Size, AccessKind::read); in evalCopyCommon()
1324 State = CheckBufferAccess(C, State, Left, Size, AccessKind::read); in evalMemcmp()
[all …]
/external/llvm-project/clang/lib/Analysis/
DThreadSafety.cpp1595 void warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp, AccessKind AK,
1601 void checkAccess(const Expr *Exp, AccessKind AK,
1603 void checkPtAccess(const Expr *Exp, AccessKind AK,
1630 AccessKind AK, Expr *MutexExp, in warnIfMutexNotHeld()
1713 void BuildLockset::checkAccess(const Expr *Exp, AccessKind AK, in checkAccess()
1769 void BuildLockset::checkPtAccess(const Expr *Exp, AccessKind AK, in checkPtAccess()
2581 LockKind threadSafety::getLockKindFromAccessKind(AccessKind AK) { in getLockKindFromAccessKind()
/external/clang/lib/Analysis/
DThreadSafety.cpp1468 void warnIfMutexNotHeld(const NamedDecl *D, const Expr *Exp, AccessKind AK,
1474 void checkAccess(const Expr *Exp, AccessKind AK,
1476 void checkPtAccess(const Expr *Exp, AccessKind AK,
1502 AccessKind AK, Expr *MutexExp, in warnIfMutexNotHeld()
1586 void BuildLockset::checkAccess(const Expr *Exp, AccessKind AK, in checkAccess()
1640 void BuildLockset::checkPtAccess(const Expr *Exp, AccessKind AK, in checkPtAccess()
2398 LockKind threadSafety::getLockKindFromAccessKind(AccessKind AK) { in getLockKindFromAccessKind()
/external/clang/lib/AST/
DExprConstant.cpp2372 << handler.AccessKind; in findSubobject()
2386 Info.FFDiag(E, diag::note_constexpr_access_uninit) << handler.AccessKind; in findSubobject()
2395 if (ObjType->isRecordType() && handler.AccessKind == AK_Read && in findSubobject()
2403 if (handler.AccessKind != AK_Read && in findSubobject()
2422 << handler.AccessKind; in findSubobject()
2435 if (handler.AccessKind != AK_Read) in findSubobject()
2444 else if (handler.AccessKind != AK_Read) { in findSubobject()
2455 << handler.AccessKind; in findSubobject()
2476 if (Field->isMutable() && handler.AccessKind == AK_Read) { in findSubobject()
2490 << handler.AccessKind << Field << !UnionField << UnionField; in findSubobject()
[all …]
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp3599 << handler.AccessKind; in findSubobject()
3613 if ((O->isAbsent() && !(handler.AccessKind == AK_Construct && I == N)) || in findSubobject()
3615 !isValidIndeterminateAccess(handler.AccessKind))) { in findSubobject()
3618 << handler.AccessKind << O->isIndeterminate(); in findSubobject()
3639 if (ObjType.isVolatileQualified() && isFormalAccess(handler.AccessKind)) { in findSubobject()
3658 << handler.AccessKind << DiagKind << Decl; in findSubobject()
3671 !Obj.mayAccessMutableMembers(Info, handler.AccessKind) && in findSubobject()
3672 diagnoseMutableFields(Info, E, handler.AccessKind, ObjType)) in findSubobject()
3681 if (isModification(handler.AccessKind) && in findSubobject()
3700 << handler.AccessKind; in findSubobject()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DAttributorAttributes.cpp6487 function_ref<bool(const Instruction *, const Value *, AccessKind, in checkForAllAccessesToMemoryKind()
6540 AccessKind Kind;
6573 AccessKind getAccessKindFromInst(const Instruction *I) { in getAccessKindFromInst()
6574 AccessKind AK = READ_WRITE; in getAccessKindFromInst()
6577 AK = AccessKind(AK | (I->mayWriteToMemory() ? WRITE : NONE)); in getAccessKindFromInst()
6588 AccessKind AK = READ_WRITE) { in updateStateAndAccessesMap()
6766 AccessKind Kind, MemoryLocationsKind MLK) { in categorizeAccessedLocations()
6884 AccessKind Kind, MemoryLocationsKind MLK) { in updateImpl()
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DAttributor.h3414 enum AccessKind {
3427 function_ref<bool(const Instruction *, const Value *, AccessKind,
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp833 enum AccessKind { enum
846 const TargetRegisterInfo *TRI, const AccessKind AccessToCheck = AK_All) { in areCFlagsAccessedBetweenInstrs()
1090 AccessKind AccessToCheck = AK_Write; in canInstrSubstituteCmpInstr()
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1617 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld()
/external/llvm-project/clang/lib/CodeGen/
DCGBuiltin.cpp6845 SpecialRegisterAccessKind AccessKind, in EmitSpecialRegisterBuiltin() argument
6870 if (AccessKind != Write) { in EmitSpecialRegisterBuiltin()
6871 assert(AccessKind == NormalRead || AccessKind == VolatileRead); in EmitSpecialRegisterBuiltin()
6873 AccessKind == VolatileRead ? llvm::Intrinsic::read_volatile_register in EmitSpecialRegisterBuiltin()
7254 SpecialRegisterAccessKind AccessKind = Write; in EmitARMBuiltinExpr() local
7258 AccessKind = VolatileRead; in EmitARMBuiltinExpr()
7278 AccessKind); in EmitARMBuiltinExpr()
9180 SpecialRegisterAccessKind AccessKind = Write; in EmitAArch64BuiltinExpr() local
9184 AccessKind = VolatileRead; in EmitAArch64BuiltinExpr()
9203 AccessKind); in EmitAArch64BuiltinExpr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1134 enum AccessKind { AK_Write = 0x01, AK_Read = 0x10, AK_All = 0x11 }; enum
1143 const TargetRegisterInfo *TRI, const AccessKind AccessToCheck = AK_All) { in areCFlagsAccessedBetweenInstrs()
1412 AccessKind AccessToCheck = AK_Write; in canInstrSubstituteCmpInstr()
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1810 ProtectedOperationKind POK, AccessKind AK, in handleNoMutexHeld()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp1257 enum AccessKind { AK_Write = 0x01, AK_Read = 0x10, AK_All = 0x11 }; enum
1266 const TargetRegisterInfo *TRI, const AccessKind AccessToCheck = AK_All) { in areCFlagsAccessedBetweenInstrs()
1534 AccessKind AccessToCheck = AK_Write; in canInstrSubstituteCmpInstr()