diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-10 00:24:54 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-10 00:24:54 +0000 |
commit | f02e9ddf5efc75917af712b3c7f909581205f0a5 (patch) | |
tree | deef0d42f983746828d59ea10386c9c6ab7e8dc8 /lib/CodeGen/CodeGenFunction.h | |
parent | 0b0ee502fcf703ba5cf9e31362b4e25190bc8b0b (diff) |
Lift EmitTargetBuiltinExpr out of EmitBuiltinExpr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 8058c342e7..ca499d85e4 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -418,6 +418,10 @@ public: RValue EmitBuiltinExpr(unsigned BuiltinID, const CallExpr *E); + /// EmitTargetBuiltinExpr - Emit the given builtin call. Returns 0 + /// if the call is unhandled by the current target. + llvm::Value *EmitTargetBuiltinExpr(unsigned BuiltinID, const CallExpr *E); + llvm::Value *EmitX86BuiltinExpr(unsigned BuiltinID, const CallExpr *E); llvm::Value *EmitPPCBuiltinExpr(unsigned BuiltinID, const CallExpr *E); |