Lines Matching refs:Attr
203 AttributeList Attr; in initialize() local
204 Attr = Attr.addFnAttribute(Ctx, Attribute::NoUnwind); in initialize()
206 TsanFuncEntry = M.getOrInsertFunction("__tsan_func_entry", Attr, in initialize()
209 M.getOrInsertFunction("__tsan_func_exit", Attr, IRB.getVoidTy()); in initialize()
210 TsanIgnoreBegin = M.getOrInsertFunction("__tsan_ignore_thread_begin", Attr, in initialize()
213 M.getOrInsertFunction("__tsan_ignore_thread_end", Attr, IRB.getVoidTy()); in initialize()
221 TsanRead[i] = M.getOrInsertFunction(ReadName, Attr, IRB.getVoidTy(), in initialize()
225 TsanWrite[i] = M.getOrInsertFunction(WriteName, Attr, IRB.getVoidTy(), in initialize()
230 UnalignedReadName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
234 UnalignedWriteName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
238 VolatileReadName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
242 VolatileWriteName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
247 UnalignedVolatileReadName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
252 UnalignedVolatileWriteName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
256 CompoundRWName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
261 UnalignedCompoundRWName, Attr, IRB.getVoidTy(), IRB.getPtrTy()); in initialize()
269 /*Ret=*/BitSize <= 32, Attr), in initialize()
279 TLI.getAttrList(&Ctx, Idxs2Or12, /*Signed=*/true, /*Ret=*/false, Attr), in initialize()
306 /*Ret=*/BitSize <= 32, Attr), in initialize()
315 /*Ret=*/BitSize <= 32, Attr), in initialize()
319 M.getOrInsertFunction("__tsan_vptr_update", Attr, IRB.getVoidTy(), in initialize()
321 TsanVptrLoad = M.getOrInsertFunction("__tsan_vptr_read", Attr, in initialize()
325 TLI.getAttrList(&Ctx, {0}, /*Signed=*/true, /*Ret=*/false, Attr), in initialize()
330 TLI.getAttrList(&Ctx, {0}, /*Signed=*/true, /*Ret=*/false, Attr), in initialize()
334 M.getOrInsertFunction("__tsan_memmove", Attr, IRB.getPtrTy(), in initialize()
337 M.getOrInsertFunction("__tsan_memcpy", Attr, IRB.getPtrTy(), in initialize()
341 TLI.getAttrList(&Ctx, {1}, /*Signed=*/true, /*Ret=*/false, Attr), in initialize()