Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp228 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument
232 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction()
258 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() local
260 if (shouldFixMainFunction(F.getFunctionType(), MainTy)) { in runOnModule()
266 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
267 CallMain = CallInst::Create(MainTy, Casted, Args, "call_main"); in runOnModule()
/external/llvm-project/llvm/lib/Target/WebAssembly/
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()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DTargetProcessControl.cpp102 using MainTy = int (*)(int, char *[]); in runAsMain() typedef
103 return orc::runAsMain(jitTargetAddressToFunction<MainTy>(MainFnAddr), Args); in runAsMain()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h148 bool extractParts(Register Reg, LLT RegTy, LLT MainTy,
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerHelper.h183 bool extractParts(Register Reg, LLT RegTy, LLT MainTy,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp131 LLT MainTy, LLT &LeftoverTy, in extractParts() argument
137 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
144 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
149 if (MainTy.isVector()) { in extractParts()
150 unsigned EltSize = MainTy.getScalarSizeInBits(); in extractParts()
160 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp157 LLT MainTy, LLT &LeftoverTy, in extractParts() argument
163 unsigned MainSize = MainTy.getSizeInBits(); in extractParts()
170 VRegs.push_back(MRI.createGenericVirtualRegister(MainTy)); in extractParts()
175 if (MainTy.isVector()) { in extractParts()
176 unsigned EltSize = MainTy.getScalarSizeInBits(); in extractParts()
186 Register NewReg = MRI.createGenericVirtualRegister(MainTy); in extractParts()