[llvm-commits] [llvm] r59373 - /llvm/trunk/include/llvm/Support/IRBuilder.h
Nick Lewycky
nicholas at mxc.ca
Sat Nov 15 12:32:34 PST 2008
Author: nicholas
Date: Sat Nov 15 14:32:33 2008
New Revision: 59373
URL: http://llvm.org/viewvc/llvm-project?rev=59373&view=rev
Log:
Clean up some strange whitespace.
Modified:
llvm/trunk/include/llvm/Support/IRBuilder.h
Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=59373&r1=59372&r2=59373&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/IRBuilder.h Sat Nov 15 14:32:33 2008
@@ -299,9 +299,8 @@
return Insert(new StoreInst(Val, Ptr, isVolatile));
}
template<typename InputIterator>
- Value *CreateGEP(Value *Ptr, InputIterator IdxBegin,
- InputIterator IdxEnd, const char *Name = "") {
-
+ Value *CreateGEP(Value *Ptr, InputIterator IdxBegin, InputIterator IdxEnd,
+ const char *Name = "") {
if (Constant *PC = dyn_cast<Constant>(Ptr)) {
// Every index must be constant.
InputIterator i;
@@ -395,7 +394,7 @@
}
Value *CreateCast(Instruction::CastOps Op, Value *V, const Type *DestTy,
- const char *Name = "") {
+ const char *Name = "") {
if (V->getType() == DestTy)
return V;
if (Constant *VC = dyn_cast<Constant>(V))
@@ -403,7 +402,7 @@
return Insert(CastInst::Create(Op, V, DestTy), Name);
}
Value *CreateIntCast(Value *V, const Type *DestTy, bool isSigned,
- const char *Name = "") {
+ const char *Name = "") {
if (V->getType() == DestTy)
return V;
if (Constant *VC = dyn_cast<Constant>(V))
@@ -569,7 +568,7 @@
}
Value *CreateExtractElement(Value *Vec, Value *Idx,
- const char *Name = "") {
+ const char *Name = "") {
if (Constant *VC = dyn_cast<Constant>(Vec))
if (Constant *IC = dyn_cast<Constant>(Idx))
return Folder.CreateExtractElement(VC, IC);
@@ -586,7 +585,7 @@
}
Value *CreateShuffleVector(Value *V1, Value *V2, Value *Mask,
- const char *Name = "") {
+ const char *Name = "") {
if (Constant *V1C = dyn_cast<Constant>(V1))
if (Constant *V2C = dyn_cast<Constant>(V2))
if (Constant *MC = dyn_cast<Constant>(Mask))
More information about the llvm-commits
mailing list