Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp219 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument
223 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
252 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
254 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
260 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
261 CallMain = CallInst::Create(MainTy, Casted, Args, "call_main"); in runOnModule()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DExecutorProcessControl.cpp112 using MainTy = int (*)(int, char *[]); in runAsMain() typedef
113 return orc::runAsMain(MainFnAddr.toPtr<MainTy>(), Args); in runAsMain()
/openbsd/gnu/llvm/compiler-rt/lib/orc/
H A Delfnix_platform.cpp582 using MainTy = int (*)(int, char *[]); in __orc_rt_elfnix_run_program() typedef
592 reinterpret_cast<MainTy>(__orc_rt_elfnix_jit_dlsym(H, EntrySymbolName)); in __orc_rt_elfnix_run_program()
H A Dcoff_platform.cpp746 using MainTy = int (*)(int, char *[]); in __orc_rt_coff_run_program() typedef
756 reinterpret_cast<MainTy>(__orc_rt_coff_jit_dlsym(H, EntrySymbolName)); in __orc_rt_coff_run_program()
H A Dmacho_platform.cpp1437 using MainTy = int (*)(int, char *[]); in __orc_rt_macho_run_program() typedef
1447 reinterpret_cast<MainTy>(__orc_rt_macho_jit_dlsym(H, EntrySymbolName)); in __orc_rt_macho_run_program()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h193 bool extractParts(Register Reg, LLT RegTy, LLT MainTy,
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp166 LLT MainTy, LLT &LeftoverTy, in extractParts() argument
172 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
179 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
185 if (MainTy.isVector()) { in extractParts()
187 extractVectorParts(Reg, MainTy.getNumElements(), RegPieces); in extractParts()
198 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()