Home
last modified time | relevance | path

Searched refs:Seen (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRangeCalc.cpp43 Seen.clear(); in resetLiveOutMap()
44 Seen.resize(NumBlocks); in resetLiveOutMap()
78 assert(Seen.test(MBB->getNumber())); in updateFromLiveIns()
148 if (Seen[N]) { in isDefOnEntry()
205 // Using Seen as a visited set, perform a BFS for all reaching defs. in findReachingDefs()
238 if (Seen.test(Pred->getNumber())) { in findReachingDefs()
353 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber()); in updateSSA()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp476 DenseSet<BasicBlock *> &Seen, in scanOneBB() argument
493 if (Seen.insert(Succ).second) { in scanOneBB()
503 DenseSet<BasicBlock *> &Seen) { in scanInlinedCode() argument
506 Seen.insert(Start->getParent()); in scanInlinedCode()
507 scanOneBB(Start, End, Calls, Seen, Worklist); in scanInlinedCode()
511 scanOneBB(&*BB->begin(), End, Calls, Seen, Worklist); in scanInlinedCode()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h34 return Seen.insert(Path).second; in markAsSeen()
48 StringSet<> Seen; variable
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULowerBufferFatPointers.cpp240 Type *remapTypeImpl(Type *Ty, SmallPtrSetImpl<StructType *> &Seen);
279 Type *Ty, SmallPtrSetImpl<StructType *> &Seen) { in remapTypeImpl() argument
306 if (!Seen.insert(TyAsStruct).second) { in remapTypeImpl()
315 Type *NewElem = remapTypeImpl(OldElem, Seen); in remapTypeImpl()
722 SmallPtrSetImpl<Value *> &Seen);
831 SmallPtrSetImpl<Value *> &Seen) { in getPossibleRsrcRoots() argument
833 if (!Seen.insert(I).second) in getPossibleRsrcRoots()
839 getPossibleRsrcRoots(cast<Instruction>(In), Roots, Seen); in getPossibleRsrcRoots()
842 if (!Seen.insert(SI).second) in getPossibleRsrcRoots()
849 getPossibleRsrcRoots(cast<Instruction>(TrueVal), Roots, Seen); in getPossibleRsrcRoots()
[all …]
H A DSIOptimizeExecMasking.cpp285 bool Seen = false; in fixTerminators() local
289 return Seen ? FirstNonTerm : I; in fixTerminators()
292 if (!Seen) { in fixTerminators()
294 Seen = true; in fixTerminators()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveRangeCalc.h63 BitVector Seen; variable
230 Seen.set(MBB->getNumber()); in setLiveOutValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86DiscriminateMemOps.cpp127 DenseMap<Location, DenseSet<unsigned>> Seen; in runOnMachineFunction() local
142 DenseSet<unsigned> &Set = Seen[L]; in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DGenericDomTreeUpdaterImpl.h84 SmallSet<std::pair<BasicBlockT *, BasicBlockT *>, 8> Seen; in applyUpdatesPermissive() local
110 if (!isSelfDominance(U) && Seen.count(Edge) == 0) { in applyUpdatesPermissive()
111 Seen.insert(Edge); in applyUpdatesPermissive()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DExegesisEmitter.cpp72 llvm::SmallSet<llvm::StringRef, 16> Seen; in collectPfmCounters() local
79 if (!Seen.insert(ResourceName).second) in collectPfmCounters()
H A DRISCVTargetDefEmitter.cpp222 llvm::DenseSet<std::pair<uint64_t, uint64_t>> Seen; in emitRISCVExtensionBitmask() local
235 assert(Seen.insert(std::make_pair(GroupIDVal, BitPosVal)).second && in emitRISCVExtensionBitmask()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp149 llvm::StringSet<> Seen; in createRuleMapping() local
153 std::pair<llvm::StringSet<>::iterator, bool> P = Seen.insert(CheckName); in createRuleMapping()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMapContext.cpp73 return Seen.contains(Value); in contains()
76 if (!Value.getMemoizationData() || Seen.insert(Value).second) in push_back()
82 llvm::SmallDenseSet<DynTypedNode, 2> Seen; member in ParentMapContext::ParentMap::ParentVector
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp787 SmallSet<Register, 8> &Seen, MachineInstr *NewInsn) { in ProcessSourceNode() argument
789 if (!Order || Seen.count(Order)) { in ProcessSourceNode()
801 Seen.insert(Order); in ProcessSourceNode()
857 SmallSet<Register, 8> Seen; in EmitSchedule() local
952 ProcessSourceNode(N, DAG, Emitter, VRBaseMap, Orders, Seen, NewInsn); in EmitSchedule()
964 ProcessSourceNode(SU->getNode(), DAG, Emitter, VRBaseMap, Orders, Seen, in EmitSchedule()
H A DStatepointLowering.cpp1063 SmallSet<SDValue, 8> Seen; in LowerStatepoint() local
1068 if (Seen.insert(DerivedSD).second) { in LowerStatepoint()
1083 if (Seen.insert(getValue(V)).second) { in LowerStatepoint()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp282 SmallSet<DWARFDie, 3> Seen; in findRecursively() local
283 Seen.insert(*this); in findRecursively()
295 if (Seen.insert(D).second) in findRecursively()
299 if (Seen.insert(D).second) in findRecursively()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DModuleDependencyCollector.cpp114 if (Seen.empty()) in writeFileMap()
H A DFrontendActions.cpp893 bool Seen; in ExecuteAction() member
902 I->second.Seen = true; in ExecuteAction()
954 if (!SM.second.Seen && SM.second.Mod) { in ExecuteAction()
H A DDependencyFile.cpp190 if (Seen.insert(SearchPath).second) { in addDependency()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp451 StringSet<> Seen; in libDriverMain() local
470 if (!Seen.insert(Path).second) in libDriverMain()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp655 SmallPtrSet<VPValue *, 8> Seen; in recursivelyDeleteDeadRecipes() local
660 if (!Seen.insert(Cur).second) in recursivelyDeleteDeadRecipes()
768 SmallPtrSet<VPRecipeBase *, 8> Seen; in sinkRecurrenceUsersAfterPrevious() local
769 Seen.insert(Previous); in sinkRecurrenceUsersAfterPrevious()
777 !Seen.insert(SinkCandidate).second || in sinkRecurrenceUsersAfterPrevious()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp2067 SmallPtrSet<BasicBlock *, 4> Seen; in hasPartialIVCondition() local
2068 Seen.insert(Header); in hasPartialIVCondition()
2076 const auto &SeenIns = Seen.insert(Current); in hasPartialIVCondition()
2087 if (Seen.size() < 2) in hasPartialIVCondition()
2098 if (!SeenI.second || !Seen.contains(Current->getBlock())) in hasPartialIVCondition()
2132 if (!Seen.contains(Exiting)) in hasPartialIVCondition()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp868 llvm::StringMap<SourceLocation> &Seen, in checkForDuplicates() argument
870 auto Res = Seen.try_emplace(Name, NameLoc); in checkForDuplicates()
887 llvm::StringMap<SourceLocation> &Seen) { in parseOMPTraitPropertyKind() argument
901 if (checkForDuplicates(*this, Name, NameLoc, Seen, CONTEXT_TRAIT_LVL)) in parseOMPTraitPropertyKind()
958 llvm::StringMap<SourceLocation> &Seen) { in checkExtensionProperty() argument
993 SourceLocation SeenLoc = Seen[SeenName]; in checkExtensionProperty()
1006 llvm::StringMap<SourceLocation> &Seen) { in parseOMPContextProperty() argument
1012 parseOMPTraitPropertyKind(TIProperty, Set, TISelector.Kind, Seen); in parseOMPContextProperty()
1016 TISelector, Seen)) in parseOMPContextProperty()
1054 llvm::StringMap<SourceLocation> &Seen) { in parseOMPTraitSelectorKind() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopAccessAnalysis.cpp524 SmallSet<unsigned, 2> Seen; in groupChecks() local
532 if (Seen.count(I)) in groupChecks()
554 Seen.insert(Pointer); in groupChecks()
2530 SmallSet<std::pair<Value *, Type *>, 16> Seen; in analyzeLoop() local
2549 if (Seen.insert({Ptr, AccessTy}).second) { in analyzeLoop()
2586 if (Seen.insert({Ptr, AccessTy}).second || in analyzeLoop()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1916 StringSet<> Seen; in buildSectionHeaderReorderMap() local
1922 Seen.insert(Hdr.Name); in buildSectionHeaderReorderMap()
1937 if (!Seen.count(S->Name)) in buildSectionHeaderReorderMap()
1940 Seen.erase(S->Name); in buildSectionHeaderReorderMap()
1943 for (const auto &It : Seen) in buildSectionHeaderReorderMap()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DWasm.h361 bool Seen[WASM_NUM_SEC_ORDERS] = {}; // Sections that have been seen already

123