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