reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  205   Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  205   Attr = Attr.addAttribute(M.getContext(), AttributeList::FunctionIndex,
  208   TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr,
  211       M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy());
  212   TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr,
  215       M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy());
  223     TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(),
  227     TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(),
  232         UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy());
  236         UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getInt8PtrTy());
  242         M.getOrInsertFunction(AtomicLoadName, Attr, Ty, PtrTy, OrdTy);
  246         AtomicStoreName, Attr, IRB.getVoidTy(), PtrTy, Ty, OrdTy);
  270           M.getOrInsertFunction(RMWName, Attr, Ty, PtrTy, Ty, OrdTy);
  275     TsanAtomicCAS[i] = M.getOrInsertFunction(AtomicCASName, Attr, Ty, PtrTy, Ty,
  279       M.getOrInsertFunction("__tsan_vptr_update", Attr, IRB.getVoidTy(),
  281   TsanVptrLoad = M.getOrInsertFunction("__tsan_vptr_read", Attr,
  284                                                 Attr, IRB.getVoidTy(), OrdTy);
  286                                                 Attr, IRB.getVoidTy(), OrdTy);
  289       M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(),
  292       M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(),
  295       M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(),