Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Callee

208   // callee isn't.
1108 static IntrinsicInst *FindInitTrampoline(Value *Callee) {
1109 Callee = Callee->stripPointerCasts();
1110 IntrinsicInst *AdjustTramp = dyn_cast<IntrinsicInst>(Callee);
1132 // If the callee is a pointer to a function, attempt to move any casts to the
1134 Value *Callee = CS.getCalledValue();
1135 if (!isa<Function>(Callee) && transformConstExprCastCall(CS))
1138 if (Function *CalleeF = dyn_cast<Function>(Callee))
1139 // If the call and callee calling conventions don't match, this call must
1147 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
1148 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
1158 // change the callee to a null pointer.
1164 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) {
1179 new StoreInst(ConstantInt::getTrue(Callee->getContext()),
1180 UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
1186 if (IntrinsicInst *II = FindInitTrampoline(Callee))
1189 PointerType *PTy = cast<PointerType>(Callee->getType());
1205 if (isa<InlineAsm>(Callee) && !CS.doesNotThrow()) {
1224 // transformConstExprCastCall - If the callee is a constexpr cast of a function,
1228 Function *Callee =
1230 if (!Callee)
1239 FunctionType *FT = Callee->getFunctionType();
1250 if (Callee->isDeclaration())
1316 if (Callee->isDeclaration()) {
1321 // If the callee is just a declaration, don't change the varargsness of the
1328 // If both the callee and the cast type are varargs, we still have to make
1426 attrVec.push_back(AttributeSet::get(Callee->getContext(), FnAttrs));
1431 const AttributeSet &NewCallerPAL = AttributeSet::get(Callee->getContext(),
1436 NC = Builder->CreateInvoke(Callee, II->getNormalDest(),
1443 NC = Builder->CreateCall(Callee, Args);
1489 Value *Callee = CS.getCalledValue();
1490 PointerType *PTy = cast<PointerType>(Callee->getType());