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.cpp221 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument
225 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
253 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
255 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
260 CallMain = CallInst::Create(MainTy, Main, Args, "call_main"); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PreLegalizerCombiner.cpp344 LLT MainTy = LLT::fixed_vector(16, 8); in applyExtAddvToUdotAddv() local
346 if ((!extractParts(Ext1SrcReg, MRI.getType(Ext1SrcReg), MainTy, in applyExtAddvToUdotAddv()
349 (!extractParts(Ext2SrcReg, MRI.getType(Ext2SrcReg), MainTy, in applyExtAddvToUdotAddv()
462 LLT MainTy; in applyExtUaddvToUaddlv() local
473 MainTy = LLT::fixed_vector(16, 8); in applyExtUaddvToUaddlv()
475 MainTy = LLT::fixed_vector(8, 16); in applyExtUaddvToUaddlv()
477 MainTy = LLT::fixed_vector(4, 32); in applyExtUaddvToUaddlv()
483 extractParts(SrcReg, SrcTy, MainTy, LeftoverTy, WorkingRegisters, in applyExtUaddvToUaddlv()
488 MainTy = SrcTy; in applyExtUaddvToUaddlv()
491 unsigned MidScalarSize = MainTy.getScalarSizeInBits() * 2; in applyExtUaddvToUaddlv()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSelfExecutorProcessControl.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.cpp509 bool llvm::extractParts(Register Reg, LLT RegTy, LLT MainTy, LLT &LeftoverTy, in extractParts() argument
517 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
524 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
534 if (RegTy.isVector() && MainTy.isVector()) { in extractParts()
536 unsigned MainNumElts = MainTy.getNumElements(); in extractParts()
541 RegTy.getScalarSizeInBits() == MainTy.getScalarSizeInBits() && in extractParts()
561 MIRBuilder.buildMergeLikeInstr(MainTy, MergeValues).getReg(0)); in extractParts()
574 if (MainTy.isVector()) { in extractParts()
576 extractVectorParts(Reg, MainTy.getNumElements(), RegPieces, MIRBuilder, in extractParts()
588 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcoff_platform.cpp752 using MainTy = int (*)(int, char *[]); in __orc_rt_coff_run_program() typedef
762 reinterpret_cast<MainTy>(__orc_rt_coff_jit_dlsym(H, EntrySymbolName)); in __orc_rt_coff_run_program()
H A Delfnix_platform.cpp845 using MainTy = int (*)(int, char *[]); in __orc_rt_elfnix_run_program() typedef
855 reinterpret_cast<MainTy>(__orc_rt_elfnix_jit_dlsym(H, EntrySymbolName)); in __orc_rt_elfnix_run_program()
H A Dmacho_platform.cpp1541 using MainTy = int (*)(int, char *[]); in __orc_rt_macho_run_program() typedef
1551 reinterpret_cast<MainTy>(__orc_rt_macho_jit_dlsym(H, EntrySymbolName)); in __orc_rt_macho_run_program()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DUtils.h271 LLVM_ABI bool extractParts(Register Reg, LLT RegTy, LLT MainTy, LLT &LeftoverTy,