| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MemProfContextDisambiguation.cpp | 187 using Base = std::pair<FuncTy *, unsigned>; 191 FuncTy *func() const { return this->first; } in func() 445 CallTy Call, const FuncTy *Func, const FuncTy *CallerFunc, in calleeMatchesFunc() 927 CallInfo Call, const FuncTy *F) { in addAllocNode() 1664 void CallsiteContextGraph<DerivedCCG, FuncTy, 2168 checkEdge<DerivedCCG, FuncTy, CallTy>(Edge); in checkNode() 2184 checkEdge<DerivedCCG, FuncTy, CallTy>(Edge); in checkNode() 2197 checkEdge<DerivedCCG, FuncTy, CallTy>(Edge); in check() 2449 checkNode<DerivedCCG, FuncTy, CallTy>(Node); in identifyClones() 2601 checkNode<DerivedCCG, FuncTy, CallTy>(Clone); in identifyClones() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | SmallVectorExtras.h | 23 template <unsigned Size, class ContainerTy, class FuncTy> 24 auto map_to_vector(ContainerTy &&C, FuncTy &&F) { in map_to_vector() 26 map_range(std::forward<ContainerTy>(C), std::forward<FuncTy>(F))); in map_to_vector() 28 template <class ContainerTy, class FuncTy> 29 auto map_to_vector(ContainerTy &&C, FuncTy &&F) { in map_to_vector() 31 map_range(std::forward<ContainerTy>(C), std::forward<FuncTy>(F))); in map_to_vector()
|
| H A D | STLExtras.h | 344 template <typename ItTy, typename FuncTy, 349 mapped_iterator<ItTy, FuncTy>, ItTy, 356 mapped_iterator(ItTy U, FuncTy F) 361 const FuncTy &getFunction() const { return F; } 366 callable_detail::Callable<FuncTy> F{}; 371 template <class ItTy, class FuncTy> 372 inline mapped_iterator<ItTy, FuncTy> map_iterator(ItTy I, FuncTy F) { 376 template <class ContainerTy, class FuncTy> 377 auto map_range(ContainerTy &&C, FuncTy F) { 1476 template<typename FuncTy> [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Parallel.h | 230 template <class IterTy, class FuncTy> 231 void parallelForEach(IterTy Begin, IterTy End, FuncTy Fn) { in parallelForEach() 258 template <class RangeTy, class FuncTy> 259 void parallelForEach(RangeTy &&R, FuncTy Fn) { in parallelForEach() 273 template <class RangeTy, class FuncTy> 274 Error parallelForEachError(RangeTy &&R, FuncTy Fn) { in parallelForEachError()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachinePassManager.h | 257 using FuncTy = Error(Module &, MachineFunctionAnalysisManager &); variable 258 SmallVector<llvm::unique_function<FuncTy>, 4> InitializationFuncs; 259 SmallVector<llvm::unique_function<FuncTy>, 4> FinalizationFuncs; 262 std::map<PassIndex, llvm::unique_function<FuncTy>> MachineModulePasses;
|
| H A D | FastISel.h | 104 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, in setCallee() 112 IsVarArg = FuncTy->isVarArg(); in setCallee() 119 NumFixedArgs = FuncTy->getNumParams(); in setCallee() 126 CallLoweringInfo &setCallee(Type *ResultTy, FunctionType *FuncTy, 136 IsVarArg = FuncTy->isVarArg(); 143 NumFixedArgs = (FixedArgs == ~0U) ? FuncTy->getNumParams() : FixedArgs;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.h | 395 bool isCompatibleSignature(const FunctionType *FuncTy) const; 451 FunctionType *FuncTy; variable 457 FuncTy = FT; in AMDGPUUnmangledLibFunc() 461 FunctionType *getFunctionType(Module &M) const override { return FuncTy; } in getFunctionType() 470 void setFunctionType(FunctionType *FT) { FuncTy = FT; } in setFunctionType()
|
| H A D | AMDGPULibFunc.cpp | 519 FuncTy = nullptr; in AMDGPUUnmangledLibFunc() 1002 bool AMDGPULibFunc::isCompatibleSignature(const FunctionType *FuncTy) const { in isCompatibleSignature() 1004 return !FuncTy->isVarArg() && FuncTy->getNumParams() == getNumArgs(); in isCompatibleSignature() 1037 FunctionType *FuncTy = fInfo.getFunctionType(*M); in getOrInsertFunction() local 1041 PI = FuncTy->param_begin(), in getOrInsertFunction() 1042 PE = FuncTy->param_end(); in getOrInsertFunction() 1054 C = M->getOrInsertFunction(FuncName, FuncTy); in getOrInsertFunction() 1061 C = M->getOrInsertFunction(FuncName, FuncTy, Attr); in getOrInsertFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixFunctionBitcasts.cpp | 219 static bool shouldFixMainFunction(FunctionType *FuncTy, FunctionType *MainTy) { in shouldFixMainFunction() argument 223 return FuncTy->getReturnType() == MainTy->getReturnType() && in shouldFixMainFunction() 224 FuncTy->getNumParams() == 0 && in shouldFixMainFunction() 225 !FuncTy->isVarArg(); in shouldFixMainFunction()
|
| H A D | WebAssemblyMCInstLower.cpp | 67 const auto *FuncTy = cast<FunctionType>(Global->getValueType()); in GetGlobalAddressSymbol() local 75 computeSignatureVTs(FuncTy, F, CurrentFunc, TM, ParamMVTs, ResultMVTs); in GetGlobalAddressSymbol()
|
| H A D | WebAssemblyFastISel.cpp | 771 FunctionType *FuncTy = Call->getFunctionType(); in selectCall() local 773 bool IsVoid = FuncTy->getReturnType()->isVoidTy(); in selectCall()
|
| /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() local 191 auto *Func = Function::Create(FuncTy, GlobalValue::InternalLinkage, in createRegisterFunction() 218 auto *FuncTy = FunctionType::get(Type::getVoidTy(C), /*isVarArg*/ false); in createUnregisterFunction() local 220 Function::Create(FuncTy, GlobalValue::InternalLinkage, in createUnregisterFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 873 FunctionType *FuncTy = F->getFunctionType(); in CleanupAndPrepareModules() local 875 Function::Create(FuncTy, GlobalValue::InternalLinkage, in CleanupAndPrepareModules() 918 CallInst::Create(FuncTy, FuncPtr, Args, "", DoCallBB); in CleanupAndPrepareModules() 922 CallInst::Create(FuncTy, FuncPtr, Args, "retval", DoCallBB); in CleanupAndPrepareModules()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | TargetLibraryInfo.cpp | 119 FunctionType *FuncTy) { in isCallingConvCCompatible() argument 134 if (!FuncTy->getReturnType()->isPointerTy() && in isCallingConvCCompatible() 135 !FuncTy->getReturnType()->isIntegerTy() && in isCallingConvCCompatible() 136 !FuncTy->getReturnType()->isVoidTy()) in isCallingConvCCompatible() 139 for (auto *Param : FuncTy->params()) { in isCallingConvCCompatible()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVCallLowering.cpp | 355 SPIRVType *FuncTy = GR->getOrCreateOpTypeFunctionWithArgs( in lowerFormalArguments() local 365 .addUse(GR->getSPIRVTypeID(FuncTy)); in lowerFormalArguments()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/ |
| H A D | llvm-stress.cpp | 143 auto *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, false); in GenEmptyFunction() local 146 auto *Func = Function::Create(FuncTy, GlobalValue::ExternalLinkage, Name, M); in GenEmptyFunction()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGNonTrivialStruct.cpp | 465 llvm::FunctionType *FuncTy = CGM.getTypes().GetFunctionType(FI); in getFunction() local 467 llvm::Function::Create(FuncTy, llvm::GlobalValue::LinkOnceODRLinkage, in getFunction()
|
| H A D | CGBlocks.cpp | 1205 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr() local 1207 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr()
|
| H A D | CGExpr.cpp | 5028 template<typename FuncTy> 5031 const FuncTy &BranchGenFunc) { in EmitConditionalBlocks()
|
| H A D | CGBuiltin.cpp | 2102 llvm::FunctionType *FuncTy = CGM.getTypes().GetFunctionType(FI); in generateBuiltinOSLogHelperFunction() local 2104 FuncTy, llvm::GlobalValue::LinkOnceODRLinkage, Name, &CGM.getModule()); in generateBuiltinOSLogHelperFunction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
| H A D | LLParser.h | 567 FunctionType *&FuncTy);
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 1106 FunctionType *FuncTy = CI->getFunctionType(); in lowerCall() local 1138 CLI.setCallee(RetTy, FuncTy, CI->getCalledOperand(), std::move(Args), *CI) in lowerCall()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 6830 FunctionType *&FuncTy) { in resolveFunctionType() argument 6831 FuncTy = dyn_cast<FunctionType>(RetType); in resolveFunctionType() 6832 if (!FuncTy) { in resolveFunctionType() 6841 FuncTy = FunctionType::get(RetType, ParamTypes, false); in resolveFunctionType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 6573 const auto *FuncTy = HandlerParam->getType() in checkSwiftAsyncErrorBlock() local 6578 if (FuncTy) in checkSwiftAsyncErrorBlock() 6579 BlockParams = FuncTy->getParamTypes(); in checkSwiftAsyncErrorBlock()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 2050 auto *FuncTy = in getFreshReductionFunc() local 2052 return Function::Create(FuncTy, GlobalVariable::InternalLinkage, in getFreshReductionFunc()
|