Lines Matching refs:OrigTy
142 int getMemoryAccessFuncIndex(Type *OrigTy, Value *Addr, const DataLayout &DL);
592 Type *OrigTy = getLoadStoreType(II.Inst); in instrumentLoadOrStore() local
600 int Idx = getMemoryAccessFuncIndex(OrigTy, Addr, DL); in instrumentLoadOrStore()
634 const uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in instrumentLoadOrStore()
719 Type *OrigTy = LI->getType(); in instrumentAtomic() local
720 int Idx = getMemoryAccessFuncIndex(OrigTy, Addr, DL); in instrumentAtomic()
726 Value *Cast = IRB.CreateBitOrPointerCast(C, OrigTy); in instrumentAtomic()
803 int ThreadSanitizer::getMemoryAccessFuncIndex(Type *OrigTy, Value *Addr, in getMemoryAccessFuncIndex() argument
805 assert(OrigTy->isSized()); in getMemoryAccessFuncIndex()
806 if (OrigTy->isScalableTy()) { in getMemoryAccessFuncIndex()
810 uint32_t TypeSize = DL.getTypeStoreSizeInBits(OrigTy); in getMemoryAccessFuncIndex()