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

References

lib/Analysis/DomTreeUpdater.cpp
  280     if (!isSelfDominance(U) && Seen.count(Edge) == 0) {
lib/Analysis/LoopAccessAnalysis.cpp
  374     if (Seen.count(I))
lib/Analysis/MemorySSAUpdater.cpp
  216   if (NonOptPhis.count(Phi))
lib/CodeGen/BranchFolding.cpp
 1923     if (Uses.count(Reg)) {
 2025         if (Uses.count(Reg)) {
 2032         if (Defs.count(Reg) && !MO.isDead()) {
 2047       } else if (!ActiveDefsSet.count(Reg)) {
 2048         if (Defs.count(Reg)) {
 2054         if (MO.isKill() && Uses.count(Reg))
 2074       if (!AllDefsSet.count(Reg)) {
lib/CodeGen/CodeGenPrepare.cpp
 4720     if (GEP && !NewGEPBases.count(GEP)) {
lib/CodeGen/IfConversion.cpp
 1953         } else if (!RedefsByFalse.count(Reg)) {
 1963         if (!ExtUses.count(Reg)) {
 2119     if (MO.isDef() && !LaterRedefs.count(Reg))
lib/CodeGen/LiveVariables.cpp
  253         if (Processed.count(SubReg))
  255         if (PartDefRegs.count(SubReg))
  372       if (!PartUses.count(SubReg))
  460       if (Live.count(SubReg))
  476     if (!Live.count(SubReg))
  616     if ((PhysRegDef[i] || PhysRegUse[i]) && !LiveOuts.count(i))
lib/CodeGen/LocalStackSlotAllocation.cpp
  256     if (ProtectedObjs.count(i))
lib/CodeGen/MachineBasicBlock.cpp
 1049       if (PHISrcRegs.count(Reg) || !LIS->hasInterval(Reg))
lib/CodeGen/MachineCSE.cpp
  310     if (PhysRefs.count(Reg))
  384       if (PhysRefs.count(MOReg))
lib/CodeGen/MachineInstrBundle.cpp
  161       if (LocalDefSet.count(Reg)) {
  214       bool isDead = DeadDefSet.count(Reg) || KilledDefSet.count(Reg);
  214       bool isDead = DeadDefSet.count(Reg) || KilledDefSet.count(Reg);
  222     bool isKill = KilledUseSet.count(Reg);
  223     bool isUndef = UndefUseSet.count(Reg);
lib/CodeGen/MachineLICM.cpp
  409       if (!StoredFIs.count(FI) &&
  546         StoredFIs.count(Candidate.FI))
lib/CodeGen/MachinePipeliner.cpp
 1569           if (!Uses.count(Reg))
 1574             if (!Uses.count(*Units))
lib/CodeGen/PeepholeOptimizer.cpp
 1364     if (ImmDefRegs.count(Reg) == 0)
 1497   if (TargetRegs.count(Reg))
 1762           if (FoldAsLoadDefCandidates.count(FoldAsLoadDefReg)) {
lib/CodeGen/PrologEpilogInserter.cpp
 1011     if (ProtectedObjs.count(i))
lib/CodeGen/RegAllocFast.cpp
  912       if (ThroughRegs.count(PhysRegState[*AI]))
lib/CodeGen/RegAllocGreedy.cpp
  908       if (FixedRegisters.count(Intf->reg))
 2553           FixedRegisters.count(Intf->reg)) {
 2629   assert(!FixedRegisters.count(VirtReg.reg));
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
  765   if (!Order || Seen.count(Order)) {
lib/CodeGen/TwoAddressInstructionPass.cpp
  313         else if (UseRegs.count(MOReg))
 1136         if (Defs.count(MOReg))
 1140         if (Kills.count(MOReg))
 1154       if (Uses.count(MOReg))
 1156       if (Register::isPhysicalRegister(MOReg) && LiveDefs.count(MOReg))
lib/DebugInfo/DWARF/DWARFVerifier.cpp
 1161     if (NI.getCUCount() > 1 && !Attributes.count(dwarf::DW_IDX_compile_unit)) {
 1168     if (!Attributes.count(dwarf::DW_IDX_die_offset)) {
lib/IR/DebugInfoMetadata.cpp
  101     if (Locations.count(std::make_pair(S, L)))
lib/IR/Metadata.cpp
 1212     return !KnownSet.count(I.first);
lib/Object/TapiFile.cpp
   53       if (interface.getPlatforms().count(PlatformKind::macOS) &&
lib/Target/AArch64/AArch64CollectLOH.cpp
  495     if (!UsesSeen.count(Idx)) {
lib/Target/AArch64/AArch64ISelLowering.cpp
 3916       if (RegsUsed.count(VA.getLocReg())) {
 4213     if (RegsUsed.count(VA.getLocReg())) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  769       if (SGPROperandRegs.count(Op.getReg())) {
lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
  434     if (OutArgIndexes.count(Arg.getArgNo())) {
  449     if (!OutArgIndexes.count(Arg.getArgNo()))
lib/Target/ARM/ARMBaseInstrInfo.cpp
  973     assert(!DstRegs.count(Src) && "destructive vector copy");
lib/Target/ARM/ARMBaseInstrInfo.h
  439     return MLxHazardOpcodes.count(Opcode);
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
 2127       if (Reg != Base && !MemRegs.count(Reg))
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
11608       if (FeatureMissesSeen.count(MissingFeatures))
lib/Target/ARM/Thumb2ITBlockPass.cpp
  117     if (!Uses.count(MO.getReg()))
  152   if (Uses.count(DstReg) || Defs.count(SrcReg))
  152   if (Uses.count(DstReg) || Defs.count(SrcReg))
lib/Target/ARM/Thumb2SizeReduction.cpp
  313     if (Defs.count(Reg))
lib/Target/Hexagon/HexagonFrameLowering.cpp
 2125         if (BadFIs.count(FI))
 2171       if (BadFIs.count(P.first))
 2193     if (BadFIs.count(P.first))
 2216         if (LoxFIs.count(I))
 2238       if (BadFIs.count(FI))
 2281         if (LoxFIs.count(FI) && (&Range == &RL.back())) {
lib/Target/Hexagon/HexagonHardwareLoops.cpp
 1751     if (CmpRegs.count(I->first))
 1758     if (CmpRegs.count(RB.first)) {
lib/Target/Hexagon/HexagonHazardRecognizer.cpp
   51       if (!MO.isReg() || RegDefs.count(MO.getReg()) == 0)
lib/Target/Lanai/LanaiDelaySlotFiller.cpp
  258     if (RegSet.count(*AI))
lib/Target/RISCV/RISCVISelLowering.cpp
 1270           SelectDests.count(SequenceMBBI->getOperand(4).getReg()) ||
 1271           SelectDests.count(SequenceMBBI->getOperand(5).getReg()))
 1281             return MO.isReg() && MO.isUse() && SelectDests.count(MO.getReg());
lib/Target/Sparc/DelaySlotFiller.cpp
  348     if (RegSet.count(*AI))
lib/Target/SystemZ/SystemZRegisterInfo.cpp
   67     if (CopyHints.count(Reg) &&
   71     if (!CopyHints.count(Reg) &&
  189     if (TwoAddrHints.count(OrderReg))
lib/Target/X86/X86FloatingPoint.cpp
 1593       if (FRegIdx.count(I)) {
 1638       if (FRegIdx.count(i))
lib/Target/X86/X86FrameLowering.cpp
  187       if (!Uses.count(CS) && CS != X86::RIP && CS != X86::RSP &&
lib/Target/X86/X86SpeculativeLoadHardening.cpp
 1746             !HardenedAddrRegs.count(BaseReg) &&
 1747             !HardenedAddrRegs.count(IndexReg)) {
lib/TextAPI/MachO/TextStubCommon.cpp
   51   if (Ctx && Ctx->FileKind == TBD_V3 && Values.count(PlatformKind::macOS) &&
   52       Values.count(PlatformKind::macCatalyst)) {
lib/Transforms/IPO/SampleProfile.cpp
 1145   if (!VisitedEdges.count(E)) {
lib/Transforms/Scalar/JumpThreading.cpp
  426           !LoopHeaders.count(&BB) && !LoopHeaders.count(BI->getSuccessor(0)) &&
  426           !LoopHeaders.count(&BB) && !LoopHeaders.count(BI->getSuccessor(0)) &&
 1597   if (LoopHeaders.count(BB))
 1730                return LoopHeaders.count(PredToDest.second) != 0;
 1938   if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) {
 1938   if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) {
 1940       bool BBIsHeader = LoopHeaders.count(BB);
 1941       bool SuccIsHeader = LoopHeaders.count(SuccBB);
 2269   if (LoopHeaders.count(BB)) {
 2565   if (LoopHeaders.count(BB))
lib/Transforms/Vectorize/VPlan.h
 1219   bool hasVF(unsigned VF) { return VFs.count(VF); }
tools/clang/include/clang/Basic/TargetInfo.h
  886                ImmSet.count(Value.getZExtValue()) != 0;
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
  333       if (Filter.count(std::make_pair(LocStart, LocEnd)))
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  261       ArchsWithBadVersion.count(Arch) > 0)
tools/clang/lib/Sema/Sema.cpp
 1541       if (!Seen.count(TemplFD) && !S.DeviceKnownEmittedFns.count(TemplFD)) {
 1557       if (Seen.count(NewCallee) || IsKnownEmitted(S, NewCallee))
tools/clang/lib/Sema/SemaLookup.cpp
 4835       locs->second.count(TypoName.getLoc()))
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
  986   if (LSM.count(MethodDescription) ||
tools/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp
  184     if (!SelectorsForClass[SuperclassName].count(S))
tools/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp
   98     if (reachable.count(CB->getBlockID()))
  106     if (!visited.count(CB->getBlockID()))
  110     if (reachable.count(CB->getBlockID()))
  188     if (!reachable.count((*I)->getBlockID())) {
  192       if (!visited.count((*I)->getBlockID()))
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
  308     if (PreserveArgs.count(Idx))
tools/clang/tools/extra/clang-tidy/utils/HeaderFileExtensionsUtils.cpp
   65   return HeaderFileExtensions.count(extension.substr(1)) > 0;
tools/lld/wasm/Writer.cpp
  422   if (allowed.count("atomics") && !config->sharedMemory) {
  437   if (!allowed.count("atomics") && config->sharedMemory)
  441   if (!allowed.count("bulk-memory") && config->sharedMemory)
  445   if (!allowed.count("bulk-memory") && tlsUsed)
  452       if (!allowed.count(feature))
  472       if (!objectFeatures.count(feature))
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
 2118   if (m_function_types.count(type))
tools/llvm-cfi-verify/lib/FileAnalysis.cpp
  182   return TrapOnFailFunctionAddresses.count(Target) > 0;
  559     else if (TrapOnFailFunctions.count(*SymNameOrErr) > 0) {
  573       else if (TrapOnFailFunctions.count(*SymNameOrErr) > 0)
unittests/ADT/SmallSetTest.cpp
   32     EXPECT_EQ(1u, s1.count(i));
   34   EXPECT_EQ(0u, s1.count(4));
   46     EXPECT_EQ(1u, s1.count(i));
   48   EXPECT_EQ(0u, s1.count(8));
   61     EXPECT_EQ(1u, s1.count(i));
   63     EXPECT_EQ(0u, s1.count(i));
   66       EXPECT_EQ(1u, s1.count(j));
   69   EXPECT_EQ(0u, s1.count(8));
unittests/TextAPI/TextStubV3Tests.cpp
  311 	    EXPECT_EQ(Platforms.count(Platform), 1U);
unittests/TextAPI/TextStubV4Tests.cpp
  128     EXPECT_EQ(Platforms.count(Platform), 1U);
  257     EXPECT_EQ(Platforms.count(Platform), 1U);
  279     EXPECT_EQ(Platforms.count(Platform), 1U);
utils/TableGen/CodeGenDAGPatterns.cpp
  585                               return !ST.count(T.getVectorElementType());
  589     Changed |= berase_if(E, [&VT](MVT T) -> bool { return !VT.count(T); });
  687     return !Lengths.count(T.isVector() ? T.getVectorNumElements() : 0);
  721     return !Sizes.count(T.getSizeInBits());
utils/TableGen/CodeGenRegisters.cpp
 1405           if (!UserDefined.count({Idx1, Idx2}) ||