Lines Matching refs:CS
143 CallSite CS(*UI);
145 if (CS.getInstruction() == 0 || !CS.isCallee(UI)) return 0;
147 if (CS.getInstruction()->getParent()->getParent() == F)
231 CallSite CS(*UI);
232 assert(CS && "Should only have direct calls!");
234 if (!CS.getArgument(ArgNo)->isDereferenceablePointer())
637 CallSite CS(F->use_back());
638 assert(CS.getCalledFunction() == F);
639 Instruction *Call = CS.getInstruction();
640 const AttributeSet &CallPAL = CS.getAttributes();
649 CallSite::arg_iterator AI = CS.arg_begin();
717 for (; AI != CS.arg_end(); ++AI, ++ArgIndex) {
735 cast<InvokeInst>(New)->setCallingConv(CS.getCallingConv());
740 cast<CallInst>(New)->setCallingConv(CS.getCallingConv());