Lines Matching refs:Caller

4341   Instruction *Caller = CS.getInstruction();  in transformConstExprCastCall()  local
4348 Type *OldRetTy = Caller->getType(); in transformConstExprCastCall()
4361 if (!Caller->use_empty() && in transformConstExprCastCall()
4367 if (!CallerPAL.isEmpty() && !Caller->use_empty()) { in transformConstExprCastCall()
4377 if (!Caller->use_empty()) in transformConstExprCastCall()
4378 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) in transformConstExprCastCall()
4522 Caller->setName(""); // Void type should not have a name. in transformConstExprCastCall()
4534 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
4540 ->setTailCallKind(cast<CallInst>(Caller)->getTailCallKind()); in transformConstExprCastCall()
4542 NewCS->takeName(Caller); in transformConstExprCastCall()
4549 if (Caller->extractProfTotalWeight(W)) in transformConstExprCastCall()
4555 if (OldRetTy != NV->getType() && !Caller->use_empty()) { in transformConstExprCastCall()
4558 NC->setDebugLoc(Caller->getDebugLoc()); in transformConstExprCastCall()
4562 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformConstExprCastCall()
4567 InsertNewInstBefore(NC, *Caller); in transformConstExprCastCall()
4569 Worklist.AddUsersToWorkList(*Caller); in transformConstExprCastCall()
4571 NV = UndefValue::get(Caller->getType()); in transformConstExprCastCall()
4575 if (!Caller->use_empty()) in transformConstExprCastCall()
4576 replaceInstUsesWith(*Caller, NV); in transformConstExprCastCall()
4577 else if (Caller->hasValueHandle()) { in transformConstExprCastCall()
4579 ValueHandleBase::ValueIsRAUWd(Caller, NV); in transformConstExprCastCall()
4583 ValueHandleBase::ValueIsDeleted(Caller); in transformConstExprCastCall()
4586 eraseInstFromFunction(*Caller); in transformConstExprCastCall()
4631 Instruction *Caller = CS.getInstruction(); in transformCallThroughTrampoline() local
4711 if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) { in transformCallThroughTrampoline()
4720 cast<CallInst>(Caller)->getTailCallKind()); in transformCallThroughTrampoline()
4722 cast<CallInst>(Caller)->getCallingConv()); in transformCallThroughTrampoline()
4725 NewCaller->setDebugLoc(Caller->getDebugLoc()); in transformCallThroughTrampoline()