aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/LLVMBuilder.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-10-09 21:41:00 +0000
committerDevang Patel <dpatel@apple.com>2007-10-09 21:41:00 +0000
commitec1f94423034014d4cc63d30aecdca7e30342fe8 (patch)
tree026ab359ceae442d65b9bdcc4e0aedc56880c485 /include/llvm/Support/LLVMBuilder.h
parent33bbed8f2a48ccf9ee349458db7ec4bd24dddb11 (diff)
Fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/LLVMBuilder.h')
-rw-r--r--include/llvm/Support/LLVMBuilder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Support/LLVMBuilder.h b/include/llvm/Support/LLVMBuilder.h
index cbb8c78152..fce601e3b3 100644
--- a/include/llvm/Support/LLVMBuilder.h
+++ b/include/llvm/Support/LLVMBuilder.h
@@ -517,26 +517,26 @@ public:
}
Value *CreateShl(Value *LHS, Value *RHS, const char *Name = "") {
- if (Constant *LC = dyn_cast<Constant>(LHS))
+ if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
return ConstantExpr::getShl(LC, RC);
return LLVMBuilder::CreateShl(LHS, RHS, Name);
}
Value *CreateLShr(Value *LHS, Value *RHS, const char *Name = "") {
- if (Constant *LC = dyn_cast<Constant>(LHS))
+ if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
return ConstantExpr::getLShr(LC, RC);
return LLVMBuilder::CreateLShr(LHS, RHS, Name);
}
Value *CreateAShr(Value *LHS, Value *RHS, const char *Name = "") {
- if (Constant *LC = dyn_cast<Constant>(LHS))
+ if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
return ConstantExpr::getAShr(LC, RC);
return LLVMBuilder::CreateAShr(LHS, RHS, Name);
}
-
+
//===--------------------------------------------------------------------===//
// Instruction creation methods: Compare Instructions
//===--------------------------------------------------------------------===//
@@ -617,7 +617,7 @@ public:
Value *CreateICmp(ICmpInst::Predicate P, Value *LHS, Value *RHS,
const char *Name = "") {
- if (Constant *LC = dyn_cast<Constant>(LHS))
+ if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
return ConstantExpr::getCompare(P, LC, RC);
return LLVMBuilder::CreateICmp(P, LHS, RHS, Name);
@@ -625,7 +625,7 @@ public:
Value *CreateFCmp(FCmpInst::Predicate P, Value *LHS, Value *RHS,
const char *Name = "") {
- if (Constant *LC = dyn_cast<Constant>(LHS))
+ if (Constant *LC = dyn_cast<Constant>(LHS))
if (Constant *RC = dyn_cast<Constant>(RHS))
return ConstantExpr::getCompare(P, LC, RC);
return LLVMBuilder::CreateFCmp(P, LHS, RHS, Name);