[llvm-commits] [llvm] r42814 - /llvm/trunk/include/llvm/Support/LLVMBuilder.h
Devang Patel
dpatel at apple.com
Tue Oct 9 14:41:01 PDT 2007
Author: dpatel
Date: Tue Oct 9 16:41:00 2007
New Revision: 42814
URL: http://llvm.org/viewvc/llvm-project?rev=42814&view=rev
Log:
Fix indentation.
Modified:
llvm/trunk/include/llvm/Support/LLVMBuilder.h
Modified: llvm/trunk/include/llvm/Support/LLVMBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/LLVMBuilder.h?rev=42814&r1=42813&r2=42814&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/LLVMBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/LLVMBuilder.h Tue Oct 9 16:41:00 2007
@@ -517,26 +517,26 @@
}
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 @@
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 @@
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);
More information about the llvm-commits
mailing list