Lines Matching refs:Candidates
2016 SmallVectorImpl<Instruction *> &Candidates) { in getNegatibleInsts() argument
2033 Candidates.push_back(I); in getNegatibleInsts()
2036 getNegatibleInsts(I->getOperand(0), Candidates); in getNegatibleInsts()
2037 getNegatibleInsts(I->getOperand(1), Candidates); in getNegatibleInsts()
2047 Candidates.push_back(I); in getNegatibleInsts()
2050 getNegatibleInsts(I->getOperand(0), Candidates); in getNegatibleInsts()
2051 getNegatibleInsts(I->getOperand(1), Candidates); in getNegatibleInsts()
2069 SmallVector<Instruction *, 4> Candidates; in canonicalizeNegFPConstantsForOp() local
2070 getNegatibleInsts(Op, Candidates); in canonicalizeNegFPConstantsForOp()
2071 if (Candidates.empty()) in canonicalizeNegFPConstantsForOp()
2078 bool NeedsSubtract = !IsFSub && Candidates.size() % 2 == 1; in canonicalizeNegFPConstantsForOp()
2082 for (Instruction *Negatible : Candidates) { in canonicalizeNegFPConstantsForOp()
2102 if (Candidates.size() % 2 == 0) in canonicalizeNegFPConstantsForOp()
2107 assert(Candidates.size() % 2 == 1 && "Expected odd number"); in canonicalizeNegFPConstantsForOp()