Lines Matching defs:VTS
141 // Constrain the type set to be the intersection with VTS.
142 bool TypeSetByHwMode::constrain(const TypeSetByHwMode &VTS) {
145 for (const auto &I : VTS) {
157 if (VTS.hasMode(M) || VTS.hasDefault()) {
158 Changed |= intersect(I.second, VTS.get(M));
175 bool TypeSetByHwMode::assign_if(const TypeSetByHwMode &VTS, Predicate P) {
177 for (const auto &I : VTS) {
206 bool TypeSetByHwMode::operator==(const TypeSetByHwMode &VTS) const {
209 bool VTSIsSimple = VTS.isSimple();
211 return getSimple() == VTS.getSimple();
215 bool VTSHaveDefault = VTSIsSimple || VTS.hasDefault();
222 for (const auto &I : VTS)
228 if (get(M) != VTS.get(M))
237 bool NoModeVTS = !VTS.hasMode(M) || VTS.get(M).empty();
241 if (get(M) != VTS.get(M))
804 void TypeInfer::expandOverloads(TypeSetByHwMode &VTS) const {
805 ValidateOnExit _1(VTS, *this);
810 for (auto &I : VTS)
868 if (Infer.Validate && !VTS.validate()) {
2348 TypeSetByHwMode VTS(MVT::iPTR);
2349 TP.getInfer().expandOverloads(VTS);
2350 return VTS;
4425 for (const TypeSetByHwMode &VTS : N.getExtTypes())
4426 for (const auto &I : VTS)