Home
last modified time | relevance | path

Searched refs:Leaves (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchTree.cpp
H A DGIMatchTree.h
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DOpenMPKinds.cpp656 ArrayRef<Directive> Leaves = getLeafConstructs(DKind); in isOpenMPNestingTeamsDirective() local
657 return !Leaves.empty() && Leaves.front() == OMPD_teams; in isOpenMPNestingTeamsDirective()
679 ArrayRef<Directive> Leaves = getLeafConstructs(Kind); in isOpenMPNestingDistributeDirective() local
680 return !Leaves.empty() && Leaves.front() == OMPD_distribute; in isOpenMPNestingDistributeDirective()
691 ArrayRef<Directive> Leaves = getLeafConstructs(Kind); in isOpenMPGenericLoopDirective() local
692 return !Leaves.empty() && Leaves.back() == OMPD_loop; in isOpenMPGenericLoopDirective()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/
H A DDirectiveEmitter.cpp644 std::vector<const Record *> Leaves = Dir.getLeafConstructs(); in emitLeafTable() local
649 List[1] = Leaves.size(); // The number of leaves to follow. in emitLeafTable()
653 static_cast<size_t>(I) < Leaves.size() ? DirId.at(Leaves[I]) : -1; in emitLeafTable()
712 auto &Leaves = LeafTable[Ordering[I]]; in emitLeafTable() local
713 OS << " {" << Qual << getIdentifierName(Directives[Leaves[0]], Prefix); in emitLeafTable()
714 OS << ", static_cast<" << DirectiveType << ">(" << Leaves[1] << "),"; in emitLeafTable()
715 for (size_t I = 2, E = Leaves.size(); I != E; ++I) { in emitLeafTable()
716 int Idx = Leaves[I]; in emitLeafTable()
718 OS << ' ' << Qual << getIdentifierName(Directives[Leaves[I]], Prefix) in emitLeafTable()
826 std::vector<const Record *> Leaves = D.getLeafConstructs(); in generateGetDirectiveAssociation() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86PartialReduction.cpp432 static void collectLeaves(Value *Root, SmallVectorImpl<Instruction *> &Leaves) { in collectLeaves() argument
492 Leaves.push_back(I); in collectLeaves()
524 SmallVector<Instruction *, 8> Leaves; in runOnFunction() local
525 collectLeaves(Root, Leaves); in runOnFunction()
527 for (Instruction *I : Leaves) { in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp2104 LeafPrioQueue Leaves(NOpcode); in balanceSubTree() local
2176 Leaves.push(WeightedLeaf(Child, Weight, InsertionOrder++)); in balanceSubTree()
2187 Leaves.push(WeightedLeaf(Child, Weight, InsertionOrder++)); in balanceSubTree()
2239 Leaves.push(WeightedLeaf(New, Weight, Mul1.InsertionOrder)); in balanceSubTree()
2243 Leaves.push(Mul1); in balanceSubTree()
2245 Leaves.push(Mul2); in balanceSubTree()
2253 if (NOpcode == ISD::ADD && GA.Value.getNode() && Leaves.hasConst() && in balanceSubTree()
2257 ConstantSDNode *Offset = cast<ConstantSDNode>(Leaves.top().Value); in balanceSubTree()
2271 GA.Weight += Leaves.top().Weight; in balanceSubTree()
2276 Leaves.pop(); // Remove the offset constant from the queue in balanceSubTree()
[all …]
/freebsd/share/misc/
H A Dflowers20 Leaves (dead):Melancholy.
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp423 LeafMap Leaves; // Leaf -> Total weight so far. in LinearizeExprTree() local
452 LeafMap::iterator It = Leaves.find(Op); in LinearizeExprTree()
453 if (It == Leaves.end()) { in LinearizeExprTree()
462 Leaves[Op] = Weight; in LinearizeExprTree()
468 assert(It != Leaves.end() && Visited.count(Op) && in LinearizeExprTree()
482 Leaves.erase(It); // Since the value may be morphed below. in LinearizeExprTree()
524 Leaves[Op] = Weight; in LinearizeExprTree()
531 LeafMap::iterator It = Leaves.find(V); in LinearizeExprTree()
532 if (It == Leaves.end()) in LinearizeExprTree()
H A DLowerMatrixIntrinsics.cpp2680 SmallVector<Value *, 4> Leaves; in getExpressionLeaves() local
2686 Leaves.push_back(Expr); in getExpressionLeaves()
2687 return Leaves; in getExpressionLeaves()
2762 auto Leaves = getExpressionLeaves(ExprsInSubprogram); in emitRemarks() local
2765 for (Value *Leaf : Leaves) in emitRemarks()
2769 for (auto *L : Leaves) { in emitRemarks()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSDPatternMatch.h1254 SmallVector<SDValue> Leaves;
1255 collectLeaves(N, Leaves);
1256 if (Leaves.size() != NumPatterns)
1265 (Matches[I].push_back(sd_context_match(Leaves[I], Ctx, P)), ...);
1274 void collectLeaves(SDValue V, SmallVector<SDValue> &Leaves) {
1277 collectLeaves(V->getOperand(I), Leaves);
1279 Leaves.emplace_back(V);
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DSyntax.td12 // - Leaves, owning exactly one token. (syntax::Leaf)