Searched refs:RtnType (Results 1 – 1 of 1) sorted by relevance
127 Type *RtnType = Ty->getReturnType(); in createWrapper() local131 (ExpectedRtnType != RtnType)) in createWrapper()171 Type *RtnType = Ty->getReturnType(); in createWrapper() local173 if (RtnType->isVoidTy()) { in createWrapper()176 LLVM_DEBUG(dbgs() << "Creating dummy return: " << *RtnType << "\n"); in createWrapper()177 ReturnInst::Create(M->getContext(), UndefValue::get(RtnType), BB); in createWrapper()178 } else if (RtnType == ExpectedRtnType) { in createWrapper()180 } else if (CastInst::isBitOrNoopPointerCastable(ExpectedRtnType, RtnType, in createWrapper()183 CastInst::CreateBitOrPointerCast(Call, RtnType, "cast"); in createWrapper()186 } else if (RtnType->isStructTy() || ExpectedRtnType->isStructTy()) { in createWrapper()[all …]