Lines Matching refs:cast
118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(),
120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(),
125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(),
127 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(),
261 auto *CI = cast<CallInst>(&BB->front());
262 auto *RI = cast<ReturnInst>(BB->getTerminator());
267 cast<MDNode>(cast<MetadataAsValue>(CI->getArgOperand(0))->getMetadata());
290 CI = cast<CallInst>(&BB->front());
291 RI = cast<ReturnInst>(BB->getTerminator());
295 EXPECT_EQ(M1, cast<MetadataAsValue>(CI->getArgOperand(0))->getMetadata());