Convert some tab stops into spaces.
authorDuncan Sands <baldrick@free.fr>
Mon, 12 Jul 2010 08:16:59 +0000 (08:16 +0000)
committerDuncan Sands <baldrick@free.fr>
Mon, 12 Jul 2010 08:16:59 +0000 (08:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130 91177308-0d34-0410-b5e6-96231b3b80d8

33 files changed:
examples/Kaleidoscope/Chapter3/toy.cpp
examples/Kaleidoscope/Chapter4/toy.cpp
examples/Kaleidoscope/Chapter5/toy.cpp
examples/Kaleidoscope/Chapter6/toy.cpp
include/llvm/ExecutionEngine/ExecutionEngine.h
lib/Analysis/DomPrinter.cpp
lib/CodeGen/PBQP/HeuristicSolver.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
lib/ExecutionEngine/JIT/JIT.h
lib/MC/MCContext.cpp
lib/MC/MCExpr.cpp
lib/MC/MCParser/AsmLexer.cpp
lib/MC/MCParser/AsmParser.cpp
lib/System/Win32/Signals.inc
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
lib/Target/PIC16/PIC16MemSelOpt.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/Scalar/ABCD.cpp
lib/Transforms/Scalar/LoopIndexSplit.cpp
lib/VMCore/AsmWriter.cpp
lib/VMCore/Instructions.cpp
tools/bugpoint/BugDriver.h
tools/bugpoint/ListReducer.h
tools/bugpoint/ToolRunner.h
tools/opt/opt.cpp
utils/TableGen/ARMDecoderEmitter.h
utils/TableGen/AsmMatcherEmitter.cpp
utils/TableGen/X86RecognizableInstr.cpp

index 9a3d4a4e6df0d513627e1b3c43a1ce4b01305682..80d691dd536d9c21d36874a2abf5c6bd88c6132c 100644 (file)
@@ -400,7 +400,7 @@ Value *CallExprAST::Codegen() {
 
 Function *PrototypeAST::Codegen() {
   // Make the function type:  double(double,double) etc.
-       std::vector<const Type*> Doubles(Args.size(),
+  std::vector<const Type*> Doubles(Args.size(),
                                    Type::getDoubleTy(getGlobalContext()));
   FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
                                        Doubles, false);
index c88a76f42297604b565f3fd065bac26c418b6d06..327c5c0591c00e169ac20009130c20d6cdc326d6 100644 (file)
@@ -407,7 +407,7 @@ Value *CallExprAST::Codegen() {
 
 Function *PrototypeAST::Codegen() {
   // Make the function type:  double(double,double) etc.
-       std::vector<const Type*> Doubles(Args.size(),
+  std::vector<const Type*> Doubles(Args.size(),
                                    Type::getDoubleTy(getGlobalContext()));
   FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
                                        Doubles, false);
index 844c769ebd2e76cf68e0794faf27467060318cee..c98ee88c394fa762d55b0cf143b664cbf39df1eb 100644 (file)
@@ -652,7 +652,7 @@ Value *ForExprAST::Codegen() {
 
 Function *PrototypeAST::Codegen() {
   // Make the function type:  double(double,double) etc.
-       std::vector<const Type*> Doubles(Args.size(),
+  std::vector<const Type*> Doubles(Args.size(),
                                    Type::getDoubleTy(getGlobalContext()));
   FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
                                        Doubles, false);
index 98a097cc47d3f626556ffced85a483eedacea2d2..b7b8738f587ddafc205ed9a6c5e72aa3a3a39be8 100644 (file)
@@ -756,7 +756,7 @@ Value *ForExprAST::Codegen() {
 
 Function *PrototypeAST::Codegen() {
   // Make the function type:  double(double,double) etc.
-       std::vector<const Type*> Doubles(Args.size(),
+  std::vector<const Type*> Doubles(Args.size(),
                                    Type::getDoubleTy(getGlobalContext()));
   FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()),
                                        Doubles, false);
index c3f190233e223ac45aa52ae0e3a9c06067756353..3287b39a3c9500c8d5d2e57e4df4d2be751d881c 100644 (file)
@@ -174,8 +174,8 @@ public:
                                     CodeGenOpt::Level OptLevel =
                                       CodeGenOpt::Default,
                                     bool GVsWithCode = true,
-                                   CodeModel::Model CMM =
-                                     CodeModel::Default);
+                                    CodeModel::Model CMM =
+                                      CodeModel::Default);
 
   /// addModule - Add a Module to the list of modules that we can JIT from.
   /// Note that this takes ownership of the Module: when the ExecutionEngine is
index a1676e5bb61343bfd83d00b936eff89e914cc913..d95c3761bee62bd06d83857fdd6db96c1afe59ac 100644 (file)
@@ -43,10 +43,10 @@ struct DOTGraphTraits<DomTreeNode*> : public DefaultDOTGraphTraits {
 
     if (isSimple())
       return DOTGraphTraits<const Function*>
-              ::getSimpleNodeLabel(BB, BB->getParent());
+        ::getSimpleNodeLabel(BB, BB->getParent());
     else
       return DOTGraphTraits<const Function*>
-              ::getCompleteNodeLabel(BB, BB->getParent());
+        ::getCompleteNodeLabel(BB, BB->getParent());
   }
 };
 
index bd18b5216f37802a38e3ef9e1ace59b73fcdee1f..02938df007004c4d2e4fefef4887e9df558d2c11 100644 (file)
@@ -406,7 +406,7 @@ namespace PBQP {
 
       // Create node data objects.
       for (Graph::NodeItr nItr = g.nodesBegin(), nEnd = g.nodesEnd();
-              nItr != nEnd; ++nItr) {
+           nItr != nEnd; ++nItr) {
         nodeDataList.push_back(NodeData());
         g.setNodeData(nItr, &nodeDataList.back());
       }
index 17e6f430f4fea0ec9a733ec0bbaa951b7cf3e9fa..e67175246457247b3e06e8509e00efbc4c236152 100644 (file)
@@ -3573,24 +3573,24 @@ SDValue DAGCombiner::visitSIGN_EXTEND(SDNode *N) {
         // we know that the element size of the sext'd result matches the
         // element size of the compare operands.
       if (VT.getSizeInBits() == N0VT.getSizeInBits())
-       return DAG.getVSetCC(N->getDebugLoc(), VT, N0.getOperand(0),
-                            N0.getOperand(1),
-                            cast<CondCodeSDNode>(N0.getOperand(2))->get());
+        return DAG.getVSetCC(N->getDebugLoc(), VT, N0.getOperand(0),
+                             N0.getOperand(1),
+                             cast<CondCodeSDNode>(N0.getOperand(2))->get());
       // If the desired elements are smaller or larger than the source
       // elements we can use a matching integer vector type and then
       // truncate/sign extend
       else {
-       EVT MatchingElementType =
-         EVT::getIntegerVT(*DAG.getContext(),
-                           N0VT.getScalarType().getSizeInBits());
-       EVT MatchingVectorType =
-         EVT::getVectorVT(*DAG.getContext(), MatchingElementType,
-                          N0VT.getVectorNumElements());
-       SDValue VsetCC =
-         DAG.getVSetCC(N->getDebugLoc(), MatchingVectorType, N0.getOperand(0),
-                       N0.getOperand(1),
-                       cast<CondCodeSDNode>(N0.getOperand(2))->get());
-       return DAG.getSExtOrTrunc(VsetCC, N->getDebugLoc(), VT);
+        EVT MatchingElementType =
+          EVT::getIntegerVT(*DAG.getContext(),
+                            N0VT.getScalarType().getSizeInBits());
+        EVT MatchingVectorType =
+          EVT::getVectorVT(*DAG.getContext(), MatchingElementType,
+                           N0VT.getVectorNumElements());
+        SDValue VsetCC =
+          DAG.getVSetCC(N->getDebugLoc(), MatchingVectorType, N0.getOperand(0),
+                        N0.getOperand(1),
+                        cast<CondCodeSDNode>(N0.getOperand(2))->get());
+        return DAG.getSExtOrTrunc(VsetCC, N->getDebugLoc(), VT);
       }
     }
 
@@ -3964,24 +3964,24 @@ SDValue DAGCombiner::visitANY_EXTEND(SDNode *N) {
         // we know that the element size of the sext'd result matches the
         // element size of the compare operands.
       if (VT.getSizeInBits() == N0VT.getSizeInBits())
-       return DAG.getVSetCC(N->getDebugLoc(), VT, N0.getOperand(0),
-                            N0.getOperand(1),
-                            cast<CondCodeSDNode>(N0.getOperand(2))->get());
+        return DAG.getVSetCC(N->getDebugLoc(), VT, N0.getOperand(0),
+                             N0.getOperand(1),
+                             cast<CondCodeSDNode>(N0.getOperand(2))->get());
       // If the desired elements are smaller or larger than the source
       // elements we can use a matching integer vector type and then
       // truncate/sign extend
       else {
-       EVT MatchingElementType =
-         EVT::getIntegerVT(*DAG.getContext(),
-                           N0VT.getScalarType().getSizeInBits());
-       EVT MatchingVectorType =
-         EVT::getVectorVT(*DAG.getContext(), MatchingElementType,
-                          N0VT.getVectorNumElements());
-       SDValue VsetCC =
-         DAG.getVSetCC(N->getDebugLoc(), MatchingVectorType, N0.getOperand(0),
-                       N0.getOperand(1),
-                       cast<CondCodeSDNode>(N0.getOperand(2))->get());
-       return DAG.getSExtOrTrunc(VsetCC, N->getDebugLoc(), VT);
+        EVT MatchingElementType =
+          EVT::getIntegerVT(*DAG.getContext(),
+                            N0VT.getScalarType().getSizeInBits());
+        EVT MatchingVectorType =
+          EVT::getVectorVT(*DAG.getContext(), MatchingElementType,
+                           N0VT.getVectorNumElements());
+        SDValue VsetCC =
+          DAG.getVSetCC(N->getDebugLoc(), MatchingVectorType, N0.getOperand(0),
+                        N0.getOperand(1),
+                        cast<CondCodeSDNode>(N0.getOperand(2))->get());
+        return DAG.getSExtOrTrunc(VsetCC, N->getDebugLoc(), VT);
       }
     }
 
index 68bcebc7dd3cd8637d8c012dd1361440370b1182..650ee5a0721ccc302511e2a4e7464aa60fcfceae 100644 (file)
@@ -505,7 +505,7 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_VAARG(SDNode *N) {
 
   SDValue NewVAARG;
   NewVAARG = DAG.getVAArg(NVT, dl, Chain, Ptr, N->getOperand(2),
-                         N->getConstantOperandVal(3));
+                          N->getConstantOperandVal(3));
 
   // Legalized the chain result - switch anything that used the old chain to
   // use the new one.
index 3786bd197b859716796d7fb2c5455519f10f2af7..6cae804422ce649f5c58dfc93741cfefdf59ad93 100644 (file)
@@ -278,7 +278,7 @@ std::string ScheduleDAGSDNodes::getGraphNodeLabel(const SUnit *SU) const {
       FlaggedNodes.push_back(N);
     while (!FlaggedNodes.empty()) {
       O << DOTGraphTraits<SelectionDAG*>
-            ::getSimpleNodeLabel(FlaggedNodes.back(), DAG);
+        ::getSimpleNodeLabel(FlaggedNodes.back(), DAG);
       FlaggedNodes.pop_back();
       if (!FlaggedNodes.empty())
         O << "\n    ";
index 26a53b58f491371f205370c4571161de0a8761c2..57d12606bc779dd5c237fbf40a93c54225805f04 100644 (file)
@@ -266,7 +266,7 @@ GenericValue Interpreter::callExternalFunction(Function *F,
     RawFn = (RawFunc)(intptr_t)
       sys::DynamicLibrary::SearchForAddressOfSymbol(F->getName());
     if (!RawFn)
-       RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F);
+      RawFn = (RawFunc)(intptr_t)getPointerToGlobalIfAvailable(F);
     if (RawFn != 0)
       RawFunctions->insert(std::make_pair(F, RawFn));  // Cache for later
   } else {
index 831f5287e6ca375d9abbd00923bcd872b8d1bc85..1d1763edd4dbdbf499c38a8b7440bb4414fe28f9 100644 (file)
@@ -100,9 +100,9 @@ public:
                                  CodeGenOpt::Level OptLevel =
                                    CodeGenOpt::Default,
                                  bool GVsWithCode = true,
-                                CodeModel::Model CMM = CodeModel::Default) {
+                                 CodeModel::Model CMM = CodeModel::Default) {
     return ExecutionEngine::createJIT(M, Err, JMM, OptLevel, GVsWithCode,
-                                     CMM);
+                                      CMM);
   }
 
   virtual void addModule(Module *M);
index 2044a93b377a3a36aba08d556ef134a3bdbebe2d..11370642530a1947e8a8ca127dae9540b62cacfe 100644 (file)
@@ -97,14 +97,14 @@ MCSymbol *MCContext::CreateDirectionalLocalSymbol(int64_t LocalLabelVal) {
   return GetOrCreateSymbol(Twine(MAI.getPrivateGlobalPrefix()) +
                            Twine(LocalLabelVal) +
                            "\2" +
-                          Twine(NextInstance(LocalLabelVal)));
+                           Twine(NextInstance(LocalLabelVal)));
 }
 MCSymbol *MCContext::GetDirectionalLocalSymbol(int64_t LocalLabelVal,
                                                int bORf) {
   return GetOrCreateSymbol(Twine(MAI.getPrivateGlobalPrefix()) +
                            Twine(LocalLabelVal) +
                            "\2" +
-                          Twine(GetInstance(LocalLabelVal) + bORf));
+                           Twine(GetInstance(LocalLabelVal) + bORf));
 }
 
 MCSymbol *MCContext::LookupSymbol(StringRef Name) const {
index c000dd70cdac80c8e2b17e7c51c5df80c5e3e7dd..343f334752351ddb0124c531c6a761f5284d713e 100644 (file)
@@ -40,7 +40,7 @@ void MCExpr::print(raw_ostream &OS) const {
     const MCSymbol &Sym = SRE.getSymbol();
 
     if (SRE.getKind() == MCSymbolRefExpr::VK_ARM_HI16 ||
-       SRE.getKind() == MCSymbolRefExpr::VK_ARM_LO16)
+        SRE.getKind() == MCSymbolRefExpr::VK_ARM_LO16)
       OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind());
 
     // Parenthesize names that start with $ so that they don't look like
@@ -51,8 +51,8 @@ void MCExpr::print(raw_ostream &OS) const {
       OS << Sym;
 
     if (SRE.getKind() != MCSymbolRefExpr::VK_None &&
-       SRE.getKind() != MCSymbolRefExpr::VK_ARM_HI16 &&
-       SRE.getKind() != MCSymbolRefExpr::VK_ARM_LO16)
+        SRE.getKind() != MCSymbolRefExpr::VK_ARM_HI16 &&
+        SRE.getKind() != MCSymbolRefExpr::VK_ARM_LO16)
       OS << '@' << MCSymbolRefExpr::getVariantKindName(SRE.getKind());
 
     return;
index 1cbe09aa6c7fa191ef34746dbd649a1791865cd9..d696a4184e9c13dfc181507db85645d27ce6865e 100644 (file)
@@ -229,7 +229,7 @@ StringRef AsmLexer::LexUntilEndOfStatement() {
   TokStart = CurPtr;
 
   while (!isAtStartOfComment(*CurPtr) && // Start of line comment.
-         *CurPtr != ';' &&  // End of statement marker.
+          *CurPtr != ';' &&  // End of statement marker.
          *CurPtr != '\n' &&
          *CurPtr != '\r' &&
          (*CurPtr != 0 || CurPtr != CurBuf->getBufferEnd())) {
index 181b69ffc095fdc5559da772712b10d39296da1f..775075cf975a1ba727daa47b701d69cb92ee0571 100644 (file)
@@ -453,8 +453,8 @@ bool AsmParser::ParseStatement() {
       IDVal = getTok().getString();
       Lex(); // Consume the integer token to be used as an identifier token.
       if (Lexer.getKind() != AsmToken::Colon) {
-         if (!TheCondState.Ignore)
-           return TokError("unexpected token at start of statement");
+        if (!TheCondState.Ignore)
+          return TokError("unexpected token at start of statement");
       }
     }
   }
index a3a393c76e456c0021888e2cbc0d6d1dd07b3051..d6db71ba4f359e6d1219091815df5023d6da4133 100644 (file)
@@ -283,7 +283,7 @@ static LONG WINAPI LLVMUnhandledExceptionFilter(LPEXCEPTION_POINTERS ep) {
 
 #ifdef _MSC_VER
   if (ExitOnUnhandledExceptions)
-       _exit(-3);
+    _exit(-3);
 #endif
 
   // Allow dialog box to pop up allowing choice to start debugger.
index 129c09d2bd463b47cb182c2203826bebc16671b5..8415d1ad8827c4c47a8db3914c3fa299fd592978 100644 (file)
@@ -425,7 +425,7 @@ bool ARMAsmParser::ParseMemory(OwningPtr<ARMOperand> &Op) {
     const AsmToken &NextTok = Parser.getTok();
     if (NextTok.isNot(AsmToken::EndOfStatement)) {
       if (NextTok.isNot(AsmToken::Comma))
-       return Error(NextTok.getLoc(), "',' expected");
+        return Error(NextTok.getLoc(), "',' expected");
       Parser.Lex(); // Eat comma token.
       if(ParseMemoryOffsetReg(Negative, OffsetRegShifted, ShiftType,
                               ShiftAmount, Offset, OffsetIsReg, OffsetRegNum, 
@@ -488,7 +488,7 @@ bool ARMAsmParser::ParseMemoryOffsetReg(bool &Negative,
 
       const AsmToken &Tok = Parser.getTok();
       if (ParseShift(ShiftType, ShiftAmount, E))
-       return Error(Tok.getLoc(), "shift expected");
+        return Error(Tok.getLoc(), "shift expected");
       OffsetRegShifted = true;
     }
   }
index e48bbe0527aee2035bc60b064143e7761626d9e4..b4809b5e4d275025e3c7e3ed55e987ce928f2a62 100644 (file)
@@ -1397,11 +1397,11 @@ void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) {
     } else if (MO.isGlobal()) {
       MCSymbol *Symbol = MCInstLowering.GetGlobalAddressSymbol(MO);
       const MCSymbolRefExpr *SymRef1 =
-       MCSymbolRefExpr::Create(Symbol,
-                               MCSymbolRefExpr::VK_ARM_LO16, OutContext);
+        MCSymbolRefExpr::Create(Symbol,
+                                MCSymbolRefExpr::VK_ARM_LO16, OutContext);
       const MCSymbolRefExpr *SymRef2 =
-       MCSymbolRefExpr::Create(Symbol,
-                               MCSymbolRefExpr::VK_ARM_HI16, OutContext);
+        MCSymbolRefExpr::Create(Symbol,
+                                MCSymbolRefExpr::VK_ARM_HI16, OutContext);
       V1 = MCOperand::CreateExpr(SymRef1);
       V2 = MCOperand::CreateExpr(SymRef2);
     } else {
index 7ecceadfc35a256d3bf057435b3e168f9eb93540..a07ff2832aa7eec060491df1cff6f73ee8f97e63 100644 (file)
@@ -34,7 +34,7 @@
 /// Uses and Defs by this instr.  For the Uses part, the pred:$p operand is
 /// defined with two components:
 ///
-/// def pred { // Operand PredicateOperand
+/// def pred { // Operand PredicateOperand
 ///   ValueType Type = OtherVT;
 ///   string PrintMethod = "printPredicateOperand";
 ///   string AsmOperandLowerMethod = ?;
@@ -54,7 +54,7 @@
 ///
 /// For the Defs part, in the simple case of only cc_out:$s, we have:
 ///
-/// def cc_out {       // Operand OptionalDefOperand
+/// def cc_out { // Operand OptionalDefOperand
 ///   ValueType Type = OtherVT;
 ///   string PrintMethod = "printSBitModifierOperand";
 ///   string AsmOperandLowerMethod = ?;
index ab81ed1bca99688a9907b8d97edbf67b69e30869..241170b11c2ad223eb68f41635bc6dcdff6471aa 100644 (file)
@@ -117,7 +117,7 @@ bool MemSelOpt::processBasicBlock(MachineFunction &MF, MachineBasicBlock &BB) {
         DebugLoc dl = I->getDebugLoc();
         BuildMI(*MBB, I, dl, TII->get(PIC16::pagesel)).addExternalSymbol("$");
         Changed = true;
-        PageChanged = 0;           
+        PageChanged = 0;            
       }
     }
   }
index af02b7673887a594fef32c00709dbfa2e704bbcd..6c00586412ac16e49acc4256de35ce8d79689989 100644 (file)
@@ -1446,7 +1446,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI,
         }
         break;
       default:
-       break;
+        break;
       }
     }
   }
index 6135992a2f88cfdc21cbfdb0a97552e49963e108..dcf14a6860da50244de48041b34bb2dcbffb9f83 100644 (file)
@@ -230,7 +230,7 @@ class ABCD : public FunctionPass {
       DenseMapIterator<Value*, MemoizedResultChart> begin = map.begin();
       DenseMapIterator<Value*, MemoizedResultChart> end = map.end();
       for (; begin != end; ++begin) {
-       begin->second.clear();
+        begin->second.clear();
       }
       map.clear();
     }
@@ -396,8 +396,8 @@ class ABCD : public FunctionPass {
   /// this case the method returns true, otherwise false. It also obtains the
   /// Instruction and ConstantInt from the BinaryOperator and returns it.
   bool createBinaryOperatorInfo(BinaryOperator *BO, Instruction **I1,
-                               Instruction **I2, ConstantInt **C1,
-                               ConstantInt **C2);
+                                Instruction **I2, ConstantInt **C1,
+                                ConstantInt **C2);
 
   /// This method creates a constraint between a Sigma and an Instruction.
   /// These constraints are created as soon as we find a comparator that uses a
index 14926d9a722fa3e9b1058a1e11b03c489637281c..31058e5759a4a309cb677c6e58467bbca86c8c9c 100644 (file)
@@ -958,11 +958,11 @@ bool LoopIndexSplit::splitLoop() {
       continue;
 
     for (BasicBlock::iterator BI = BB->begin(), BE = BB->end();
-        BI != BE; ++BI) {
+         BI != BE; ++BI) {
       Instruction *Inst = BI;
 
       if (!Inst->isSafeToSpeculativelyExecute() && !isa<PHINode>(Inst)
-         && !isa<BranchInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst))
+          && !isa<BranchInst>(Inst) && !isa<DbgInfoIntrinsic>(Inst))
         return false;
     }
   }
index 3150cec488ccd345569387eeb0d87db9b2f1835b..7a471ef98e1da93981f9a2a155b2713397ef6922 100644 (file)
@@ -2036,7 +2036,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
 }
 
 static void WriteMDNodeComment(const MDNode *Node,
-                              formatted_raw_ostream &Out) {
+                               formatted_raw_ostream &Out) {
   if (Node->getNumOperands() < 1)
     return;
   ConstantInt *CI = dyn_cast_or_null<ConstantInt>(Node->getOperand(0));
index 381b85faa4c5cddc0025d3650c412017fdd81663..c13696f229022bfa1e0ae768f3eb0736125bdb87 100644 (file)
@@ -471,7 +471,7 @@ static Instruction *createMalloc(Instruction *InsertBefore,
 Instruction *CallInst::CreateMalloc(Instruction *InsertBefore,
                                     const Type *IntPtrTy, const Type *AllocTy,
                                     Value *AllocSize, Value *ArraySize,
-                                   Function * MallocF,
+                                    Function * MallocF,
                                     const Twine &Name) {
   return createMalloc(InsertBefore, NULL, IntPtrTy, AllocTy, AllocSize,
                       ArraySize, MallocF, Name);
index 4681ac4ab5b0e6fbca6ff1ef988fe8f1a6db9964..4f6bae5d5abb4f847219d2af267a98a0d8e0efd2 100644 (file)
@@ -269,7 +269,7 @@ public:
   /// recreate the failure. This returns true if a compiler error is found.
   ///
   bool runManyPasses(const std::vector<const PassInfo*> &AllPasses,
-                    std::string &ErrMsg);
+                     std::string &ErrMsg);
 
   /// writeProgramToFile - This writes the current "Program" to the named
   /// bitcode file.  If an error occurs, true is returned.
index 5e9cff0efa8276cdc14e476dced0058629e3734d..bd1c5da65c8fa602f740482e6ad10c3879036594 100644 (file)
@@ -183,8 +183,8 @@ Backjump:
             --i;  // Don't skip an element of the list
             Changed = true;
           }
-         if (!Error.empty())
-           return true;
+          if (!Error.empty())
+            return true;
         }
         // This can take a long time if left uncontrolled.  For now, don't
         // iterate.
index d966fc0ea4448edba2e9250890008e945b0170eb..cda0ddfa71d9d87377043444b763b0e65989b6f5 100644 (file)
@@ -64,7 +64,7 @@ public:
                      FileType fileType,
                      const std::string &InputFile,
                      const std::string &OutputFile,
-                    std::string *Error = 0,
+                     std::string *Error = 0,
                      const std::vector<std::string> &GCCArgs =
                          std::vector<std::string>(), 
                      unsigned Timeout = 0,
index cf520de7fc12c33dd0d9272f88aa728814dd96b7..0878737d34bc5068fd51f53b7a50fb38eb6183f9 100644 (file)
@@ -112,7 +112,7 @@ OptLevelO3("O3",
 static cl::opt<bool>
 UnitAtATime("funit-at-a-time",
             cl::desc("Enable IPO. This is same as llvm-gcc's -funit-at-a-time"),
-           cl::init(true));
+            cl::init(true));
 
 static cl::opt<bool>
 DisableSimplifyLibCalls("disable-simplify-libcalls",
index 107e0851ba1b1b4f296a183cf6ba11d88afcef6c..571a94778acbc293d512da13a0994fcb78db0b5b 100644 (file)
@@ -31,7 +31,7 @@ public:
   ~ARMDecoderEmitter() {
     shutdownBackend();
   }
-       
+
   // run - Output the code emitter
   void run(raw_ostream &o);
     
index 4ba3df11764dedc1749b43ed39f9129f34476775..e1aa2bc70f6c96d3bee8774c9e522d5bab85145a 100644 (file)
@@ -407,9 +407,9 @@ public:
     default:
       // This class preceeds the RHS if it is a proper subset of the RHS.
       if (isSubsetOf(RHS))
-       return true;
+        return true;
       if (RHS.isSubsetOf(*this))
-       return false;
+        return false;
 
       // Otherwise, order by name to ensure we have a total ordering.
       return ValueName < RHS.ValueName;
index a041b625398d486f70029affe86cde30b1e9d4f7..4dba85b16681b6b1ca39d50acfd71e4b93c5fa29 100644 (file)
@@ -33,7 +33,7 @@ using namespace llvm;
   MAP(C9, 38)           \
   MAP(E8, 39)           \
   MAP(F0, 40)           \
-  MAP(F8, 41)          \
+  MAP(F8, 41)           \
   MAP(F9, 42)
 
 // A clone of X86 since we can't depend on something that is generated.