[cfe-commits] r42807 - in /cfe/trunk/CodeGen: CGExprAgg.cpp CGExprComplex.cpp CGExprScalar.cpp CodeGenFunction.h
Devang Patel
dpatel at apple.com
Tue Oct 9 12:49:58 PDT 2007
Author: dpatel
Date: Tue Oct 9 14:49:58 2007
New Revision: 42807
URL: http://llvm.org/viewvc/llvm-project?rev=42807&view=rev
Log:
Use LLVMFoldingBuilder
Modified:
cfe/trunk/CodeGen/CGExprAgg.cpp
cfe/trunk/CodeGen/CGExprComplex.cpp
cfe/trunk/CodeGen/CGExprScalar.cpp
cfe/trunk/CodeGen/CodeGenFunction.h
Modified: cfe/trunk/CodeGen/CGExprAgg.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprAgg.cpp?rev=42807&r1=42806&r2=42807&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGExprAgg.cpp (original)
+++ cfe/trunk/CodeGen/CGExprAgg.cpp Tue Oct 9 14:49:58 2007
@@ -27,7 +27,7 @@
namespace {
class VISIBILITY_HIDDEN AggExprEmitter : public StmtVisitor<AggExprEmitter> {
CodeGenFunction &CGF;
- llvm::LLVMBuilder &Builder;
+ llvm::LLVMFoldingBuilder &Builder;
llvm::Value *DestPtr;
bool VolatileDest;
public:
Modified: cfe/trunk/CodeGen/CGExprComplex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprComplex.cpp?rev=42807&r1=42806&r2=42807&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGExprComplex.cpp (original)
+++ cfe/trunk/CodeGen/CGExprComplex.cpp Tue Oct 9 14:49:58 2007
@@ -31,7 +31,7 @@
class VISIBILITY_HIDDEN ComplexExprEmitter
: public StmtVisitor<ComplexExprEmitter, ComplexPairTy> {
CodeGenFunction &CGF;
- llvm::LLVMBuilder &Builder;
+ llvm::LLVMFoldingBuilder &Builder;
public:
ComplexExprEmitter(CodeGenFunction &cgf) : CGF(cgf), Builder(CGF.Builder) {
}
Modified: cfe/trunk/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGExprScalar.cpp?rev=42807&r1=42806&r2=42807&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/CodeGen/CGExprScalar.cpp Tue Oct 9 14:49:58 2007
@@ -36,7 +36,7 @@
class VISIBILITY_HIDDEN ScalarExprEmitter
: public StmtVisitor<ScalarExprEmitter, Value*> {
CodeGenFunction &CGF;
- llvm::LLVMBuilder &Builder;
+ llvm::LLVMFoldingBuilder &Builder;
public:
ScalarExprEmitter(CodeGenFunction &cgf) : CGF(cgf), Builder(CGF.Builder) {
Modified: cfe/trunk/CodeGen/CodeGenFunction.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CodeGenFunction.h?rev=42807&r1=42806&r2=42807&view=diff
==============================================================================
--- cfe/trunk/CodeGen/CodeGenFunction.h (original)
+++ cfe/trunk/CodeGen/CodeGenFunction.h Tue Oct 9 14:49:58 2007
@@ -209,7 +209,7 @@
TargetInfo &Target;
typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy;
- llvm::LLVMBuilder Builder;
+ llvm::LLVMFoldingBuilder Builder;
const FunctionDecl *CurFuncDecl;
llvm::Function *CurFn;
More information about the cfe-commits
mailing list