Lines Matching refs:Callee
1342 static IntrinsicInst *FindInitTrampoline(Value *Callee) { in FindInitTrampoline() argument
1343 Callee = Callee->stripPointerCasts(); in FindInitTrampoline()
1344 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee); in FindInitTrampoline()
1368 Value *Callee = CS.getCalledValue(); in visitCallSite() local
1369 if (!isa<Function>(Callee) && transformConstExprCastCall(CS)) in visitCallSite()
1372 if (Function *CalleeF = dyn_cast<Function>(Callee)) in visitCallSite()
1381 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
1382 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())), in visitCallSite()
1398 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) { in visitCallSite()
1413 new StoreInst(ConstantInt::getTrue(Callee->getContext()), in visitCallSite()
1414 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())), in visitCallSite()
1420 if (IntrinsicInst *II = FindInitTrampoline(Callee)) in visitCallSite()
1423 PointerType *PTy = cast<PointerType>(Callee->getType()); in visitCallSite()
1439 if (isa<InlineAsm>(Callee) && !CS.doesNotThrow()) { in visitCallSite()
1462 Function *Callee = in transformConstExprCastCall() local
1464 if (!Callee) in transformConstExprCastCall()
1468 if (Callee->hasFnAttribute("thunk")) in transformConstExprCastCall()
1477 FunctionType *FT = Callee->getFunctionType(); in transformConstExprCastCall()
1488 if (Callee->isDeclaration()) in transformConstExprCastCall()
1530 if (Callee->getAttributes().hasAttrSomewhere(Attribute::InAlloca) || in transformConstExprCastCall()
1531 Callee->getAttributes().hasAttrSomewhere(Attribute::ByVal)) in transformConstExprCastCall()
1566 if (Callee->isDeclaration()) { in transformConstExprCastCall()
1676 attrVec.push_back(AttributeSet::get(Callee->getContext(), FnAttrs)); in transformConstExprCastCall()
1681 const AttributeSet &NewCallerPAL = AttributeSet::get(Callee->getContext(), in transformConstExprCastCall()
1686 NC = Builder->CreateInvoke(Callee, II->getNormalDest(), in transformConstExprCastCall()
1693 NC = Builder->CreateCall(Callee, Args); in transformConstExprCastCall()
1745 Value *Callee = CS.getCalledValue(); in transformCallThroughTrampoline() local
1746 PointerType *PTy = cast<PointerType>(Callee->getType()); in transformCallThroughTrampoline()