/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/XRay/ |
H A D | Profile.h | 90 Roots(std::move(O.Roots)), PathIDMap(std::move(O.PathIDMap)), 96 Roots = std::move(O.Roots); 109 swap(L.Roots, R.Roots); 131 SmallVector<TrieNode *, 4> Roots; member in class:llvm::xray::Profile
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ShadowStackGCLowering.cpp | 60 /// Roots - GC roots in the current function. Each is a pair of the 62 std::vector<std::pair<CallInst *, AllocaInst *>> Roots; member in class:__anon3587::ShadowStackGCLowering 109 for (unsigned I = 0; I != Roots.size(); ++I) { 110 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); 120 ConstantInt::get(Int32Ty, Roots.size(), false), 160 for (size_t I = 0; I != Roots.size(); I++) 161 EltTys.push_back(Roots[I].second->getAllocatedType()); 195 // void *Roots[]; // Stack roots (in-place array, so we pretend). 233 assert(Roots.empty() && "Not cleaned up?"); 246 Roots [all...] |
H A D | GCRootLowering.cpp | 143 static bool InsertRootInitializers(Function &F, ArrayRef<AllocaInst *> Roots) { argument 160 for (AllocaInst *Root : Roots) 192 SmallVector<AllocaInst *, 32> Roots; local 225 Roots.push_back( 232 if (Roots.size()) 233 MadeChange |= InsertRootInitializers(F, Roots);
|
H A D | TargetRegisterInfo.cpp | 155 MCRegUnitRootIterator Roots(Unit, TRI); 156 assert(Roots.isValid() && "Unit has no roots."); 157 OS << TRI->getName(*Roots); 158 for (++Roots; Roots.isValid(); ++Roots) 159 OS << '~' << TRI->getName(*Roots);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | DominanceFrontier.h | 51 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots; member in class:llvm::DominanceFrontierBase 60 const SmallVectorImpl<BlockT *> &getRoots() const { return Roots; } 63 assert(Roots.size() == 1 && "Should always have entry node!"); 64 return Roots[0]; 135 this->Roots = {DT.getRoot()}; 136 calculate(DT, DT[this->Roots[0]]);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | GCMetadata.h | 87 std::vector<GCRoot> Roots; member in class:llvm::GCFunctionInfo 114 Roots.push_back(GCRoot(Num, Metadata)); 119 return Roots.erase(position); 139 roots_iterator roots_begin() { return Roots.begin(); } 140 roots_iterator roots_end() { return Roots.end(); } 141 size_t roots_size() const { return Roots.size(); }
|
H A D | MachineDominators.h | 33 this->Roots.push_back(MBB);
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopRerollPass.cpp | 352 // ST[y1] +1 +2 <-- Roots 370 SmallInstructionVector Roots; member in struct:__anon4661::LoopReroll::DAGRootSet 407 std::map<int64_t,Instruction*> &Roots); 411 void collectInLoopUserSet(const SmallInstructionVector &Roots, 722 const SmallInstructionVector &Roots, 726 for (Instruction *Root : Roots) 779 collectPossibleRoots(Instruction *Base, std::map<int64_t,Instruction*> &Roots) { argument 812 if (Roots.find(V) != Roots.end()) 816 Roots[ 721 collectInLoopUserSet( const SmallInstructionVector &Roots, const SmallInstructionSet &Exclude, const SmallInstructionSet &Final, DenseSet<Instruction *> &Users) argument [all...] |
H A D | Float2Int.cpp | 137 Roots.insert(&I); 142 Roots.insert(&I); 187 std::deque<Instruction*> Worklist(Roots.begin(), Roots.end()); 375 if (Roots.count(I) == 0) { 504 if (Roots.count(I)) 523 Roots.clear();
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | GenericDomTree.h | 246 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots; member in class:llvm::DominatorTreeBase 263 : Roots(std::move(Arg.Roots)), 273 Roots = std::move(RHS.Roots); 294 root_iterator root_begin() { return Roots.begin(); } 295 const_root_iterator root_begin() const { return Roots.begin(); } 296 root_iterator root_end() { return Roots.end(); } 297 const_root_iterator root_end() const { return Roots.end(); } 299 size_t root_size() const { return Roots [all...] |
H A D | GenericDomTreeConstruction.h | 59 using RootsT = decltype(DomTreeT::Roots); 368 // are always selected as tree roots. Roots with forward successors correspond 385 RootsT Roots; local 389 Roots.push_back(GetEntryNode(DT)); 390 return Roots; 413 Roots.push_back(N); 463 Roots.push_back(FurthestAway); 491 if (HasNonTrivialRoots) RemoveRedundantRoots(DT, BUI, Roots); 495 : Roots) dbgs() 499 return Roots; 510 RemoveRedundantRoots(const DomTreeT &DT, BatchUpdatePtr BUI, RootsT &Roots) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPropagateAttributes.cpp | 117 SmallSet<Function *, 32> Roots; member in class:__anon3930::AMDGPUPropagateAttributes 138 // Propagate attributes from Roots. 216 Roots.insert(&F); 222 Roots.insert(&F); 231 if (Roots.empty()) 233 Module &M = *(*Roots.begin())->getParent(); 236 Roots.insert(NewRoots.begin(), NewRoots.end()); 257 if (!Roots.count(Caller) && !NewRoots.count(Caller)) 263 if (!Roots.count(&F)) 306 Roots [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | Float2Int.h | 46 SmallSetVector<Instruction *, 8> Roots; member in class:llvm::Float2IntPass
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | DAGDeltaAlgorithm.cpp | 65 std::vector<change_ty> Roots; member in class:__anon3785::DAGDeltaAlgorithmImpl 198 Roots.push_back(*it); 201 std::vector<change_ty> Worklist(Roots.begin(), Roots.end()); 248 llvm::errs() << "Roots: ["; 249 for (std::vector<change_ty>::const_iterator it = Roots.begin(), 250 ie = Roots.end(); 252 if (it != Roots.begin()) 311 changeset_ty CurrentSet(Roots.begin(), Roots [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_function_call_trie.h | 323 RootArray Roots; member in class:__xray::FunctionCallTrie 331 Roots(*A.RootAllocator), member in class:__xray::FunctionCallTrie 342 Roots(std::move(O.Roots)), 349 Roots = std::move(O.Roots); 376 if (Roots.AppendEmplace(NewRoot) == nullptr) { 382 Roots.trim(1); 465 const RootArray &getRoots() const XRAY_NEVER_INSTRUMENT { return Roots; } 505 if (UNLIKELY(O.Roots [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExplodedGraph.h | 315 NodeVector Roots; 372 Roots.push_back(V); 382 unsigned num_roots() const { return Roots.size(); } 408 roots_iterator roots_begin() { return Roots.begin(); } 410 roots_iterator roots_end() { return Roots.end(); } 412 const_roots_iterator roots_begin() const { return Roots.begin(); } 414 const_roots_iterator roots_end() const { return Roots.end(); }
|
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-stacks.cpp | 321 DenseMap<uint32_t, RootVector> Roots; 336 Roots[ThreadId].push_back(Node); 341 const auto &RootsByThread = Roots[ThreadId]; 445 bool isEmpty() const { return Roots.empty(); } 480 for (auto iter : Roots) { 491 for (auto iter : Roots) { 506 using RootsType = decltype(Roots.begin())::value_type; 510 make_range(map_iterator(Roots.begin(), MapValueFn), 511 map_iterator(Roots.end(), MapValueFn))) { 523 for (auto MapIter : Roots) { [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CodeGenRegisters.h | 493 const CodeGenRegister *Roots[2]; member in struct:llvm::RegUnit 503 Roots[0] = Roots[1] = nullptr; 507 assert(!(Roots[1] && !Roots[0]) && "Invalid roots array"); 508 return makeArrayRef(Roots, !!Roots[0] + !!Roots[1]); 685 RU.Roots[0] = R0; 686 RU.Roots[ [all...] |
H A D | GICombinerEmitter.cpp | 147 std::vector<RootInfo> Roots; member in class:__anon4936::CombineRule 203 size_t getNumRoots() const { return Roots.size(); } 209 const_root_iterator roots_begin() const { return Roots.begin(); } 210 const_root_iterator roots_end() const { return Roots.end(); } 212 return llvm::make_range(Roots.begin(), Roots.end()); 230 SmallSet<const GIMatchDagInstr *, 5> Roots; local 235 Roots.insert(I); 247 if (Roots.count((*EI)->getToMI())) 359 // Roots shoul [all...] |
H A D | RegisterInfoEmitter.cpp | 1032 ArrayRef<const CodeGenRegister*> Roots = RegBank.getRegUnit(i).getRoots(); local 1033 assert(!Roots.empty() && "All regunits must have a root register."); 1034 assert(Roots.size() <= 2 && "More than two roots not supported yet."); 1035 OS << " { " << getQualifiedName(Roots.front()->TheDef); 1036 for (unsigned r = 1; r != Roots.size(); ++r) 1037 OS << ", " << getQualifiedName(Roots[r]->TheDef);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ModuleManager.cpp | 223 Roots.push_back(NewModule.get()); 250 Roots.erase(std::remove_if(Roots.begin(), Roots.end(), IsVictim), 251 Roots.end());
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 424 NodeVect &Roots) { 430 Roots.push_back(N); 1050 NodeVect Roots; local 1051 invert_find_roots(Nodes, NCM, Roots); 1055 for (NodeVect::iterator I = Roots.begin(), E = Roots.end(); I != E; ++I) 1061 for (NodeVect::iterator I = Roots.begin(), E = Roots.end(); I != E; ++I) 1068 for (NodeVect::iterator I = Roots.begin(), E = Roots 423 invert_find_roots(const NodeVect &Nodes, NodeChildrenMap &NCM, NodeVect &Roots) argument 1156 NodeVect Roots; local [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/lib/XRay/ |
H A D | Profile.cpp | 153 find_if(Roots, [PathRoot](TrieNode *N) { return N->Func == PathRoot; }); 157 if (RootIt == Roots.end()) { 161 Roots.push_back(Node);
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 60 SmallVector<ModuleFile *, 2> Roots; member in class:clang::serialization::ModuleManager
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyCallGraph.cpp | 1614 void LazyCallGraph::buildGenericSCCs(RootsT &&Roots, GetBeginT &&GetBegin, 1623 for (Node *RootN : Roots) { 1749 SmallVector<Node *, 16> Roots; 1751 Roots.push_back(&E.getNode()); 1755 std::reverse(Roots.begin(), Roots.end()); 1758 Roots,
|