Home
last modified time | relevance | path

Searched refs:SetVector (Results 1 – 25 of 121) sorted by relevance

12345

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFDeadCode.h39 bool erase(const SetVector<NodeId> &Nodes);
43 SetVector<NodeId> getDeadNodes() { return DeadNodes; } in getDeadNodes()
44 SetVector<NodeId> getDeadInstrs() { return DeadInstrs; } in getDeadInstrs()
49 SetVector<NodeId> LiveNodes;
50 SetVector<NodeId> DeadNodes;
51 SetVector<NodeId> DeadInstrs;
H A DHexagonRDFOpt.cpp95 bool rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove);
154 const SetVector<NodeId> &DeadNodes = getDeadNodes(); in run()
155 const SetVector<NodeId> &DeadInstrs = getDeadInstrs(); in run()
160 SetVector<NodeId> PartlyDead; in run()
176 SetVector<NodeId> Remove = DeadInstrs; in run()
215 bool HexagonDCE::rewrite(NodeAddr<InstrNode*> IA, SetVector<NodeId> &Remove) { in rewrite()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp118 SetVector<BasicBlock *> &Blocks, in INITIALIZE_PASS_DEPENDENCY()
119 SetVector<BasicBlock *> &Headers) { in INITIALIZE_PASS_DEPENDENCY()
160 SetVector<BasicBlock *> &Blocks, in createNaturalLoopInternal()
161 SetVector<BasicBlock *> &Headers) { in createNaturalLoopInternal()
169 SetVector<BasicBlock *> Predecessors; in createNaturalLoopInternal()
248 SetVector<BasicBlock *> &Blocks, in createNaturalLoop()
249 SetVector<BasicBlock *> &Headers) { in createNaturalLoop()
254 SetVector<BasicBlock *> &Blocks, in createNaturalLoop()
255 SetVector<BasicBlock *> &Headers) { in createNaturalLoop()
266 SetVector<BasicBlock *> Blocks; in makeReducible()
[all …]
H A DUnifyLoopExits.cpp84 const SetVector<BasicBlock *> &Incoming, in INITIALIZE_PASS_DEPENDENCY()
144 SetVector<BasicBlock *> ExitingBlocks; in unifyLoopExits()
145 SetVector<BasicBlock *> Exits; in unifyLoopExits()
H A DCodeExtractor.cpp89 const SetVector<BasicBlock *> &Result, in isBlockValidForExtraction()
198 static SetVector<BasicBlock *>
202 SetVector<BasicBlock *> Result; in buildExtractionBlockSet()
270 static bool definedInRegion(const SetVector<BasicBlock *> &Blocks, Value *V) { in definedInRegion()
280 static bool definedInCaller(const SetVector<BasicBlock *> &Blocks, Value *V) { in definedInCaller()
288 static BasicBlock *getCommonExitBlock(const SetVector<BasicBlock *> &Blocks) { in getCommonExitBlock()
1043 static void eraseLifetimeMarkersOnInputs(const SetVector<BasicBlock *> &Blocks, in eraseLifetimeMarkersOnInputs()
1044 const SetVector<Value *> &SunkAllocas, in eraseLifetimeMarkersOnInputs()
1045 SetVector<Value *> &LifetimesStart) { in eraseLifetimeMarkersOnInputs()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSetVector.h40 class SetVector {
55 SetVector() = default;
59 SetVector(It Start, It End) { in SetVector() function
238 bool operator==(const SetVector &that) const {
242 bool operator!=(const SetVector &that) const {
271 void swap(SetVector<T, Vector, Set> &RHS) { in swap()
308 : public SetVector<T, SmallVector<T, N>, SmallDenseSet<T, N>> {
326 swap(llvm::SetVector<T, V, S> &LHS, llvm::SetVector<T, V, S> &RHS) { in swap()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DSROA.h77 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> Worklist;
92 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> PostPromotionWorklist;
102 SetVector<PHINode *, SmallVector<PHINode *, 2>> SpeculatablePHIs;
110 SetVector<SelectInst *, SmallVector<SelectInst *, 2>> SpeculatableSelects;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h34 SetVector<GlobalValue *> *GlobalsToImport;
102 SetVector<GlobalValue *> *GlobalsToImport, in FunctionImportGlobalProcessing()
131 SetVector<GlobalValue *> *GlobalsToImport = nullptr);
H A DCodeExtractor.h86 using ValueSet = SetVector<Value *>;
99 SetVector<BasicBlock *> Blocks;
H A DBasicBlockUtils.h594 const SetVector<BasicBlock *> &Predecessors,
595 const SetVector<BasicBlock *> &Successors,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp91 SetVector<ValueInfo> &RefEdges, in findRefEdges()
143 SetVector<FunctionSummary::VFuncId> &VCalls, in addVCallToSet()
161 const CallInst *CI, SetVector<GlobalValue::GUID> &TypeTests, in addIntrinsicToSummary()
162 SetVector<FunctionSummary::VFuncId> &TypeTestAssumeVCalls, in addIntrinsicToSummary()
163 SetVector<FunctionSummary::VFuncId> &TypeCheckedLoadVCalls, in addIntrinsicToSummary()
251 SetVector<ValueInfo> RefEdges, LoadRefEdges, StoreRefEdges; in computeFunctionSummary()
252 SetVector<GlobalValue::GUID> TypeTests; in computeFunctionSummary()
253 SetVector<FunctionSummary::VFuncId> TypeTestAssumeVCalls, in computeFunctionSummary()
255 SetVector<FunctionSummary::ConstVCall> TypeTestAssumeConstVCalls, in computeFunctionSummary()
394 SetVector<ValueInfo> &Edges, in computeFunctionSummary()
[all …]
H A DAliasAnalysisEvaluator.cpp102 SetVector<Value *> Pointers; in runInternal()
104 SetVector<Value *> Loads; in runInternal()
105 SetVector<Value *> Stores; in runInternal()
142 for (SetVector<Value *>::iterator I1 = Pointers.begin(), E = Pointers.end(); in runInternal()
149 for (SetVector<Value *>::iterator I2 = Pointers.begin(); I2 != I1; ++I2) { in runInternal()
205 for (SetVector<Value *>::iterator I1 = Stores.begin(), E = Stores.end(); in runInternal()
207 for (SetVector<Value *>::iterator I2 = Stores.begin(); I2 != I1; ++I2) { in runInternal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp108 SetVector<Value*> &Visited;
109 SetVector<Value*> &Sources;
110 SetVector<Instruction*> &Sinks;
128 SetVector<Value*> &visited, SetVector<Value*> &sources, in IRPromoter()
129 SetVector<Instruction*> &sinks, in IRPromoter()
820 SetVector<Value*> WorkList; in TryToPromote()
821 SetVector<Value*> Sources; in TryToPromote()
822 SetVector<Instruction*> Sinks; in TryToPromote()
823 SetVector<Value*> CurrentVisited; in TryToPromote()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp49 static void insertIfNamed(SetVector<Value *> &Values, Value *V) { in insertIfNamed()
56 SetVector<Value *> Values; in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachinePipeliner.h136 SetVector<SUnit *> NodeOrder;
156 SetVector<SUnit *> Stack;
293 SetVector<SUnit *> &NodesAdded);
312 SetVector<SUnit *> Nodes;
322 using iterator = SetVector<SUnit *>::const_iterator;
397 operator SetVector<SUnit *> &() { return Nodes; }
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.h118 const llvm::SetVector<const Symbol *> &getEntries() const { return entries; } in getEntries()
130 llvm::SetVector<const Symbol *> entries;
280 const llvm::SetVector<Symbol *> &getEntries() const { return entries; } in getEntries()
296 llvm::SetVector<Symbol *> entries;
332 const llvm::SetVector<DylibSymbol *> &getEntries() const { return entries; } in getEntries()
337 llvm::SetVector<DylibSymbol *> entries;
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleFile.h491 llvm::SetVector<ModuleFile *> ImportedBy;
494 llvm::SetVector<ModuleFile *> Imports;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp65 static bool runImpl(CallGraphUpdater &CGU, SetVector<Function *> &Functions) { in runImpl()
169 SetVector<Function *> Functions; in runOnSCC()
H A DIROutliner.cpp523 SetVector<Value *> &CurrentInputs, in mapInputsToGVNs()
550 SetVector<Value *> &RemappedArgInputs) { in remapExtractedInputs()
581 SetVector<Value *> &ArgInputs, SetVector<Value *> &Outputs) { in getCodeExtractorArguments()
593 SetVector<Value *> OverallInputs, PremappedInputs, SinkCands, HoistCands, in getCodeExtractorArguments()
651 SetVector<Value *> &ArgInputs) { in findExtractedInputToOverallInputMapping()
786 SetVector<Value *> ArgInputs, Outputs; in findAddInputsOutputs()
1550 SetVector<Value *> ArgInputs, Outputs, SinkCands; in extractSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp215 SetVector<BasicBlock *> &BBs) { in findBestInsertionSet()
268 std::pair<SetVector<BasicBlock *>, BlockFrequency>; in findBestInsertionSet()
316 SetVector<Instruction *> ConstantHoistingPass::findConstantInsertionPoint( in findConstantInsertionPoint()
320 SetVector<BasicBlock *> BBs; in findConstantInsertionPoint()
321 SetVector<Instruction *> InsertPts; in findConstantInsertionPoint()
850 SetVector<Instruction *> IPSet = findConstantInsertionPoint(ConstInfo); in emitBaseConstants()
H A DRewriteStatepointsForGC.cpp235 MapVector<BasicBlock *, SetVector<Value *>> KillSet;
239 MapVector<BasicBlock *, SetVector<Value *>> LiveSet;
243 MapVector<BasicBlock *, SetVector<Value *>> LiveIn;
247 MapVector<BasicBlock *, SetVector<Value *>> LiveOut;
261 using StatepointLiveSetTy = SetVector<Value *>;
3009 static SetVector<Value *> computeKillSet(BasicBlock *BB) { in computeKillSet()
3010 SetVector<Value *> KillSet; in computeKillSet()
3061 Data.LiveOut[&BB] = SetVector<Value *>(); in computeLiveInValues()
3076 SetVector<Value *> LiveOut = Data.LiveOut[BB]; in computeLiveInValues()
3092 SetVector<Value *> LiveTmp = LiveOut; in computeLiveInValues()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h101 using nodes_iterator = llvm::SetVector<CallGraphNode *>::iterator;
102 using const_nodes_iterator = llvm::SetVector<CallGraphNode *>::const_iterator;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPULDSUtils.cpp201 SetVector<Instruction *> &InstUsers) { in collectFunctionUses()
221 SetVector<Instruction *> InstUsers; in replaceConstantUsesInFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp109 SetVector<VPValue *> WorkList; in sinkScalarOperands()
184 SetVector<VPRegionBlock *> DeletedRegions; in mergeReplicateRegions()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DMapFile.cpp238 MapVector<Symbol *, SetVector<InputFile *>> map; in writeCrossReferenceTable()
256 SetVector<InputFile *> &files = kv.second; in writeCrossReferenceTable()

12345