reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/IR/Instructions.cpp
 2861   assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) &&
 2861   assert((Ty->isIntOrIntVectorTy() || Ty->isPtrOrPtrVectorTy()) &&
 2863   assert(Ty->isVectorTy() == S->getType()->isVectorTy() && "Invalid cast");
 2864   assert((!Ty->isVectorTy() ||
 2865           Ty->getVectorNumElements() == S->getType()->getVectorNumElements()) &&
 2868   if (Ty->isIntOrIntVectorTy())
 2869     return Create(Instruction::PtrToInt, S, Ty, Name, InsertBefore);
 2871   return CreatePointerBitCastOrAddrSpaceCast(S, Ty, Name, InsertBefore);