Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 1809) sorted by relevance

12345678910>>...73

/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp22 const coverage::FunctionRecord &Function) const { in matches()
23 StringRef FuncName = Function.Name; in matches()
29 const coverage::FunctionRecord &Function) const { in matches()
30 return llvm::Regex(Regex).match(Function.Name); in matches()
39 const coverage::FunctionRecord &Function) const { in matches()
45 const coverage::FunctionRecord &Function) const { in matches()
46 return PassesThreshold(FunctionCoverageSummary::get(CM, Function) in matches()
52 const coverage::FunctionRecord &Function) const { in matches()
64 if (Filter->matches(CM, Function)) in matches()
80 const coverage::FunctionRecord &Function) const { in matches()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.h50 bool getMaxNTIDx(const Function &, unsigned &);
51 bool getMaxNTIDy(const Function &, unsigned &);
52 bool getMaxNTIDz(const Function &, unsigned &);
54 bool getReqNTIDx(const Function &, unsigned &);
55 bool getReqNTIDy(const Function &, unsigned &);
56 bool getReqNTIDz(const Function &, unsigned &);
58 bool getMaxClusterRank(const Function &, unsigned &);
59 bool getMinCTASm(const Function &, unsigned &);
60 bool getMaxNReg(const Function &, unsigned &);
61 bool isKernelFunction(const Function &);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DFunctionSpecialization.h123 Function *F;
126 Function *Clone = nullptr;
137 Spec(Function *F, const SpecSig &S, unsigned Score) in Spec()
139 Spec(Function *F, const SpecSig &&S, unsigned Score) in Spec()
265 SmallPtrSet<Function *, 32> Specializations;
266 SmallPtrSet<Function *, 32> FullySpecialized;
267 DenseMap<Function *, CodeMetrics> FunctionMetrics;
268 DenseMap<Function *, unsigned> FunctionGrowth;
301 void promoteConstantStackValues(Function *F);
321 bool isCandidateFunction(Function *F);
[all …]
H A DHotColdSplitting.h37 function_ref<BlockFrequencyInfo *(Function &)> GBFI, in HotColdSplitting()
38 function_ref<TargetTransformInfo &(Function &)> GTTI, in HotColdSplitting()
40 function_ref<AssumptionCache *(Function &)> LAC) in HotColdSplitting()
45 bool isFunctionCold(const Function &F) const;
51 bool shouldOutlineFrom(const Function &F) const;
52 bool outlineColdRegions(Function &F, bool HasProfileSummary);
53 Function *extractColdRegion(const BlockSequence &Region,
60 function_ref<BlockFrequencyInfo *(Function &)> GetBFI;
61 function_ref<TargetTransformInfo &(Function &)> GetTTI;
62 std::function<OptimizationRemarkEmitter &(Function &)> *GetORE;
[all …]
H A DDeadArgumentElimination.h45 const Function *F;
49 RetOrArg(const Function *F, unsigned Idx, bool IsArg) in RetOrArg()
81 RetOrArg createRet(const Function *F, unsigned Idx) { in createRet()
86 RetOrArg createArg(const Function *F, unsigned Idx) { in createArg()
109 using LiveFuncSet = std::set<const Function *>;
129 void surveyFunction(const Function &F);
134 void markLive(const Function &F);
136 bool removeDeadStuffFromFunction(Function *F);
137 bool deleteDeadVarargs(Function &F);
138 bool removeDeadArgumentsFromCallers(Function &F);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp250 void replaceDirectCallers(Function *Old, Function *New);
255 void mergeTwoFunctions(Function *F, Function *G);
272 void writeThunk(Function *F, Function *G);
275 void writeAlias(Function *F, Function *G);
279 bool writeThunkOrAlias(Function *F, Function *G);
320 Function *F1 = cast<Function>(*I); in doFunctionalCheck()
321 Function *F2 = cast<Function>(*J); in doFunctionalCheck()
342 Function *F3 = cast<Function>(*K); in doFunctionalCheck()
448 Function *F = cast<Function>(I); in runOnModule()
680 void MergeFunctions::writeThunk(Function *F, Function *G) { in writeThunk()
[all …]
H A DAlwaysInliner.cpp35 function_ref<AssumptionCache &(Function &)> GetAssumptionCache, in AlwaysInlineImpl()
36 function_ref<AAResults &(Function &)> GetAAR, in AlwaysInlineImpl()
37 function_ref<BlockFrequencyInfo &(Function &)> GetBFI) { in AlwaysInlineImpl()
40 SmallVector<Function *, 16> InlinedFunctions; in AlwaysInlineImpl()
41 for (Function &F : M) { in AlwaysInlineImpl()
60 Function *Caller = CB->getCaller(); in AlwaysInlineImpl()
100 erase_if(InlinedFunctions, [&](Function *F) { in AlwaysInlineImpl()
119 for (Function *F : InlinedFunctions) { in AlwaysInlineImpl()
143 auto GetAAR = [&](Function &F) -> AAResults & { in runOnModule()
185 auto GetBFI = [&](Function &F) -> BlockFrequencyInfo & { in run()
[all …]
H A DLoopExtractor.cpp61 function_ref<DominatorTree &(Function &)> LookupDomTree, in LoopExtractor()
62 function_ref<LoopInfo &(Function &)> LookupLoopInfo, in LoopExtractor()
73 function_ref<DominatorTree &(Function &)> LookupDomTree;
74 function_ref<LoopInfo &(Function &)> LookupLoopInfo;
77 bool runOnFunction(Function &F);
117 auto LookupDomTree = [this](Function &F) -> DominatorTree & { in runOnModule()
123 auto LookupACT = [this](Function &F) -> AssumptionCache * { in runOnModule()
146 Function &F = *I; in runOnModule()
161 bool LoopExtractor::runOnFunction(Function &F) { in runOnFunction()
241 Function &Func = *L->getHeader()->getParent(); in extractLoop()
[all …]
H A DPartialInlining.cpp207 std::pair<bool, Function *> unswitchFunction(Function &F);
242 Function *OrigFunc = nullptr;
243 Function *ClonedFunc = nullptr;
729 Function *Caller = CB.getCaller(); in shouldPartialInline()
901 Function *DuplicateFunction, in computeCallsiteToProfCountMap()
905 Function *CurrentCaller = nullptr; in computeCallsiteToProfCountMap()
1158 Function *
1195 Function *OutlinedFunc = in doSingleRegionFunctionOutlining()
1232 std::pair<bool, Function *> PartialInlinerImpl::unswitchFunction(Function &F) { in unswitchFunction()
1431 std::vector<Function *> Worklist; in run()
[all …]
H A DFunctionAttrs.cpp263 for (Function *F : SCCNodes) { in addMemoryAttrs()
283 for (Function *F : SCCNodes) { in addMemoryAttrs()
756 for (Function *F : SCCNodes) { in addArgumentReturnedAttrs()
876 for (Function *F : SCCNodes) { in addArgumentAttrs()
1123 for (Function *F : SCCNodes) { in addNoAliasAttrs()
1437 for (Function *F : SCCNodes) in run()
1575 [](Function &F) { in inferConvergent()
1607 [](Function &F) { in inferAttrsFromFunctionBodies()
1630 [](Function &F) { in inferAttrsFromFunctionBodies()
1646 [](Function &F) { in inferAttrsFromFunctionBodies()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DARCRuntimeEntryPoints.h32 class Function; variable
109 Function *AutoreleaseRV = nullptr;
112 Function *Release = nullptr;
115 Function *Retain = nullptr;
118 Function *RetainBlock = nullptr;
121 Function *Autorelease = nullptr;
124 Function *StoreStrong = nullptr;
127 Function *RetainRV = nullptr;
130 Function *UnsafeClaimRV = nullptr;
133 Function *RetainAutorelease = nullptr;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h31 class Function; variable
93 void addTrackedFunction(Function *F);
96 void addToMustPreserveReturnsInFunctions(Function *F);
99 bool mustPreserveReturn(Function *F);
101 void addArgumentTrackedFunction(Function *F);
105 bool isArgumentTrackedFunction(Function *F);
115 bool resolvedUndefsIn(Function &F);
148 const SmallPtrSet<Function *, 16> getMRVFunctionsTracked();
157 bool isStructLatticeConstant(Function *F, StructType *STy);
167 SmallPtrSetImpl<Function *> &getArgumentTrackedFunctions();
[all …]
H A DCallGraphUpdater.h36 SmallPtrSet<Function *, 16> ReplacedFunctions;
37 SmallVector<Function *, 16> DeadFunctions;
38 SmallVector<Function *, 16> DeadFunctionsInComdats;
82 void removeFunction(Function &Fn);
86 void reanalyzeFunction(Function &Fn);
91 void registerOutlinedFunction(Function &OriginalFn, Function &NewFn);
97 void replaceFunctionWith(Function &OldFn, Function &NewFn);
H A DCloning.h38 class Function; variable
119 const Twine &NameSuffix = "", Function *F = nullptr,
134 Function *CloneFunction(Function *F, ValueToValueMapTy &VMap,
168 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
176 void CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc,
194 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
205 function_ref<AssumptionCache &(Function &)> GetAssumptionCache = nullptr,
214 function_ref<AssumptionCache &(Function &)> GetAssumptionCache;
270 Function *ForwardVarArgsTo = nullptr);
304 Function *Callee, int64_t EntryDelta,
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp52 #define LLVM_SYMBOLIZER_GET_FUNC(Function) \ argument
53 ((__interceptor_##Function) \
54 ? (__interceptor_##Function) \
55 : reinterpret_cast<decltype(&Function)>(dlsym(RTLD_NEXT, #Function)))
57 #define LLVM_SYMBOLIZER_INTERCEPTOR1(Function, ...) \ argument
58 GetTypes<__VA_ARGS__>::Result __interceptor_##Function( \
60 GetTypes<__VA_ARGS__>::Result Function( \
62 return LLVM_SYMBOLIZER_GET_FUNC(Function)(arg0); \
65 #define LLVM_SYMBOLIZER_INTERCEPTOR2(Function, ...) \ argument
66 GetTypes<__VA_ARGS__>::Result __interceptor_##Function( \
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp353 Function *Function::Create(FunctionType *Ty, LinkageTypes Linkage, in Create()
358 Function *Function::createWithDefaultAttr(FunctionType *Ty, in createWithDefaultAttr()
392 void Function::splice(Function::iterator ToIt, Function *FromF, in splice()
404 Function::iterator Function::erase(Function::iterator FromIt, in erase()
421 Function::Function(FunctionType *Ty, LinkageTypes Linkage, unsigned AddrSpace, in Function() function in Function
450 Function::~Function() { in ~Function()
505 void Function::stealArgumentListFrom(Function &Src) { in stealArgumentListFrom()
778 void Function::copyAttributesFrom(const Function *Src) { in copyAttributesFrom()
1448 return cast<Function>( in getDeclaration()
1737 std::optional<Function *> Intrinsic::remangleIntrinsicFunction(Function *F) { in remangleIntrinsicFunction()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Symbol/
H A DFunction.cpp257 Function::Function(CompileUnit *comp_unit, lldb::user_id_t func_uid, in Function() function in Function
267 Function::~Function() = default;
370 Block &Function::GetBlock(bool can_create) { in GetBlock()
454 Function *Function::CalculateSymbolContextFunction() { return this; } in CalculateSymbolContextFunction()
495 size_t Function::MemorySize() const { in MemorySize()
500 bool Function::GetIsOptimized() { in GetIsOptimized()
511 bool Function::IsTopLevelFunction() { in IsTopLevelFunction()
538 Type *Function::GetType() { in GetType()
559 CompilerType Function::GetCompilerType() { in GetCompilerType()
566 uint32_t Function::GetPrologueByteSize() { in GetPrologueByteSize()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h100 friend class SymbolTableListTraits<Function>;
153 Function(const Function&) = delete;
154 void operator=(const Function&) = delete;
155 ~Function();
724 Function::iterator insert(Function::iterator Position, BasicBlock *BB) { in insert()
731 void splice(Function::iterator ToIt, Function *FromF) { in splice()
737 void splice(Function::iterator ToIt, Function *FromF, in splice()
738 Function::iterator FromIt) { in splice()
748 void splice(Function::iterator ToIt, Function *FromF,
754 Function::iterator erase(Function::iterator FromIt, Function::iterator ToIt);
[all …]
H A DInstIterator.h122 InstIterator<SymbolTableList<BasicBlock>, Function::iterator,
126 Function::const_iterator, BasicBlock::const_iterator,
133 inline inst_range instructions(Function *F) { in instructions()
136 inline const_inst_iterator inst_begin(const Function *F) { in inst_begin()
139 inline const_inst_iterator inst_end(const Function *F) { in inst_end()
142 inline const_inst_range instructions(const Function *F) { in instructions()
145 inline inst_iterator inst_begin(Function &F) { return inst_iterator(F); } in inst_begin()
147 inline inst_range instructions(Function &F) { in instructions()
150 inline const_inst_iterator inst_begin(const Function &F) { in inst_begin()
153 inline const_inst_iterator inst_end(const Function &F) { in inst_end()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUSubtarget.h24 class Function; variable
78 const Function &F);
90 std::pair<unsigned, unsigned> getFlatWorkGroupSizes(const Function &F) const;
101 std::pair<unsigned, unsigned> getWavesPerEU(const Function &F) const { in getWavesPerEU()
111 getWavesPerEU(const Function &F,
120 const Function &) const;
140 bool isMesaKernel(const Function &F) const;
142 bool isAmdHsaOrMesa(const Function &F) const { in isAmdHsaOrMesa()
292 bool isSingleLaneExecution(const Function &Kernel) const;
299 unsigned getImplicitArgNumBytes(const Function &F) const;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h30 class Function; variable
280 function_ref<const TargetLibraryInfo &(Function &)> GetTLI,
294 function_ref<const TargetLibraryInfo &(Function &)> GetTLI,
306 CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI,
307 function_ref<const TargetLibraryInfo &(Function &)> GetTLI);
319 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
320 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
328 function_ref<AssumptionCache &(Function &)> GetAssumptionCache,
329 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
334 InlineResult isInlineViable(Function &Callee);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp66 static void findUses(Value *V, Function &F, in findUses()
109 static Function *createWrapper(Function *F, FunctionType *Ty) { in createWrapper()
112 Function *Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
119 Function::arg_iterator AI = Wrapper->arg_begin(); in createWrapper()
120 Function::arg_iterator AE = Wrapper->arg_end(); in createWrapper()
202 Wrapper = Function::Create(Ty, Function::PrivateLinkage, in createWrapper()
231 Function *Main = nullptr; in runOnModule()
236 for (Function &F : M) { in runOnModule()
264 DenseMap<std::pair<Function *, FunctionType *>, Function *> Wrappers; in runOnModule()
268 Function *F = UseFunc.second; in runOnModule()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h76 template <class Function, class... Args>
77 explicit thread(Function &&f, Args &&...args) in thread()
80 template <class Function, class... Args>
124 template <class Function, class... Args>
125 thread::thread(std::optional<unsigned> StackSizeInBytes, Function &&f, in thread()
168 template <class Function, class... Args>
173 template <class Function, class... Args>
174 explicit thread(Function &&f, Args &&...args) : Thread(f, args...) {}
221 template <class Function, class... Args>
226 template <class Function, class... Args>
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCallPrinter.cpp59 DenseMap<const Function *, uint64_t> Freq;
72 SmallSet<Function *, 16> Callers; in CallGraphDOTInfo()
76 for (Function *Caller : Callers) in CallGraphDOTInfo()
101 SmallSet<Function *, 16> Visited; in removeParallelEdges()
183 Function *Caller = Node->getFunction(); in getEdgeAttributes()
187 Function *Callee = (*I)->getFunction(); in getEdgeAttributes()
201 Function *F = Node->getFunction(); in getNodeAttributes()
260 auto LookupBFI = [&FAM](Function &F) { in run()
275 auto LookupBFI = [&FAM](Function &F) { in run()
303 auto LookupBFI = [this](Function &F) { in runOnModule()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/components/executer/
H A Dexserial.c297 UINT32 Function; in AcpiExReadSerialBus() local
321 Function = ACPI_READ | (ObjDesc->Field.Attribute << 16); in AcpiExReadSerialBus()
327 Function = ACPI_READ; in AcpiExReadSerialBus()
353 Function = ACPI_READ | (AccessorType << 16); in AcpiExReadSerialBus()
359 Function = ACPI_READ; in AcpiExReadSerialBus()
415 UINT32 Function; in AcpiExWriteSerialBus() local
460 Function = ACPI_WRITE; in AcpiExWriteSerialBus()
478 Function = ACPI_WRITE | (AccessorType << 16); in AcpiExWriteSerialBus()
484 Function = ACPI_WRITE; in AcpiExWriteSerialBus()
490 Function = ACPI_WRITE; in AcpiExWriteSerialBus()
[all …]

12345678910>>...73