Lines Matching refs:Weight
584 APInt Weight = P.second; // Number of paths to this operand. in LinearizeExprTree() local
585 DEBUG(dbgs() << "OPERAND: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
592 DEBUG(dbgs() << "DIRECT ADD: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
593 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree()
605 DEBUG(dbgs() << "ADD USES LEAF: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
607 Leaves[Op] = Weight; in LinearizeExprTree()
616 IncorporateWeight(It->second, Weight, Opcode); in LinearizeExprTree()
643 Weight = It->second; in LinearizeExprTree()
663 DEBUG(dbgs() << "MORPH LEAF: " << *Op << " (" << Weight << ") TO "); in LinearizeExprTree()
666 Worklist.push_back(std::make_pair(BO, Weight)); in LinearizeExprTree()
673 DEBUG(dbgs() << "ADD LEAF: " << *Op << " (" << Weight << ")\n"); in LinearizeExprTree()
676 Leaves[Op] = Weight; in LinearizeExprTree()
689 APInt Weight = It->second; in LinearizeExprTree() local
690 if (Weight.isMinValue()) in LinearizeExprTree()
695 Ops.push_back(std::make_pair(V, Weight)); in LinearizeExprTree()