Lines Matching defs:CI
86 auto *CI = dyn_cast<CallInst>(Inst);
87 ASSERT_TRUE(CI);
88 ASSERT_FALSE(CI->getCalledFunction());
89 bool IsPromoted = tryPromoteCall(*CI);
94 EXPECT_EQ(F1, CI->getCalledFunction());
116 auto *CI = dyn_cast<CallInst>(Inst);
117 ASSERT_TRUE(CI);
118 ASSERT_FALSE(CI->getCalledFunction());
119 bool IsPromoted = tryPromoteCall(*CI);
143 auto *CI = dyn_cast<CallInst>(Inst);
144 ASSERT_TRUE(CI);
145 ASSERT_FALSE(CI->getCalledFunction());
146 bool IsPromoted = tryPromoteCall(*CI);
178 auto *CI = dyn_cast<CallInst>(Inst);
179 ASSERT_TRUE(CI);
180 ASSERT_FALSE(CI->getCalledFunction());
181 bool IsPromoted = tryPromoteCall(*CI);
220 auto *CI = dyn_cast<CallInst>(Inst);
221 ASSERT_TRUE(CI);
222 ASSERT_FALSE(CI->getCalledFunction());
223 bool IsPromoted = tryPromoteCall(*CI);
262 auto *CI = dyn_cast<CallInst>(Inst);
263 ASSERT_TRUE(CI);
264 ASSERT_FALSE(CI->getCalledFunction());
265 bool IsPromoted = tryPromoteCall(*CI);
321 auto *CI = dyn_cast<CallInst>(Inst);
322 ASSERT_TRUE(CI);
323 ASSERT_FALSE(CI->getCalledFunction());
324 bool IsPromoted1 = tryPromoteCall(*CI);
329 EXPECT_EQ(F, CI->getCalledFunction());
339 CI = dyn_cast<CallInst>(Inst);
340 ASSERT_TRUE(CI);
341 ASSERT_FALSE(CI->getCalledFunction());
342 bool IsPromoted2 = tryPromoteCall(*CI);
347 EXPECT_EQ(F, CI->getCalledFunction());
389 auto *CI = dyn_cast<CallInst>(Inst);
390 ASSERT_TRUE(CI);
391 ASSERT_FALSE(CI->getCalledFunction());
392 bool IsPromoted = tryPromoteCall(*CI);
436 CallInst *CI = dyn_cast<CallInst>(&*std::next(F->front().rbegin()));
437 ASSERT_TRUE(CI && CI->isIndirectCall());
458 *CI, VPtr, Callee, VTableAddressPoints, BranchWeights);