Lines Matching defs:Cst
138 int64_t Cst;
139 bool match = mi_match(MIBCst->getOperand(0).getReg(), MRI, m_ICst(Cst));
141 ASSERT_EQ(Cst, 42);
191 // Try to match MUL(Cst, Reg) on src of MUL(Reg, Cst) to validate
193 int64_t Cst;
195 m_GMul(m_ICst(Cst), m_Reg(Src0)));
197 ASSERT_EQ(Cst, 42);
203 m_GSub(m_ICst(Cst), m_Reg(Src0)));
210 m_GFMul(m_ICst(Cst), m_Reg(Src0)));
212 ASSERT_EQ(Cst, 42);
247 match = mi_match(MIBCAdd->getOperand(0).getReg(), MRI, m_ICst(Cst));
249 ASSERT_EQ(Cst, 1);
254 match = mi_match(MIBCAdd1->getOperand(0).getReg(), MRI, m_ICst(Cst));
256 ASSERT_EQ(Cst, 1);
266 match = mi_match(MIBCSub->getOperand(0).getReg(), MRI, m_ICst(Cst));
268 ASSERT_EQ(Cst, 0);