reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/InlineCost.h
  217     std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
  229               std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
include/llvm/Analysis/ModuleSummaryAnalysis.h
   37     std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
include/llvm/CodeGen/GlobalISel/CallLowering.h
  334                  std::function<unsigned()> GetCalleeReg) const;
include/llvm/CodeGen/LiveInterval.h
  840                          std::function<void(LiveInterval::SubRange &)> Apply,
include/llvm/CodeGen/Passes.h
  245       std::function<bool(const MachineFunction &)> Ftor);
  360   createUnpackMachineBundles(std::function<bool(const MachineFunction &)> Ftor);
include/llvm/CodeGen/SelectionDAGNodes.h
 2655                            std::function<bool(ConstantSDNode *)> Match,
 2664       std::function<bool(ConstantSDNode *, ConstantSDNode *)> Match,
include/llvm/DebugInfo/DWARF/DWARFContext.h
  301                       std::function<void(Error)> RecoverableErrorCallback);
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
  286         std::function<void(Error)> RecoverableErrorCallback,
  315       std::function<void(Error)> RecoverableErrorCallback);
include/llvm/DebugInfo/GSYM/GsymCreator.h
  215       std::function<bool(FunctionInfo &)> const &Callback);
  222       std::function<bool(const FunctionInfo &)> const &Callback) const;
include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
   74   std::function<void(JITTargetAddress EHFrameSectionAddr,
include/llvm/ExecutionEngine/JITLink/JITLink.h
  912 using LinkGraphPassFunction = std::function<Error(LinkGraph &)>;
include/llvm/ExecutionEngine/JITLink/JITLinkMemoryManager.h
   61     using FinalizeContinuation = std::function<void(Error)>;
include/llvm/ExecutionEngine/Orc/Core.h
  837   using LegacyAsyncLookupFunction = std::function<SymbolNameSet(
include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  187   using CompileFunction = std::function<JITTargetAddress()>;
  405 std::function<std::unique_ptr<IndirectStubsManager>()>
include/llvm/ExecutionEngine/Orc/RPCUtils.h
  465 class AsyncHandlerTraits<Error(std::function<Error(Error)>, ArgTs...)> {
  472 class AsyncHandlerTraits<ErrorSuccess(std::function<Error(Error)>, ArgTs...)> {
  479 class AsyncHandlerTraits<void(std::function<Error(Error)>, ArgTs...)> {
include/llvm/ExecutionEngine/RuntimeDyldChecker.h
  135   using IsSymbolValidFunction = std::function<bool(StringRef Symbol)>;
  137       std::function<Expected<MemoryRegionInfo>(StringRef SymbolName)>;
  138   using GetSectionInfoFunction = std::function<Expected<MemoryRegionInfo>(
  140   using GetStubInfoFunction = std::function<Expected<MemoryRegionInfo>(
  142   using GetGOTInfoFunction = std::function<Expected<MemoryRegionInfo>(
include/llvm/IR/BasicBlock.h
  192                                  std::function<bool(Instruction &)>>>
include/llvm/IR/DiagnosticInfo.h
  124 using DiagnosticHandlerFunction = std::function<void(const DiagnosticInfo &)>;
include/llvm/LTO/LTO.h
  245 using IndexWriteCallback = std::function<void(const std::string &)>;
include/llvm/Linker/IRMover.h
   64   typedef std::function<void(GlobalValue &)> ValueAdder;
   76              std::function<void(GlobalValue &GV, ValueAdder Add)> AddLazyFor,
include/llvm/Support/CommandLine.h
   80 using VersionPrinterTy = std::function<void(raw_ostream &)>;
include/llvm/Support/FileUtilities.h
  112                       std::function<llvm::Error(llvm::raw_ostream &)> Writer);
include/llvm/Support/ThreadPool.h
   38   using TaskTy = std::function<void()>;
include/llvm/TextAPI/MachO/InterfaceFile.h
  214                             std::function<bool(const Target &)>>;
include/llvm/TextAPI/MachO/Symbol.h
   97                             std::function<bool(const Target &)>>;
include/llvm/Transforms/IPO.h
  130 createInternalizePass(std::function<bool(const GlobalValue &)> MustPreserveGV);
include/llvm/Transforms/IPO/HotColdSplitting.h
   38                    std::function<OptimizationRemarkEmitter &(Function &)> *GORE,
   56   std::function<OptimizationRemarkEmitter &(Function &)> *GetORE;
include/llvm/Transforms/Utils/Cloning.h
  176                               std::function<AssumptionCache &(Function &)>
  187   std::function<AssumptionCache &(Function &)> *GetAssumptionCache;
include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  202       Function *F, std::function<const LoopAccessInfo &(Loop &)> *GetLAA,
  408   std::function<const LoopAccessInfo &(Loop &)> *GetLAA;
include/llvm/Transforms/Vectorize/LoopVectorize.h
  141   std::function<const LoopAccessInfo &(Loop &)> *GetLAA;
  152                std::function<const LoopAccessInfo &(Loop &)> &GetLAA_,
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  115       std::function<std::unique_ptr<CompileCallbackMgr>()>;
lib/Target/AArch64/AArch64CallLowering.h
   56   using RegHandler = std::function<void(MachineIRBuilder &, Type *, unsigned,
   60       std::function<void(MachineIRBuilder &, int, CCValAssign &)>;
lib/Target/AMDGPU/AMDGPUCallLowering.h
   33   using SplitArgTy = std::function<void(ArrayRef<Register>, LLT, LLT, int)>;
lib/Target/X86/X86CallLowering.h
   42   using SplitArgTy = std::function<void(ArrayRef<Register>)>;
lib/Transforms/Vectorize/LoopVectorizationPlanner.h
  253   getDecisionAndClampRange(const std::function<bool(unsigned)> &Predicate,
tools/clang/include/clang/DirectoryWatcher/DirectoryWatcher.h
  108          std::function<void(llvm::ArrayRef<DirectoryWatcher::Event> Events,
tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h
   49   AddCheckerRegistrationFn(std::function<void(CheckerRegistry &)> Fn) = 0;
tools/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h
   86                   ArrayRef<std::function<void(CheckerRegistry &)>>
tools/clang/tools/extra/clang-tidy/ClangTidyModule.h
   29   using CheckFactory = std::function<std::unique_ptr<ClangTidyCheck>(
tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h
  187   typedef std::pair<std::string, std::function<llvm::ErrorOr<ClangTidyOptions>(
tools/clang/tools/extra/clangd/Cancellation.h
   70 using Canceler = std::function<void()>;
tools/clang/tools/extra/clangd/Preamble.h
   68     std::function<void(ASTContext &, std::shared_ptr<clang::Preprocessor>,
tools/clang/tools/extra/clangd/index/Background.h
   63       std::function<llvm::Optional<ProjectInfo>(PathRef)> GetProjectInfo);
tools/clang/tools/extra/clangd/index/BackgroundRebuild.h
   79   void maybeRebuild(const char *Reason, std::function<bool()> Check);
tools/clang/tools/extra/clangd/index/IndexAction.h
   28     std::function<void(SymbolSlab)> SymbolsCallback,
   29     std::function<void(RefSlab)> RefsCallback,
   30     std::function<void(RelationSlab)> RelationsCallback,
   31     std::function<void(IncludeGraph)> IncludeGraphCallback);
tools/clang/tools/extra/clangd/unittests/TestTU.h
   78                           std::function<bool(const NamedDecl &)> Filter);
tools/lld/COFF/Driver.h
  132   void enqueueTask(std::function<void()> task);
  135   std::list<std::function<void()>> taskQueue;
tools/lld/ELF/SyntheticSections.h
  466   std::vector<std::pair<int32_t, std::function<uint64_t()>>> entries;
  475   void add(int32_t tag, std::function<uint64_t()> fn);
tools/lld/include/lld/Core/Resolver.h
   58   typedef std::function<llvm::Expected<bool>(StringRef)> UndefCallback;
tools/lld/lib/ReaderWriter/MachO/ArchHandler.h
  123   typedef std::function<llvm::Error (uint32_t sectionIndex, uint64_t addr,
  129   typedef std::function<llvm::Error (uint32_t symbolIndex,
  165   typedef std::function<uint32_t (const Atom &atom)> FindSymbolIndexForAtom;
  169   typedef std::function<uint32_t (const Atom &atom)> FindSectionIndexForAtom;
  173   typedef std::function<uint64_t (const Atom &atom)> FindAddressForAtom;
tools/lldb/include/lldb/API/SBPlatform.h
  158       const std::function<lldb_private::Status(const lldb::PlatformSP &)>
tools/lldb/include/lldb/Breakpoint/BreakpointSiteList.h
  107   void ForEach(std::function<void(BreakpointSite *)> const &callback);
tools/lldb/include/lldb/Core/Disassembler.h
  240 std::function<bool(const Instruction::Operand &)>
  241 MatchBinaryOp(std::function<bool(const Instruction::Operand &)> base,
  242               std::function<bool(const Instruction::Operand &)> left,
  243               std::function<bool(const Instruction::Operand &)> right);
  245 std::function<bool(const Instruction::Operand &)>
  246 MatchUnaryOp(std::function<bool(const Instruction::Operand &)> base,
  247              std::function<bool(const Instruction::Operand &)> child);
  249 std::function<bool(const Instruction::Operand &)>
  252 std::function<bool(const Instruction::Operand &)> FetchRegOp(ConstString &reg);
  254 std::function<bool(const Instruction::Operand &)> MatchImmOp(int64_t imm);
  256 std::function<bool(const Instruction::Operand &)> FetchImmOp(int64_t &imm);
  258 std::function<bool(const Instruction::Operand &)>
tools/lldb/include/lldb/Core/MappedHash.h
  286         std::function<bool(const HashData &hash_data)> const &callback) const {
tools/lldb/include/lldb/Core/ModuleList.h
  481   void ForEach(std::function<bool(const lldb::ModuleSP &module_sp)> const
tools/lldb/include/lldb/Core/ValueObject.h
  452   ValueObject *FollowParentChain(std::function<bool(ValueObject *)>);
tools/lldb/include/lldb/DataFormatters/DataVisualization.h
   80     ForEach(std::function<bool(ConstString, const lldb::TypeSummaryImplSP &)>
tools/lldb/include/lldb/DataFormatters/StringPrinter.h
  204   typedef std::function<StringPrinter::StringPrinterBufferPointer<
  207   typedef std::function<EscapingHelper(GetPrintableElementType)>
tools/lldb/include/lldb/DataFormatters/TypeCategoryMap.h
   35   typedef std::function<bool(const ValueSP &)> ForEachCallback;
tools/lldb/include/lldb/Expression/DWARFExpression.h
  136       std::function<lldb::addr_t(lldb::addr_t file_addr)> const
tools/lldb/include/lldb/Host/FileSystem.h
  170   typedef std::function<EnumerateDirectoryResult(
tools/lldb/include/lldb/Host/Host.h
   64   typedef std::function<bool(
tools/lldb/include/lldb/Host/LockFileBase.h
   33   using Locker = std::function<Status(const uint64_t, const uint64_t)>;
tools/lldb/include/lldb/Host/XML.h
   39 typedef std::function<bool(const XMLNode &node)> NodeCallback;
   40 typedef std::function<bool(const llvm::StringRef &name,
tools/lldb/include/lldb/Symbol/Block.h
  257                                 const std::function<bool(Variable *)> &filter,
  288                            const std::function<bool(Variable *)> &filter,
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  727       std::function<bool(const CompilerType &integer_type,
tools/lldb/include/lldb/Symbol/CompilerType.h
  269       std::function<bool(const CompilerType &integer_type,
tools/lldb/include/lldb/Symbol/DWARFCallFrameInfo.h
   76       const std::function<bool(lldb::addr_t, uint32_t, dw_offset_t)> &callback);
tools/lldb/include/lldb/Symbol/Symtab.h
  114       lldb::addr_t file_addr, std::function<bool(Symbol *)> const &callback);
tools/lldb/include/lldb/Symbol/TypeList.h
   48       std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
   50   void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
tools/lldb/include/lldb/Symbol/TypeMap.h
   49       std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
   51   void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
tools/lldb/include/lldb/Symbol/TypeSystem.h
  302       std::function<bool(const CompilerType &integer_type,
  512   void ForEach(std::function<bool(TypeSystem *)> const &callback);
tools/lldb/include/lldb/Target/Language.h
  160   static void ForEach(std::function<bool(Language *)> callback);
  251   static void ForAllLanguages(std::function<bool(lldb::LanguageType)> callback);
tools/lldb/include/lldb/Target/Platform.h
  893   typedef std::function<Status(const ModuleSpec &)> ModuleResolver;
tools/lldb/include/lldb/Target/StackFrameRecognizer.h
  109       std::function<void(uint32_t recognizer_id, std::string recognizer_name,
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h
  100                std::function<bool(const std::string &)> handler) = 0;
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp
  278     std::function<void(ObjCLanguageRuntime::ObjCISA)> const &superclass_func,
  279     std::function<bool(const char *, const char *)> const &instance_method_func,
  280     std::function<bool(const char *, const char *)> const &class_method_func,
  281     std::function<bool(const char *, const char *, lldb::addr_t,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.h
   72     Describe(std::function<void(ObjCLanguageRuntime::ObjCISA)> const
   74              std::function<bool(const char *, const char *)> const
   76              std::function<bool(const char *, const char *)> const
   78              std::function<bool(const char *, const char *, lldb::addr_t,
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
  105     Describe(std::function<void(ObjCISA)> const &superclass_func,
  106              std::function<bool(const char *, const char *)> const
  108              std::function<bool(const char *, const char *)> const
  110              std::function<bool(const char *, const char *, lldb::addr_t,
tools/lldb/source/Plugins/Platform/Android/AdbClient.h
   71     Status executeCommand(const std::function<Status()> &cmd);
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.h
   32       std::function<PacketResult(StringExtractorGDBRemote &packet,
tools/lldb/source/Plugins/SymbolFile/DWARF/NameToDIE.h
   45   ForEach(std::function<bool(lldb_private::ConstString name,
tools/lldb/source/Symbol/CompilerType.cpp
  526     std::function<bool(const CompilerType &integer_type,
tools/llvm-exegesis/lib/Assembler.h
   83 using FillFunction = std::function<void(FunctionFiller &)>;
tools/llvm-reduce/deltas/Delta.h
   72                   std::function<void(const std::vector<Chunk> &, Module *)>
tools/polly/include/polly/CodeGen/BlockGenerators.h
  363                                     const std::function<void()> &GenThenFunc);
tools/polly/include/polly/ScopInfo.h
 2009   void removeStmts(std::function<bool(ScopStmt &)> ShouldDelete,
 2026   getAccessesOfType(std::function<bool(MemoryAccess &)> Predicate);
unittests/CodeGen/TargetOptionsTest.cpp
   44 typedef std::function<void(bool)> TargetOptionsTest;