Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp227 bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument
231 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
257 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
259 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
265 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()