| OLD | NEW |
| 1 //===-- CodeGenFunction.h - Per-Function state for LLVM CodeGen -*- C++ -*-===// | 1 //===-- CodeGenFunction.h - Per-Function state for LLVM CodeGen -*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This is the internal per-function state used for llvm translation. | 10 // This is the internal per-function state used for llvm translation. |
| (...skipping 2690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2701 | 2701 |
| 2702 void EmitSynthesizedCXXCopyCtor(llvm::Value *Dest, llvm::Value *Src, | 2702 void EmitSynthesizedCXXCopyCtor(llvm::Value *Dest, llvm::Value *Src, |
| 2703 const Expr *Exp); | 2703 const Expr *Exp); |
| 2704 | 2704 |
| 2705 void enterFullExpression(const ExprWithCleanups *E) { | 2705 void enterFullExpression(const ExprWithCleanups *E) { |
| 2706 if (E->getNumObjects() == 0) return; | 2706 if (E->getNumObjects() == 0) return; |
| 2707 enterNonTrivialFullExpression(E); | 2707 enterNonTrivialFullExpression(E); |
| 2708 } | 2708 } |
| 2709 void enterNonTrivialFullExpression(const ExprWithCleanups *E); | 2709 void enterNonTrivialFullExpression(const ExprWithCleanups *E); |
| 2710 | 2710 |
| 2711 void EmitCXXThrowExpr(const CXXThrowExpr *E, bool KeepInsertionPoint = true); | 2711 void EmitCXXThrowExpr(const CXXThrowExpr *E); |
| 2712 | 2712 |
| 2713 void EmitLambdaExpr(const LambdaExpr *E, AggValueSlot Dest); | 2713 void EmitLambdaExpr(const LambdaExpr *E, AggValueSlot Dest); |
| 2714 | 2714 |
| 2715 RValue EmitAtomicExpr(AtomicExpr *E, llvm::Value *Dest = 0); | 2715 RValue EmitAtomicExpr(AtomicExpr *E, llvm::Value *Dest = 0); |
| 2716 | 2716 |
| 2717 //===--------------------------------------------------------------------===// | 2717 //===--------------------------------------------------------------------===// |
| 2718 // Annotations Emission | 2718 // Annotations Emission |
| 2719 //===--------------------------------------------------------------------===// | 2719 //===--------------------------------------------------------------------===// |
| 2720 | 2720 |
| 2721 /// Emit an annotation call (intrinsic or builtin). | 2721 /// Emit an annotation call (intrinsic or builtin). |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2971 } | 2971 } |
| 2972 static type restore(CodeGenFunction &CGF, saved_type value) { | 2972 static type restore(CodeGenFunction &CGF, saved_type value) { |
| 2973 return value.restore(CGF); | 2973 return value.restore(CGF); |
| 2974 } | 2974 } |
| 2975 }; | 2975 }; |
| 2976 | 2976 |
| 2977 } // end namespace CodeGen | 2977 } // end namespace CodeGen |
| 2978 } // end namespace clang | 2978 } // end namespace clang |
| 2979 | 2979 |
| 2980 #endif | 2980 #endif |
| OLD | NEW |