Home | History | Annotate | Download | only in Utils

Lines Matching refs:Instruction

42   EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
47 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
77 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
102 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
107 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
132 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);
137 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
163 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv);
168 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
171 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
193 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
198 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
200 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
201 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
223 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SRem);
228 EXPECT_TRUE(BB->front().getOpcode() == Instruction::AShr);
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
231 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
253 EXPECT_TRUE(BB->front().getOpcode() == Instruction::URem);
258 EXPECT_TRUE(BB->front().getOpcode() == Instruction::ICmp);
260 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
261 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);