Lines Matching refs:PtrTy
182 Type *PtrTy = Ty->getPointerTo(); in initializeCallbacks() local
185 M.getOrInsertFunction(AtomicLoadName, Ty, PtrTy, OrdTy, nullptr)); in initializeCallbacks()
189 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks()
213 M.getOrInsertFunction(RMWName, Ty, PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks()
219 AtomicCASName, Ty, PtrTy, Ty, Ty, OrdTy, OrdTy, nullptr)); in initializeCallbacks()
283 Type *PtrTy = cast<PointerType>(Addr->getType()->getScalarType()); in shouldInstrumentReadWriteFromAddress() local
284 if (PtrTy->getPointerAddressSpace() != 0) in shouldInstrumentReadWriteFromAddress()
576 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
577 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
597 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
598 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
614 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
615 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
628 Type *PtrTy = Ty->getPointerTo(); in instrumentAtomic() local
633 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()