Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
251 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
253 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
258 CallMain = CallInst::Create(MainTy, Main, Args, "call_main"); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp343 LLT MainTy = LLT::fixed_vector(16, 8); in applyExtAddvToUdotAddv() local
345 if ((!extractParts(Ext1SrcReg, MRI.getType(Ext1SrcReg), MainTy, in applyExtAddvToUdotAddv()
348 (!extractParts(Ext2SrcReg, MRI.getType(Ext2SrcReg), MainTy, in applyExtAddvToUdotAddv()
461 LLT MainTy; in applyExtUaddvToUaddlv() local
472 MainTy = LLT::fixed_vector(16, 8); in applyExtUaddvToUaddlv()
474 MainTy = LLT::fixed_vector(8, 16); in applyExtUaddvToUaddlv()
476 MainTy = LLT::fixed_vector(4, 32); in applyExtUaddvToUaddlv()
482 extractParts(SrcReg, SrcTy, MainTy, LeftoverTy, WorkingRegisters, in applyExtUaddvToUaddlv()
489 MainTy = SrcTy; in applyExtUaddvToUaddlv()
492 unsigned MidScalarSize = MainTy.getScalarSizeInBits() * 2; in applyExtUaddvToUaddlv()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DExecutorProcessControl.cpp119 using MainTy = int (*)(int, char *[]); in runAsMain() typedef
120 return orc::runAsMain(MainFnAddr.toPtr<MainTy>(), Args); in runAsMain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp502 bool llvm::extractParts(Register Reg, LLT RegTy, LLT MainTy, LLT &LeftoverTy, in extractParts() argument
510 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
517 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
527 if (RegTy.isVector() && MainTy.isVector()) { in extractParts()
529 unsigned MainNumElts = MainTy.getNumElements(); in extractParts()
534 RegTy.getScalarSizeInBits() == MainTy.getScalarSizeInBits() && in extractParts()
555 MIRBuilder.buildMergeLikeInstr(MainTy, MergeValues).getReg(0)); in extractParts()
568 if (MainTy.isVector()) { in extractParts()
570 extractVectorParts(Reg, MainTy.getNumElements(), RegPieces, MIRBuilder, in extractParts()
582 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Delfnix_platform.cpp601 using MainTy = int (*)(int, char *[]); in __orc_rt_elfnix_run_program() typedef
611 reinterpret_cast<MainTy>(__orc_rt_elfnix_jit_dlsym(H, EntrySymbolName)); in __orc_rt_elfnix_run_program()
H A Dcoff_platform.cpp752 using MainTy = int (*)(int, char *[]); in __orc_rt_coff_run_program()
762 reinterpret_cast<MainTy>(__orc_rt_coff_jit_dlsym(H, EntrySymbolName)); in __orc_rt_coff_run_program()
746 using MainTy = int (*)(int, char *[]); __orc_rt_coff_run_program() typedef
H A Dmacho_platform.cpp1527 using MainTy = int (*)(int, char *[]);
1537 reinterpret_cast<MainTy>(__orc_rt_macho_jit_dlsym(H, EntrySymbolName));
1294 using MainTy = int (*)(int, char *[]); __orc_rt_macho_run_program() typedef
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h259 bool extractParts(Register Reg, LLT RegTy, LLT MainTy, LLT &LeftoverTy,