Searched refs:ToVal (Results 1 – 2 of 2) sorted by relevance
1664 const llvm::APSInt &ToVal = D2->getInitVal(); in IsStructurallyEquivalent() local1665 if (FromVal.isSigned() != ToVal.isSigned()) in IsStructurallyEquivalent()1667 if (FromVal.getBitWidth() != ToVal.getBitWidth()) in IsStructurallyEquivalent()1669 if (FromVal != ToVal) in IsStructurallyEquivalent()
485 static bool replaceFoldableUses(Instruction *Cond, Value *ToVal, in replaceFoldableUses() argument488 assert(Cond->getType() == ToVal->getType()); in replaceFoldableUses()493 Changed |= replaceNonLocalUsesWith(Cond, ToVal); in replaceFoldableUses()503 Changed |= I.replaceUsesOfWith(Cond, ToVal); in replaceFoldableUses()