Searched refs:Root (Results 1 - 25 of 126) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DImmutableMap.h73 TreeTy* Root; member in class:llvm::ImmutableMap
80 explicit ImmutableMap(const TreeTy* R) : Root(const_cast<TreeTy*>(R)) {
81 if (Root) { Root->retain(); }
84 ImmutableMap(const ImmutableMap &X) : Root(X.Root) {
85 if (Root) { Root->retain(); }
89 if (Root) { Root
269 TreeTy *Root; member in class:llvm::ImmutableMapRef
[all...]
H A DImmutableSet.h660 ImutAVLTreeGenericIterator(const TreeTy *Root) { argument
661 if (Root) stack.push_back(reinterpret_cast<uintptr_t>(Root));
769 ImutAVLTreeInOrderIterator(const TreeTy* Root) : InternalItr(Root) { argument
770 if (Root)
964 TreeTy *Root; member in class:llvm::ImmutableSet
971 explicit ImmutableSet(TreeTy* R) : Root(R) {
972 if (Root) { Root
1117 TreeTy *Root; member in class:llvm::ImmutableSetRef
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DBlock.cpp63 DeadBlock::DeadBlock(DeadBlock *&Root, Block *Blk) argument
64 : Root(Root), B(Blk->Desc, Blk->IsStatic, Blk->IsExtern, /*isDead=*/true) {
66 if (Root)
67 Root->Prev = this;
69 Next = Root;
71 Root = this;
84 if (Root == this)
85 Root = Next;
H A DBlock.h115 DeadBlock(DeadBlock *&Root, Block *Blk);
126 /// Root pointer of the list.
127 DeadBlock *&Root; member in class:clang::interp::DeadBlock
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXPeephole.cpp73 static bool isCVTAToLocalCombinationCandidate(MachineInstr &Root) { argument
74 auto &MBB = *Root.getParent();
77 if (Root.getOpcode() != NVPTX::cvta_to_local_yes_64 &&
78 Root.getOpcode() != NVPTX::cvta_to_local_yes)
81 auto &Op = Root.getOperand(1);
104 static void CombineCVTAToLocal(MachineInstr &Root) { argument
105 auto &MBB = *Root.getParent();
109 auto &Prev = *MRI.getUniqueVRegDef(Root.getOperand(1).getReg());
112 BuildMI(MF, Root.getDebugLoc(), TII->get(Prev.getOpcode()),
113 Root
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.h126 selectVCSRC(MachineOperand &Root) const;
129 selectVSRC0(MachineOperand &Root) const;
132 selectVOP3Mods0(MachineOperand &Root) const;
134 selectVOP3OMods(MachineOperand &Root) const;
136 selectVOP3Mods(MachineOperand &Root) const;
138 selectVOP3Mods_nnan(MachineOperand &Root) const;
141 selectVOP3OpSelMods0(MachineOperand &Root) const;
143 selectVOP3OpSelMods(MachineOperand &Root) const;
146 selectSmrdImm(MachineOperand &Root) const;
148 selectSmrdImm32(MachineOperand &Root) cons
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Rewrite/Core/
H A DDeltaTree.h26 void *Root; // "DeltaTreeNode *" member in class:clang::DeltaTree
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelector.cpp58 const MachineOperand &Root, const MachineRegisterInfo &MRI) const {
59 if (!Root.isReg())
62 MachineInstr *RootI = MRI.getVRegDef(Root.getReg());
57 isBaseWithConstantOffset( const MachineOperand &Root, const MachineRegisterInfo &MRI) const argument
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangASTNodesEmitter.cpp37 ASTNode Root; member in class:__anon943::ClangASTNodesEmitter
52 assert(Root && "root node not yet derived!");
54 MacroHierarchyName = macroName(Root.getName());
62 if (node == Root && !BaseSuffix.empty())
133 if (Base == Root)
145 assert(!Root && "already computed tree");
156 else if (Root)
161 Root = R;
164 if (!Root)
190 EmitNode(OS, Root);
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/
H A DRewriteRope.cpp722 Root = new RopePieceBTreeLeaf();
727 Root = new RopePieceBTreeLeaf();
731 getRoot(Root)->Destroy();
735 return getRoot(Root)->size();
739 if (auto *Leaf = dyn_cast<RopePieceBTreeLeaf>(getRoot(Root)))
742 getRoot(Root)->Destroy();
743 Root = new RopePieceBTreeLeaf();
749 if (RopePieceBTreeNode *RHS = getRoot(Root)->split(Offset))
750 Root = new RopePieceBTreeInterior(getRoot(Root), RH
[all...]
H A DDeltaTree.cpp386 static DeltaTreeNode *getRoot(void *Root) { argument
387 return (DeltaTreeNode*)Root;
391 Root = new DeltaTreeNode();
396 assert(getRoot(RHS.Root)->getNumValuesUsed() == 0 &&
398 Root = new DeltaTreeNode();
402 getRoot(Root)->Destroy();
409 const DeltaTreeNode *Node = getRoot(Root);
457 DeltaTreeNode *MyRoot = getRoot(Root);
461 Root = MyRoot = new DeltaTreeInteriorNode(InsertRes);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DFileMatchTrie.h81 FileMatchTrieNode *Root; member in class:clang::tooling::FileMatchTrie
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DFileCollector.h26 FileCollector(std::string Root, std::string OverlayRoot);
66 std::string Root; member in class:llvm::FileCollector
H A DGenericIteratedDominanceFrontier.h159 DomTreeNodeBase<NodeTy> *Root = RootPair.first; local
162 // Walk all dominator tree children of Root, inspecting their CFG edges with
164 // most Root's level are added to the iterated dominance frontier of the
168 Worklist.push_back(Root);
169 VisitedWorklist.insert(Root);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/
H A DSummaryBasedOptimizations.cpp29 auto Root = Index.calculateCallGraphRoot(); local
30 // Root is a fake node. All its successors are the actual roots of the
35 for (auto &C : Root.calls()) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFileMatchTrie.cpp171 : Root(new FileMatchTrieNode), Comparator(new DefaultPathComparator()) {}
174 : Root(new FileMatchTrieNode), Comparator(Comparator) {}
177 delete Root;
181 Root->insert(NewPath);
191 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp3738 static bool getMaddPatterns(MachineInstr &Root, argument
3740 unsigned Opc = Root.getOpcode();
3741 MachineBasicBlock &MBB = *Root.getParent();
3747 int Cmp_NZCV = Root.findRegisterDefOperandIdx(AArch64::NZCV, true);
3751 unsigned NewOpc = convertToNonFlagSettingOpc(Root);
3761 if (canCombineWithMUL(MBB, Root.getOperand(Operand), Opcode, ZeroReg)) {
3768 if (canCombine(MBB, Root.getOperand(Operand), Opcode)) {
3780 assert(Root.getOperand(1).isReg() && Root.getOperand(2).isReg() &&
3879 static bool getFMAPatterns(MachineInstr &Root, argument
4134 getMachineCombinerPatterns( MachineInstr &Root, SmallVectorImpl<MachineCombinerPattern> &Patterns) const argument
4168 genFusedMultiply(MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, unsigned IdxMulOpd, unsigned MaddOpc, const TargetRegisterClass *RC, FMAInstKind kind = FMAInstKind::Default, const Register *ReplacedAddend = nullptr) argument
4232 genFusedMultiplyAcc( MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, unsigned IdxMulOpd, unsigned MaddOpc, const TargetRegisterClass *RC) argument
4242 genNeg(MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, DenseMap<unsigned, unsigned> &InstrIdxForVirtReg, unsigned MnegOpc, const TargetRegisterClass *RC) argument
4261 genFusedMultiplyAccNeg( MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, DenseMap<unsigned, unsigned> &InstrIdxForVirtReg, unsigned IdxMulOpd, unsigned MaddOpc, unsigned MnegOpc, const TargetRegisterClass *RC) argument
4278 genFusedMultiplyIdx( MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, unsigned IdxMulOpd, unsigned MaddOpc, const TargetRegisterClass *RC) argument
4288 genFusedMultiplyIdxNeg( MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, DenseMap<unsigned, unsigned> &InstrIdxForVirtReg, unsigned IdxMulOpd, unsigned MaddOpc, unsigned MnegOpc, const TargetRegisterClass *RC) argument
4321 genMaddR(MachineFunction &MF, MachineRegisterInfo &MRI, const TargetInstrInfo *TII, MachineInstr &Root, SmallVectorImpl<MachineInstr *> &InsInstrs, unsigned IdxMulOpd, unsigned MaddOpc, unsigned VR, const TargetRegisterClass *RC) argument
4357 genAlternativeCodeSequence( MachineInstr &Root, MachineCombinerPattern Pattern, SmallVectorImpl<MachineInstr *> &InsInstrs, SmallVectorImpl<MachineInstr *> &DelInstrs, DenseMap<unsigned, unsigned> &InstrIdxForVirtReg) const argument
[all...]
H A DAArch64InstructionSelector.cpp169 ComplexRendererFns selectShiftA_32(const MachineOperand &Root) const;
170 ComplexRendererFns selectShiftB_32(const MachineOperand &Root) const;
171 ComplexRendererFns selectShiftA_64(const MachineOperand &Root) const;
172 ComplexRendererFns selectShiftB_64(const MachineOperand &Root) const;
175 ComplexRendererFns selectArithImmed(MachineOperand &Root) const;
176 ComplexRendererFns selectNegArithImmed(MachineOperand &Root) const;
178 ComplexRendererFns selectAddrModeUnscaled(MachineOperand &Root,
181 ComplexRendererFns selectAddrModeUnscaled8(MachineOperand &Root) const {
182 return selectAddrModeUnscaled(Root, 1);
184 ComplexRendererFns selectAddrModeUnscaled16(MachineOperand &Root) cons
4136 getImmedFromMO(const MachineOperand &Root) argument
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/components/disassembler/
H A Ddmdeferred.c176 * PARAMETERS: Root - Root of the parse tree
186 ACPI_PARSE_OBJECT *Root)
189 ACPI_PARSE_OBJECT *Op = Root;
203 Op = AcpiPsGetDepthNext (Root, Op);
245 Op = AcpiPsGetDepthNext (Root, Op);
256 * PARAMETERS: Op - Root Op of the deferred opcode
185 AcpiDmParseDeferredOps( ACPI_PARSE_OBJECT *Root) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DComputeReplacements.cpp19 void enumerateTokenSpans(const syntax::Tree *Root, ProcessTokensFn Callback) { argument
25 void run(const syntax::Tree *Root) { argument
26 process(Root);
61 return Enumerator(Callback).run(Root);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp154 /// This is used by foldAnyOrAllBitsSet() to capture a source value (Root) and
159 Value *Root; member in struct:MaskOps
165 : Root(nullptr), Mask(APInt::getNullValue(BitWidth)),
202 if (!MOps.Root)
203 MOps.Root = Candidate;
211 return MOps.Root == Candidate;
246 Value *And = Builder.CreateAnd(MOps.Root, Mask);
301 Value *Root, *SubOp1; local
303 if (match(AndOp0, m_Sub(m_Value(Root), m_Value(SubOp1))) &&
304 match(SubOp1, m_And(m_LShr(m_Specific(Root), m_SpecificIn
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCombiner.cpp97 unsigned getLatency(MachineInstr *Root, MachineInstr *NewRoot,
100 improvesCriticalPathLen(MachineBasicBlock *MBB, MachineInstr *Root,
118 void verifyPatternOrder(MachineBasicBlock *MBB, MachineInstr &Root,
217 /// \param Root is a machine instruction that could be replaced by NewRoot.
224 unsigned MachineCombiner::getLatency(MachineInstr *Root, MachineInstr *NewRoot, argument
245 if (UseMO && BlockTrace.isDepInTrace(*Root, *UseMO)) {
301 /// The DAGCombine code sequence ends in MI (Machine Instruction) Root.
307 MachineBasicBlock *MBB, MachineInstr *Root,
316 // Get depth and latency of NewRoot and Root.
318 unsigned RootDepth = BlockTrace.getInstrCycles(*Root)
306 improvesCriticalPathLen( MachineBasicBlock *MBB, MachineInstr *Root, MachineTraceMetrics::Trace BlockTrace, SmallVectorImpl<MachineInstr *> &InsInstrs, SmallVectorImpl<MachineInstr *> &DelInstrs, DenseMap<unsigned, unsigned> &InstrIdxForVirtReg, MachineCombinerPattern Pattern, bool SlackIsAccurate) argument
[all...]
H A DGCRootLowering.cpp161 for (AllocaInst *Root : Roots)
162 if (!InitedRoots.count(Root)) {
164 ConstantPointerNull::get(cast<PointerType>(Root->getAllocatedType())),
165 Root);
166 SI->insertAfter(Root);
/freebsd-11-stable/sys/contrib/dev/acpica/components/debugger/
H A Ddbutils.c167 ACPI_PARSE_OBJECT *Root);
508 * PARAMETERS: Root - Root of the parse tree
519 ACPI_PARSE_OBJECT *Root)
521 ACPI_PARSE_OBJECT *Op = Root;
591 Op = AcpiPsGetDepthNext (Root, Op);
518 AcpiDbSecondPassParse( ACPI_PARSE_OBJECT *Root) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp216 const CXXRecordDecl *Root; member in class:__anon921::ASTFieldVisitor
223 : Root(root), BR(br), Checker(checker) {}
262 os << "AST class '" << Root->getName() << "' has a field '"
287 BR.EmitBasicReport(Root, Checker, "AST node allocates heap memory",

Completed in 163 milliseconds

123456