summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/CodeGen/CGExprAgg.cpp2
-rw-r--r--clang/CodeGen/CGExprComplex.cpp2
-rw-r--r--clang/CodeGen/CGExprScalar.cpp2
-rw-r--r--clang/CodeGen/CodeGenFunction.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/clang/CodeGen/CGExprAgg.cpp b/clang/CodeGen/CGExprAgg.cpp
index de9e2b5f6f1..743c2486d3d 100644
--- a/clang/CodeGen/CGExprAgg.cpp
+++ b/clang/CodeGen/CGExprAgg.cpp
@@ -27,7 +27,7 @@ using namespace CodeGen;
namespace {
class VISIBILITY_HIDDEN AggExprEmitter : public StmtVisitor<AggExprEmitter> {
CodeGenFunction &CGF;
- llvm::LLVMBuilder &Builder;
+ llvm::LLVMFoldingBuilder &Builder;
llvm::Value *DestPtr;
bool VolatileDest;
public:
diff --git a/clang/CodeGen/CGExprComplex.cpp b/clang/CodeGen/CGExprComplex.cpp
index 8dfe244a4f2..f27519c8f57 100644
--- a/clang/CodeGen/CGExprComplex.cpp
+++ b/clang/CodeGen/CGExprComplex.cpp
@@ -31,7 +31,7 @@ namespace {
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) {
}
diff --git a/clang/CodeGen/CGExprScalar.cpp b/clang/CodeGen/CGExprScalar.cpp
index 155cf3b3134..cd5c078b5c9 100644
--- a/clang/CodeGen/CGExprScalar.cpp
+++ b/clang/CodeGen/CGExprScalar.cpp
@@ -36,7 +36,7 @@ namespace {
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) {
diff --git a/clang/CodeGen/CodeGenFunction.h b/clang/CodeGen/CodeGenFunction.h
index c62541bea5b..b48280cd31d 100644
--- a/clang/CodeGen/CodeGenFunction.h
+++ b/clang/CodeGen/CodeGenFunction.h
@@ -209,7 +209,7 @@ public:
TargetInfo &Target;
typedef std::pair<llvm::Value *, llvm::Value *> ComplexPairTy;
- llvm::LLVMBuilder Builder;
+ llvm::LLVMFoldingBuilder Builder;
const FunctionDecl *CurFuncDecl;
llvm::Function *CurFn;
OpenPOWER on IntegriCloud