Home
last modified time | relevance | path

Searched full:labels (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/llvm-project/clang/test/SemaCXX/
H A Dswitch-implicit-fallthrough-cxx98.cpp16 …case -1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
18 …case 0: {// expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
20 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
22 …case 3: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
25 …case 4: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
28 …case 5: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
37 …case 6: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
42 case 12: // no warning here, intended fall-through, no statement between labels in fallthrough()
103 …CH(n, 13, n *= 2, 14, break) // expected-warning{{unannotated fall-through between switch labels}} in fallthrough_macro1()
107 MY_CASE(44, break); // expected-warning{{unannotated fall-through between switch labels}} in fallthrough_macro1()
[all …]
H A Dswitch-implicit-fallthrough.cpp15 …case 0: {// expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
17 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
19 …case 3: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
22 …case 4: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
25 …case 5: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
34 …case 6: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inse… in fallthrough()
36 …case 66: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{ins… in fallthrough()
74 …case 110: // expected-warning{{unannotated fall-through between switch labels}} but no fix-it hin… in fallthrough()
81 case 12: // no warning here, intended fall-through, no statement between labels in fallthrough()
158 …CH(n, 13, n *= 2, 14, break) // expected-warning{{unannotated fall-through between switch labels}} in fallthrough_macro1()
[all …]
H A Dswitch-implicit-fallthrough-macro.cpp11 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_from_command_line()
29 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_from_source()
56 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_in_macro()
74 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_undefined()
76 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_undefined()
97 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_history()
99 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_history()
120 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_history2()
138 …case 1: // expected-warning{{unannotated fall-through between switch labels}} expected-note{{inser… in fallthrough_compatibility_macro_history_template()
/llvm-project/llvm/docs/
H A DBugLifeCycle.rst31 Furthermore, some of the metadata in the bug tracker, such as what labels we
44 You can apply `labels <https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/…
55 should be added along with any other labels that help to classify the report,
75 * Labels
77 * When able to do so, please add the appropriate labels to classify the bug,
93 `documentation for our labels <https://github.com/llvm/llvm-project/labels>`_.
143 Project member with write access to the project can create new labels, but we
144 discourage adding ad hoc labels because we want to control the proliferation of
145 labels and avoid single-use labels. If you would like a new label added, please
/llvm-project/clang/docs/
H A DDataFlowSanitizer.rst69 ABI or whether it should use a variant of this ABI that also propagates labels
71 how labels are propagated in the former case. DataFlowSanitizer comes with a
88 memory, it also updates labels in shadow memory (this condition is trivially
117 propagate labels in shadow memory.
141 category, which will make all stores and return values set zero labels.
159 * ``-dfsan-combine-pointer-labels-on-load`` -- Controls whether to include or
160 ignore the labels of pointers in load instructions. Its default value is true.
171 * ``-dfsan-combine-pointer-labels-on-store`` -- Controls whether to include or
172 ignore the labels of pointers in store instructions. Its default value is
183 * ``-dfsan-combine-offset-labels-on-gep`` -- Controls whether to propagate
[all …]
H A DDataFlowSanitizerDesign.rst12 a number of taint labels with any data stored in any memory region
14 it operates on a running program, and tracks how the labels propagate
29 A number of functions are provided which will attach taint labels to
30 memory regions and extract the set of labels associated with a
60 /// Flushes the DFSan shadow, i.e. forgets about all labels currently associated
132 operands, such as addition), we can simply OR the two labels in O(1).
134 Users are responsible for managing the 8 integer labels (i.e., keeping
135 track of what labels they have used so far, picking one that is yet
156 The first chain of a trace starts by `dfsan_set_label` with non-zero labels. A
163 IDs. If an instruction has more than one operands with non-zero labels, the origin
[all …]
/llvm-project/flang/docs/
H A DLabelResolution.md9 # Semantics: Resolving Labels and Construct Names
19 …e, the compiler must check that the program checks semantically. Target labels must be checked an…
21 This is the detailed design document on how these labels will be semantically checked. Legal seman…
34 Enforcement of the general label constraints. There are three sorts of label usage. Labels can ser…
39 Labels are related to the standard definition of inclusive scope. For example, control-flow arcs a…
45 - labels range from 1 to 99999, inclusive (6.2.5 note 2)
47 - labels must be pairwise distinct within their program unit scope (6.2.5 para 2)
48 * if redundant labels appear &rarr; error redundant labels
49 * the total number of unique statement labels may have a limit
52 ### Labels Used for `DO` Loop Ranging
[all …]
H A DSemantics.md41 1. [Validate labels](#validate-labels) -
42 Check all constraints on labels and branches
64 ### Validate labels
66 Perform semantic checks related to labels and branches:
67 - check that any labels that are referenced are defined and in scope
70 - check labels in data transfer statements
/llvm-project/bolt/lib/Core/
H A DJumpTable.cpp31 JumpTableType Type, LabelMapType &&Labels, in JumpTable() argument
34 OutputEntrySize(EntrySize), Type(Type), Labels(Labels) {} in JumpTable()
47 auto LI = Labels.find(Offset); in getEntriesForAddress()
48 if (LI != Labels.end()) { in getEntriesForAddress()
51 NextLI == Labels.end() ? getSize() : NextLI->first; in getEntriesForAddress()
114 auto LI = Labels.find(Offset); in print()
115 if (Offset && LI != Labels.end()) { in print()
/llvm-project/flang/lib/Semantics/
H A Dresolve-labels.cpp1 //===-- lib/Semantics/resolve-labels.cpp ----------------------------------===//
9 #include "resolve-labels.h"
291 // Process labels of the DO and END DO statements, but not the in Pre()
872 void AddLabelReference(const std::list<parser::Label> &labels) {
873 for (const parser::Label &label : labels) { in PushDisposableMap()
886 // For labels in derived type definitions and procedure
888 // of these labels can be used as a branch target, but they in InInclusiveScope()
921 const TargetStmtMap &labels, const parser::Label &label) { in GetLabel()
922 const auto iter{labels.find(label)}; in GetLabel()
923 if (iter == labels in GetLabel()
867 AddLabelReference(const std::list<parser::Label> & labels) AddLabelReference() argument
916 GetLabel(const TargetStmtMap & labels,const parser::Label & label) GetLabel() argument
927 CheckBranchesIntoDoBody(const SourceStmtList & branches,const TargetStmtMap & labels,const IndexList & loopBodies,SemanticsContext & context) CheckBranchesIntoDoBody() argument
981 CheckLabelDoConstraints(const SourceStmtList & dos,const SourceStmtList & branches,const TargetStmtMap & labels,const std::vector<ScopeInfo> & scopes,SemanticsContext & context) CheckLabelDoConstraints() argument
1030 CheckScopeConstraints(const SourceStmtList & stmts,const TargetStmtMap & labels,const std::vector<ScopeInfo> & scopes,SemanticsContext & context) CheckScopeConstraints() argument
1079 CheckBranchTargetConstraints(const SourceStmtList & stmts,const TargetStmtMap & labels,SemanticsContext & context) CheckBranchTargetConstraints() argument
1107 CheckBranchConstraints(const SourceStmtList & branches,const TargetStmtMap & labels,const std::vector<ScopeInfo> & scopes,SemanticsContext & context) CheckBranchConstraints() argument
1114 CheckDataXferTargetConstraints(const SourceStmtList & stmts,const TargetStmtMap & labels,SemanticsContext & context) CheckDataXferTargetConstraints() argument
1132 CheckDataTransferConstraints(const SourceStmtList & dataTransfers,const TargetStmtMap & labels,const std::vector<ScopeInfo> & scopes,SemanticsContext & context) CheckDataTransferConstraints() argument
1139 CheckAssignTargetConstraints(const SourceStmtList & stmts,const TargetStmtMap & labels,SemanticsContext & context) CheckAssignTargetConstraints() argument
1168 CheckAssignConstraints(const SourceStmtList & assigns,const TargetStmtMap & labels,const std::vector<ScopeInfo> & scopes,SemanticsContext & context) CheckAssignConstraints() argument
1179 const auto &labels{programUnit.targetStmts}; CheckConstraints() local
[all...]
H A Dresolve-labels.h1 //===-- lib/Semantics/resolve-labels.h --------------------------*- C++ -*-===//
19 /// \brief Validate the labels in the program
22 /// \return true, iff the program's labels pass semantics checks
/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp76 // FIXME: Also mark labels when in MIPS16 mode. in createPendingLabelRelocs()
78 for (auto *L : Labels) { in createPendingLabelRelocs()
85 Labels.clear(); in createPendingLabelRelocs()
90 Labels.push_back(Symbol); in emitLabel()
95 Labels.clear(); in switchSection()
101 Labels.clear(); in emitValueImpl()
106 Labels.clear(); in emitIntValue()
H A DMipsELFStreamer.h33 SmallVector<MCSymbol*, 4> Labels; variable
46 /// Overriding this function allows us to record all labels that should be
51 /// Overriding this function allows us to dismiss all labels that are
55 /// Overriding these functions allows us to dismiss all labels that are
61 // Overriding these functions allows us to avoid recording of these labels
70 /// Mark labels as microMIPS, if necessary for the subtarget.
/llvm-project/lld/docs/_templates/
H A Dindexsidebar.html5 <a href="https://github.com/llvm/llvm-project/labels/lld:COFF">PE/COFF</a>,
6 <a href="https://github.com/llvm/llvm-project/labels/lld:ELF">ELF</a>,
7 <a href="https://github.com/llvm/llvm-project/labels/lld:MachO">Mach-O</a>, or
8 <a href="https://github.com/llvm/llvm-project/labels/lld:wasm">WebAssembly</a>.
/llvm-project/compiler-rt/test/dfsan/
H A Dlookup_table.c1 …N: %clang_dfsan %s -mllvm -dfsan-combine-offset-labels-on-gep=false -mllvm -dfsan-combine-pointer-
2 …N: %clang_dfsan %s -mllvm -dfsan-combine-offset-labels-on-gep=false -mllvm -dfsan-combine-pointer-
3 …N: %clang_dfsan %s -mllvm -dfsan-combine-offset-labels-on-gep=false -mllvm -dfsan-combine-pointer-
H A Dgep.c1 // RUN: %clang_dfsan %s -mllvm -dfsan-combine-offset-labels-on-gep=false -Wno-error=int-conversion …
4 // Tests that labels are propagated through GEP.
13 // test that pointer arithmetic propagates labels in terms of the flag. in main()
21 // test that non-pointer operations always propagate labels. in main()
H A Dflags.c1 // RUN: %clang_dfsan %s -fsanitize-ignorelist=%S/Inputs/flags_abilist.txt -mllvm -dfsan-debug-nonzero-labels -o %t && env DFSAN_OPTIONS=warn_unimplemented=1 %run %t 2>&1 | FileCheck %s
2 // RUN: %clang_dfsan %s -fsanitize-ignorelist=%S/Inputs/flags_abilist.txt -mllvm -dfsan-debug-nonzero-labels -o %t && env DFSAN_OPTIONS=warn_unimplemented=0 %run %t 2>&1 | count 0
3 // RUN: %clang_dfsan %s -fsanitize-ignorelist=%S/Inputs/flags_abilist.txt -mllvm -dfsan-debug-nonzero-labels -o %t && env DFSAN_OPTIONS=warn_nonzero_labels=1 %run %t 2>&1 | FileCheck --check-prefix=CHECK-NONZERO %s
/llvm-project/bolt/include/bolt/Core/
H A DJumpTable.h72 /// All the entries as labels.
82 LabelMapType Labels; variable
98 JumpTableType Type, LabelMapType &&Labels, BinarySection &Section);
107 assert(Labels.count(0) != 0 && "labels must have an entry at 0"); in getFirstLabel()
108 return Labels.find(0)->second; in getFirstLabel()
/llvm-project/clang/test/Driver/
H A Dfbasic-block-sections.c4 // RUN: %clang -### --target=x86_64 -fbasic-block-sections=labels %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LABELS %s
7 // RUN: %clang -### --target=aarch64 -fbasic-block-sections=labels %s -S 2>&1 | FileCheck -check-prefix=CHECK-OPT-LABELS %s
25 // CHECK-OPT-LABELS: warning: argument '-fbasic-block-sections=labels' is deprecated, use '-fbasic-block-address-map' instead
26 // CHECK-OPT-LABELS: "-fbasic-block-address-map"
/llvm-project/openmp/runtime/tools/
H A DsummarizeStats.py66 def set_varlabels(self, labels):
67 self.set_thetagrids(theta * 180/np.pi, labels,fontsize=14)
182 labels = [0.2, 0.4, 0.6, 0.8, 1, 2, 3, 4, 5, 10]
186 ax.set_rgrids(labels)
245 labels = ["Compute - " + "%.2f" % sizes[0], "Non Compute - " + "%.2f" % sizes[1]]
249 plt.legend(patches[0], labels, loc='best', bbox_to_anchor=(-0.1,1), fontsize=16)
254 labels = data.keys()
261 labels[i] = labels[i] + " - %.2f" % percent[i]
266 plt.legend(patches[0], labels, lo
65 set_varlabels(self, labels) global() argument
[all...]
/llvm-project/llvm/test/tools/UpdateTestChecks/update_test_checks/
H A Dphi-labels.test1 # RUN: cp -f %S/Inputs/phi-labels.ll %t.ll && %update_test_checks --version 5 %t.ll
2 # RUN: diff -u %t.ll %S/Inputs/phi-labels.ll.expected
5 # RUN: diff -u %t.ll %S/Inputs/phi-labels.ll.expected
/llvm-project/llvm/test/Instrumentation/DataFlowSanitizer/
H A Dlookup_table.ll1 … RUN: opt < %s -passes=dfsan -dfsan-combine-pointer-labels-on-load=false -dfsan-combine-offset-lab…
2 … RUN: opt < %s -passes=dfsan -dfsan-combine-pointer-labels-on-load=false -dfsan-combine-offset-lab…
/llvm-project/llvm/test/CodeGen/X86/
H A Dbasic-block-sections-labels-pgo-features.ll
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/
H A DParseCommand.py86 command_type, labels, addresses, raw_text: str, path, lineno: str argument
100 line = labels.get(label_name, None)
237 def add_line_label(labels, label, cmd_path, cmd_lineno): argument
238 # Enforce unique line labels.
239 if label.eval() in labels:
249 labels[label.eval()] = label.get_line()
269 labels = {} # dict of {name: line}.
324 labels,
348 add_line_label(labels, command, path, cmd_point.get_lineno())
/llvm-project/mlir/include/mlir/Rewrite/
H A DFrozenRewritePatternSet.h42 /// `disabledPatternLabels` is a set of labels used to filter out input
44 /// `enabledPatternLabels` is a set of labels used to filter out input
45 /// patterns that do not have one of the labels in this set. Debug labels must

12345678910>>...22