Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 21 of 21) sorted by relevance

/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dttyent.cpp15 struct ttyent *typ = getttyent(); in test1() local
16 assert(typ && typ->ty_name != nullptr); in test1()
17 assert(typ->ty_type != nullptr); in test1()
22 struct ttyent *typ = getttynam("console"); in test2() local
23 assert(typ && typ->ty_name != nullptr); in test2()
24 assert(typ->ty_type != nullptr); in test2()
32 struct ttyent *typ = getttyent(); in test3() local
33 assert(typ && typ->ty_name != nullptr); in test3()
34 assert(typ->ty_type != nullptr); in test3()
43 struct ttyent *typ = getttyent(); in test4() local
[all …]
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp20 AccessType typ) { in TryTraceMemoryAccess() argument
32 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess()
33 ev->is_atomic = !!(typ & kAccessAtomic); in TryTraceMemoryAccess()
45 evex->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccess()
46 evex->is_atomic = !!(typ & kAccessAtomic); in TryTraceMemoryAccess()
58 AccessType typ) { in TryTraceMemoryAccessRange() argument
68 ev->is_read = !!(typ & kAccessRead); in TryTraceMemoryAccessRange()
69 ev->is_free = !!(typ & kAccessFree); in TryTraceMemoryAccessRange()
79 AccessType typ) { in TraceMemoryAccessRange() argument
80 if (LIKELY(TryTraceMemoryAccessRange(thr, pc, addr, size, typ))) in TraceMemoryAccessRange()
150 DoReportRace(ThreadState * thr,RawShadow * shadow_mem,Shadow cur,Shadow old,AccessType typ) DoReportRace() argument
174 ContainsSameAccess(RawShadow * s,Shadow cur,int unused0,int unused1,AccessType typ) ContainsSameAccess() argument
196 CheckRaces(ThreadState * thr,RawShadow * shadow_mem,Shadow cur,int unused0,int unused1,AccessType typ) CheckRaces() argument
240 ContainsSameAccess(RawShadow * unused0,Shadow unused1,m128 shadow,m128 access,AccessType typ) ContainsSameAccess() argument
275 DoReportRaceV(ThreadState * thr,RawShadow * shadow_mem,Shadow cur,u32 race_mask,m128 shadow,AccessType typ) DoReportRaceV() argument
306 CheckRaces(ThreadState * thr,RawShadow * shadow_mem,Shadow cur,m128 shadow,m128 access,AccessType typ) CheckRaces() argument
395 AccessType typ; DumpShadow() local
415 TraceRestartMemoryAccess(ThreadState * thr,uptr pc,uptr addr,uptr size,AccessType typ) TraceRestartMemoryAccess() argument
421 MemoryAccess(ThreadState * thr,uptr pc,uptr addr,uptr size,AccessType typ) MemoryAccess() argument
449 RestartMemoryAccess16(ThreadState * thr,uptr pc,uptr addr,AccessType typ) RestartMemoryAccess16() argument
455 MemoryAccess16(ThreadState * thr,uptr pc,uptr addr,AccessType typ) MemoryAccess16() argument
485 RestartUnalignedMemoryAccess(ThreadState * thr,uptr pc,uptr addr,uptr size,AccessType typ) RestartUnalignedMemoryAccess() argument
492 UnalignedMemoryAccess(ThreadState * thr,uptr pc,uptr addr,uptr size,AccessType typ) UnalignedMemoryAccess() argument
605 const AccessType typ = kAccessWrite | kAccessFree | kAccessSlotLocked | MemoryRangeFreed() local
651 MemoryAccessRangeOne(ThreadState * thr,RawShadow * shadow_mem,Shadow cur,AccessType typ) MemoryAccessRangeOne() argument
667 const AccessType typ = MemoryAccessRangeT() local
[all...]
H A Dtsan_shadow.h61 Shadow(FastState state, u32 addr, u32 size, AccessType typ) { in Shadow() argument
67 raw_ |= (!!(typ & kAccessAtomic) << kIsAtomicShift) | in Shadow()
68 (!!(typ & kAccessRead) << kIsReadShift) | in Shadow()
72 DCHECK_EQ(part_.is_read_, !!(typ & kAccessRead)); in Shadow()
84 void GetAccess(uptr *addr, uptr *size, AccessType *typ) const { in GetAccess() argument
91 if (typ) { in GetAccess()
92 *typ = part_.is_read_ ? kAccessRead : kAccessWrite; in GetAccess()
94 *typ |= kAccessAtomic; in GetAccess()
96 *typ |= kAccessFree; in GetAccess()
101 bool IsBothReadsOrAtomic(AccessType typ) const { in IsBothReadsOrAtomic() argument
[all …]
H A Dtsan_suppressions.cpp68 static const char *conv(ReportType typ) { in conv() argument
69 switch (typ) { in conv()
108 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument
113 const char *stype = conv(typ); in IsSuppressed()
127 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument
132 const char *stype = conv(typ); in IsSuppressed()
H A Dtsan_rtl_report.cpp130 bool ShouldReport(ThreadState *thr, ReportType typ) { in ShouldReport() argument
140 switch (typ) { in ShouldReport()
158 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument
161 rep_->typ = typ; in ScopedReportBase()
181 AccessType typ; in AddMemoryAccess() local
182 s.GetAccess(&addr0, &size, &typ); in AddMemoryAccess()
188 mop->write = !(typ & kAccessRead); in AddMemoryAccess()
189 mop->atomic = typ & kAccessAtomic; in AddMemoryAccess()
346 ScopedReport::ScopedReport(ReportType typ, upt argument
433 RestoreStack(EventType type,Sid sid,Epoch epoch,uptr addr,uptr size,AccessType typ,Tid * ptid,VarSizeStackTrace * pstk,MutexSet * pmset,uptr * ptag) RestoreStack() argument
[all...]
H A Dtsan_report.cpp62 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument
63 switch (typ) { in ReportTypeString()
285 const char *rep_typ_str = ReportTypeString(rep->typ, rep->tag); in PrintReport()
291 if (rep->typ == ReportTypeErrnoInSignal) in PrintReport()
294 if (rep->typ == ReportTypeDeadlock) { in PrintReport()
341 if (rep->typ != ReportTypeDeadlock) { in PrintReport()
349 if (rep->typ == ReportTypeThreadLeak && rep->count > 1) in PrintReport()
431 if (rep->typ == ReportTypeRace) { in PrintReport()
439 } else if (rep->typ == ReportTypeDeadlock) { in PrintReport()
H A Dtsan_suppressions.h32 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp);
33 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp);
H A Dtsan_debugging.cpp21 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument
22 switch (typ) { in ReportTypeDescription()
45 static const char *ReportLocationTypeDescription(ReportLocationType typ) { in ReportLocationTypeDescription() argument
46 switch (typ) { in ReportLocationTypeDescription()
80 *description = ReportTypeDescription(rep->typ); in __tsan_get_report_data()
H A Dtsan_rtl.h424 ScopedReportBase(ReportType typ, uptr tag);
439 explicit ScopedReport(ReportType typ, uptr tag = kExternalTagNone);
446 bool ShouldReport(ThreadState *thr, ReportType typ);
497 AccessType typ);
528 AccessType typ);
530 AccessType typ);
695 AccessType typ, Tid *ptid, VarSizeStackTrace *pstk,
762 AccessType typ);
765 AccessType typ);
767 AccessType typ);
[all...]
H A Dtsan_external.cpp68 void *tag, AccessType typ) { in ExternalAccess() argument
77 MemoryAccess(thr, tsan_caller_pc, (uptr)addr, 1, typ); in ExternalAccess()
H A Dtsan_rtl_mutex.cpp50 static void ReportMutexMisuse(ThreadState *thr, uptr pc, ReportType typ, in ReportMutexMisuse() argument
56 if (!ShouldReport(thr, typ)) in ReportMutexMisuse()
59 ScopedReport rep(typ); in ReportMutexMisuse()
70 auto typ = write ? EventType::kLock : EventType::kRLock; in RecordMutexLock() local
76 TraceMutexLock(thr, typ, pc, addr, stack_id); in RecordMutexLock()
H A Dtsan_interface_ann.cpp46 #define SCOPED_ANNOTATION_RET(typ, ret) \ argument
55 #define SCOPED_ANNOTATION(typ) SCOPED_ANNOTATION_RET(typ, ) argument
H A Dtsan_report.h103 ReportType typ;
/llvm-project/llvm/bindings/ocaml/executionengine/
H A Dllvm_executionengine.mli78 (** [get_global_value_address id typ ee] returns a pointer to the
79 identifier [id] as type [typ], which will be a pointer type for a
84 val get_global_value_address : string -> 'a Ctypes.typ -> llexecutionengine -> 'a
86 (** [get_function_address fn typ ee] returns a pointer to the function
87 [fn] as type [typ], which will be a pointer type for a function
88 (e.g. [(int -> int) typ]), and which will be live as long as [fn]
92 val get_function_address : string -> 'a Ctypes.typ -> llexecutionengine -> 'a
H A Dllvm_executionengine.ml55 let get_global_value_address name typ ee =
58 let open Ctypes in !@ (coerce (ptr void) (ptr typ) (ptr_of_raw_address vptr))
62 let get_function_address name typ ee =
65 let open Ctypes in coerce (ptr void) typ (ptr_of_raw_address fptr)
/llvm-project/llvm/test/CodeGen/PowerPC/
H A D2016-04-17-combine.ll7 %typ = type { i32, i32 }
18 %b = getelementptr inbounds %typ, ptr %p, i64 0, i32 1
/llvm-project/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_shadow_test.cpp24 AccessType typ) { in CheckShadow() argument
33 CHECK_EQ(typ1, typ); in CheckShadow()
/llvm-project/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp62 if (rep->typ != expect_report_type) { in OnReport()
64 (int)expect_report_type, (int)rep->typ); in OnReport()
/llvm-project/mlir/test/python/ir/
H A Dbuiltin_types.py728 def print_downcasted(typ):
729 downcasted = Type(typ).maybe_downcast()
690 print_downcasted(typ) global() argument
/llvm-project/mlir/lib/Dialect/SparseTensor/IR/
H A DSparseTensorDialect.cpp1747 Type typ = region.getArgument(i).getType(); in verifyNumBlockArgs()
1748 if (typ != inputTypes[i]) in verifyNumBlockArgs()
1740 Type typ = region.getArgument(i).getType(); verifyNumBlockArgs() local
/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.cpp5372 uint32_t typ = Bits32(opcode, 6, 5); in EmulateSTRRegister() local
5374 shift_n = DecodeImmShift(typ, imm5, shift_t); in EmulateSTRRegister()