| /llvm-project-15.0.7/clang/unittests/Rename/ |
| H A D | RenameFunctionTest.cpp | 40 std::string Before = R"( in TEST_F() local 56 std::string Before = R"( in TEST_F() local 79 std::string Before = R"( in TEST_F() local 92 std::string Before = R"( in TEST_F() local 113 std::string Before = R"( in TEST_F() local 122 std::string Before = R"( in TEST_F() local 131 std::string Before = R"( in TEST_F() local 146 std::string Before = R"( in TEST_F() local 158 std::string Before = R"( in TEST_F() local 208 std::string Before = R"( in TEST_F() local [all …]
|
| H A D | RenameClassTest.cpp | 407 std::string Before = R"( in TEST_F() local 444 std::string Before = R"( in TEST_F() local 473 std::string Before = R"( in TEST_F() local 506 std::string Before = R"( in TEST_F() local 549 std::string Before = R"( in TEST_F() local 598 std::string Before = R"( in TEST_F() local 633 std::string Before = R"( in TEST_F() local 678 std::string Before = R"( in TEST_F() local 707 std::string Before = R"( in TEST_F() local 736 std::string Before = R"( in TEST_F() local [all …]
|
| H A D | RenameAliasTest.cpp | 200 runClangRenameOnCode(Param.Before, Param.OldName, Param.NewName); in TEST_P() 205 std::string Before = R"( in TEST_F() local 213 std::string After = runClangRenameOnCode(Before, "TOld", "TNew"); in TEST_F() 218 std::string Before = R"( in TEST_F() local 226 std::string After = runClangRenameOnCode(Before, "UOld", "UNew"); in TEST_F() 231 std::string Before = R"( in TEST_F() local 245 std::string After = runClangRenameOnCode(Before, "Old", "New"); in TEST_F() 250 std::string Before = R"( in TEST_F() local 262 std::string After = runClangRenameOnCode(Before, "ns::UOld", "ns::UNew"); in TEST_F() 267 std::string Before = R"( in TEST_F() local [all …]
|
| H A D | RenameMemberTest.cpp | 164 runClangRenameOnCode(Param.Before, Param.OldName, Param.NewName); in TEST_P() 169 std::string Before = R"( in TEST_F() local 179 std::string After = runClangRenameOnCode(Before, "X::Moo", "Y::Meh"); in TEST_F() 184 std::string Before = R"( in TEST_F() local 194 std::string After = runClangRenameOnCode(Before, "X::Foo", "X::Bar"); in TEST_F() 199 std::string Before = R"( in TEST_F() local 221 std::string After = runClangRenameOnCode(Before, "X::a", "X::bar"); in TEST_F()
|
| H A D | RenameEnumTest.cpp | 152 runClangRenameOnCode(Param.Before, Param.OldName, Param.NewName); in TEST_P() 157 std::string Before = R"( in TEST_F() local 167 std::string After = runClangRenameOnCode(Before, "ns::Old1", "ns::New1"); in TEST_F() 172 std::string Before = R"( in TEST_F() local 182 std::string After = runClangRenameOnCode(Before, "ns::Old1", "ns::New1"); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/IPO/ |
| H A D | WholeProgramDevirt.cpp | 19 VT1.Before.BytesUsed = {1 << 0}; in TEST() 24 VT2.Before.BytesUsed = {1 << 1}; in TEST() 86 EXPECT_EQ(std::vector<uint8_t>{1}, VT1.Before.Bytes); in TEST() 87 EXPECT_EQ(std::vector<uint8_t>{1}, VT1.Before.BytesUsed); in TEST() 88 EXPECT_EQ(std::vector<uint8_t>{0}, VT2.Before.Bytes); in TEST() 89 EXPECT_EQ(std::vector<uint8_t>{1}, VT2.Before.BytesUsed); in TEST() 96 EXPECT_EQ(std::vector<uint8_t>{1}, VT1.Before.Bytes); in TEST() 98 EXPECT_EQ(std::vector<uint8_t>{0x80}, VT2.Before.Bytes); in TEST() 106 EXPECT_EQ((std::vector<uint8_t>{1, 12}), VT1.Before.Bytes); in TEST() 118 VT1.Before.BytesUsed); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/test/Pass/ |
| H A D | dynamic-pipeline.mlir | 11 // CHECK: IR Dump Before 16 // MOD1: Dump Before CSE 18 // MOD1: Dump Before Canonicalizer 23 // MOD1: Dump Before CSE 25 // MOD1: Dump Before Canonicalizer 32 // CHECK: IR Dump Before 37 // MOD2: Dump Before CSE 39 // MOD2: Dump Before Canonicalizer
|
| H A D | ir-printing.mlir | 18 // BEFORE: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 20 // BEFORE: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 22 // BEFORE-NOT: // -----// IR Dump Before{{.*}}Canonicalizer (canonicalize) //----- // 25 // BEFORE_ALL: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 27 // BEFORE_ALL: // -----// IR Dump Before{{.*}}Canonicalizer (canonicalize) //----- // 29 // BEFORE_ALL: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 31 // BEFORE_ALL: // -----// IR Dump Before{{.*}}Canonicalizer (canonicalize) //----- // 35 // AFTER-NOT: // -----// IR Dump Before 42 // AFTER_ALL-NOT: // -----// IR Dump Before 52 // BEFORE_MODULE: // -----// IR Dump Before{{.*}}CSE (cse) ('func.func' operation: @foo) //----- // [all …]
|
| H A D | run-reproducer.mlir | 21 // BEFORE: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 23 // BEFORE: // -----// IR Dump Before{{.*}}CSE (cse) //----- // 25 // BEFORE-NOT: // -----// IR Dump Before{{.*}}Canonicalizer (canonicalize) //----- //
|
| H A D | dynamic-pipeline-nested.mlir | 11 // CHECK: IR Dump Before 16 // scheduling: if we are nesting we expect to see to individual "Dump Before 20 // CHECK: Dump Before CSE 25 // NESTED: Dump Before CSE
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | FormatTests.cpp | 39 void expectAfterNewline(const char *Before, const char *After, in expectAfterNewline() argument 42 EXPECT_EQ(After, afterTyped(Before, "\n", Style)) << Before; in expectAfterNewline() 44 void expectAfter(const char *Typed, const char *Before, const char *After, in expectAfter() argument 47 EXPECT_EQ(After, afterTyped(Before, Typed, Style)) << Before; in expectAfter()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | ExprSequence.cpp | 74 bool ExprSequence::inSequence(const Stmt *Before, const Stmt *After) const { in inSequence() argument 75 Before = resolveSyntheticStmt(Before); in inSequence() 80 for (const Stmt *Successor = getSequenceSuccessor(Before); Successor; in inSequence() 88 for (const Stmt *Parent : getParentStmts(Before, Context)) { in inSequence() 97 const Stmt *Before) const { in potentiallyAfter() 98 return !inSequence(After, Before); in potentiallyAfter()
|
| /llvm-project-15.0.7/llvm/include/llvm/Passes/ |
| H A D | StandardInstrumentations.h | 141 static void printDiff(raw_ostream &out, const CFG &Before, 199 const IRUnitT &Before, const IRUnitT &After, 257 const std::string &Before, const std::string &After, 308 static void report(const OrderedChangedData &Before, 345 IRComparer(const IRDataT<T> &Before, const IRDataT<T> &After) in IRComparer() argument 346 : Before(Before), After(After) {} in IRComparer() 364 const IRDataT<T> &Before; variable 389 const IRDataT<EmptyData> &Before, 394 const FuncDataT<EmptyData> &Before, 460 const IRDataT<DCData> &Before, const IRDataT<DCData> &After, [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Markup.cpp | 67 bool needsLeadingEscape(char C, llvm::StringRef Before, llvm::StringRef After, in needsLeadingEscape() argument 69 assert(Before.take_while(llvm::isSpace).empty()); in needsLeadingEscape() 71 if (!StartsLine || !Before.empty()) in needsLeadingEscape() 77 return StartsLine && Before.empty() && in needsLeadingEscape() 82 (Before.empty() || llvm::isSpace(Before.back())); in needsLeadingEscape() 86 (!Before.empty() && llvm::isAlnum(Before.back())); in needsLeadingEscape() 97 return StartsLine && Before.empty() && After.startswith("~~"); in needsLeadingEscape() 99 if (!StartsLine || !Before.empty()) in needsLeadingEscape() 132 return StartsLine && Before.empty(); in needsLeadingEscape() 147 return StartsLine && !Before.empty() && in needsLeadingEscape() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | argument-comment.rst | 40 Before: 61 Before: 82 Before: 103 Before: 128 Before: 149 Before: 174 Before:
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | ARMBlockPlacement.cpp | 43 void moveBasicBlock(MachineBasicBlock *BB, MachineBasicBlock *Before); 247 MachineBasicBlock *Before) { in moveBasicBlock() argument 249 << Before->getName() << "\n"); in moveBasicBlock() 254 MachineBasicBlock *BeforePrev = Before->getPrevNode(); in moveBasicBlock() 258 BB->moveBefore(Before); in moveBasicBlock() 291 if (BeforePrev->isSuccessor(Before)) in moveBasicBlock() 292 FixFallthrough(BeforePrev, Before); in moveBasicBlock()
|
| /llvm-project-15.0.7/llvm/lib/Passes/ |
| H A D | StandardInstrumentations.cpp | 126 StringRef SR[2]{Before, After}; in doSystemDiff() 456 T &Before = BeforeStack.back(); in handleIRAfterPass() local 462 if (Before == After) { in handleIRAfterPass() 558 << Before; in handleAfter() 574 const auto &BFD = Before.getData(); in report() 655 IRDataT<T>::report(Before, After, in compare() 981 if (Before.isPoisoned()) { in printDiff() 991 for (auto &BB : Before.Graph) { in printDiff() 1002 if (BB == Before.Graph.end()) { in printDiff() 1206 Before, After, in handleFunctionCompare() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/ |
| H A D | const-correctness.rst | 21 int result = i * i; // Before transformation 29 int potential_const_int = 42; // Before transformation 33 MyClass could_be_const; // Before transformation 38 int &reference_value = potential_const_int; // Before transformation 132 // Before 137 // Before 157 // Before 177 // Before 182 // Before 187 // Before
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIWholeQuadMode.cpp | 205 void toWQM(MachineBasicBlock &MBB, MachineBasicBlock::iterator Before, 744 MachineBasicBlock::iterator Before) { in saveSCC() argument 748 BuildMI(MBB, Before, DebugLoc(), TII->get(AMDGPU::COPY), SaveReg) in saveSCC() 1165 MachineBasicBlock::iterator Before, in toExact() argument 1173 MI = BuildMI(MBB, Before, DebugLoc(), TII->get(AndOpc), Exec) in toExact() 1183 MachineBasicBlock::iterator Before, in toWQM() argument 1199 MachineBasicBlock::iterator Before, in toStrictMode() argument 1366 MachineBasicBlock::iterator Before = in processBlock() local 1385 toStrictMode(MBB, Before, SavedNonStrictReg, Needs); in processBlock() 1395 toExact(MBB, Before, SavedWQMReg); in processBlock() [all …]
|
| /llvm-project-15.0.7/llvm/test/Other/ |
| H A D | print-before-after.ll | 30 ; CHECK-LV: *** IR Dump Before LoopVectorizePass on foo *** 32 ; CHECK-LV: *** IR Dump Before LoopVectorizePass on bar *** 36 ; CHECK-UNSWITCH: *** IR Dump Before SimpleLoopUnswitchPass on Loop at depth 1 containing 38 ; CHECK-UNSWITCH: *** IR Dump Before SimpleLoopUnswitchPass on Loop at depth 1 containing 40 ; CHECK-UNSWITCH: *** IR Dump Before SimpleLoopUnswitchPass on Loop at depth 1 containing
|
| H A D | print-on-crash.ll | 17 ; CHECK_SIMPLE: *** Dump of IR Before Last Pass {{.*}} Started *** 21 ; CHECK_MODULE: *** Dump of Module IR Before Last Pass {{.*}} Started *** 23 ; CHECK_FILTERED: *** Dump of Module IR Before Last Pass {{.*}} Filtered Out ***
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | WholeProgramDevirt.h | 100 AccumBitVector Before; member 160 return minBeforeBytes() + TM->Bits->Before.Bytes.size(); in allocatedBeforeBytes() 172 TM->Bits->Before.setBit(Pos - 8 * minBeforeBytes(), RetVal); in setBeforeBit() 187 TM->Bits->Before.setLE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes() 189 TM->Bits->Before.setBE(Pos - 8 * minBeforeBytes(), RetVal, Size); in setBeforeBytes()
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | xcore-stringtype.c | 183 extern int Before[10]; 184 int testReDecl() {return After[0] + Before[0];} in testReDecl() 186 int Before[]; variable
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | RegBankSelect.cpp | 755 bool Before = !MO.isDef(); in RepairingPlacement() local 759 addInsertPoint(MI, Before); in RepairingPlacement() 769 if (!Before) { in RepairingPlacement() 803 if (Before) { in RepairingPlacement() 837 bool Before) { in addInsertPoint() argument 838 addInsertPoint(*new InstrInsertPoint(MI, Before)); in addInsertPoint() 859 bool Before) in InstrInsertPoint() argument 860 : Instr(Instr), Before(Before) { in InstrInsertPoint() 863 assert((!Before || !Instr.isPHI()) && in InstrInsertPoint() 865 assert((!Before || !Instr.getNextNode() || !Instr.getNextNode()->isPHI()) && in InstrInsertPoint() [all …]
|
| /llvm-project-15.0.7/llvm/test/TableGen/ |
| H A D | TemplateArgRename.td | 7 class Before<int XX>; 8 class After : Before<4> {
|