| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 18 class FunctionType; variable 355 virtual FunctionType *getFunctionType(Module &M) const = 0; 371 explicit AMDGPULibFunc(EFuncId Id, FunctionType *FT, bool SignedInts); 374 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 395 bool isCompatibleSignature(const FunctionType *FuncTy) const; 404 FunctionType *getFunctionType(Module &M) const { in getFunctionType() 426 explicit AMDGPUMangledLibFunc(EFuncId id, FunctionType *FT, 431 FunctionType *getFunctionType(Module &M) const override; 451 FunctionType *FuncTy; 455 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 109 static Function *createWrapper(Function *F, FunctionType *Ty) { in createWrapper() 121 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in createWrapper() 122 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in createWrapper() 219 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() 251 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() 264 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; in runOnModule() 269 FunctionType *Ty = CB->getFunctionType(); in runOnModule()
|
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 433 static std::string getSignature(FunctionType *FTy) { in getSignature() 501 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false); in getFindMatchingCatch() 581 FunctionType *CalleeFTy = CI->getFunctionType(); in getInvokeWrapper() 592 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper() 947 FunctionType *ResumeFTy = in runOnModule() 953 FunctionType *EHTypeIDTy = in runOnModule() 993 FunctionType *FTy = FunctionType::get( in runOnModule() 1000 FunctionType *FTy = FunctionType::get( in runOnModule() 1012 FunctionType *FTy = FunctionType::get( in runOnModule() 1018 FTy = FunctionType::get(Int32Ty, in runOnModule() [all …]
|
| H A D | WebAssemblyAddMissingPrototypes.cpp | 105 FunctionType *NewType = nullptr; in runOnModule() 109 FunctionType *DestType = CB->getFunctionType(); in runOnModule() 132 NewType = FunctionType::get(F.getFunctionType()->getReturnType(), false); in runOnModule()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 238 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub() 285 llvm::FunctionType *StubTy = in createTLSAtExitStub() 347 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit() 374 llvm::FunctionType *unatexitTy = in unregisterGlobalDtorWithUnAtExit() 536 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc() 702 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXModuleInitFunc() 738 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXModuleInitFunc() 838 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc() 856 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc() 954 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalCleanUpFunc() [all …]
|
| H A D | CodeGenTypes.h | 23 class FunctionType; variable 132 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info); 134 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 139 bool isFuncTypeConvertible(const FunctionType *FT); 195 const FunctionType *Ty, 228 const FunctionType *type); 260 FunctionType::ExtInfo info,
|
| H A D | CGCUDANV.cpp | 80 llvm::FunctionType *getRegisterGlobalsFnTy() const; 81 llvm::FunctionType *getCallbackFnTy() const; 242 llvm::FunctionType::get(IntTy, Params, false), in getSetupArgumentFn() 388 llvm::FunctionType::get(IntTy, in emitDeviceStubBodyNew() 418 llvm::FunctionType *FTy = cast<llvm::FunctionType>(Ty); in emitDeviceStubBodyNew() 587 llvm::FunctionType::get( in makeRegisterGlobalsFn() 593 llvm::FunctionType::get( in makeRegisterGlobalsFn() 705 llvm::FunctionType::get(PtrTy, PtrTy, false), in makeModuleCtorFunction() 729 llvm::FunctionType::get(VoidTy, false), in makeModuleCtorFunction() 920 llvm::FunctionType *AtExitTy = in makeModuleCtorFunction() [all …]
|
| H A D | CodeGenABITypes.cpp | 66 FunctionType::ExtInfo info, in arrangeFreeFunctionCall() 96 llvm::FunctionType * 101 if (auto FT = dyn_cast<llvm::FunctionType>(T)) in convertFreeFunctionType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 103 class FunctionType : public Type { 107 FunctionType(const FunctionType &) = delete; 108 FunctionType &operator=(const FunctionType &) = delete; 111 static FunctionType *get(Type *Result, 149 static_assert(alignof(FunctionType) >= alignof(Type *), 153 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg() 157 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType() 161 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams() 176 FunctionCallee(FunctionType *FnTy, Value *Callee) in FunctionCallee() 185 FunctionType *getFunctionType() { return FnTy; } in getFunctionType() [all …]
|
| H A D | VFABIDemangler.h | 99 static VFShape getScalarShape(const FunctionType *FTy) { in getScalarShape() 107 static VFShape get(const FunctionType *FTy, ElementCount EC, in get() 183 const FunctionType *FTy); 206 FunctionType *createFunctionType(const VFInfo &Info, 207 const FunctionType *ScalarFTy);
|
| H A D | Intrinsics.h | 26 class FunctionType; variable 68 FunctionType *FT = nullptr); 76 FunctionType *getType(LLVMContext &Context, ID id, 221 matchIntrinsicSignature(FunctionType *FTy, ArrayRef<IITDescriptor> &Infos,
|
| H A D | InlineAsm.h | 30 class FunctionType; variable 46 FunctionType *FTy; 52 InlineAsm(FunctionType *Ty, const std::string &AsmString, 66 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 84 FunctionType *getFunctionType() const; 92 static Error verify(FunctionType *Ty, StringRef Constraints);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 61 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>); 113 FunctionType *FT = F->getFunctionType(); in lookupFunction() 206 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 324 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() 334 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit() 355 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf() 440 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf() 452 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf() 482 static GenericValue lle_X_fprintf(FunctionType *FT, in lle_X_fprintf() 495 static GenericValue lle_X_memset(FunctionType *FT, in lle_X_memset() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 57 FunctionType *StatReportTy = FunctionType::get(B.getVoidTy(), PtrTy, false); in create() 92 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish() 97 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
|
| H A D | LowerGlobalDtors.cpp | 133 FunctionType *AtExitFuncTy = in runImpl() 134 FunctionType::get(Type::getVoidTy(C), AtExitFuncArgs, in runImpl() 139 FunctionType::get(Type::getInt32Ty(C), in runImpl() 186 FunctionType *VoidVoid = FunctionType::get(Type::getVoidTy(C), in runImpl()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
| H A D | OffloadWrapper.cpp | 190 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createRegisterFunction() 218 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createUnregisterFunction() 331 auto *RegFuncTy = FunctionType::get( in createRegisterGlobalsFunction() 340 auto *RegVarTy = FunctionType::get( in createRegisterGlobalsFunction() 349 FunctionType *RegSurfaceTy = in createRegisterGlobalsFunction() 350 FunctionType::get(Type::getVoidTy(C), in createRegisterGlobalsFunction() 358 FunctionType *RegTextureTy = FunctionType::get( in createRegisterGlobalsFunction() 527 auto *RegFatTy = FunctionType::get(PtrTy, PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction() 532 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction() 537 FunctionType::get(Type::getVoidTy(C), PtrTy, /*isVarArg=*/false); in createRegisterFatbinFunction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64Arm64ECCallLowering.cpp | 66 FunctionType *GuardFnType = nullptr; 77 raw_ostream &Out, FunctionType *&Arm64Ty, 78 FunctionType *&X64Ty); 79 void getThunkRetType(FunctionType *FT, AttributeList AttrList, 94 void AArch64Arm64ECCallLowering::getThunkType(FunctionType *FT, in getThunkType() 122 Arm64Ty = FunctionType::get(Arm64RetTy, Arm64ArgTypes, false); in getThunkType() 124 X64Ty = FunctionType::get(X64RetTy, X64ArgTypes, false); in getThunkType() 202 FunctionType *FT, AttributeList AttrList, raw_ostream &Out, in getThunkRetType() 351 FunctionType *Arm64Ty, *X64Ty; in buildExitThunk() 454 FunctionType *Arm64Ty, *X64Ty; in buildEntryThunk() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 659 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false); in AddFlushBeforeForkAndExec() 687 FunctionType *FTy = FunctionType::get(Builder.getVoidTy(), {}, false); in AddFlushBeforeForkAndExec() 1012 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitGlobalConstructor() 1019 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitGlobalConstructor() 1038 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc() 1049 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc() 1059 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc() 1065 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc() 1070 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc() 1076 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout() [all …]
|
| H A D | DataFlowSanitizer.cpp | 359 TransformedFunction(FunctionType *OriginalType, FunctionType *TransformedType, in TransformedFunction() 373 FunctionType *OriginalType; 376 FunctionType *TransformedType; 465 FunctionType *DFSanUnionLoadFnTy; 467 FunctionType *DFSanUnimplementedFnTy; 469 FunctionType *DFSanSetLabelFnTy; 470 FunctionType *DFSanNonzeroLabelFnTy; 471 FunctionType *DFSanVarargWrapperFnTy; 476 FunctionType *DFSanCmpCallbackFnTy; 479 FunctionType *DFSanChainOriginFnTy; [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 308 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType 328 FunctionType *FunctionType::get(Type *ReturnType, in get() 332 FunctionType *FT; in get() 342 FT = (FunctionType *)pImpl->Alloc.Allocate( in get() 343 sizeof(FunctionType) + sizeof(Type *) * (Params.size() + 1), in get() 344 alignof(FunctionType)); in get() 345 new (FT) FunctionType(ReturnType, Params, isVarArg); in get() 354 FunctionType *FunctionType::get(Type *Result, bool isVarArg) { in get() 358 bool FunctionType::isValidReturnType(Type *RetTy) { in isValidReturnType() 363 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 36 class FunctionType; variable 80 FunctionType::ExtInfo info, 95 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ExtractGV.cpp | 118 if (FunctionType *FTy = dyn_cast<FunctionType>(Ty)) { in run() 139 auto *FuncType = dyn_cast<FunctionType>(IF.getValueType()); in run()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.h | 24 class FunctionType; variable 34 Type *getOverloadTy(dxil::OpCode OpCode, FunctionType *FT,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerUnreachable.cpp | 137 FunctionType *ExitFTy = FunctionType::get(Type::getVoidTy(C), false); in runOnFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPrepareFunctions.cpp | 80 FunctionType *FT = FunctionType::get(RetTy, ArgTypes, false); in getOrCreateFunction() 161 FunctionType *FSHFuncTy = FSHIntrinsic->getFunctionType(); in lowerFunnelShifts() 271 FunctionType *UMulFuncTy = UMulIntrinsic->getFunctionType(); in lowerUMulWithOverflow() 343 FunctionType *NewFTy = in removeAggregateTypesFromSignature() 344 FunctionType::get(RetType, ArgTypes, F->getFunctionType()->isVarArg()); in removeAggregateTypesFromSignature()
|