Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Caller

205   // If the caller function is nounwind, mark the call as nounwind, even if the
986 Instruction *Caller = CS.getInstruction();
994 Type *OldRetTy = Caller->getType();
1006 OldRetTy == TD->getIntPtrType(Caller->getContext())) &&
1008 NewRetTy == TD->getIntPtrType(Caller->getContext()))))
1011 if (!Caller->use_empty() &&
1016 if (!CallerPAL.isEmpty() && !Caller->use_empty()) {
1029 if (!Caller->use_empty())
1030 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller))
1074 ParamTy == TD->getIntPtrType(Caller->getContext())) &&
1076 ActTy == TD->getIntPtrType(Caller->getContext()))));
1138 attrVec.push_back(AttributeSet::get(Caller->getContext(),
1155 attrVec.push_back(AttributeSet::get(Caller->getContext(), i + 1,
1194 Caller->setName(""); // Void type should not have a name.
1200 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1207 CallInst *CI = cast<CallInst>(Caller);
1218 if (OldRetTy != NV->getType() && !Caller->use_empty()) {
1223 NC->setDebugLoc(Caller->getDebugLoc());
1227 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1232 InsertNewInstBefore(NC, *Caller);
1234 Worklist.AddUsersToWorkList(*Caller);
1236 NV = UndefValue::get(Caller->getType());
1240 if (!Caller->use_empty())
1241 ReplaceInstUsesWith(*Caller, NV);
1243 EraseInstFromFunction(*Caller);
1288 Instruction *Caller = CS.getInstruction();
1300 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
1313 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
1325 NewAttrs.push_back(AttributeSet::get(Caller->getContext(),
1378 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
1386 if (cast<CallInst>(Caller)->isTailCall())
1389 setCallingConv(cast<CallInst>(Caller)->getCallingConv());