Lines Matching refs:Constant
26 Constant *C) { in expandUser()
52 bool convertUsersOfConstantsToInstructions(ArrayRef<Constant *> Consts, in convertUsersOfConstantsToInstructions()
57 SmallVector<Constant *> Stack; in convertUsersOfConstantsToInstructions()
58 for (Constant *C : Consts) { in convertUsersOfConstantsToInstructions()
65 Stack.push_back(cast<Constant>(U)); in convertUsersOfConstantsToInstructions()
70 SetVector<Constant *> ExpandableUsers; in convertUsersOfConstantsToInstructions()
72 Constant *C = Stack.pop_back_val(); in convertUsersOfConstantsToInstructions()
78 Stack.push_back(cast<Constant>(Nested)); in convertUsersOfConstantsToInstructions()
83 for (Constant *C : ExpandableUsers) in convertUsersOfConstantsToInstructions()
102 if (auto *C = dyn_cast<Constant>(U.get())) { in convertUsersOfConstantsToInstructions()
116 for (Constant *C : Consts) in convertUsersOfConstantsToInstructions()