Home | History | Annotate | Download | only in Utils

Lines Matching defs:CI

58 bool llvm::InlineFunction(CallInst *CI, InlineFunctionInfo &IFI,
60 return InlineFunction(CallSite(CI), IFI, CalleeAAR, InsertLifetime);
194 CallInst *CI = dyn_cast<CallInst>(I);
196 if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue()))
202 BB->splitBasicBlock(CI->getIterator(), CI->getName() + ".noexc");
208 SmallVector<Value*, 8> InvokeArgs(CI->arg_begin(), CI->arg_end());
211 CI->getOperandBundlesAsDefs(OpBundles);
218 InvokeInst::Create(CI->getCalledValue(), Split, UnwindEdge, InvokeArgs,
219 OpBundles, CI->getName(), BB);
220 II->setDebugLoc(CI->getDebugLoc());
221 II->setCallingConv(CI->getCallingConv());
222 II->setAttributes(CI->getAttributes());
226 CI->replaceAllUsesWith(II);
1313 if (CallInst *CI = dyn_cast<CallInst>(TheCall))
1314 CallSiteTailKind = CI->getTailCallKind();
1319 CallInst *CI = dyn_cast<CallInst>(&I);
1320 if (!CI)
1336 CallInst::TailCallKind ChildTCK = CI->getTailCallKind();
1338 CI->setTailCallKind(ChildTCK);
1339 InlinedMustTailCalls |= CI->isMustTailCall();
1344 CI->setDoesNotThrow();