Lines Matching refs:Constant
26 Constant *C) { in expandUser()
50 bool convertUsersOfConstantsToInstructions(ArrayRef<Constant *> Consts) { in convertUsersOfConstantsToInstructions()
52 SmallVector<Constant *> Stack; in convertUsersOfConstantsToInstructions()
53 for (Constant *C : Consts) in convertUsersOfConstantsToInstructions()
56 Stack.push_back(cast<Constant>(U)); in convertUsersOfConstantsToInstructions()
59 SetVector<Constant *> ExpandableUsers; in convertUsersOfConstantsToInstructions()
61 Constant *C = Stack.pop_back_val(); in convertUsersOfConstantsToInstructions()
67 Stack.push_back(cast<Constant>(Nested)); in convertUsersOfConstantsToInstructions()
72 for (Constant *C : ExpandableUsers) in convertUsersOfConstantsToInstructions()
91 if (auto *C = dyn_cast<Constant>(U.get())) { in convertUsersOfConstantsToInstructions()
104 for (Constant *C : Consts) in convertUsersOfConstantsToInstructions()