Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp227 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument
231 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
261 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
263 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
269 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
270 CallMain = CallInst::Create(MainTy, Casted, Args, "call_main"); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DTargetProcessControl.cpp101 using MainTy = int (*)(int, char *[]); in runAsMain() typedef
102 return orc::runAsMain(jitTargetAddressToFunction<MainTy>(MainFnAddr), Args); in runAsMain()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h187 bool extractParts(Register Reg, LLT RegTy, LLT MainTy,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp155 LLT MainTy, LLT &LeftoverTy, in extractParts() argument
161 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
168 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
173 if (MainTy.isVector()) { in extractParts()
174 unsigned EltSize = MainTy.getScalarSizeInBits(); in extractParts()
184 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()