Home
last modified time | relevance | path

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

12345

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
1041 static void eraseLifetimeMarkersOnInputs(const SetVector<BasicBlock *> &Blocks, in eraseLifetimeMarkersOnInputs()
1042 const SetVector<Value *> &SunkAllocas, in eraseLifetimeMarkersOnInputs()
1043 SetVector<Value *> &LifetimesStart) { in eraseLifetimeMarkersOnInputs()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp91 SetVector<ValueInfo> &RefEdges, in findRefEdges()
143 SetVector<FunctionSummary::VFuncId> &VCalls, in addVCallToSet()
144 SetVector<FunctionSummary::ConstVCall> &ConstVCalls) { 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()
164 SetVector<FunctionSummary::ConstVCall> &TypeTestAssumeConstVCalls, in addIntrinsicToSummary()
165 SetVector<FunctionSummary::ConstVCall> &TypeCheckedLoadConstVCalls, in addIntrinsicToSummary()
251 SetVector<ValueInfo> RefEdges, LoadRefEdges, StoreRefEdges; in computeFunctionSummary()
252 SetVector<GlobalValue::GUID> TypeTests; 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTypePromotion.cpp111 SetVector<Value*> &Visited;
112 SetVector<Value*> &Sources;
113 SetVector<Instruction*> &Sinks;
131 SetVector<Value*> &visited, SetVector<Value*> &sources, in IRPromoter()
132 SetVector<Instruction*> &sinks, in IRPromoter()
823 SetVector<Value*> WorkList; in TryToPromote()
824 SetVector<Value*> Sources; in TryToPromote()
825 SetVector<Instruction*> Sinks; in TryToPromote()
826 SetVector<Value*> CurrentVisited; in TryToPromote()
H A DMachinePipeliner.cpp1521 static bool pred_L(SetVector<SUnit *> &NodeOrder, in pred_L()
1525 for (SetVector<SUnit *>::iterator I = NodeOrder.begin(), E = NodeOrder.end(); in pred_L()
1551 static bool succ_L(SetVector<SUnit *> &NodeOrder, in succ_L()
1555 for (SetVector<SUnit *>::iterator I = NodeOrder.begin(), E = NodeOrder.end(); in succ_L()
1579 static bool computePath(SUnit *Cur, SetVector<SUnit *> &Path, in computePath()
1580 SetVector<SUnit *> &DestNodes, in computePath()
1581 SetVector<SUnit *> &Exclude, in computePath()
1738 SetVector<SUnit *> NodesAdded; in groupRemainingNodes()
1746 SetVector<SUnit *> Path; in groupRemainingNodes()
1757 SetVector<SUnit *> Path; in groupRemainingNodes()
[all …]
/netbsd-src/external/apache2/llvm/dist/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; }
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysisEvaluator.cpp49 static void insertIfNamed(SetVector<Value *> &Values, Value *V) { in insertIfNamed()
56 SetVector<Value *> Values; in runOnFunction()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/
H A DModuleFile.h490 llvm::SetVector<ModuleFile *> ImportedBy;
493 llvm::SetVector<ModuleFile *> Imports;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
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 *>;
2885 SetVector<Value *> &LiveTmp) { in computeLiveInValues()
2916 static void computeLiveOutSeed(BasicBlock *BB, SetVector<Value *> &LiveTmp) { in computeLiveOutSeed()
2932 static SetVector<Value *> computeKillSet(BasicBlock *BB) { in computeKillSet()
2933 SetVector<Value *> KillSet; in computeKillSet()
2943 static void checkBasicSSA(DominatorTree &DT, SetVector<Value *> &Live, in checkBasicSSA()
[all …]
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()
/netbsd-src/external/apache2/llvm/dist/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.cpp443 SetVector<Value *> &CurrentInputs, in mapInputsToGVNs()
470 SetVector<Value *> &RemappedArgInputs) { in remapExtractedInputs()
501 SetVector<Value *> &ArgInputs, SetVector<Value *> &Outputs) { in getCodeExtractorArguments()
513 SetVector<Value *> OverallInputs, PremappedInputs, SinkCands, HoistCands, in getCodeExtractorArguments()
571 SetVector<Value *> &ArgInputs) { in findExtractedInputToOverallInputMapping()
706 SetVector<Value *> ArgInputs, Outputs; in findAddInputsOutputs()
1470 SetVector<Value *> ArgInputs, Outputs, SinkCands; in extractSection()
H A DExtractGV.cpp55 SetVector<GlobalValue *> Named;
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp168 SetVector<MachineInstr*> Predicates;
171 PredicatedMI(MachineInstr *I, SetVector<MachineInstr *> &Preds) : MI(I) { in PredicatedMI()
188 static SetVector<MachineInstr *> CurrentPredicates;
247 SetVector<MachineInstr *> &Predicates = PredicatedInsts[MI]->Predicates; in isPredicatedOnVCTP()
532 SetVector<MachineInstr *> VPTState::CurrentPredicates;
926 SetVector<MachineInstr *> FalseLanesUnknown; in ValidateLiveOuts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DSafepointIRVerifier.cpp73 SetVector<const BasicBlock *> DeadBlocks;
74 SetVector<const Use *> DeadEdges; // Contains all dead edges from live blocks.
606 SetVector<const BasicBlock *> Worklist; in recalculateBBsStates()

12345