Lines Matching refs:cast
42 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));
64 const SCEVMulExpr *M0 = cast<SCEVMulExpr>(P0);
65 const SCEVMulExpr *M1 = cast<SCEVMulExpr>(P1);
66 const SCEVMulExpr *M2 = cast<SCEVMulExpr>(P2);
68 EXPECT_EQ(cast<SCEVConstant>(M0->getOperand(0))->getValue()->getZExtValue(),
70 EXPECT_EQ(cast<SCEVConstant>(M1->getOperand(0))->getValue()->getZExtValue(),
72 EXPECT_EQ(cast<SCEVConstant>(M2->getOperand(0))->getValue()->getZExtValue(),
76 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0);
77 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V1);
78 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V2);
85 EXPECT_EQ(cast<SCEVUnknown>(M0->getOperand(1))->getValue(), V0);
86 EXPECT_EQ(cast<SCEVUnknown>(M1->getOperand(1))->getValue(), V0);
87 EXPECT_EQ(cast<SCEVUnknown>(M2->getOperand(1))->getValue(), V0);
95 Function *F = cast<Function>(M.getOrInsertFunction("f", FTy));