| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 57 llvm::FunctionType *getRegisterGlobalsFnTy() const; 58 llvm::FunctionType *getCallbackFnTy() const; 59 llvm::FunctionType *getRegisterLinkedBinaryFnTy() const; 92 llvm::Function *makeDummyFunction(llvm::FunctionType *FnTy) { in makeDummyFunction() 157 llvm::FunctionType::get(IntTy, Params, false), in getSetupArgumentFn() 178 return llvm::FunctionType::get(VoidTy, VoidPtrTy, false); in getCallbackFnTy() 186 return llvm::FunctionType::get(VoidTy, Params, false); in getRegisterLinkedBinaryFnTy() 369 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction() 551 llvm::FunctionType *AtExitTy = in makeModuleCtorFunction() 589 llvm::FunctionType::get(VoidTy, VoidPtrPtrTy, false), in makeModuleDtorFunction() [all …]
|
| H A D | CodeGenTypes.h | 24 class FunctionType; variable 201 llvm::FunctionType *GetFunctionType(const CGFunctionInfo &Info); 203 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 208 bool isFuncTypeConvertible(const FunctionType *FT); 264 const FunctionType *Ty, 298 const FunctionType *type); 333 FunctionType::ExtInfo info,
|
| H A D | CodeGenABITypes.cpp | 61 FunctionType::ExtInfo info, in arrangeFreeFunctionCall() 68 llvm::FunctionType * 73 if (auto FT = dyn_cast<llvm::FunctionType>(T)) in convertFreeFunctionType()
|
| H A D | CGDeclCXX.cpp | 222 llvm::FunctionType *ty = llvm::FunctionType::get(CGM.VoidTy, false); in createAtExitStub() 261 llvm::FunctionType *atexitTy = in registerGlobalDtorWithAtExit() 262 llvm::FunctionType::get(IntTy, dtorStub->getType(), false); in registerGlobalDtorWithAtExit() 325 llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI, in CreateGlobalInitOrDestructFunction() 440 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalVarDeclInitFunc() 522 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalInitFunc() 585 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in EmitCXXGlobalDtorFunc() 721 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType(FI); in generateDestroyHelper()
|
| H A D | ItaniumCXXABI.cpp | 1158 llvm::FunctionType *FTy = in emitRethrow() 1172 llvm::FunctionType *FTy = in getAllocateExceptionFn() 1183 llvm::FunctionType *FTy = in getThrowFn() 1235 llvm::FunctionType *FTy = llvm::FunctionType::get(Int8PtrTy, Args, false); in getItaniumDynamicCastFn() 1248 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadCastFn() 1306 llvm::FunctionType *FTy = llvm::FunctionType::get(CGF.VoidTy, false); in getBadTypeidFn() 1990 llvm::FunctionType *FTy = in readArrayCookieImpl() 2350 llvm::FunctionType *FTy = llvm::FunctionType::get(VoidTy, false); in registerGlobalDtorsWithAtExit() 2564 llvm::FunctionType *FnTy = llvm::FunctionType::get(CGM.VoidTy, false); in EmitThreadLocalInitFuncs() 3920 llvm::FunctionType *FTy = llvm::FunctionType::get( in getBeginCatchFn() [all …]
|
| H A D | CGCall.h | 88 llvm::FunctionType *FTy; 140 llvm::FunctionType *FTy) { in forVirtual() 203 llvm::FunctionType *getFunctionType() const { in getFunctionType() 206 return cast<llvm::FunctionType>( in getFunctionType()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 103 class FunctionType : public Type { 104 FunctionType(Type *Result, ArrayRef<Type*> Params, bool IsVarArgs); 107 FunctionType(const FunctionType &) = delete; 108 FunctionType &operator=(const FunctionType &) = delete; 111 static FunctionType *get(Type *Result, 115 static FunctionType *get(Type *Result, bool isVarArg); 146 static_assert(alignof(FunctionType) >= alignof(Type *), 150 return cast<FunctionType>(this)->isVarArg(); in isFunctionVarArg() 154 return cast<FunctionType>(this)->getParamType(i); in getFunctionParamType() 158 return cast<FunctionType>(this)->getNumParams(); in getFunctionNumParams()
|
| H A D | InlineAsm.h | 27 class FunctionType; variable 43 FunctionType *FTy; 48 InlineAsm(FunctionType *Ty, const std::string &AsmString, 62 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 79 FunctionType *getFunctionType() const; 88 static bool Verify(FunctionType *Ty, StringRef Constraints);
|
| H A D | Function.h | 123 Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, 136 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, 143 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, 152 static Function *Create(FunctionType *Ty, LinkageTypes Linkage, 164 FunctionType *getFunctionType() const { in getFunctionType() 165 return cast<FunctionType>(getValueType()); in getFunctionType()
|
| /freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 117 static Function *CreateWrapper(Function *F, FunctionType *Ty) { in CreateWrapper() 129 FunctionType::param_iterator PI = F->getFunctionType()->param_begin(); in CreateWrapper() 130 FunctionType::param_iterator PE = F->getFunctionType()->param_end(); in CreateWrapper() 227 bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() 257 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule() 273 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; in runOnModule() 279 FunctionType *Ty = dyn_cast<FunctionType>(PTy->getElementType()); in runOnModule()
|
| H A D | WebAssemblyLowerGlobalDtors.cpp | 109 FunctionType *AtExitFuncTy = in runOnModule() 110 FunctionType::get(Type::getVoidTy(C), AtExitFuncArgs, in runOnModule() 114 FunctionType *AtExitTy = FunctionType::get(Type::getInt32Ty(C), AtExitArgs, in runOnModule() 151 FunctionType *VoidVoid = FunctionType::get(Type::getVoidTy(C), in runOnModule()
|
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 354 static std::string getSignature(FunctionType *FTy) { in getSignature() 382 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false); in getFindMatchingCatch() 460 FunctionType *CalleeFTy; in getInvokeWrapper() 465 CalleeFTy = dyn_cast<FunctionType>(CalleeTy); in getInvokeWrapper() 477 FunctionType *FTy = FunctionType::get(CalleeFTy->getReturnType(), ArgTys, in getInvokeWrapper() 656 FunctionType *ResumeFTy = in runOnModule() 662 FunctionType *EHTypeIDTy = in runOnModule() 690 FunctionType *SetjmpFTy = SetjmpF->getFunctionType(); in runOnModule() 694 FunctionType *FTy = in runOnModule() 701 FTy = FunctionType::get(IRB.getInt32Ty(), Params, false); in runOnModule() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | DataFlowSanitizer.cpp | 234 FunctionType *OriginalType; 237 FunctionType *TransformedType; 339 FunctionType *DFSanUnionFnTy; 342 FunctionType *DFSanSetLabelFnTy; 361 FunctionType *getArgsFunctionType(FunctionType *T); 362 FunctionType *getTrampolineFunctionType(FunctionType *T); 483 FunctionType *DataFlowSanitizer::getArgsFunctionType(FunctionType *T) { in getArgsFunctionType() 494 FunctionType *DataFlowSanitizer::getTrampolineFunctionType(FunctionType *T) { in getTrampolineFunctionType() 516 FunctionType *FT; in getCustomFunctionType() 1566 FunctionType *ParamFT; in visitCallSite() [all …]
|
| H A D | GCOVProfiling.cpp | 650 FunctionType *FTy = FunctionType::get(Builder.getVoidTy(), {}, false); in AddFlushBeforeForkAndExec() 846 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 858 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in emitProfileArcs() 863 FTy = FunctionType::get(Builder.getVoidTy(), Params, false); in emitProfileArcs() 883 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getStartFileFunc() 900 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitFunctionFunc() 917 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), Args, false); in getEmitArcsFunc() 926 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getSummaryInfoFunc() 931 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in getEndFileFunc() 937 FunctionType *WriteoutFTy = FunctionType::get(Type::getVoidTy(*Ctx), false); in insertCounterWriteout() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/ |
| H A D | ExternalFunctions.cpp | 63 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>); 105 FunctionType *FT = F->getFunctionType(); in lookupFunction() 195 FunctionType *FTy = F->getFunctionType(); in ffiInvoke() 311 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() 321 static GenericValue lle_X_exit(FunctionType *FT, ArrayRef<GenericValue> Args) { in lle_X_exit() 336 static GenericValue lle_X_sprintf(FunctionType *FT, in lle_X_sprintf() 418 static GenericValue lle_X_printf(FunctionType *FT, in lle_X_printf() 430 static GenericValue lle_X_sscanf(FunctionType *FT, in lle_X_sscanf() 460 static GenericValue lle_X_fprintf(FunctionType *FT, in lle_X_fprintf() 473 static GenericValue lle_X_memset(FunctionType *FT, in lle_X_memset() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 17 class FunctionType; variable 348 virtual FunctionType *getFunctionType(Module &M) const = 0; 365 explicit AMDGPULibFunc(StringRef FName, FunctionType *FT); 392 FunctionType *getFunctionType(Module &M) const { in getFunctionType() 417 FunctionType *getFunctionType(Module &M) const override; 437 FunctionType *FuncTy; 441 explicit AMDGPUUnmangledLibFunc(StringRef FName, FunctionType *FT) { in AMDGPUUnmangledLibFunc() 447 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType() 456 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
|
| H A D | AMDGPUIntrinsicInfo.cpp | 54 FunctionType *AMDGPUIntrinsicInfo::getType(LLVMContext &Context, unsigned ID, in getType() 89 FunctionType *FTy = getType(M->getContext(), IntrID, Tys); in getDeclaration()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 58 FunctionType *StatReportTy = in create() 59 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create() 95 auto F = Function::Create(FunctionType::get(VoidTy, false), in finish() 100 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
|
| H A D | ModuleUtils.cpp | 26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray() 146 FunctionType::get(Type::getVoidTy(M.getContext()), InitArgTypes, false), in declareSanitizerInitFunction() 162 FunctionType::get(Type::getVoidTy(M.getContext()), false), in createSanitizerCtorAndInitFunctions() 170 VersionCheckName, FunctionType::get(IRB.getVoidTy(), {}, false), in createSanitizerCtorAndInitFunctions()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | Type.cpp | 277 FunctionType::FunctionType(Type *Result, ArrayRef<Type*> Params, in FunctionType() function in FunctionType 297 FunctionType *FunctionType::get(Type *ReturnType, in get() 301 FunctionType *FT; in get() 311 FT = (FunctionType *)pImpl->TypeAllocator.Allocate( in get() 312 sizeof(FunctionType) + sizeof(Type *) * (Params.size() + 1), in get() 313 alignof(FunctionType)); in get() 314 new (FT) FunctionType(ReturnType, Params, isVarArg); in get() 323 FunctionType *FunctionType::get(Type *Result, bool isVarArg) { in get() 327 bool FunctionType::isValidReturnType(Type *RetTy) { in isValidReturnType() 332 bool FunctionType::isValidArgumentType(Type *ArgTy) { in isValidArgumentType()
|
| H A D | InlineAsm.cpp | 31 InlineAsm::InlineAsm(FunctionType *FTy, const std::string &asmString, in InlineAsm() 43 InlineAsm *InlineAsm::get(FunctionType *FTy, StringRef AsmString, in get() 57 FunctionType *InlineAsm::getFunctionType() const { in getFunctionType() 244 bool InlineAsm::Verify(FunctionType *Ty, StringRef ConstStr) { in Verify()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 34 class FunctionType; variable 72 FunctionType::ExtInfo info, 76 llvm::FunctionType *convertFreeFunctionType(CodeGenModule &CGM,
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | RenderScriptx86ABIFixups.cpp | 82 llvm::FunctionType *cloneToStructRetFnTy(llvm::CallInst *call_inst) { in cloneToStructRetFnTy() 95 llvm::FunctionType *orig_type = orig->getFunctionType(); in cloneToStructRetFnTy() 124 return llvm::FunctionType::get(return_type_ptr_type, params, in cloneToStructRetFnTy() 159 llvm::FunctionType *new_func_type = cloneToStructRetFnTy(call_inst); in fixupX86StructRetCalls()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Mangle.cpp | 78 const FunctionType *FT = T->castAs<FunctionType>(); in getCallingConvMangling() 166 const FunctionType *FT = FD->getType()->castAs<FunctionType>(); in mangleName()
|
| /freebsd-12.1/contrib/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 179 "_setjmp3", FunctionType::get( in runOnFunction() 306 FunctionType::get(VoidTy, Int8PtrType, /*isVarArg=*/false)); in emitExceptionRegistrationRecord() 358 FunctionType::get(Type::getVoidTy(TheModule->getContext()), Int8PtrType, in emitExceptionRegistrationRecord() 395 FunctionType *TrampolineTy = in generateLSDAInEAXThunk() 396 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk() 398 FunctionType *TargetFuncTy = in generateLSDAInEAXThunk() 399 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
|