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

References

examples/Kaleidoscope/include/KaleidoscopeJIT.h
   71     ModuleKeys.erase(find(ModuleKeys, K));
include/llvm/ADT/SetVector.h
  159       typename vector_type::iterator I = find(vector_, X);
include/llvm/Analysis/LoopInfo.h
  397     return removeChildLoop(llvm::find(*this, Child));
  442     auto I = find(Blocks, BB);
  971     auto I = find(TopLevelLoops, OldLoop);
include/llvm/Analysis/LoopInfoImpl.h
  270   typename std::vector<LoopT *>::iterator I = find(SubLoops, OldChild);
include/llvm/CodeGen/LiveVariables.h
   94       std::vector<MachineInstr *>::iterator I = find(Kills, &MI);
include/llvm/CodeGen/MachineScheduler.h
  556   iterator find(SUnit *SU) { return llvm::find(Queue, SU); }
include/llvm/IR/CFGDiff.h
  125     return llvm::find(EdgesForBB, EdgeEnd) != EdgesForBB.end();
include/llvm/IR/DataLayout.h
  377     return find(NonIntegralSpaces, AddrSpace) != NonIntegralSpaces.end();
include/llvm/MCA/HardwareUnits/Scheduler.h
  270     assert(find(WaitSet, IR) == WaitSet.end() && "Already in the wait set!");
  271     assert(find(ReadySet, IR) == ReadySet.end() && "Already in the ready set!");
  272     assert(find(IssuedSet, IR) == IssuedSet.end() && "Already executing!");
include/llvm/Support/GenericDomTree.h
  121     auto I = find(IDom->Children, this);
  630       const auto I = find(IDom->Children, Node);
  642     auto RIt = llvm::find(Roots, BB);
include/llvm/Support/GenericDomTreeConstruction.h
  149           assert(llvm::find(Res, Child) != Res.end()
  157           assert(llvm::find(Res, Child) == Res.end() &&
  533         if (llvm::find(Roots, N) != Roots.end()) {
  690     auto RIt = llvm::find(DT.Roots, To->getBlock());
  930       return llvm::find(Successors, SuccCandidate) != Successors.end();
 1065       if (llvm::find(AffectedQueue, To) == AffectedQueue.end())
 1143     auto ChIt = llvm::find(IDom->Children, TN);
lib/Analysis/CFG.cpp
   99   assert(find(predecessors(Dest), TI->getParent()) != pred_end(Dest) &&
lib/Analysis/InstructionSimplify.cpp
 4421   if (find(Indices, -1) != Indices.end())
lib/Analysis/LazyValueInfo.cpp
 1333   return find(Usr->operands(), Op) != Usr->op_end();
lib/Analysis/PHITransAddr.cpp
   65   SmallVectorImpl<Instruction *>::iterator Entry = find(InstInputs, I);
  128   SmallVectorImpl<Instruction *>::iterator Entry = find(InstInputs, I);
  165     InstInputs.erase(find(InstInputs, Inst));
lib/Analysis/ScalarEvolution.cpp
10140   return find(MinMaxExpr->operands(), Candidate) != MinMaxExpr->op_end();
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  117   const auto &VarPos = llvm::find(VarSet, Var);
lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
   57   SymName.append(MId.begin(), llvm::find(MId, '.'));
lib/CodeGen/IfConversion.cpp
 1711     auto NewTrueBBIter = find(BBI.BB->successors(), NewTrueBB);
 2323             find(ToBBI.BB->successors(), Succ),
lib/CodeGen/LatencyPriorityQueue.cpp
  136   std::vector<SUnit *>::iterator I = find(Queue, SU);
lib/CodeGen/MIRCanonicalizerPass.cpp
  204           if (llvm::find(PhysRegDefs, II->getOperand(i).getReg()) ==
  386   if (llvm::find(bbNames, MBB->getName()) != bbNames.end()) {
lib/CodeGen/MIRVRegNamerUtils.cpp
  195     if (llvm::find(renamedInOtherBB, Reg) != renamedInOtherBB.end()) {
lib/CodeGen/MachineBasicBlock.cpp
  677   succ_iterator OldI = llvm::find(successors(), Old);
  679   assert(llvm::find(successors(), New) == succ_end() &&
  695   succ_iterator I = find(Successors, Succ);
  769   pred_iterator I = find(Predecessors, Pred);
lib/CodeGen/MachineBlockPlacement.cpp
 2238   BlockChain::iterator ExitIt = llvm::find(LoopChain, ExitingBB);
lib/CodeGen/MachineBranchProbabilityInfo.cpp
   52   return getEdgeProbability(Src, find(Src->successors(), Dst));
lib/CodeGen/ScheduleDAG.cpp
  177   SmallVectorImpl<SDep>::iterator I = llvm::find(Preds, D);
  184   SmallVectorImpl<SDep>::iterator Succ = llvm::find(N->Succs, P);
lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp
  620   std::vector<SUnit *>::iterator I = find(Queue, SU);
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
 1811     std::vector<SUnit *>::iterator I = llvm::find(Queue, SU);
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  246   auto SlotIt = find(StatepointSlots, *Index);
lib/CodeGen/SelectionDAG/StatepointLowering.h
   81     auto I = llvm::find(PendingGCRelocateCalls, &RelocCall);
lib/ExecutionEngine/MCJIT/MCJIT.cpp
  643   auto I = find(reverse(EventListeners), L);
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  439     auto I = find(reverse(EventListeners), L);
lib/IR/PassRegistry.cpp
  126   auto I = llvm::find(Listeners, L);
lib/MC/MCDwarf.cpp
  621     DirIndex = llvm::find(MCDwarfDirs, Directory) - MCDwarfDirs.begin();
lib/Object/MachOObjectFile.cpp
 2726   return llvm::find(validArchs, ArchFlag) != validArchs.end();
lib/ProfileData/GCOV.cpp
  461   auto it = find(Blocked, U);
  486     if (W < Start || find(Blocks, W) == Blocks.end()) {
  496     } else if (find(Blocked, W) == Blocked.end() && // W is not blocked.
  510       if (W < Start || find(Blocks, W) == Blocks.end()) {
  513       const size_t index = find(Blocked, W) - Blocked.begin();
  515       if (find(List, V) == List.end()) {
  549         if (find(Blocks, W) == Blocks.end()) {
lib/Support/CommandLine.cpp
  453   else if (find(Categories, &C) == Categories.end())
 2480       if (find(Categories, Cat) == Categories.end() && Cat != &GenericCategory)
lib/Target/AArch64/AArch64ISelLowering.cpp
 6302     auto Source = find(Sources, SourceVec);
 6420     auto Src = find(Sources, Entry.getOperand(0));
lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  790         if (SU != Succs[I] && llvm::find(Succs, SU) == Succs.end())
  798       if (llvm::find(Succs, SU) != Succs.end())
lib/Target/AMDGPU/GCNNSAReassign.cpp
  281       if (llvm::find(Intervals, LI) != Intervals.end()) {
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  221     std::vector<unsigned>::iterator ChanPos = llvm::find(UpdatedUndef, Chan);
  255     MIs.erase(llvm::find(MIs, MI), MIs.end());
  260     MIs.erase(llvm::find(MIs, MI), MIs.end());
lib/Target/AMDGPU/SILowerI1Copies.cpp
  216           if (llvm::find(Predecessors, UnreachablePred) == Predecessors.end())
  350     if (llvm::find(Blocks, &MBB) != Blocks.end())
lib/Target/AMDGPU/SIMachineScheduler.cpp
  502   std::vector<SUnit *>::iterator I = llvm::find(TopReadySUs, SU);
lib/Target/ARM/ARMConstantIslandPass.cpp
 1494     IP = find(WaterList, WaterBB);
lib/Target/ARM/ARMFrameLowering.cpp
 1883         auto LRPos = llvm::find(UnspilledCS1GPRs, ARM::LR);
 1887       auto FPPos = llvm::find(UnspilledCS1GPRs, FramePtr);
 2016         UnspilledCS1GPRs.erase(llvm::find(UnspilledCS1GPRs, Reg));
 2034       LRPos = llvm::find(UnspilledCS1GPRs, (unsigned)ARM::LR);
lib/Target/ARM/ARMISelLowering.cpp
 7377     auto Source = llvm::find(Sources, SourceVec);
 7492     auto Src = llvm::find(Sources, Entry.getOperand(0));
lib/Target/Hexagon/HexagonBitSimplify.cpp
 3178           auto F = find(ShufIns, UseI);
lib/Target/Hexagon/HexagonISelLowering.cpp
 1879     if (llvm::find(Tys, ElemTy) != Tys.end()) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
 1474       auto Itr = find(IgnoreDepMIs, &J);
lib/Target/Hexagon/RDFRegisters.h
   47       auto F = llvm::find(Map, Val);
   55       auto F = llvm::find(Map, Val);
lib/Target/Mips/MipsConstantIslandPass.cpp
 1357     IP = llvm::find(WaterList, WaterBB);
lib/Target/X86/X86ISelLowering.cpp
13766         int InputFixed = find(SourceHalfMask, -1) - std::begin(SourceHalfMask) +
17132         assert(find(WidenedMask, SM_SentinelZero) != WidenedMask.end() &&
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  333       auto Entry = find(Worklist, I);
lib/Transforms/IPO/HotColdSplitting.cpp
  268       if (find(Region, SuccBB) == Region.end()) {
lib/Transforms/IPO/Inliner.cpp
 1131           assert(find(DeadFunctions, &Callee) == DeadFunctions.end() &&
lib/Transforms/InstCombine/InstCombinePHI.cpp
 1100                 find(PHIsToSlice, OldInVal) - PHIsToSlice.begin();
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 3111     auto UseI = find(Inc.UserInst->operands(), Inc.IVOperand);
 3248         find(UserInst->operands(), U.getOperandValToReplace());
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1277     auto ValIt = llvm::find(LiveVec, Val);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1864       ParentL->removeChildLoop(llvm::find(*ParentL, &L));
 1866       LI.removeLoop(llvm::find(LI, &L));
lib/Transforms/Utils/BasicBlockUtils.cpp
  239       if (llvm::find(successors(PredBB), *I) == succ_end(PredBB))
lib/Transforms/Utils/BreakCriticalEdges.cpp
  236     if (llvm::find(successors(TIBB), DestBB) == succ_end(TIBB))
lib/Transforms/Utils/Local.cpp
  698       if (llvm::find(successors(*I), DestBB) == succ_end(*I))
 1010       if (llvm::find(successors(*I), Succ) == succ_end(*I))
lib/Transforms/Utils/SimplifyCFG.cpp
 3008         if (llvm::find(FreeStores, S))
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2128                           llvm::find(Entry->ReuseShuffleIndices, FoundLane));
 3640                             llvm::find(E->ReuseShuffleIndices, FoundLane));
tools/clang/include/clang/AST/DeclContextInternals.h
  116     DeclsTy::iterator I = llvm::find(Vec, D);
  120     assert(llvm::find(Vec, D) == Vec.end() && "list still contains decl");
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h
 1607     auto I = llvm::find(Predecessors, BB);
tools/clang/include/clang/Sema/ParsedAttr.h
  618     Attrs.erase(llvm::find(Attrs, attr));
  746     AttrList.erase(llvm::find(AttrList, ToBeRemoved));
tools/clang/lib/ARCMigrate/ARCMT.cpp
   67          llvm::find(IDs, I->getID()) != IDs.end()) &&
tools/clang/lib/AST/ASTContext.cpp
10109         std::end(SeenDecls) == llvm::find(SeenDecls, CurFD)) {
tools/clang/lib/AST/CXXInheritance.cpp
  557   if (llvm::find(SubobjectOverrides, Overriding) == SubobjectOverrides.end())
tools/clang/lib/AST/DeclCXX.cpp
 1657       assert(llvm::find(Convs, ConvDecl) == Convs.end() &&
tools/clang/lib/AST/MicrosoftMangle.cpp
  840             llvm::find(NameBackReferences, TemplateMangling);
 1301   BackRefVec::iterator Found = llvm::find(NameBackReferences, Name);
 3509       const char *Pos = llvm::find(SpecialChars, Byte);
tools/clang/lib/AST/OpenMPClause.cpp
  515       reinterpret_cast<Stmt **>(llvm::find(getUsedExprs(), nullptr)));
tools/clang/lib/AST/RecordLayoutBuilder.cpp
  242   if (llvm::find(Classes, RD) == Classes.end())
tools/clang/lib/AST/Type.cpp
 3310         if (llvm::find(RecordTypeList, FieldRecTy) == RecordTypeList.end())
tools/clang/lib/AST/VTableBuilder.cpp
 1065   if (llvm::find(ThunksVector, Thunk) != ThunksVector.end())
 2454     if (llvm::find(ThunksVector, Thunk) != ThunksVector.end())
tools/clang/lib/Analysis/CFG.cpp
 5766   return llvm::find(*getParent(), this) - getParent()->begin();
tools/clang/lib/Basic/Targets/AVR.cpp
  283       llvm::find(ValidFamilyNames, Name) != std::end(ValidFamilyNames);
tools/clang/lib/Basic/Targets/BPF.cpp
   38   return llvm::find(ValidCPUNames, Name) != std::end(ValidCPUNames);
tools/clang/lib/Basic/Targets/Mips.cpp
   53   return llvm::find(ValidCPUNames, Name) != std::end(ValidCPUNames);
tools/clang/lib/Basic/Targets/PPC.cpp
  227   if (llvm::find(FeaturesVec, "-vsx") != FeaturesVec.end()) {
  228     if (llvm::find(FeaturesVec, "+power8-vector") != FeaturesVec.end()) {
  234     if (llvm::find(FeaturesVec, "+direct-move") != FeaturesVec.end()) {
  240     if (llvm::find(FeaturesVec, "+float128") != FeaturesVec.end()) {
  246     if (llvm::find(FeaturesVec, "+power9-vector") != FeaturesVec.end()) {
  319       llvm::find(FeaturesVec, "+float128") != FeaturesVec.end()) {
  465   return llvm::find(ValidCPUNames, Name) != std::end(ValidCPUNames);
tools/clang/lib/Basic/Targets/Sparc.h
   42     auto Feature = llvm::find(Features, "+soft-float");
tools/clang/lib/Basic/Targets/WebAssembly.cpp
   52   return llvm::find(ValidCPUNames, Name) != std::end(ValidCPUNames);
tools/clang/lib/Basic/Targets/X86.cpp
  447       llvm::find(FeaturesVec, "-popcnt") == FeaturesVec.end())
  453       llvm::find(FeaturesVec, "-prfchw") == FeaturesVec.end())
  460       llvm::find(FeaturesVec, "-mmx") == FeaturesVec.end())
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 7267     if (llvm::find(MapModifiers, OMPC_MAP_MODIFIER_always)
 7270     if (llvm::find(MapModifiers, OMPC_MAP_MODIFIER_close)
tools/clang/lib/Driver/ToolChains/Clang.cpp
 3703       if (llvm::find(kBitcodeOptionBlacklist, A->getOption().getID()) !=
 4425     if (find(kCFABIs, StringRef(A->getValue())) == std::end(kCFABIs))
tools/clang/lib/Driver/ToolChains/Hexagon.cpp
  433   if (llvm::find(RootDirs, TargetDir) == RootDirs.end())
tools/clang/lib/Edit/EditedSource.cpp
   63     if (llvm::find(ArgUses, ArgUse) == ArgUses.end())
tools/clang/lib/Frontend/CompilerInvocation.cpp
  484                 ? llvm::find(Checkers, CheckerOrPackage) != Checkers.end()
  485                 : llvm::find(Packages, CheckerOrPackage) != Packages.end();
tools/clang/lib/Lex/PPDirectives.cpp
 2366       if (llvm::find(Parameters, II) != Parameters.end()) { // C99 6.10.3p6
tools/clang/lib/Lex/Preprocessor.cpp
 1363   assert(llvm::find(CommentHandlers, Handler) == CommentHandlers.end() &&
 1370       llvm::find(CommentHandlers, Handler);
tools/clang/lib/Sema/ScopeInfo.cpp
  212       llvm::find(llvm::reverse(Uses->second), WeakUseTy(E, true));
tools/clang/lib/Sema/SemaAccess.cpp
  129     return llvm::find(Records, R) != Records.end();
tools/clang/lib/Sema/SemaChecking.cpp
12313         auto ParamIter = llvm::find(FD->parameters(), PV);
14655       auto MA = llvm::find(MisalignedMembers, MisalignedMember(Op));
tools/clang/lib/Sema/SemaDecl.cpp
 8313     auto Match = llvm::find(Names, DesugaredTy.getAsString());
tools/clang/lib/Sema/SemaExpr.cpp
11669         if (llvm::find(RecordTypeList, FieldRecTy) == RecordTypeList.end())
tools/clang/lib/Sema/SemaExprCXX.cpp
 7733           auto SI = find(SemaTypoExprs, TE);
 7830       auto FI = find(TypoExprs, TE);
tools/clang/lib/Sema/SemaInit.cpp
 9619     if (llvm::find(CurrentParameterCopyTypes, Entity.getType()) !=
tools/clang/lib/Sema/SemaLookup.cpp
 4566     if (SameNameSpecifier || llvm::find(CurContextIdentifiers, Name) !=
tools/clang/lib/Sema/SemaOpenMP.cpp
15521         llvm::find(Modifiers, MapTypeModifiers[I]) != std::end(Modifiers)) {
tools/clang/lib/Serialization/ASTReader.cpp
 9031   auto I = llvm::find(PCHModules, F);
tools/clang/lib/Serialization/ModuleManager.cpp
  252       PCHChain.erase(llvm::find(PCHChain, &*I), PCHChain.end());
tools/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
  208       return (llvm::find(DstArgs, ArgNum) != DstArgs.end());
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  720         if (llvm::find(InvalidatedRegions, Region) !=
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
 1446       if (llvm::find(SrcContexts, DstContext) != SrcContexts.end())
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  488         llvm::find(Checkers, CheckerInfo(SuppliedCheckerOrPackage));
  496         llvm::find(Packages, PackageInfo(SuppliedCheckerOrPackage));
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  288         return llvm::find(Checks, CheckName) != Checks.end();
tools/clang/tools/extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp
  113   if (llvm::find(DisallowedSeedTypes, SeedType) != DisallowedSeedTypes.end()) {
tools/clang/tools/libclang/CIndexHigh.cpp
  112     if (llvm::find(TopMethods, D) != TopMethods.end())
  119       if (llvm::find(TopMethods, *I) != TopMethods.end())
tools/clang/tools/libclang/CXCursor.cpp
  113           llvm::find(SelLocs, RegionOfInterest.getBegin());
  569           llvm::find(SelLocs, RegionOfInterest.getBegin());
tools/clang/unittests/Tooling/ToolingTest.cpp
  472     return llvm::find(FinalArgs, Flag) != FinalArgs.end();
  503     return llvm::find(FinalArgs, Flag) != FinalArgs.end();
tools/lld/ELF/EhFrame.cpp
   98   const uint8_t *end = llvm::find(d, '\0');
tools/lld/lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  551     auto personality = llvm::find(personalities, entry.personalityFunction);
tools/lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
 1109       auto fn_iter = llvm::find(cci->m_file_list, *efn);
tools/llvm-pdbutil/ExplainOutputStyle.cpp
  236   auto Iter = llvm::find(StreamBlocks, BlockIndex);
tools/llvm-pdbutil/llvm-pdbutil.cpp
  891   if (llvm::find(SymTypes, Search) != SymTypes.end())
  893   if (llvm::find(SymTypes, SymLevel::All) != SymTypes.end())
unittests/Analysis/LazyCallGraphTest.cpp
  977   EXPECT_NE(find(MergedRCs, &BRC), MergedRCs.end());
  978   EXPECT_NE(find(MergedRCs, &CRC), MergedRCs.end());
  979   EXPECT_NE(find(MergedRCs, &DRC), MergedRCs.end());
 1051   EXPECT_NE(find(MergedRCs, &BRC), MergedRCs.end());
 1052   EXPECT_NE(find(MergedRCs, &CRC), MergedRCs.end());
 1053   EXPECT_NE(find(MergedRCs, &DRC), MergedRCs.end());
unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h
   85     if (find(UnsupportedEnvironments, Host.getEnvironment()) !=
unittests/IR/DominatorTreeBatchUpdatesTest.cpp
   65   EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, B, C}), Legalized.end());
   66   EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, B, D}), Legalized.end());
   67   EXPECT_NE(llvm::find(Legalized, DomUpdate{Delete, A, B}), Legalized.end());
   88   EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, C, B}), Legalized.end());
   89   EXPECT_NE(llvm::find(Legalized, DomUpdate{Insert, D, B}), Legalized.end());
   90   EXPECT_NE(llvm::find(Legalized, DomUpdate{Delete, B, A}), Legalized.end());
unittests/Support/Path.cpp
  854   v_t::const_iterator a0 = find(visited, "a0");
  855   v_t::const_iterator aa1 = find(visited, "aa1");
  856   v_t::const_iterator ab1 = find(visited, "ab1");
  857   v_t::const_iterator dontlookhere = find(visited, "dontlookhere");
  858   v_t::const_iterator da1 = find(visited, "da1");
  859   v_t::const_iterator z0 = find(visited, "z0");
  860   v_t::const_iterator za1 = find(visited, "za1");
  861   v_t::const_iterator pop = find(visited, "pop");
  862   v_t::const_iterator p1 = find(visited, "p1");
unittests/Support/ThreadPool.cpp
   33     if (find(UnsupportedEnvironments, Host.getEnvironment()) !=
utils/TableGen/AsmMatcherEmitter.cpp
 1926   unsigned ID = IsNew ? Table.size() - 1 : find(Table, Name) - Table.begin();
utils/TableGen/AsmWriterEmitter.cpp
  179     auto I = llvm::find(UniqueOperandCommands, Command);
  879                   llvm::find(PrintMethods, PrintMethod) - PrintMethods.begin();
utils/TableGen/CodeGenSchedule.cpp
 2144   RecIter PRPos = find(ProcResourceDefs, PRDef);
utils/TableGen/FixedLenDecoderEmitter.cpp
 1182   DecoderSet::const_iterator P = find(Decoders, Decoder.str());
 1254   PredicateSet::const_iterator P = find(TableInfo.Predicates, Predicate);