Home | History | Annotate | Download | only in InstCombine

Lines Matching full:callee

206   // callee isn't.
862 static IntrinsicInst *FindInitTrampoline(Value *Callee) {
863 Callee = Callee->stripPointerCasts();
864 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee);
886 // If the callee is a pointer to a function, attempt to move any casts to the
888 Value *Callee = CS.getCalledValue();
889 if (!isa<Function>(Callee) && transformConstExprCastCall(CS))
892 if (Function *CalleeF = dyn_cast<Function>(Callee))
893 // If the call and callee calling conventions don't match, this call must
901 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
902 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
912 // change the callee to a null pointer.
918 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) {
933 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
934 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
940 if (IntrinsicInst *II = FindInitTrampoline(Callee))
943 PointerType *PTy = cast<PointerType>(Callee->getType());
959 if (isa<InlineAsm>(Callee) && !CS.doesNotThrow()) {
978 // transformConstExprCastCall - If the callee is a constexpr cast of a function,
982 Function *Callee =
984 if (Callee == 0)
993 FunctionType *FT = Callee->getFunctionType();
1002 if (Callee->isDeclaration() &&
1079 if (Callee->isDeclaration() && !isConvertible)
1083 if (Callee->isDeclaration()) {
1088 // If the callee is just a declaration, don't change the varargsness of the
1095 // If both the callee and the cast type are varargs, we still have to make
1193 attrVec.push_back(AttributeSet::get(Callee->getContext(), FnAttrs));
1198 const AttributeSet &NewCallerPAL = AttributeSet::get(Callee->getContext(),
1203 NC = Builder->CreateInvoke(Callee, II->getNormalDest(),
1210 NC = Builder->CreateCall(Callee, Args);
1254 Value *Callee = CS.getCalledValue();
1255 PointerType *PTy = cast<PointerType>(Callee->getType());