• Home
  • Raw
  • Download

Lines Matching refs:getOperand

38   Value *Op = MD1->getOperand(0);  in TEST_F()
52 EXPECT_TRUE(isa<ConstantInt>(R1->getOperand(0))); in TEST_F()
53 EXPECT_TRUE(isa<ConstantInt>(R1->getOperand(1))); in TEST_F()
54 ConstantInt *C0 = cast<ConstantInt>(R1->getOperand(0)); in TEST_F()
55 ConstantInt *C1 = cast<ConstantInt>(R1->getOperand(1)); in TEST_F()
66 EXPECT_EQ(R0->getOperand(0), R0); in TEST_F()
67 EXPECT_EQ(R1->getOperand(0), R1); in TEST_F()
68 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == 0); in TEST_F()
69 EXPECT_TRUE(R1->getNumOperands() == 1 || R1->getOperand(1) == 0); in TEST_F()
77 EXPECT_TRUE(isa<MDString>(R0->getOperand(0))); in TEST_F()
78 EXPECT_EQ(cast<MDString>(R0->getOperand(0))->getString(), "Root"); in TEST_F()
79 EXPECT_TRUE(R0->getNumOperands() == 1 || R0->getOperand(1) == 0); in TEST_F()
94 EXPECT_TRUE(isa<MDString>(N0->getOperand(0))); in TEST_F()
95 EXPECT_TRUE(isa<MDString>(N1->getOperand(0))); in TEST_F()
96 EXPECT_TRUE(isa<MDString>(N2->getOperand(0))); in TEST_F()
97 EXPECT_EQ(cast<MDString>(N0->getOperand(0))->getString(), "Node"); in TEST_F()
98 EXPECT_EQ(cast<MDString>(N1->getOperand(0))->getString(), "edoN"); in TEST_F()
99 EXPECT_EQ(cast<MDString>(N2->getOperand(0))->getString(), "Node"); in TEST_F()
100 EXPECT_EQ(N0->getOperand(1), R); in TEST_F()
101 EXPECT_EQ(N1->getOperand(1), R); in TEST_F()
102 EXPECT_EQ(N2->getOperand(1), R); in TEST_F()
103 EXPECT_TRUE(isa<ConstantInt>(N2->getOperand(2))); in TEST_F()
104 EXPECT_EQ(cast<ConstantInt>(N2->getOperand(2))->getZExtValue(), 1U); in TEST_F()