Lines Matching refs:getOrInsertFunction
135 TsanFuncEntry = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
138 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); in initializeCallbacks()
144 TsanRead[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
148 TsanWrite[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
154 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
160 checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
168 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); in initializeCallbacks()
172 TsanAtomicStore[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
197 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks()
202 TsanAtomicCAS[i] = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
206 M.getOrInsertFunction("__tsan_vptr_update", IRB.getVoidTy(), in initializeCallbacks()
208 TsanVptrLoad = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
210 TsanAtomicThreadFence = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
212 TsanAtomicSignalFence = checkSanitizerInterfaceFunction(M.getOrInsertFunction( in initializeCallbacks()
216 M.getOrInsertFunction("memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
219 M.getOrInsertFunction("memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
222 M.getOrInsertFunction("memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks()
232 Value *TsanInit = M.getOrInsertFunction("__tsan_init", in doInitialization()