reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2843 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && 2843 assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) && 2845 assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast"); 2846 assert((!Ty->isVectorTy() || 2847 Ty->getVectorNumElements() == S->getType()->getVectorNumElements()) && 2850 if (Ty->isIntOrIntVectorTy()) 2851 return Create(Instruction::PtrToInt, S, Ty, Name, InsertAtEnd); 2853 return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertAtEnd);