| /freebsd/contrib/llvm-project/llvm/include/llvm/XRay/ |
| H A D | Profile.h | 91 Roots(std::move(O.Roots)), PathIDMap(std::move(O.PathIDMap)), in Profile() 97 Roots = std::move(O.Roots); 110 swap(L.Roots, R.Roots); in swap() 132 SmallVector<TrieNode *, 4> Roots; variable
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | GenericDomTree.h | 259 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots; 282 : Roots(std::move(Arg.Roots)), DomTreeNodes(std::move(Arg.DomTreeNodes)), 292 Roots = std::move(RHS.Roots); 315 root_iterator root_begin() { return Roots.begin(); } 316 const_root_iterator root_begin() const { return Roots.begin(); } 317 root_iterator root_end() { return Roots.end(); } 318 const_root_iterator root_end() const { return Roots.end(); } 320 size_t root_size() const { return Roots.size(); } 338 if (Roots.size() != Other.Roots.size()) 341 if (!std::is_permutation(Roots.begin(), Roots.end(), Other.Roots.begin())) [all …]
|
| H A D | GenericDomTreeConstruction.h | 59 using RootsT = decltype(DomTreeT::Roots); 354 RootsT Roots; in FindRoots() local 358 Roots.push_back(GetEntryNode(DT)); in FindRoots() 359 return Roots; in FindRoots() 382 Roots.push_back(N); in FindRoots() 461 Roots.push_back(FurthestAway); in FindRoots() 489 if (HasNonTrivialRoots) RemoveRedundantRoots(DT, BUI, Roots); in FindRoots() 493 : Roots) dbgs() in FindRoots() 497 return Roots; in FindRoots() 509 RootsT &Roots) { in RemoveRedundantRoots() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 65 std::vector<std::pair<CallInst *, AllocaInst *>> Roots; member in __anonc14dba810111::ShadowStackGCLoweringImpl 155 for (unsigned I = 0; I != Roots.size(); ++I) { in GetFrameMap() 156 Constant *C = cast<Constant>(Roots[I].first->getArgOperand(1)); in GetFrameMap() 166 ConstantInt::get(Int32Ty, Roots.size(), false), in GetFrameMap() 206 for (const std::pair<CallInst *, AllocaInst *> &Root : Roots) in GetConcreteStackEntryType() 278 assert(Roots.empty() && "Not cleaned up?"); in CollectRoots() 291 Roots.push_back(Pair); in CollectRoots() 298 Roots.insert(Roots.begin(), MetaRoots.begin(), MetaRoots.end()); in CollectRoots() 343 if (Roots.empty()) in runOnFunction() 368 for (unsigned I = 0, E = Roots.size(); I != E; ++I) { in runOnFunction() [all …]
|
| H A D | GCRootLowering.cpp | 163 static bool InsertRootInitializers(Function &F, ArrayRef<AllocaInst *> Roots) { in InsertRootInitializers() argument 180 for (AllocaInst *Root : Roots) in InsertRootInitializers() 205 SmallVector<AllocaInst *, 32> Roots; in DoLowering() local 239 Roots.push_back( in DoLowering() 246 if (Roots.size()) in DoLowering() 247 MadeChange |= InsertRootInitializers(F, Roots); in DoLowering()
|
| H A D | TargetRegisterInfo.cpp | 153 MCRegUnitRootIterator Roots(Unit, TRI); in printRegUnit() local 154 assert(Roots.isValid() && "Unit has no roots."); in printRegUnit() 155 OS << TRI->getName(*Roots); in printRegUnit() 156 for (++Roots; Roots.isValid(); ++Roots) in printRegUnit() 157 OS << '~' << TRI->getName(*Roots); in printRegUnit()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | DominanceFrontier.h | 52 SmallVector<BlockT *, IsPostDom ? 4 : 1> Roots; variable 61 const SmallVectorImpl<BlockT *> &getRoots() const { return Roots; } in getRoots() 64 assert(Roots.size() == 1 && "Should always have entry node!"); in getRoot() 65 return Roots[0]; in getRoot() 116 this->Roots = {DT.getRoot()}; in analyze() 117 calculate(DT, DT[this->Roots[0]]); in analyze()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_function_call_trie.h | 319 RootArray Roots; variable 327 Roots(*A.RootAllocator), in FunctionCallTrie() 338 Roots(std::move(O.Roots)), in FunctionCallTrie() 345 Roots = std::move(O.Roots); 372 if (Roots.AppendEmplace(NewRoot) == nullptr) { in enterFunction() 378 Roots.trim(1); in enterFunction() 461 const RootArray &getRoots() const XRAY_NEVER_INSTRUMENT { return Roots; } in getRoots() 501 if (UNLIKELY(O.Roots.Append(NewRoot) == nullptr)) in deepCopyInto() 551 auto R = O.Roots.find_element( in mergeInto() 560 O.Roots.Append(TargetRoot); in mergeInto()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DAGDeltaAlgorithm.cpp | 63 std::vector<change_ty> Roots; member in __anoncf29fe990111::DAGDeltaAlgorithmImpl 193 Roots.push_back(Change); in DAGDeltaAlgorithmImpl() 196 std::vector<change_ty> Worklist(Roots.begin(), Roots.end()); in DAGDeltaAlgorithmImpl() 244 for (std::vector<change_ty>::const_iterator it = Roots.begin(), in DAGDeltaAlgorithmImpl() 245 ie = Roots.end(); in DAGDeltaAlgorithmImpl() 247 if (it != Roots.begin()) in DAGDeltaAlgorithmImpl() 303 changeset_ty CurrentSet(Roots.begin(), Roots.end()); in Run()
|
| H A D | VirtualFileSystem.cpp | 1561 R.reserve(Roots.size()); in getRoots() 1562 for (const auto &Root : Roots) in getRoots() 1575 for (const auto &Root : Roots) in printImpl() 1741 for (const auto &Root : FS->Roots) { in lookupOrCreateEntry() 1766 FS->Roots.push_back(std::move(E)); in lookupOrCreateEntry() 1767 ParentEntry = FS->Roots.back().get(); in lookupOrCreateEntry() 2078 auto *Roots = dyn_cast<yaml::SequenceNode>(I.getValue()); in parse() local 2079 if (!Roots) { in parse() 2084 for (auto &I : *Roots) { in parse() 2321 for (const auto &Root : Roots) { in lookupPath()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | GCMetadata.h | 90 std::vector<GCRoot> Roots; variable 121 Roots.push_back(GCRoot(Num, Metadata)); in addStackRoot() 126 return Roots.erase(position); in removeStackRoot() 146 roots_iterator roots_begin() { return Roots.begin(); } in roots_begin() 147 roots_iterator roots_end() { return Roots.end(); } in roots_end() 148 size_t roots_size() const { return Roots.size(); } in roots_size()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | GICombinerEmitter.cpp | |
| H A D | GlobalISelCombinerMatchTableEmitter.cpp | |
| H A D | RegisterInfoEmitter.cpp | 1026 ArrayRef<const CodeGenRegister *> Roots = RegBank.getRegUnit(i).getRoots(); in runMCDesc() local 1027 assert(!Roots.empty() && "All regunits must have a root register."); in runMCDesc() 1028 assert(Roots.size() <= 2 && "More than two roots not supported yet."); in runMCDesc() 1031 for (const CodeGenRegister *R : Roots) in runMCDesc()
|
| H A D | GlobalISelCombinerEmitter.cpp | 1548 SmallVector<StringRef> Roots; in parseDefs() local 1551 Roots.emplace_back(Def.getArgNameStr(I)); in parseDefs() 1576 if (Roots.size() != 1) { in parseDefs() 1581 RootName = Roots.front(); in parseDefs()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
| H A D | CodeGenRegisters.h | 572 const CodeGenRegister *Roots[2]; member 581 RegUnit() { Roots[0] = Roots[1] = nullptr; } in RegUnit() 584 assert(!(Roots[1] && !Roots[0]) && "Invalid roots array"); in getRoots() 585 return ArrayRef(Roots, !!Roots[0] + !!Roots[1]); in getRoots() 774 RU.Roots[0] = R0; 775 RU.Roots[1] = R1;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Float2Int.cpp | 103 Roots.insert(&I); in findRoots() 108 Roots.insert(&I); in findRoots() 149 std::deque<Instruction*> Worklist(Roots.begin(), Roots.end()); in walkBackwards() 333 if (!Roots.contains(I)) { in validateAndTransform() 468 if (Roots.count(I)) in convert() 487 Roots.clear(); in runImpl()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | xray-stacks.cpp | 319 DenseMap<uint32_t, RootVector> Roots; member in StackTrie 334 Roots[ThreadId].push_back(Node); in createTrieNode() 339 const auto &RootsByThread = Roots[ThreadId]; in findRootNode() 443 bool isEmpty() const { return Roots.empty(); } in isEmpty() 477 for (const auto &iter : Roots) { in printPerThread() 488 for (const auto &iter : Roots) in printAllPerThread() 498 for (const auto &RootNodeRange : make_second_range(Roots)) in printIgnoringThreads() 508 for (const auto &MapIter : Roots) { in mergeAcrossThreads()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCommonGEP.cpp | 425 NodeVect &Roots) { in invert_find_roots() argument 428 Roots.push_back(N); in invert_find_roots() 1042 NodeVect Roots; in computeNodePlacement() local 1043 invert_find_roots(Nodes, NCM, Roots); in computeNodePlacement() 1047 for (GepNode *Root : Roots) in computeNodePlacement() 1053 for (GepNode *Root : Roots) in computeNodePlacement() 1060 for (GepNode *Root : Roots) in computeNodePlacement() 1146 NodeVect Roots; in materialize() local 1149 invert_find_roots(Nodes, NCM, Roots); in materialize() 1151 while (!Roots.empty()) { in materialize() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
| H A D | Float2Int.h | 52 SmallSetVector<Instruction *, 8> Roots; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/XRay/ |
| H A D | Profile.cpp | 152 find_if(Roots, [PathRoot](TrieNode *N) { return N->Func == PathRoot; }); in internPath() 156 if (RootIt == Roots.end()) { in internPath() 160 Roots.push_back(Node); in internPath()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULowerBufferFatPointers.cpp | 1330 void getPossibleRsrcRoots(Instruction *I, SmallPtrSetImpl<Value *> &Roots, 1440 SmallPtrSetImpl<Value *> &Roots, in getPossibleRsrcRoots() argument 1447 Roots.insert(In); in getPossibleRsrcRoots() 1449 getPossibleRsrcRoots(cast<Instruction>(In), Roots, Seen); in getPossibleRsrcRoots() 1456 Roots.insert(TrueVal); in getPossibleRsrcRoots() 1457 Roots.insert(FalseVal); in getPossibleRsrcRoots() 1459 getPossibleRsrcRoots(cast<Instruction>(TrueVal), Roots, Seen); in getPossibleRsrcRoots() 1461 getPossibleRsrcRoots(cast<Instruction>(FalseVal), Roots, Seen); in getPossibleRsrcRoots() 1469 SmallPtrSet<Value *, 4> Roots; in processConditionals() local 1483 Roots.clear(); in processConditionals() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ModuleManager.cpp | 239 Roots.push_back(NewModule.get()); in addModule() 266 llvm::erase_if(Roots, IsVictim); in removeModules()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ModuleManager.h | 58 SmallVector<ModuleFile *, 2> Roots; variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyCallGraph.cpp | 1809 void LazyCallGraph::buildGenericSCCs(RootsT &&Roots, GetBeginT &&GetBegin, in buildGenericSCCs() argument 1818 for (Node *RootN : Roots) { in buildGenericSCCs() 1942 SmallVector<Node *, 16> Roots; in buildRefSCCs() local 1944 Roots.push_back(&E.getNode()); in buildRefSCCs() 1948 Roots, in buildRefSCCs()
|