reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
64 uint64_t StoredValSize = DL.getTypeSizeInBits(StoredValTy); 70 if (StoredValTy->isPtrOrPtrVectorTy() && LoadedTy->isPtrOrPtrVectorTy()) { 74 if (StoredValTy->isPtrOrPtrVectorTy()) { 75 StoredValTy = DL.getIntPtrType(StoredValTy); 75 StoredValTy = DL.getIntPtrType(StoredValTy); 76 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); 83 if (StoredValTy != TypeToCastTo) 104 if (StoredValTy->isPtrOrPtrVectorTy()) { 105 StoredValTy = DL.getIntPtrType(StoredValTy); 105 StoredValTy = DL.getIntPtrType(StoredValTy); 106 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); 110 if (!StoredValTy->isIntegerTy()) { 111 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize); 111 StoredValTy = IntegerType::get(StoredValTy->getContext(), StoredValSize); 112 StoredVal = Helper.CreateBitCast(StoredVal, StoredValTy); 118 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy) - 125 Type *NewIntTy = IntegerType::get(StoredValTy->getContext(), LoadedValSize);