Lines Matching refs:CI
207 bool ShouldInlinePointerAddress(CallInst &CI);
405 } else if (auto CI = dyn_cast<CallInst>(&I)) {
407 if (CI->getCalledFunction() && CI->canReturnTwice())
408 StackRestorePoints.push_back(CI);
722 bool SafeStack::ShouldInlinePointerAddress(CallInst &CI) {
723 Function *Callee = CI.getCalledFunction();
724 if (CI.hasFnAttr(Attribute::AlwaysInline) &&
728 CI.isNoInline())
734 auto *CI = dyn_cast<CallInst>(UnsafeStackPtr);
735 if (!CI)
741 Function *Callee = CI->getCalledFunction();
745 if (!ShouldInlinePointerAddress(*CI))
749 InlineFunction(*CI, IFI);