Searched refs:Function (Results 76 - 100 of 1279) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DSpeculativeExecution.h74 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
77 bool runImpl(Function &F, TargetTransformInfo *TTI);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DGlobalStatus.h17 class Function;
64 const Function *AccessingFunction = nullptr;
H A DInjectTLIMappings.h22 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
33 bool runOnFunction(Function &F) override;
H A DModuleUtils.h24 class Function;
37 void appendToGlobalCtors(Module &M, Function *F, int Priority,
41 void appendToGlobalDtors(Module &M, Function *F, int Priority,
51 std::pair<Function *, FunctionCallee> createSanitizerCtorAndInitFunctions(
63 std::pair<Function *, FunctionCallee> getOrCreateSanitizerCtorAndInitFunctions(
66 function_ref<void(Function *, FunctionCallee)> FunctionsCreatedCallback,
72 Function *getOrCreateInitFunction(Module &M, StringRef Name);
91 /// `Function`s which are members of a comdat group and are believed to be
94 /// After this routine finishes, the only remaining `Function`s in \p
98 Module &M, SmallVectorImpl<Function *>
[all...]
H A DCloning.h41 class Function;
110 const Twine &NameSuffix = "", Function *F = nullptr,
126 Function *CloneFunction(Function *F, ValueToValueMapTy &VMap,
138 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
146 void CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc,
164 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFun
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DAssemblyAnnotationWriter.h21 class Function;
33 virtual void emitFunctionAnnot(const Function *,
H A DArgument.h23 /// This class represents an incoming formal argument to a Function. A formal
30 Function *Parent;
33 friend class Function;
34 void setParent(Function *parent);
38 explicit Argument(Type *Ty, const Twine &Name = "", Function *F = nullptr,
41 inline const Function *getParent() const { return Parent; }
42 inline Function *getParent() { return Parent; }
H A DInstIterator.h23 #include "llvm/IR/Function.h"
122 InstIterator<SymbolTableList<BasicBlock>, Function::iterator,
126 Function::const_iterator, BasicBlock::const_iterator,
131 inline inst_iterator inst_begin(Function *F) { return inst_iterator(*F); }
132 inline inst_iterator inst_end(Function *F) { return inst_iterator(*F, true); }
133 inline inst_range instructions(Function *F) {
136 inline const_inst_iterator inst_begin(const Function *F) {
139 inline const_inst_iterator inst_end(const Function *F) {
142 inline const_inst_range instructions(const Function *F) {
145 inline inst_iterator inst_begin(Function
[all...]
H A DAutoUpgrade.h22 class Function;
34 bool UpgradeIntrinsicFunction(Function *F, Function *&NewFn);
38 void UpgradeIntrinsicCall(CallInst *CI, Function *NewFn);
48 void UpgradeCallsToIntrinsic(Function* F);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A Dthread.h38 template <class Function, class... Args>
39 explicit thread(Function &&f, Args &&... args) {
H A DThreadPool.h53 template <typename Function, typename... Args>
54 inline std::shared_future<void> async(Function &&F, Args &&... ArgList) {
56 std::bind(std::forward<Function>(F), std::forward<Args>(ArgList)...);
62 template <typename Function>
63 inline std::shared_future<void> async(Function &&F) {
64 return asyncImpl(std::forward<Function>(F));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DPassManager.cpp19 template class AllAnalysesOn<Function>;
21 template class PassManager<Function>;
23 template class AnalysisManager<Function>;
25 template class OuterAnalysisManagerProxy<ModuleAnalysisManager, Function>;
51 PA.allAnalysesInSetPreserved<AllAnalysesOn<Function>>();
55 for (Function &F : M) {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DDeadArgumentElimination.h24 #include "llvm/IR/Function.h"
45 const Function *F;
49 RetOrArg(const Function *F, unsigned Idx, bool IsArg)
82 RetOrArg CreateRet(const Function *F, unsigned Idx) {
87 RetOrArg CreateArg(const Function *F, unsigned Idx) {
110 using LiveFuncSet = std::set<const Function *>;
130 void SurveyFunction(const Function &F);
134 void MarkLive(const Function &F);
136 bool RemoveDeadStuffFromFunction(Function *F);
137 bool DeleteDeadVarargs(Function
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAlwaysInlinePass.cpp36 SmallPtrSetImpl<Function *> &FuncsToAlwaysInline);
58 SmallPtrSetImpl<Function *> &FuncsToAlwaysInline) {
72 Function *F = I->getParent()->getParent();
90 SmallPtrSet<Function *, 8> FuncsToAlwaysInline;
91 SmallPtrSet<Function *, 8> FuncsToNoInline;
94 if (Function* F = dyn_cast<Function>(A.getAliasee())) {
132 for (Function &F : M) {
144 for (Function *F : FuncsToAlwaysInline)
147 for (Function *
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPhiValues.h35 class Function;
47 PhiValues(const Function &F) : F(F) {}
70 bool invalidate(Function &, const PreservedAnalyses &,
107 const Function &F;
124 PhiValues run(Function &F, FunctionAnalysisManager &);
137 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
151 bool runOnFunction(Function &F) override;
H A DGlobalsModRef.h19 #include "llvm/IR/Function.h"
37 std::function<const TargetLibraryInfo &(Function &F)> GetTLI;
54 DenseMap<const Function *, FunctionInfo> FunctionInfos;
59 DenseMap<const Function *, unsigned> FunctionToSCCMap;
80 std::function<const TargetLibraryInfo &(Function &F)> GetTLI);
88 std::function<const TargetLibraryInfo &(Function &F)> GetTLI,
104 FunctionModRefBehavior getModRefBehavior(const Function *F);
112 FunctionInfo *getFunctionInfo(const Function *F);
117 SmallPtrSetImpl<Function *> *Readers = nullptr,
118 SmallPtrSetImpl<Function *> *Writer
[all...]
H A DCFLAliasAnalysisUtils.h17 #include "llvm/IR/Function.h"
24 FunctionHandle(Function *Fn, AAResult *Result)
39 Result->evict(cast<Function>(Val));
44 static inline const Function *parentFunctionOfValue(const Value *Val) {
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/symbolizer/
H A Dsanitizer_wrappers.cpp51 #define LLVM_SYMBOLIZER_GET_FUNC(Function) \
52 ((__interceptor_##Function) \
53 ? (__interceptor_##Function) \
54 : reinterpret_cast<decltype(&Function)>(dlsym(RTLD_NEXT, #Function)))
56 #define LLVM_SYMBOLIZER_INTERCEPTOR1(Function, ...) \
57 GetTypes<__VA_ARGS__>::Result __interceptor_##Function( \
59 GetTypes<__VA_ARGS__>::Result Function( \
61 return LLVM_SYMBOLIZER_GET_FUNC(Function)(arg0); \
64 #define LLVM_SYMBOLIZER_INTERCEPTOR2(Function,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAlwaysInliner.cpp40 std::function<AssumptionCache &(Function &)> GetAssumptionCache =
41 [&](Function &F) -> AssumptionCache & {
48 SmallVector<Function *, 16> InlinedFunctions;
49 for (Function &F : M)
72 erase_if(InlinedFunctions, [&](Function *F) {
79 InlinedFunctions, [&](Function *F) { return F->hasComdat(); });
80 for (Function *F : make_range(NonComdatBegin, InlinedFunctions.end()))
89 for (Function *F : InlinedFunctions)
155 Function *Callee = CS.getCalledFunction();
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.cpp21 const coverage::FunctionRecord &Function) {
24 for (auto &CR : Function.CountedRegions) {
34 CoverageData CD = CM.getCoverageForFunction(Function);
44 Function.Name, Function.ExecutionCount,
20 get(const CoverageMapping &CM, const coverage::FunctionRecord &Function) argument
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSpeculateAnalyses.h30 bool isStraightLine(const Function &F);
42 ResultTy operator()(Function &F);
66 BlockListTy rearrangeBB(const Function &, const BlockListTy &);
67 BlockListTy queryCFG(Function &, const BlockListTy &);
78 ResultTy operator()(Function &F);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDominanceFrontier.cpp13 #include "llvm/IR/Function.h"
48 bool DominanceFrontierWrapperPass::runOnFunction(Function &) {
70 bool DominanceFrontier::invalidate(Function &F, const PreservedAnalyses &PA,
75 return !(PAC.preserved() || PAC.preservedSet<AllAnalysesOn<Function>>() ||
81 DominanceFrontier DominanceFrontierAnalysis::run(Function &F,
92 DominanceFrontierPrinterPass::run(Function &F, FunctionAnalysisManager &AM) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMakeGuardsExplicit.cpp54 bool runOnFunction(Function &F) override;
58 static void turnToExplicitForm(CallInst *Guard, Function *DeoptIntrinsic) {
68 static bool explicifyGuards(Function &F) {
94 bool MakeGuardsExplicitLegacyPass::runOnFunction(Function &F) {
103 PreservedAnalyses MakeGuardsExplicitPass::run(Function &F,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetIntrinsicInfo.h22 class Function;
55 virtual unsigned getIntrinsicID(const Function *F) const;
60 /// Create or insert an LLVM Function declaration for an intrinsic,
63 virtual Function *getDeclaration(Module *M, unsigned ID, Type **Tys = nullptr,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h36 const Function &F) const override;
38 const Function *getLutUsedFunction(const GlobalObject *GO) const;
53 const Function *Fn) const;

Completed in 287 milliseconds

1234567891011>>