Lines Matching refs:getOrInsertFunction
254 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, in initialize()
257 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize()
258 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, in initialize()
261 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize()
269 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize()
273 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize()
277 TsanUnalignedRead[i] = M.getOrInsertFunction( in initialize()
281 TsanUnalignedWrite[i] = M.getOrInsertFunction( in initialize()
285 TsanVolatileRead[i] = M.getOrInsertFunction( in initialize()
289 TsanVolatileWrite[i] = M.getOrInsertFunction( in initialize()
294 TsanUnalignedVolatileRead[i] = M.getOrInsertFunction( in initialize()
299 TsanUnalignedVolatileWrite[i] = M.getOrInsertFunction( in initialize()
303 TsanCompoundRW[i] = M.getOrInsertFunction( in initialize()
308 TsanUnalignedCompoundRW[i] = M.getOrInsertFunction( in initialize()
315 M.getOrInsertFunction(AtomicLoadName, Attr, Ty, PtrTy, OrdTy); in initialize()
318 TsanAtomicStore[i] = M.getOrInsertFunction( in initialize()
343 M.getOrInsertFunction(RMWName, Attr, Ty, PtrTy, Ty, OrdTy); in initialize()
348 TsanAtomicCAS[i] = M.getOrInsertFunction(AtomicCASName, Attr, Ty, PtrTy, Ty, in initialize()
352 M.getOrInsertFunction("__tsan_vptr_update", Attr, IRB.getVoidTy(), in initialize()
354 TsanVptrLoad = M.getOrInsertFunction("__tsan_vptr_read", Attr, in initialize()
356 TsanAtomicThreadFence = M.getOrInsertFunction("__tsan_atomic_thread_fence", in initialize()
358 TsanAtomicSignalFence = M.getOrInsertFunction("__tsan_atomic_signal_fence", in initialize()
362 M.getOrInsertFunction("memmove", Attr, IRB.getInt8PtrTy(), in initialize()
365 M.getOrInsertFunction("memcpy", Attr, IRB.getInt8PtrTy(), in initialize()
368 M.getOrInsertFunction("memset", Attr, IRB.getInt8PtrTy(), in initialize()