Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Caller

178   // If the caller function is nounwind, mark the call as nounwind, even if the
1003 Instruction *Caller = CS.getInstruction();
1011 Type *OldRetTy = Caller->getType();
1023 OldRetTy == TD->getIntPtrType(Caller->getContext())) &&
1025 NewRetTy == TD->getIntPtrType(Caller->getContext()))))
1028 if (!Caller->use_empty() &&
1033 if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
1043 if (!Caller->use_empty())
1044 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller))
1085 ParamTy == TD->getIntPtrType(Caller->getContext())) &&
1087 ActTy == TD->getIntPtrType(Caller->getContext()))));
1195 Caller->setName(""); // Void type should not have a name.
1201 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1208 CallInst *CI = cast<CallInst>(Caller);
1219 if (OldRetTy != NV->getType() && !Caller->use_empty()) {
1224 NC->setDebugLoc(Caller->getDebugLoc());
1228 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1233 InsertNewInstBefore(NC, *Caller);
1235 Worklist.AddUsersToWorkList(*Caller);
1237 NV = UndefValue::get(Caller->getType());
1241 if (!Caller->use_empty())
1242 ReplaceInstUsesWith(*Caller, NV);
1244 EraseInstFromFunction(*Caller);
1289 Instruction *Caller = CS.getInstruction();
1374 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1382 if (cast<CallInst>(Caller)->isTailCall())
1385 setCallingConv(cast<CallInst>(Caller)->getCallingConv());