Searched refs:RtnType (Results 1 – 1 of 1) sorted by relevance
128 Type *RtnType = Ty->getReturnType(); in createWrapper() local132 (ExpectedRtnType != RtnType)) in createWrapper()172 Type *RtnType = Ty->getReturnType(); in createWrapper() local174 if (RtnType->isVoidTy()) { in createWrapper()177 LLVM_DEBUG(dbgs() << "Creating dummy return: " << *RtnType << "\n"); in createWrapper()178 ReturnInst::Create(M->getContext(), PoisonValue::get(RtnType), BB); in createWrapper()179 } else if (RtnType == ExpectedRtnType) { in createWrapper()181 } else if (CastInst::isBitOrNoopPointerCastable(ExpectedRtnType, RtnType, in createWrapper()184 CastInst::CreateBitOrPointerCast(Call, RtnType, "cast"); in createWrapper()187 } else if (RtnType->isStructTy() || ExpectedRtnType->isStructTy()) { in createWrapper()[all …]