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

References

include/llvm/ADT/AllocatorList.h
  123       return L.wrapped() == R.wrapped();
include/llvm/ADT/STLExtras.h
  596     return std::get<0>(this->iterators) == std::get<0>(other.iterators);
  833     if (Begin == End)
  862     if (Begin == End)
include/llvm/ADT/ilist.h
  285     if (position == last)
  333     if (where == first || where == last) return; // No change
  333     if (where == first || where == last) return; // No change
  360     if (I == begin())
  372     if (Next == end())
include/llvm/ADT/iterator.h
  263   bool operator==(const DerivedT &RHS) const { return I == RHS.I; }
include/llvm/ADT/simple_ilist.h
  281       if (RI == RE)
  294   if (empty() || std::next(begin()) == end())
include/llvm/CodeGen/MachineBasicBlock.h
  640     assert((I == instr_end() || I->getParent() == this) &&
include/llvm/CodeGen/MachineInstrBuilder.h
  547   bool empty() const { return Begin == End; }
  560     if (I == Begin) {
  566     if (I == End) {
include/llvm/CodeGen/MachineInstrBundle.h
  102       if (++InstrI == InstrE || !InstrI->isInsideBundle())
include/llvm/CodeGen/MachineInstrBundleIterator.h
  186     return L.MII == R.MII;
  190     return L.MII == R; // Avoid assertion about validity of R.
  194     return L == R.MII; // Avoid assertion about validity of L.
  198     return L.MII == R; // Avoid assertion about validity of R.
  202     return L == R.MII; // Avoid assertion about validity of L.
include/llvm/CodeGen/MachineRegisterInfo.h
 1040         } while (Op && getBundleStart(Op->getParent()->getIterator()) == P);
 1146         } while (Op && getBundleStart(Op->getParent()->getIterator()) == P);
include/llvm/CodeGen/SlotIndexes.h
  613       if (nextMBB == mbb->getParent()->end()) {
include/llvm/IR/InstIterator.h
   80     return BB == y.BB && (BB == BBs->end() || BI == y.BI);
   80     return BB == y.BB && (BB == BBs->end() || BI == y.BI);
   80     return BB == y.BB && (BB == BBs->end() || BI == y.BI);
   96     while (BB == BBs->end() || BI == BB->begin()) {
   96     while (BB == BBs->end() || BI == BB->begin()) {
  113     while (BI == BB->end()) {
  115       if (BB == BBs->end()) break;
lib/Analysis/LazyValueInfo.cpp
  844   if (BBI->getIterator() == BBI->getParent()->begin())
lib/Analysis/MemoryDependenceAnalysis.cpp
  737   if (BasicBlock::iterator(QueryInst) == QueryParent->begin()) {
lib/Analysis/MemorySSA.cpp
 1628   bool WasEnd = InsertPt == Accesses->end();
 1644       if (InsertPt == Accesses->end())
lib/Analysis/MemorySSAUpdater.cpp
  263     assert((!Defs || (++Defs->begin() == Defs->end())) &&
  368     if (Iter == IterEnd)
 1182       MemoryUseOrDef *NextMUD = (!Accs || NextIt == Accs->end())
lib/Analysis/OrderedBasicBlock.cpp
   37   assert(!(LastInstFound == BB->end() && NextInstPos != 0) &&
   91     if (LastInstFound == BB->begin()) {
lib/Analysis/ScalarEvolutionExpander.cpp
   61           if (BasicBlock::iterator(CI) != IP || BIP == IP) {
  207       if (IP == BlockBegin) break;
  538         if (IP == BlockBegin) break;
  991   if (Builder.GetInsertPoint() == It)
  994     if (InsertPtGuard->GetInsertPoint() == It)
lib/Bitcode/Reader/BitcodeReader.cpp
 2800           if (BBI == BBE)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  963   if (I == MBB->instr_end() &&
  964       MBB->getReverseIterator() == MBB->getParent()->rbegin())
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  576   bool ShouldTryEmitEntryVals = MBB->getIterator() == MF->begin();
lib/CodeGen/AsmPrinter/WinException.cpp
  907     if (FuncletStart == MF->begin()) {
lib/CodeGen/BranchFolding.cpp
 1418     if (FallThrough == MF.end()) {
 1548         MachineFunction::iterator(PriorTBB) == FallThrough &&
 1557       if (FallThrough == --MF.end() &&
lib/CodeGen/CodeGenPrepare.cpp
  607       if (BBI == BB->begin())
 2037       if (RI == RE)
lib/CodeGen/GlobalISel/InstructionSelector.cpp
   78       std::next(MI.getIterator()) == IntoMI.getIterator())
lib/CodeGen/IfConversion.cpp
  638   if (++I == E)
  706     if (++I == TrueBBI.BB->getParent()->end())
 1444     if (I == E || !I->empty() || !PI->isSuccessor(&*I))
lib/CodeGen/InterferenceCache.cpp
  209     if (++MFI == MF->end())
lib/CodeGen/LiveDebugVariables.cpp
 1364       if (++MBB == MFEnd)
 1372     if (MBB == MFEnd)
lib/CodeGen/MIRCanonicalizerPass.cpp
  286     if (UseI == MBB->instr_end())
lib/CodeGen/MachineBasicBlock.cpp
  164   assert((I == E || !I->isInsideBundle()) &&
  823   return std::next(I) == MachineFunction::const_iterator(MBB);
  830   if (Fallthrough == getParent()->end())
  857   if (MachineFunction::iterator(TBB) == Fallthrough ||
  858       MachineFunction::iterator(FBB) == Fallthrough)
 1018       std::next(MachineFunction::iterator(NMBB)) == getParent()->end();
 1302   if (MBBI == instr_begin()) return {};
lib/CodeGen/MachineBlockPlacement.cpp
 2980   if (std::next(MF.begin()) == MF.end())
 3136   if (std::next(F.begin()) == F.end())
lib/CodeGen/MachineInstrBundle.cpp
  262     if (MII == MIE)
lib/CodeGen/MachineLoopInfo.cpp
   61       if (TopMBB->getIterator() == Begin)
lib/CodeGen/MachineVerifier.cpp
  682       if (MBBI == MF->end()) {
  733       if (MBBI == MF->end()) {
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  873   if (HasDbg && BB->getParent()->begin() == MachineFunction::iterator(BB)) {
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 8578     if (Node.getIterator() == SortedPos) {
 8591   assert(SortedPos == AllNodes.end() &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10024   if (++I == FuncInfo.MF->end())
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1035     if (ISelPosition == SelectionDAG::allnodes_iterator(N))
lib/CodeGen/TwoAddressInstructionPass.cpp
  736   assert(MBB->getIterator() == MFI &&
lib/CodeGen/XRayInstrumentation.cpp
  190   if (MBI == MF.end())
lib/ExecutionEngine/Interpreter/Execution.cpp
 1143       bool atBegin(Parent->begin() == me);
lib/IR/Core.cpp
 1133   if (I == Mod->named_metadata_end())
 1141   if (I == Mod->named_metadata_begin())
 1149   if (++I == NamedNode->getParent()->named_metadata_end())
 1157   if (I == NamedNode->getParent()->named_metadata_begin())
 2089   if (I == Mod->global_end())
 2097   if (I == Mod->global_begin())
 2105   if (++I == GV->getParent()->global_end())
 2113   if (I == GV->getParent()->global_begin())
 2215   if (I == Mod->alias_end())
 2223   if (I == Mod->alias_begin())
 2231   if (++I == Alias->getParent()->alias_end())
 2239   if (I == Alias->getParent()->alias_begin())
 2267   if (I == Mod->end())
 2275   if (I == Mod->begin())
 2283   if (++I == Func->getParent()->end())
 2291   if (I == Func->getParent()->begin())
 2515   if (I == Mod->ifunc_end())
 2523   if (I == Mod->ifunc_begin())
 2531   if (++I == GIF->getParent()->ifunc_end())
 2539   if (I == GIF->getParent()->ifunc_begin())
 2603   if (I == Func->end())
 2611   if (I == Func->begin())
 2619   if (++I == Block->getParent()->end())
 2627   if (I == Block->getParent()->begin())
 2698   if (I == Block->end())
 2706   if (I == Block->begin())
 2714   if (++I == Instr->getParent()->end())
 2722   if (I == Instr->getParent()->begin())
lib/IR/Instruction.cpp
   96   assert(I == BB.end() || I->getParent() == &BB);
lib/IR/LegacyPassManager.cpp
  216     if (It == M.end())
lib/Target/AArch64/AArch64A53Fix835769.cpp
  136   if (MBBI == MBB->getParent()->begin())
lib/Target/AMDGPU/AMDGPULibCalls.cpp
 1325     if (BBI == CI->getParent()->begin())
lib/Target/AMDGPU/SIShrinkInstructions.cpp
  519     if (!MovX || I == E)
lib/Target/ARM/ARMConstantIslandPass.cpp
  621   if (std::next(MBBI) == MBB->getParent()->end())
 1029   if (++NextBlock == MF->end()) {
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
  147   if (FirstTerm == B.instr_end())
lib/Target/Hexagon/HexagonGenExtract.cpp
  235     bool Last = (I == Begin);
lib/Target/Hexagon/HexagonInstrInfo.cpp
  396   if (I == MBB.instr_begin())
  422     if (I == MBB.instr_begin())
  435     if (I == MBB.instr_begin())
  454     if (I == MBB.instr_begin())
  607           MachineFunction::iterator(NewTBB) == ++MBB.getIterator()) {
 3231   if (I == MBB.instr_begin())
 3256     if (I == MBB.instr_begin())
 3276     if (I == MBB.instr_begin())
 3620       if (NextIt == B.instr_end()) {
lib/Target/Hexagon/HexagonVectorPrint.cpp
  179     if (MBB->instr_end() == MII)
lib/Target/Lanai/LanaiDelaySlotFiller.cpp
  165         FI == LastFiller || I->isPseudo())
lib/Target/Mips/MicroMipsSizeReduction.cpp
  461   if (NextMII == E)
  618   if (NextMII == E)
lib/Target/Mips/MipsBranchExpansion.cpp
  748           std::next(I) == FI->end() && std::next(FI) == MFp->end();
lib/Target/Mips/MipsConstantIslandPass.cpp
  593   if (std::next(MBBI) == MBB->getParent()->end())
  941   if (NextBlock == MF->end()) {
lib/Target/PowerPC/PPCCTRLoops.cpp
  173     if (MachineFunction::iterator(MBB) == MBB->getParent()->begin()) {
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  220         if (I == MBB.instr_end())
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  386   if (Iter == MF.end()) {
  467   if (Iter == MF.end()) {
lib/Target/X86/X86FlagsCopyLowering.cpp
  348   if (MF.begin() == MF.end())
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  416   if (MF.begin() == MF.end())
  980     if (MII == MBB.instr_rend())
lib/Transforms/IPO/BlockExtractor.cpp
  186       if (Res == F->end())
lib/Transforms/IPO/GlobalOpt.cpp
 2826   if (FuncIter == M.end())
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
 1512   if (!OtherBr || BBI == OtherBB->begin())
 1523       if (BBI==OtherBB->begin())
 1554           BBI->mayWriteToMemory() || BBI == OtherBB->begin())
lib/Transforms/Instrumentation/Instrumentation.cpp
   27   if (I == IP) {
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  766     if (BB->getFirstInsertionPt() == BB->end())
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  520   if (BB->getFirstInsertionPt() == BB->end())
lib/Transforms/ObjCARC/DependencyAnalysis.cpp
  236       if (LocalStartPos == StartBBBegin) {
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  480       if (BBI == InstParent->begin()) {
lib/Transforms/ObjCARC/PtrState.cpp
  269       InsertAfter = IP == BB->end() ? std::prev(BB->end()) : IP;
lib/Transforms/Scalar/DeadStoreElimination.cpp
  141     if (NewIter == DeadInst->getIterator())
lib/Transforms/Scalar/GVN.cpp
 2171     bool AtStart = BI == BB->begin();
lib/Transforms/Scalar/IndVarSimplify.cpp
 2637       if (isa<DbgInfoIntrinsic>(I) && I == Preheader->begin())
lib/Transforms/Scalar/JumpThreading.cpp
 1385     while (!PredAvailable && SinglePredBB && BBIt == SinglePredBB->begin() &&
lib/Transforms/Scalar/LoopSink.cpp
  156     if (BB->getFirstInsertionPt() == BB->end()) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  642   if (Before == OrigBB->begin())
lib/Transforms/Scalar/Sink.cpp
  220     ProcessedBegin = I == BB.begin();
lib/Transforms/Scalar/StructurizeCFG.cpp
  739     if (!NeedEmpty || Entry->getFirstInsertionPt() == Entry->end())
lib/Transforms/Scalar/TailRecursionElimination.cpp
  466     if (BBI == BB->begin())
lib/Transforms/Utils/FlattenCFG.cpp
  345     if (iter1 == end1) {
lib/Transforms/Utils/FunctionComparator.cpp
  788   if (InstL != InstLE && InstR == InstRE)
  790   if (InstL == InstLE && InstR != InstRE)
lib/Transforms/Utils/IntegerDivision.cpp
  393     bool IsInsertPoint = Rem->getIterator() == Builder.GetInsertPoint();
  452     bool IsInsertPoint = Div->getIterator() == Builder.GetInsertPoint();
lib/Transforms/Utils/SimplifyCFG.cpp
 5982       if (i == I->getParent()->end() || i->mayHaveSideEffects())
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3395       if (PrevInstIt == PrevInst->getParent()->rend()) {
tools/clang/lib/CodeGen/CGBlocks.cpp
 1670             entry_ptr == entry->end() ? nullptr : &*entry_ptr);
tools/clang/lib/CodeGen/CGCall.cpp
 2762           if (II == IE)
tools/clang/lib/CodeGen/CGCleanup.cpp
  534   assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end());
tools/clang/unittests/CodeGen/TBAAMetadataTest.cpp
   89     assert(FuncPtr == M->end());
   96     assert(BBPtr == Func.end());
tools/dsymutil/MachOUtils.cpp
  293     if (Sec->begin() == Sec->end() || !Layout.getSectionFileSize(Sec))
  429     if (Sec->begin() == Sec->end())
  552     if (Sec.begin() == Sec.end())
tools/llvm-diff/DifferenceEngine.cpp
  636     if (I == LStart->getParent()->begin()) return;
  649     if (I == RStart->getParent()->begin()) return;
tools/llvm-extract/llvm-extract.cpp
  276       if (Res == F->end()) {
unittests/ADT/IListTest.cpp
   85   EXPECT_TRUE(std::next(List.begin()) == List.end());
  141   EXPECT_TRUE(E == List.end());
  298   (void)(L.begin() == L.end());
usr/include/c++/7.4.0/bits/stl_algo.h
  509     { return __last == std::find_if_not(__first, __last, __pred); }
  526     { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); }
 3210     { return std::is_sorted_until(__first, __last) == __last; }
 3225     { return std::is_sorted_until(__first, __last, __comp) == __last; }
 3232       if (__first == __last)
 5585       if (__first == __last)
usr/include/c++/7.4.0/bits/stl_iterator.h
  304     { return __x.base() == __y.base(); }
usr/include/c++/7.4.0/tuple
 1372 	return bool(std::get<__i>(__t) == std::get<__i>(__u))
utils/unittest/googlemock/include/gmock/gmock-matchers.h
  206   bool operator()(const A& a, const B& b) const { return a == b; }
utils/unittest/googletest/include/gtest/gtest.h
 1392   if (lhs == rhs) {