Lines Matching refs:PtrTy
265 Type *PtrTy = Ty->getPointerTo(); in initialize() local
271 M.getOrInsertFunction(AtomicLoadName, AL, Ty, PtrTy, OrdTy); in initialize()
280 AtomicStoreName, AL, IRB.getVoidTy(), PtrTy, Ty, OrdTy); in initialize()
309 M.getOrInsertFunction(RMWName, AL, Ty, PtrTy, Ty, OrdTy); in initialize()
321 TsanAtomicCAS[i] = M.getOrInsertFunction(AtomicCASName, AL, Ty, PtrTy, Ty, in initialize()
385 Type *PtrTy = cast<PointerType>(Addr->getType()->getScalarType()); in shouldInstrumentReadWriteFromAddress() local
386 if (PtrTy->getPointerAddressSpace() != 0) in shouldInstrumentReadWriteFromAddress()
738 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
739 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
753 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
754 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
771 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
772 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
786 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
791 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()