Lines Matching refs:OrigTy
144 int getMemoryAccessFuncIndex(Type *OrigTy, Value *Addr, const DataLayout &DL);
603 Type *OrigTy = getLoadStoreType(II.Inst); in instrumentLoadOrStore() local
611 int Idx = getMemoryAccessFuncIndex(OrigTy, Addr, DL); in instrumentLoadOrStore()
648 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentLoadOrStore()
731 Type *OrigTy = LI->getType(); in instrumentAtomic() local
732 int Idx = getMemoryAccessFuncIndex(OrigTy, Addr, DL); in instrumentAtomic()
742 Value *Cast = IRB.CreateBitOrPointerCast(C, OrigTy); in instrumentAtomic()
821 int ThreadSanitizer::getMemoryAccessFuncIndex(Type *OrigTy, Value *Addr, in getMemoryAccessFuncIndex() argument
823 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
825 cast<PointerType>(Addr->getType())->isOpaqueOrPointeeTypeMatches(OrigTy)); in getMemoryAccessFuncIndex()
826 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in getMemoryAccessFuncIndex()