Home
last modified time | relevance | path

Searched refs:Root (Results 1 – 25 of 166) sorted by relevance

1234567

/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DImmutableMap.h94 if (Root != X.Root) {
97 Root = X.Root;
138 return Root && RHS.Root ? Root->isEqual(*RHS.Root) : Root == RHS.Root;
142 return Root && RHS.Root ? Root->isNotEqual(*RHS.Root) : Root != RHS.Root;
153 if (Root) Root->retain(); in manualRetain()
157 if (Root) Root->release(); in manualRelease()
304 if (Root != X.Root) {
311 Root = X.Root;
322 if (Root) Root->retain(); in manualRetain()
348 return Root && RHS.Root ? Root->isEqual(*RHS.Root) : Root == RHS.Root;
[all …]
H A DImmutableSet.h974 if (Root) { Root->retain(); }
978 if (Root) { Root->retain(); }
986 if (Root != X.Root) {
989 Root = X.Root;
1052 return Root && RHS.Root ? Root->isEqual(*RHS.Root) : Root == RHS.Root;
1056 return Root && RHS.Root ? Root->isNotEqual(*RHS.Root) : Root != RHS.Root;
1134 : Root(X.Root),
1144 if (Root != X.Root) {
1147 Root = X.Root;
1180 return Root && RHS.Root ? Root->isEqual(*RHS.Root) : Root == RHS.Root;
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangASTNodesEmitter.cpp32 Record Root; member in __anon2a2f5b540111::ClangASTNodesEmitter
47 if (&R == &Root && !BaseSuffix.empty()) in baseName()
58 : Records(R), Root(N, SMLoc(), R), BaseSuffix(S) in ClangASTNodesEmitter()
124 if (Base == &Root) in EmitNode()
125 OS << "LAST_" << macroName(Root.getName()) << "_RANGE("; in EmitNode()
127 OS << macroName(Root.getName()) << "_RANGE("; in EmitNode()
156 = Records.getAllDerivedDefinitions(Root.getName()); in run()
166 Tree.insert(std::make_pair(&Root, R)); in run()
169 EmitNode(Tree, OS, &Root); in run()
171 OS << "#undef " << macroName(Root.getName()) << "\n"; in run()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXPeephole.cpp74 static bool isCVTAToLocalCombinationCandidate(MachineInstr &Root) { in isCVTAToLocalCombinationCandidate() argument
75 auto &MBB = *Root.getParent(); in isCVTAToLocalCombinationCandidate()
78 if (Root.getOpcode() != NVPTX::cvta_to_local_yes_64 && in isCVTAToLocalCombinationCandidate()
79 Root.getOpcode() != NVPTX::cvta_to_local_yes) in isCVTAToLocalCombinationCandidate()
82 auto &Op = Root.getOperand(1); in isCVTAToLocalCombinationCandidate()
105 static void CombineCVTAToLocal(MachineInstr &Root) { in CombineCVTAToLocal() argument
106 auto &MBB = *Root.getParent(); in CombineCVTAToLocal()
113 BuildMI(MF, Root.getDebugLoc(), TII->get(Prev.getOpcode()), in CombineCVTAToLocal()
114 Root.getOperand(0).getReg()) in CombineCVTAToLocal()
118 MBB.insert((MachineBasicBlock::iterator)&Root, MIB); in CombineCVTAToLocal()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Rewrite/
H A DRewriteRope.cpp723 Root = new RopePieceBTreeLeaf(); in RopePieceBTree()
728 Root = new RopePieceBTreeLeaf(); in RopePieceBTree()
732 getRoot(Root)->Destroy(); in ~RopePieceBTree()
736 return getRoot(Root)->size(); in size()
743 getRoot(Root)->Destroy(); in clear()
744 Root = new RopePieceBTreeLeaf(); in clear()
750 if (RopePieceBTreeNode *RHS = getRoot(Root)->split(Offset)) in insert()
751 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in insert()
755 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in insert()
761 Root = new RopePieceBTreeInterior(getRoot(Root), RHS); in erase()
[all …]
H A DDeltaTree.cpp387 static DeltaTreeNode *getRoot(void *Root) { in getRoot() argument
388 return (DeltaTreeNode*)Root; in getRoot()
392 Root = new DeltaTreeNode(); in DeltaTree()
397 assert(getRoot(RHS.Root)->getNumValuesUsed() == 0 && in DeltaTree()
399 Root = new DeltaTreeNode(); in DeltaTree()
403 getRoot(Root)->Destroy(); in ~DeltaTree()
410 const DeltaTreeNode *Node = getRoot(Root); in getDeltaAt()
458 DeltaTreeNode *MyRoot = getRoot(Root); in AddDelta()
462 Root = MyRoot = new DeltaTreeInteriorNode(InsertRes); in AddDelta()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3582 unsigned Opc = Root.getOpcode(); in getMaddPatterns()
3605 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() && in getMaddPatterns()
3697 switch (Root.getOpcode()) { in getFMAPatterns()
3702 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() && in getFMAPatterns()
3952 MachineInstr &Root, in getMachineCombinerPatterns() argument
3958 if (getFMAPatterns(Root, Patterns)) in getMachineCombinerPatterns()
4176 if (Root.getOperand(3).isImm()) { in genAlternativeCodeSequence()
4220 .add(Root.getOperand(2)); in genAlternativeCodeSequence()
4267 if (Root.getOperand(3).isImm()) { in genAlternativeCodeSequence()
4536 .add(Root.getOperand(2)); in genAlternativeCodeSequence()
[all …]
H A DAArch64InstructionSelector.cpp84 return selectAddrModeUnscaled(Root, 1); in selectAddrModeUnscaled8()
87 return selectAddrModeUnscaled(Root, 2); in selectAddrModeUnscaled16()
90 return selectAddrModeUnscaled(Root, 4); in selectAddrModeUnscaled32()
93 return selectAddrModeUnscaled(Root, 8); in selectAddrModeUnscaled64()
1732 MachineInstr &MI = *Root.getParent(); in selectArithImmed()
1743 if (Root.isImm()) in selectArithImmed()
1744 Immed = Root.getImm(); in selectArithImmed()
1745 else if (Root.isCImm()) in selectArithImmed()
1747 else if (Root.isReg()) { in selectArithImmed()
1786 if (!Root.isReg()) in selectAddrModeUnscaled()
[all …]
/freebsd-12.1/contrib/llvm/tools/lld/Common/
H A DReproduce.cpp35 StringRef Root = path::root_name(Abs); in relativeToRoot() local
36 if (Root.endswith(":")) in relativeToRoot()
37 Res = Root.drop_back(); in relativeToRoot()
38 else if (Root.startswith("//")) in relativeToRoot()
39 Res = Root.substr(2); in relativeToRoot()
/freebsd-12.1/contrib/compiler-rt/lib/lsan/
H A Dlsan_flags.inc30 "Root set: include global variables (.data and .bss)")
31 LSAN_FLAG(bool, use_stacks, true, "Root set: include thread stacks")
32 LSAN_FLAG(bool, use_registers, true, "Root set: include thread registers")
34 "Root set: include TLS and thread-specific storage")
36 "Root set: include regions added via __lsan_register_root_region().")
38 "Root set: mark as reachable all allocations made from dynamic "
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.h81 selectVCSRC(MachineOperand &Root) const;
84 selectVSRC0(MachineOperand &Root) const;
87 selectVOP3Mods0(MachineOperand &Root) const;
89 selectVOP3OMods(MachineOperand &Root) const;
91 selectVOP3Mods(MachineOperand &Root) const;
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineCombiner.cpp92 unsigned getLatency(MachineInstr *Root, MachineInstr *NewRoot,
95 improvesCriticalPathLen(MachineBasicBlock *MBB, MachineInstr *Root,
113 void verifyPatternOrder(MachineBasicBlock *MBB, MachineInstr &Root,
238 if (UseMO && BlockTrace.isDepInTrace(*Root, *UseMO)) { in getLatency()
300 MachineBasicBlock *MBB, MachineInstr *Root, in improvesCriticalPathLen() argument
311 unsigned RootDepth = BlockTrace.getInstrCycles(*Root).Depth; in improvesCriticalPathLen()
336 getLatenciesForInstrSequences(*Root, InsInstrs, DelInstrs, BlockTrace); in improvesCriticalPathLen()
338 unsigned RootSlack = BlockTrace.getInstrSlack(*Root); in improvesCriticalPathLen()
463 MachineBasicBlock *MBB, MachineInstr &Root, in verifyPatternOrder() argument
471 TII->genAlternativeCodeSequence(Root, P, InsInstrs, DelInstrs, in verifyPatternOrder()
[all …]
H A DTargetInstrInfo.cpp734 MachineInstr &Root, in getMachineCombinerPatterns() argument
737 if (isReassociationCandidate(Root, Commute)) { in getMachineCombinerPatterns()
764 MachineInstr &Root, MachineInstr &Prev, in reassociateOps() argument
769 MachineFunction *MF = Root.getMF(); in reassociateOps()
795 MachineOperand &OpB = Root.getOperand(OpIdx[Row][1]); in reassociateOps()
797 MachineOperand &OpY = Root.getOperand(OpIdx[Row][3]); in reassociateOps()
798 MachineOperand &OpC = Root.getOperand(0); in reassociateOps()
823 unsigned Opcode = Root.getOpcode(); in reassociateOps()
838 setSpecialOperandAttr(Root, Prev, *MIB1, *MIB2); in reassociateOps()
844 DelInstrs.push_back(&Root); in reassociateOps()
[all …]
H A DGCRootLowering.cpp161 for (AllocaInst *Root : Roots) in InsertRootInitializers()
162 if (!InitedRoots.count(Root)) { in InsertRootInitializers()
164 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())), in InsertRootInitializers()
165 Root); in InsertRootInitializers()
166 SI->insertAfter(Root); in InsertRootInitializers()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DFileMatchTrie.cpp172 : Root(new FileMatchTrieNode), Comparator(new DefaultPathComparator()) {} in FileMatchTrie()
175 : Root(new FileMatchTrieNode), Comparator(Comparator) {} in FileMatchTrie()
178 delete Root; in ~FileMatchTrie()
182 Root->insert(NewPath); in insert()
192 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); in findEquivalent()
/freebsd-12.1/sys/contrib/dev/acpica/components/disassembler/
H A Ddmdeferred.c186 ACPI_PARSE_OBJECT *Root) in AcpiDmParseDeferredOps() argument
189 ACPI_PARSE_OBJECT *Op = Root; in AcpiDmParseDeferredOps()
203 Op = AcpiPsGetDepthNext (Root, Op); in AcpiDmParseDeferredOps()
245 Op = AcpiPsGetDepthNext (Root, Op); in AcpiDmParseDeferredOps()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelector.cpp59 const MachineOperand &Root, const MachineRegisterInfo &MRI) const { in isBaseWithConstantOffset() argument
60 if (!Root.isReg()) in isBaseWithConstantOffset()
63 MachineInstr *RootI = MRI.getVRegDef(Root.getReg()); in isBaseWithConstantOffset()
/freebsd-12.1/contrib/compiler-rt/lib/xray/
H A Dxray_function_call_trie.h496 for (const auto Root : getRoots()) { in deepCopyInto() local
499 nullptr, NodeIdPairArray(*O.NodeIdPairAllocator), Root->CallCount, in deepCopyInto()
500 Root->CumulativeLocalTime, Root->FId); in deepCopyInto()
511 if (DFSStack.AppendEmplace(Root, NewRoot) == nullptr) in deepCopyInto()
554 for (const auto Root : getRoots()) { in mergeInto() local
557 [&](const Node *Node) { return Node->FId == Root->FId; }); in mergeInto()
561 Root->FId); in mergeInto()
570 DFSStack.AppendEmplace(Root, TargetRoot); in mergeInto()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp178 Root = 0x01, enumerator
194 if (Flags & Root) in GepNode()
222 if (GN.Flags & GepNode::Root) { in operator <<()
243 if (GN.Flags & GepNode::Root) in operator <<()
328 Order.push_back(Root); in getBlockTraversalOrder()
438 if (N->Flags & GepNode::Root) { in invert_find_roots()
450 Work.push_back(Root); in nodes_for_root()
451 Nodes.insert(Root); in nodes_for_root()
632 if (N->Flags & GepNode::Root) in common()
848 if (Node->Flags & GepNode::Root) in isInvariantIn()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp160 Value *Root; member
166 : Root(nullptr), Mask(APInt::getNullValue(BitWidth)), in MaskOps()
203 if (!MOps.Root) in matchAndOrChain()
204 MOps.Root = Candidate; in matchAndOrChain()
212 return MOps.Root == Candidate; in matchAndOrChain()
247 Value *And = Builder.CreateAnd(MOps.Root, Mask); in foldAnyOrAllBitsSet()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DIteratedDominanceFrontier.cpp48 DomTreeNode *Root = RootPair.first; in calculate() local
57 Worklist.push_back(Root); in calculate()
58 VisitedWorklist.insert(Root); in calculate()
/freebsd-12.1/sys/contrib/dev/acpica/components/debugger/
H A Ddbutils.c167 ACPI_PARSE_OBJECT *Root);
519 ACPI_PARSE_OBJECT *Root) in AcpiDbSecondPassParse() argument
521 ACPI_PARSE_OBJECT *Op = Root; in AcpiDbSecondPassParse()
591 Op = AcpiPsGetDepthNext (Root, Op); in AcpiDbSecondPassParse()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCallGraph.cpp120 Root = getOrInsertNode(nullptr); in CallGraph()
173 Root->addCallee(Node.get()); in getOrInsertNode()
188 if (N == Root) in print()
196 assert(*CI != Root && "No one can call the root node."); in print()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMParallelDSP.cpp64 Instruction *Root; member
70 OpChain(Instruction *I, ValueList &vl) : Root(I), AllValues(vl) { } in OpChain()
402 if (Paired.count(PMul0->Root)) in CreateParallelMACPairs()
410 if (Paired.count(PMul1->Root)) in CreateParallelMACPairs()
413 const Instruction *Mul0 = PMul0->Root; in CreateParallelMACPairs()
414 const Instruction *Mul1 = PMul1->Root; in CreateParallelMACPairs()
442 dbgs() << "- "; PMul0->Root->dump(); in InsertParallelMACs()
443 dbgs() << "- "; PMul1->Root->dump()); in InsertParallelMACs()
570 LLVM_DEBUG(dbgs() << "mul: "; MAC->Root->dump()); in AreAliased()
670 M->Root->dump(); in MatchSMLAD()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DGenericDomTreeConstruction.h486 LLVM_DEBUG(for (auto *Root in FindRoots()
488 << BlockNamePrinter(Root) << " "); in FindRoots()
510 auto &Root = Roots[i]; in RemoveRedundantRoots() local
512 if (!HasForwardSuccessors(Root, BUI)) continue; in RemoveRedundantRoots()
529 std::swap(Root, Roots.back()); in RemoveRedundantRoots()
551 for (const NodePtr Root : DT.Roots) Num = runDFS(Root, Num, DC, 0); in doFullDFSWalk() local
580 DT.RootNode = (DT.DomTreeNodes[Root] = in CalculateFromScratch()
908 SNCA.runDFS(Root, 0, UnreachableDescender, 0); in ComputeUnreachableDominators()
1365 const TreeNodePtr Root = DT.getNode(RootBB); in VerifyDFSNumbers() local
1374 if (Root->getDFSNumIn() != 0) { in VerifyDFSNumbers()
[all …]

1234567