reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
638 assert(EltTy && "Can't get a pointer to <null> type!"); 639 assert(isValidElementType(EltTy) && "Invalid type for pointer element!"); 641 LLVMContextImpl *CImpl = EltTy->getContext().pImpl; 644 PointerType *&Entry = AddressSpace == 0 ? CImpl->PointerTypes[EltTy] 645 : CImpl->ASPointerTypes[std::make_pair(EltTy, AddressSpace)]; 648 Entry = new (CImpl->Alloc) PointerType(EltTy, AddressSpace);