Lines Matching refs:Function
178 // If the caller function is nounwind, mark the call as nounwind, even if the
880 // to a direct call to a function. Otherwise return NULL.
903 // If the callee is a pointer to a function, attempt to move any casts to the
906 if (!isa<Function>(Callee) && transformConstExprCastCall(CS))
909 if (Function *CalleeF = dyn_cast<Function>(Callee))
913 // Only do this for calls to a function with a body. A prototype may
995 // transformConstExprCastCall - If the callee is a constexpr cast of a function,
999 Function *Callee =
1000 dyn_cast<Function>(CS.getCalledValue()->stripPointerCasts());
1006 // Okay, this is a cast from a function to a different type. Unless doing so
1092 // Do not delete arguments unless we have a function body.
1106 // In this case we have more arguments than the new function type, but we
1152 // If the function takes more arguments than the call was taking, add them
1157 // If we are removing arguments to the function, emit an obnoxious warning.
1160 errs() << "WARNING: While resolving call to function '"
1239 // transformCallThroughTrampoline - Turn a call to a function created by
1241 // underlying function.
1259 Function *NestF =cast<Function>(Tramp->getArgOperand(1)->stripPointerCasts());
1320 // Add any function attributes.
1325 // Handle this by synthesizing a new function type, equal to FTy
1354 // code sort out any function type mismatches.
1386 // code sort out any function type mismatches.