reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
8078 if (PointerType *PTy = dyn_cast<PointerType>(C->getType())) { 8080 Type *DestPtrTy = Type::getInt8PtrTy(C->getContext(), AS); 8081 C = ConstantExpr::getBitCast(C, DestPtrTy); 8081 C = ConstantExpr::getBitCast(C, DestPtrTy); 8088 if (!C->getType()->isPointerTy() && C2->getType()->isPointerTy()) { 8090 std::swap(C, C2); 8091 Type *DestPtrTy = Type::getInt8PtrTy(C->getContext(), AS); 8094 C = ConstantExpr::getBitCast(C, DestPtrTy); 8094 C = ConstantExpr::getBitCast(C, DestPtrTy); 8102 if (PointerType *PTy = dyn_cast<PointerType>(C->getType())) { 8105 C2, Type::getInt32Ty(C->getContext()), true); 8106 C = ConstantExpr::getGetElementPtr(PTy->getElementType(), C, C2); 8106 C = ConstantExpr::getGetElementPtr(PTy->getElementType(), C, C2); 8108 C = ConstantExpr::getAdd(C, C2); 8108 C = ConstantExpr::getAdd(C, C2); 8110 return C;