Lines Matching full:leaves
520 // Leaves of the expression are values that either aren't the right kind of
533 // Leaves - Keeps track of the set of putative leaves as well as the number of
536 LeafMap Leaves; // Leaf -> Total weight so far.
561 // Appears to be a leaf. Is the operand already in the set of leaves?
562 LeafMap::iterator It = Leaves.find(Op);
563 if (It == Leaves.end()) {
571 Leaves[Op] = Weight;
575 } else if (It != Leaves.end()) {
596 Leaves.erase(It);
608 Leaves.erase(It); // Since the value may be morphed below.
637 Leaves[Op] = Weight;
641 // The leaves, repeated according to their weights, represent the linearized
645 LeafMap::iterator It = Leaves.find(V);
646 if (It == Leaves.end())
692 /// NotRewritable - The operands being written will be the leaves of the new
694 /// mistake. Inner nodes are always reassociable, and usually leaves are not
696 /// would not be leaves), so most of the time there is no danger of this. But
701 /// leaves and refusing to reuse any of them as inner nodes.