Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Caller

689   // If the caller function is nounwind, mark the call as nounwind, even if the
2070 Instruction *Caller = CS.getInstruction();
2078 Type *OldRetTy = Caller->getType();
2091 if (!Caller->use_empty() &&
2097 if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
2107 if (!Caller->use_empty())
2108 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller))
2217 attrVec.push_back(AttributeSet::get(Caller->getContext(),
2233 attrVec.push_back(AttributeSet::get(Caller->getContext(), i + 1,
2272 Caller->setName(""); // Void type should not have a name.
2281 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
2288 CallInst *CI = cast<CallInst>(Caller);
2299 if (OldRetTy != NV->getType() && !Caller->use_empty()) {
2302 NC->setDebugLoc(Caller->getDebugLoc());
2306 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
2311 InsertNewInstBefore(NC, *Caller);
2313 Worklist.AddUsersToWorkList(*Caller);
2315 NV = UndefValue::get(Caller->getType());
2319 if (!Caller->use_empty())
2320 ReplaceInstUsesWith(*Caller, NV);
2321 else if (Caller->hasValueHandle()) {
2323 ValueHandleBase::ValueIsRAUWd(Caller, NV);
2327 ValueHandleBase::ValueIsDeleted(Caller);
2330 EraseInstFromFunction(*Caller);
2375 Instruction *Caller = CS.getInstruction();
2387 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
2400 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
2412 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
2466 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
2474 if (cast<CallInst>(Caller)->isTailCall())
2477 setCallingConv(cast<CallInst>(Caller)->getCallingConv());