Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DExecutorProcessControl.cpp120 using MainTy = int (*)(int, char *[]); in runAsMain() typedef
121 return orc::runAsMain(MainFnAddr.toPtr<MainTy>(), Args); in runAsMain()
/llvm-project-15.0.7/compiler-rt/lib/orc/
H A Delfnix_platform.cpp579 using MainTy = int (*)(int, char *[]); in __orc_rt_elfnix_run_program() typedef
589 reinterpret_cast<MainTy>(__orc_rt_elfnix_jit_dlsym(H, EntrySymbolName)); in __orc_rt_elfnix_run_program()
H A Dmacho_platform.cpp1079 using MainTy = int (*)(int, char *[]); in __orc_rt_macho_run_program() typedef
1089 reinterpret_cast<MainTy>(__orc_rt_macho_jit_dlsym(H, EntrySymbolName)); in __orc_rt_macho_run_program()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegalizerHelper.h193 bool extractParts(Register Reg, LLT RegTy, LLT MainTy,
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp164 LLT MainTy, LLT &LeftoverTy, in extractParts() argument
170 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
177 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
183 if (MainTy.isVector()) { in extractParts()
185 extractVectorParts(Reg, MainTy.getNumElements(), RegPieces); in extractParts()
196 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()