llvm.org GIT mirror llvm / d1fe0c4
Fix more inconsistent line endings. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321016 91177308-0d34-0410-b5e6-96231b3b80d8 Dimitry Andric 1 year, 9 months ago
10 changed file(s) with 67 addition(s) and 67 deletion(s). Raw diff Collapse all Expand all
465465 if (I == ExternalSymbols.end())
466466 return;
467467
468 GV.setLinkage(I->second);
469 };
470
471 llvm::for_each(MergedModule->functions(), externalize);
472 llvm::for_each(MergedModule->globals(), externalize);
473 llvm::for_each(MergedModule->aliases(), externalize);
474 }
475
476 void LTOCodeGenerator::verifyMergedModuleOnce() {
468 GV.setLinkage(I->second);
469 };
470
471 llvm::for_each(MergedModule->functions(), externalize);
472 llvm::for_each(MergedModule->globals(), externalize);
473 llvm::for_each(MergedModule->aliases(), externalize);
474 }
475
476 void LTOCodeGenerator::verifyMergedModuleOnce() {
477477 // Only run on the first call.
478478 if (HasVerifiedInput)
479479 return;
2828 let DecoderMethod = "DecodeSignedOperand<"#BSz#">";
2929 }
3030
31 // e.g. s3 field may encode the signed integers values -1 .. 6
31 // e.g. s3 field may encode the signed integers values -1 .. 6
3232 // using binary codes 111, 000, 001, 010, 011, 100, 101, and 110, respectively
3333 class immC : Operand, PatLeaf<(imm),
3434 "\n return isInt<"#BSz#">(N->getSExtValue());"> {
533533
534534 def BEQ_S : F16_BCC_s10<0b01, "beq_s">;
535535 def BNE_S : F16_BCC_s10<0b10, "bne_s">;
536 def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
537 def BGE_S : F16_BCC_s7<0b001, "bge_s">;
538 def BLT_S : F16_BCC_s7<0b010, "blt_s">;
539 def BLE_S : F16_BCC_s7<0b011, "ble_s">;
540 def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
541 def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
542 def BLO_S : F16_BCC_s7<0b110, "blo_s">;
536 def BGT_S : F16_BCC_s7<0b000, "bgt_s">;
537 def BGE_S : F16_BCC_s7<0b001, "bge_s">;
538 def BLT_S : F16_BCC_s7<0b010, "blt_s">;
539 def BLE_S : F16_BCC_s7<0b011, "ble_s">;
540 def BHI_S : F16_BCC_s7<0b100, "bhi_s">;
541 def BHS_S : F16_BCC_s7<0b101, "bhs_s">;
542 def BLO_S : F16_BCC_s7<0b110, "blo_s">;
543543 def BLS_S : F16_BCC_s7<0b111, "bls_s">;
544544 } // let isBranch
545545
140140 }
141141
142142 if (GV.hasLocalLinkage())
143 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV);
144 };
145
146 llvm::for_each(M->functions(), recordGVSet);
147 llvm::for_each(M->globals(), recordGVSet);
148 llvm::for_each(M->aliases(), recordGVSet);
149
150 // Assigned all GVs to merged clusters while balancing number of objects in
151 // each.
143 addAllGlobalValueUsers(GVtoClusterMap, &GV, &GV);
144 };
145
146 llvm::for_each(M->functions(), recordGVSet);
147 llvm::for_each(M->globals(), recordGVSet);
148 llvm::for_each(M->aliases(), recordGVSet);
149
150 // Assigned all GVs to merged clusters while balancing number of objects in
151 // each.
152152 auto CompareClusters = [](const std::pair &a,
153153 const std::pair &b) {
154154 if (a.second || b.second)
46274627 VUCOMISSZrm %xmm16, %rdi, %noreg, %noreg, %noreg, %noreg, implicit-def %eflags
46284628 ; CHECK: VUCOMISSZrr %xmm16, %xmm1, implicit-def %eflags
46294629 VUCOMISSZrr %xmm16, %xmm1, implicit-def %eflags
4630
4631 RET 0, %zmm0, %zmm1
4630
4631 RET 0, %zmm0, %zmm1
46324632 ...
1414
1515 RUN: echo 'T*' 'T?.txt' 'T??.txt' | FileCheck -check-prefix=QUOTEDARGS %s
1616
17 STAR-NOT: TB.txt
18 STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
19
20 QUESTION-NOT: TAB.txt
21 QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
22
23 QUESTION2-NOT: TA.txt
24 QUESTION2-NOT: TB.txt
25 QUESTION2: TAB.txt
26
27 QUOTEDARGS-NOT: .txt
28 QUOTEDARGS: T* T?.txt T??.txt
17 STAR-NOT: TB.txt
18 STAR: {{(TA.txt.*TAB.txt|TAB.txt.*TA.txt)}}
19
20 QUESTION-NOT: TAB.txt
21 QUESTION: {{(TA.txt.*TB.txt|TB.txt.*TA.txt)}}
22
23 QUESTION2-NOT: TA.txt
24 QUESTION2-NOT: TB.txt
25 QUESTION2: TAB.txt
26
27 QUOTEDARGS-NOT: .txt
28 QUOTEDARGS: T* T?.txt T??.txt
545545 cl::ParseCommandLineOptions(argc, argv, "LLVM C++ ABI Data Dumper\n");
546546
547547 // Default to stdin if no filename is specified.
548 if (opts::InputFilenames.size() == 0)
549 opts::InputFilenames.push_back("-");
550
551 llvm::for_each(opts::InputFilenames, dumpInput);
552
553 return EXIT_SUCCESS;
554 }
548 if (opts::InputFilenames.size() == 0)
549 opts::InputFilenames.push_back("-");
550
551 llvm::for_each(opts::InputFilenames, dumpInput);
552
553 return EXIT_SUCCESS;
554 }
214214 ToolName = argv[0];
215215
216216 // If no input files specified, read from stdin.
217 if (InputFilenames.size() == 0)
218 InputFilenames.push_back("-");
219
220 llvm::for_each(InputFilenames, parseMCMarkup);
221 return 0;
222 }
217 if (InputFilenames.size() == 0)
218 InputFilenames.push_back("-");
219
220 llvm::for_each(InputFilenames, parseMCMarkup);
221 return 0;
222 }
21932193 && !PrintFaultMaps
21942194 && DwarfDumpType == DIDT_Null) {
21952195 cl::PrintHelpMessage();
2196 return 2;
2197 }
2198
2199 llvm::for_each(InputFilenames, DumpInput);
2200
2201 return EXIT_SUCCESS;
2202 }
2196 return 2;
2197 }
2198
2199 llvm::for_each(InputFilenames, DumpInput);
2200
2201 return EXIT_SUCCESS;
2202 }
879879 }
880880
881881 if (InputFilenames.size() == 0)
882 InputFilenames.push_back("a.out");
883
884 MoreThanOneFile = InputFilenames.size() > 1;
885 llvm::for_each(InputFilenames, printFileSectionSizes);
886 if (OutputFormat == berkeley && TotalSizes)
887 printBerkelyTotals();
888
882 InputFilenames.push_back("a.out");
883
884 MoreThanOneFile = InputFilenames.size() > 1;
885 llvm::for_each(InputFilenames, printFileSectionSizes);
886 if (OutputFormat == berkeley && TotalSizes)
887 printBerkelyTotals();
888
889889 if (HadError)
890890 return 1;
891891 }