forked from OSchip/llvm-project
Rename an EmitCallExpr function to EmitCall to make it clear that it doesn't emit an expr.
llvm-svn: 72446
This commit is contained in:
parent
acb851a8c0
commit
3a9463bfda
|
@ -517,7 +517,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
|
|||
// that function.
|
||||
if (getContext().BuiltinInfo.isLibFunction(BuiltinID) ||
|
||||
getContext().BuiltinInfo.isPredefinedLibFunction(BuiltinID))
|
||||
return EmitCallExpr(CGM.getBuiltinLibFunction(BuiltinID),
|
||||
return EmitCall(CGM.getBuiltinLibFunction(BuiltinID),
|
||||
E->getCallee()->getType(), E->arg_begin(),
|
||||
E->arg_end());
|
||||
|
||||
|
|
|
@ -1137,7 +1137,7 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E) {
|
|||
}
|
||||
|
||||
llvm::Value *Callee = EmitScalarExpr(E->getCallee());
|
||||
return EmitCallExpr(Callee, E->getCallee()->getType(),
|
||||
return EmitCall(Callee, E->getCallee()->getType(),
|
||||
E->arg_begin(), E->arg_end(), TargetDecl);
|
||||
}
|
||||
|
||||
|
@ -1255,7 +1255,7 @@ LValue CodeGenFunction::EmitStmtExprLValue(const StmtExpr *E) {
|
|||
}
|
||||
|
||||
|
||||
RValue CodeGenFunction::EmitCallExpr(llvm::Value *Callee, QualType CalleeType,
|
||||
RValue CodeGenFunction::EmitCall(llvm::Value *Callee, QualType CalleeType,
|
||||
CallExpr::const_arg_iterator ArgBeg,
|
||||
CallExpr::const_arg_iterator ArgEnd,
|
||||
const Decl *TargetDecl) {
|
||||
|
|
|
@ -673,6 +673,10 @@ public:
|
|||
const CallArgList &Args,
|
||||
const Decl *TargetDecl = 0);
|
||||
|
||||
RValue EmitCall(llvm::Value *Callee, QualType FnType,
|
||||
CallExpr::const_arg_iterator ArgBeg,
|
||||
CallExpr::const_arg_iterator ArgEnd,
|
||||
const Decl *TargetDecl = 0);
|
||||
RValue EmitCallExpr(const CallExpr *E);
|
||||
|
||||
RValue EmitCXXMemberCall(const CXXMethodDecl *MD,
|
||||
|
@ -680,14 +684,8 @@ public:
|
|||
llvm::Value *This,
|
||||
CallExpr::const_arg_iterator ArgBeg,
|
||||
CallExpr::const_arg_iterator ArgEnd);
|
||||
|
||||
RValue EmitCXXMemberCallExpr(const CXXMemberCallExpr *E);
|
||||
|
||||
RValue EmitCallExpr(llvm::Value *Callee, QualType FnType,
|
||||
CallExpr::const_arg_iterator ArgBeg,
|
||||
CallExpr::const_arg_iterator ArgEnd,
|
||||
const Decl *TargetDecl = 0);
|
||||
|
||||
RValue EmitBuiltinExpr(const FunctionDecl *FD,
|
||||
unsigned BuiltinID, const CallExpr *E);
|
||||
|
||||
|
|
Loading…
Reference in New Issue