| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPostLegalizer.cpp | 128 SmallPtrSet<MachineBasicBlock *, 8> Seen; in visit() local 131 Seen.insert(ToVisit.top()); in visit() 139 if (Seen.contains(Succ)) in visit() 142 Seen.insert(Succ); in visit()
|
| H A D | SPIRVStructurizer.cpp | 192 SmallPtrSet<BasicBlock *, 8> Seen; in visit() local 195 Seen.insert(ToVisit.top()); in visit() 204 if (Seen.contains(Succ)) in visit() 207 Seen.insert(Succ); in visit() 430 std::unordered_set<BasicBlock *> Seen; in createAliasBlocksForComplexEdges() local 435 auto [Iterator, Inserted] = Seen.insert(Src); in createAliasBlocksForComplexEdges() 972 BlockSet Seen; in splitSwitchCases() local 973 Seen.insert(SI->getDefaultDest()); in splitSwitchCases() 978 if (Seen.count(Target) == 0) { in splitSwitchCases() 979 Seen.insert(Target); in splitSwitchCases()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMCResourceInfo.cpp | 110 SmallPtrSet<const MCExpr *, 8> Seen; in flattenedCycleMax() local 158 if (Seen.insert(SymVal).second) in flattenedCycleMax() 195 SmallPtrSet<const Function *, 8> Seen; in assignResourceInfoExpr() local 199 if (!Seen.insert(Callee).second) in assignResourceInfoExpr() 306 SmallPtrSet<const Function *, 8> Seen; in gatherResourceInfo() local 307 Seen.insert(&MF.getFunction()); in gatherResourceInfo() 309 if (!Seen.insert(Callee).second) in gatherResourceInfo()
|
| H A D | AMDGPULowerBufferFatPointers.cpp | 1331 SmallPtrSetImpl<Value *> &Seen); 1441 SmallPtrSetImpl<Value *> &Seen) { in getPossibleRsrcRoots() argument 1443 if (!Seen.insert(I).second) in getPossibleRsrcRoots() 1449 getPossibleRsrcRoots(cast<Instruction>(In), Roots, Seen); in getPossibleRsrcRoots() 1452 if (!Seen.insert(SI).second) in getPossibleRsrcRoots() 1459 getPossibleRsrcRoots(cast<Instruction>(TrueVal), Roots, Seen); in getPossibleRsrcRoots() 1461 getPossibleRsrcRoots(cast<Instruction>(FalseVal), Roots, Seen); in getPossibleRsrcRoots() 1470 SmallPtrSet<Value *, 4> Seen; in processConditionals() local 1484 Seen.clear(); in processConditionals() 1485 getPossibleRsrcRoots(I, Roots, Seen); in processConditionals() [all …]
|
| H A D | SIOptimizeExecMasking.cpp | 304 bool Seen = false; in fixTerminators() local 308 return Seen ? FirstNonTerm : I; in fixTerminators() 311 if (!Seen) { in fixTerminators() 313 Seen = true; in fixTerminators()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | PlaceSafepoints.cpp | 472 DenseSet<BasicBlock *> &Seen, in scanOneBB() argument 489 if (Seen.insert(Succ).second) { in scanOneBB() 499 DenseSet<BasicBlock *> &Seen) { in scanInlinedCode() argument 502 Seen.insert(Start->getParent()); in scanInlinedCode() 503 scanOneBB(Start, End, Calls, Seen, Worklist); in scanInlinedCode() 507 scanOneBB(&*BB->begin(), End, Calls, Seen, Worklist); in scanInlinedCode()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LiveRangeCalc.cpp | 42 Seen.clear(); in resetLiveOutMap() 43 Seen.resize(NumBlocks); in resetLiveOutMap() 77 assert(Seen.test(MBB->getNumber())); in updateFromLiveIns() 147 if (Seen[N]) { in isDefOnEntry() 237 if (Seen.test(Pred->getNumber())) { in findReachingDefs() 352 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | FileCollector.h | 35 return Seen.insert(Path).second; in markAsSeen() 49 StringSet<> Seen; variable
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | LiveRangeCalc.h | 64 BitVector Seen; variable 231 Seen.set(MBB->getNumber()); in setLiveOutValue()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 124 DenseMap<Location, DenseSet<unsigned>> Seen; in runOnMachineFunction() local 139 DenseSet<unsigned> &Set = Seen[L]; in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | ExegesisEmitter.cpp | 73 llvm::SmallSet<llvm::StringRef, 16> Seen; in collectPfmCounters() local 80 if (!Seen.insert(ResourceName).second) in collectPfmCounters()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SarifDiagnostics.cpp | 147 llvm::StringSet<> Seen; in createRuleMapping() local 151 std::pair<llvm::StringSet<>::iterator, bool> P = Seen.insert(CheckName); in createRuleMapping()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | RISCVTargetDefEmitter.cpp | 236 llvm::DenseSet<std::pair<uint64_t, uint64_t>> Seen; in emitRISCVExtensionBitmask() local 249 assert(Seen.insert({GroupIDVal, BitPosVal}).second && "duplicated bitmask"); in emitRISCVExtensionBitmask()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ScheduleDAGSDNodes.cpp | 786 SmallSet<Register, 8> &Seen, MachineInstr *NewInsn) { in ProcessSourceNode() argument 788 if (!Order || Seen.count(Order)) { in ProcessSourceNode() 800 Seen.insert(Order); in ProcessSourceNode() 856 SmallSet<Register, 8> Seen; in EmitSchedule() local 955 ProcessSourceNode(N, DAG, Emitter, VRBaseMap, Orders, Seen, NewInsn); in EmitSchedule() 967 ProcessSourceNode(SU->getNode(), DAG, Emitter, VRBaseMap, Orders, Seen, in EmitSchedule()
|
| H A D | StatepointLowering.cpp | 1067 SmallSet<SDValue, 8> Seen; in LowerStatepoint() local 1072 if (Seen.insert(DerivedSD).second) { in LowerStatepoint() 1087 if (Seen.insert(getValue(V)).second) { in LowerStatepoint()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | GenericDomTreeUpdaterImpl.h | 85 SmallSet<std::pair<BasicBlockT *, BasicBlockT *>, 8> Seen; in applyUpdatesPermissive() local 111 if (!isSelfDominance(U) && Seen.insert(Edge).second) { in applyUpdatesPermissive()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ModuleDependencyCollector.cpp | 113 if (Seen.empty()) in writeFileMap()
|
| H A D | FrontendActions.cpp | 922 bool Seen; in ExecuteAction() member 931 I->second.Seen = true; in ExecuteAction() 983 if (!SM.second.Seen && SM.second.Mod) { in ExecuteAction()
|
| H A D | DependencyFile.cpp | 190 if (Seen.insert(SearchPath).second) { in addDependency()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDie.cpp | 282 SmallSet<DWARFDie, 3> Seen; in findRecursively() local 283 Seen.insert(*this); in findRecursively() 297 if (Seen.insert(D).second) in findRecursively()
|
| /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/ |
| H A D | LibDriver.cpp | 462 StringSet<> Seen; in libDriverMain() local 481 if (!Seen.insert(Path).second) in libDriverMain()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopUtils.cpp | 2132 SmallPtrSet<BasicBlock *, 4> Seen; in hasPartialIVCondition() local 2133 Seen.insert(Header); in hasPartialIVCondition() 2141 const auto &SeenIns = Seen.insert(Current); in hasPartialIVCondition() 2152 if (Seen.size() < 2) in hasPartialIVCondition() 2163 if (!SeenI.second || !Seen.contains(Current->getBlock())) in hasPartialIVCondition() 2197 if (!Seen.contains(Exiting)) in hasPartialIVCondition()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenMP.cpp | 806 llvm::StringMap<SourceLocation> &Seen, in checkForDuplicates() argument 808 auto Res = Seen.try_emplace(Name, NameLoc); in checkForDuplicates() 825 llvm::StringMap<SourceLocation> &Seen) { in parseOMPTraitPropertyKind() argument 850 if (checkForDuplicates(*this, Name, NameLoc, Seen, CONTEXT_TRAIT_LVL)) in parseOMPTraitPropertyKind() 908 llvm::StringMap<SourceLocation> &Seen) { in checkExtensionProperty() argument 943 SourceLocation SeenLoc = Seen[SeenName]; in checkExtensionProperty() 956 llvm::StringMap<SourceLocation> &Seen) { in parseOMPContextProperty() argument 962 parseOMPTraitPropertyKind(TIProperty, Set, TISelector.Kind, Seen); in parseOMPContextProperty() 966 TISelector, Seen)) in parseOMPContextProperty() 1004 llvm::StringMap<SourceLocation> &Seen) { in parseOMPTraitSelectorKind() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LoopAccessAnalysis.cpp | 616 SmallSet<unsigned, 2> Seen; in groupChecks() local 624 if (Seen.contains(I)) in groupChecks() 646 Seen.insert(Pointer); in groupChecks() 2598 SmallSet<std::pair<Value *, Type *>, 16> Seen; in analyzeLoop() local 2617 if (Seen.insert({Ptr, AccessTy}).second) { in analyzeLoop() 2654 if (Seen.insert({Ptr, AccessTy}).second || in analyzeLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 1943 StringSet<> Seen; in buildSectionHeaderReorderMap() local 1949 Seen.insert(Hdr.Name); in buildSectionHeaderReorderMap() 1964 if (!Seen.count(S->Name)) in buildSectionHeaderReorderMap() 1967 Seen.erase(S->Name); in buildSectionHeaderReorderMap() 1970 for (const auto &It : Seen) in buildSectionHeaderReorderMap()
|