Lines Matching refs:Caller
1232 Instruction *Caller = CS.getInstruction(); in transformConstExprCastCall() local
1240 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall()
1253 if (!Caller->use_empty() && in transformConstExprCastCall()
1259 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
1272 if (!Caller->use_empty()) in transformConstExprCastCall()
1273 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) in transformConstExprCastCall()
1374 attrVec.push_back(AttributeSet::get(Caller->getContext(), in transformConstExprCastCall()
1390 attrVec.push_back(AttributeSet::get(Caller->getContext(), i + 1, in transformConstExprCastCall()
1429 Caller->setName(""); // Void type should not have a name. in transformConstExprCastCall()
1435 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
1442 CallInst *CI = cast<CallInst>(Caller); in transformConstExprCastCall()
1453 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()
1456 NC->setDebugLoc(Caller->getDebugLoc()); in transformConstExprCastCall()
1460 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
1465 InsertNewInstBefore(NC, *Caller); in transformConstExprCastCall()
1467 Worklist.AddUsersToWorkList(*Caller); in transformConstExprCastCall()
1469 NV = UndefValue::get(Caller->getType()); in transformConstExprCastCall()
1473 if (!Caller->use_empty()) in transformConstExprCastCall()
1474 ReplaceInstUsesWith(*Caller, NV); in transformConstExprCastCall()
1475 else if (Caller->hasValueHandle()) in transformConstExprCastCall()
1476 ValueHandleBase::ValueIsRAUWd(Caller, NV); in transformConstExprCastCall()
1478 EraseInstFromFunction(*Caller); in transformConstExprCastCall()
1523 Instruction *Caller = CS.getInstruction(); in transformCallThroughTrampoline() local
1535 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
1548 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
1560 NewAttrs.push_back(AttributeSet::get(Caller->getContext(), in transformCallThroughTrampoline()
1614 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformCallThroughTrampoline()
1622 if (cast<CallInst>(Caller)->isTailCall()) in transformCallThroughTrampoline()
1625 setCallingConv(cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()