Home
last modified time | relevance | path

Searched refs:ExpectedRtnType (Results 1 – 1 of 1) sorted by relevance

/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp134 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper() local
139 (ExpectedRtnType != RtnType)) in createWrapper()
178 Type *ExpectedRtnType = F->getFunctionType()->getReturnType(); in createWrapper() local
183 } else if (ExpectedRtnType->isVoidTy()) { in createWrapper()
186 } else if (RtnType == ExpectedRtnType) { in createWrapper()
188 } else if (CastInst::isBitOrNoopPointerCastable(ExpectedRtnType, RtnType, in createWrapper()
194 } else if (RtnType->isStructTy() || ExpectedRtnType->isStructTy()) { in createWrapper()
201 LLVM_DEBUG(dbgs() << "Expected: " << *ExpectedRtnType in createWrapper()