Searched refs:FuncT (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Threading.h | 35 template <typename IteratorT, typename FuncT> 89 template <typename RangeT, typename FuncT> 91 FuncT &&func) { in failableParallelForEach() 93 std::forward<FuncT>(func)); in failableParallelForEach() 104 template <typename FuncT> 108 std::forward<FuncT>(func)); in failableParallelForEachN() 116 template <typename IteratorT, typename FuncT> 118 FuncT &&func) { in parallelForEach() 129 template <typename RangeT, typename FuncT> 132 std::forward<FuncT>(func)); in parallelForEach() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | weak-external.cpp | 73 typedef int (*FuncT)(); typedef 75 extern const FuncT table[] = {
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ExpectedTypes.cpp | 55 if (auto *FuncT = T->getAs<FunctionType>()) { in typeOfCompletion() local 60 return FuncT->getReturnType(); in typeOfCompletion()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | RegionInfo.h | 86 using FuncT = Function; 257 using FuncT = typename Tr::FuncT; 679 using FuncT = typename Tr::FuncT; 784 void scanForRegions(FuncT &F, BBtoBBMap *ShortCut); 796 void calculate(FuncT &F);
|
| H A D | RegionInfoImpl.h | 722 void RegionInfoBase<Tr>::scanForRegions(FuncT &F, BBtoBBMap *ShortCut) { in scanForRegions() 723 using FuncPtrT = std::add_pointer_t<FuncT>; in scanForRegions() 908 void RegionInfoBase<Tr>::calculate(FuncT &F) { in calculate() 909 using FuncPtrT = std::add_pointer_t<FuncT>; in calculate()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/ |
| H A D | SizeOpts.h | 50 template<typename AdapterT, typename FuncT, typename BFIT> 51 bool shouldFuncOptimizeForSizeImpl(const FuncT *F, ProfileSummaryInfo *PSI, in shouldFuncOptimizeForSizeImpl()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Dominance.cpp | 99 template <typename FuncT> 100 static Block *traverseAncestors(Block *block, const FuncT &func) { in traverseAncestors()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineRegionInfo.h | 31 using FuncT = MachineFunction;
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | PassManagerTest.cpp | 695 using FuncT = std::function<PreservedAnalyses(Function &, FunctionAnalysisManager &)>; typedef 697 LambdaPass(FuncT Func) : Func(std::move(Func)) {} in LambdaPass() 703 FuncT Func;
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/Dialect/LLVMIR/ |
| H A D | LLVMToLLVMIRTranslation.cpp | 150 using FuncT = void (llvmFMF::*)(bool); in getFastmathFlags() typedef 151 const std::pair<FastmathFlags, FuncT> handlers[] = { in getFastmathFlags()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 242 template <typename FuncT> void traverse(Value *V, FuncT F); 286 template <typename FuncT> in INITIALIZE_PASS_DEPENDENCY() 287 void Simplifier::Context::traverse(Value *V, FuncT F) { in INITIALIZE_PASS_DEPENDENCY()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 6977 const FunctionType *FuncT = nullptr; in BuildResolvedCallExpr() local 6983 FuncT = PT->getPointeeType()->getAs<FunctionType>(); in BuildResolvedCallExpr() 6984 if (!FuncT) in BuildResolvedCallExpr() 6989 FuncT = BPT->getPointeeType()->castAs<FunctionType>(); in BuildResolvedCallExpr() 7008 const auto *Proto = dyn_cast_or_null<FunctionProtoType>(FuncT); in BuildResolvedCallExpr() 7070 if (!FuncT->getReturnType()->isVoidType() && in BuildResolvedCallExpr() 7071 !FuncT->getReturnType()->getAs<AutoType>() && in BuildResolvedCallExpr() 7072 !FuncT->getReturnType()->isInstantiationDependentType()) in BuildResolvedCallExpr() 7089 TheCall->setType(FuncT->getCallResultType(Context)); in BuildResolvedCallExpr() 7097 assert(isa<FunctionNoProtoType>(FuncT) && "Unknown FunctionType!"); in BuildResolvedCallExpr() [all …]
|