diff --git a/llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html b/llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html new file mode 100644 --- /dev/null +++ b/llvm/test/tools/opt-viewer/Outputs/filter/basic_or.h.html @@ -0,0 +1,217 @@ + + +
| Line + | Hotness + | Optimization + | Source + | Inline Context + | 
|---|---|---|---|---|
| 1 | ++ | + | void TestH(int *res, int *c, int *d, int *p, int n) { | 
+|
| 2 | ++ | + |   int i; | 
+|
| 3 | ++ | + | ||
| 4 | ++ | + | #pragma clang loop vectorize(assume_safety) | 
+|
| 5 | ++ | + |   for (i = 0; i < 1600; i++) { | 
+|
| 6 | ++ | + |     res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; | 
+|
| 7 | ++ | + |   } | 
+|
| 8 | ++ | + | ||
| 9 | ++ | + |   for (i = 0; i < 16; i++) { | 
+|
| 10 | ++ | + |     res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; | 
+|
| 11 | ++ | + |   } | 
+|
| 12 | ++ | + | ||
| 13 | ++ | + |   foo(); | 
+|
| + | + | inline | +foo can be inlined into TestH with cost=30 (threshold=412)  | 
+TestH | +
| + | + | inline | +foo inlined into TestH  | 
+TestH | +
| 14 | ++ | + | ||
| 15 | ++ | + |   foo(); bar(); foo(); | 
+|
| + | + | inline | +bar will not be inlined into TestH because its definition is unavailable  | 
+TestH | +
| + | + | inline | +foo can be inlined into TestH with cost=30 (threshold=412)  | 
+TestH | +
| + | + | inline | +foo inlined into TestH  | 
+TestH | +
| + | + | inline | +foo can be inlined into TestH with cost=30 (threshold=412)  | 
+TestH | +
| + | + | inline | +foo inlined into TestH  | 
+TestH | +
| 16 | ++ | + | } | 
+|
| 17 | ++ | + | 
| Line + | Hotness + | Optimization + | Source + | Inline Context + | 
|---|---|---|---|---|
| 1 | ++ | + | void bar(); | 
+|
| 2 | ++ | + | void foo() { bar(); } | 
+|
| + | + | inline | +bar will not be inlined into foo because its definition is unavailable  | 
+foo | +
| 3 | ++ | + | ||
| 4 | ++ | + | #include "or.h" | 
+|
| 5 | ++ | + | ||
| 6 | ++ | + | void Test(int *res, int *c, int *d, int *p, int n) { | 
+|
| 7 | ++ | + |   int i; | 
+|
| 8 | ++ | + | ||
| 9 | ++ | + | #pragma clang loop vectorize(assume_safety) | 
+|
| 10 | ++ | + |   for (i = 0; i < 1600; i++) { | 
+|
| 11 | ++ | + |     res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; | 
+|
| 12 | ++ | + |   } | 
+|
| 13 | ++ | + | ||
| 14 | ++ | + |   for (i = 0; i < 16; i++) { | 
+|
| 15 | ++ | + |     res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; | 
+|
| 16 | ++ | + |   } | 
+|
| 17 | ++ | + | ||
| 18 | ++ | + |   foo(); | 
+|
| + | + | inline | +foo can be inlined into Test with cost=30 (threshold=412)  | 
+Test | +
| + | + | inline | +foo inlined into Test  | 
+Test | +
| 19 | ++ | + | ||
| 20 | ++ | + |   foo(); bar(); foo(); | 
+|
| + | + | inline | +bar will not be inlined into Test because its definition is unavailable  | 
+Test | +
| + | + | inline | +foo can be inlined into Test with cost=30 (threshold=412)  | 
+Test | +
| + | + | inline | +foo inlined into Test  | 
+Test | +
| + | + | inline | +foo can be inlined into Test with cost=30 (threshold=412)  | 
+Test | +
| + | + | inline | +foo inlined into Test  | 
+Test | +
| 21 | ++ | + | } | 
+|
| 22 | ++ | + | 
| Source Location | +Hotness | +Function | +Pass | +
| basic/or.c:2:14 | ++ | foo | +inline | +
| basic/or.c:18:3 | ++ | Test | +inline | +
| basic/or.c:18:3 | ++ | Test | +inline | +
| basic/or.c:20:3 | ++ | Test | +inline | +
| basic/or.c:20:3 | ++ | Test | +inline | +
| basic/or.c:20:10 | ++ | Test | +inline | +
| basic/or.c:20:17 | ++ | Test | +inline | +
| basic/or.c:20:17 | ++ | Test | +inline | +
| basic/or.h:13:3 | ++ | TestH | +inline | +
| basic/or.h:13:3 | ++ | TestH | +inline | +
| basic/or.h:15:3 | ++ | TestH | +inline | +
| basic/or.h:15:3 | ++ | TestH | +inline | +
| basic/or.h:15:10 | ++ | TestH | +inline | +
| basic/or.h:15:17 | ++ | TestH | +inline | +
| basic/or.h:15:17 | ++ | TestH | +inline | +