Lines Matching refs:CI
62 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
63 if (!CI)
66 Function *Fn = CI->getCalledFunction();
70 Value *ArgValue = CI->getArgOperand(0);
71 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
86 MDBuilder(CI->getContext()).createBranchWeights(Weights));
106 CallInst *CI;
110 CI = dyn_cast<CallInst>(BI->getCondition());
114 CI = dyn_cast<CallInst>(CmpI->getOperand(0));
117 if (!CI)
120 Function *Fn = CI->getCalledFunction();
124 Value *ArgValue = CI->getArgOperand(0);
125 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
129 MDBuilder MDB(CI->getContext());
165 CallInst *CI = dyn_cast<CallInst>(BI++);
166 if (!CI)
169 Function *Fn = CI->getCalledFunction();
171 Value *Exp = CI->getArgOperand(0);
172 CI->replaceAllUsesWith(Exp);
173 CI->eraseFromParent();