Home
last modified time | relevance | path

Searched refs:Label (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DScopedPrinter.h157 printHex(Label, Value); in printEnum()
261 printListImpl(Label, List); in printList()
265 printListImpl(Label, List); in printList()
269 printListImpl(Label, List); in printList()
273 printListImpl(Label, List); in printList()
277 printListImpl(Label, List); in printList()
288 printListImpl(Label, List); in printList()
394 virtual void objectBegin(StringRef Label) { scopedBegin(Label, '{'); } in objectBegin() argument
400 virtual void arrayBegin(StringRef Label) { scopedBegin(Label, '['); } in arrayBegin() argument
487 startLine() << Label; in scopedBegin()
[all …]
/llvm-project-15.0.7/llvm/test/FileCheck/
H A Dmatch-full-lines.txt9 Label 1
13 Label 2
18 Label 3
21 Label 4
25 Label 5
26 Label 66
28 // CHECK-LABEL:Label 1
35 // CHECK-LABEL:Label 2
42 // CHECK-LABEL:Label 3
47 // CHECK-LABEL:Label 4
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp69 std::string Label; member
72 : Line(Line), Label(Label) {} in UsingDeclaration()
75 return compareLabels(Label, Other.Label) < 0; in operator <()
89 std::string Label; in computeUsingDeclarationLabel() local
92 Label.append("typename "); in computeUsingDeclarationLabel()
96 Label.append("::"); in computeUsingDeclarationLabel()
102 Label.append(Tok->TokenText.str()); in computeUsingDeclarationLabel()
106 Label.append("::"); in computeUsingDeclarationLabel()
110 return Label; in computeUsingDeclarationLabel()
135 return a.Label == b.Label; in endUsingDeclarationBlock()
[all …]
/llvm-project-15.0.7/compiler-rt/test/dfsan/
H A Devent_callbacks.c24 void __dfsan_store_callback(dfsan_label Label) { in __dfsan_store_callback() argument
25 if (!Label) in __dfsan_store_callback()
31 assert(Label == LabelI); in __dfsan_store_callback()
34 assert(Label == LabelJ); in __dfsan_store_callback()
37 assert(Label == LabelIJ); in __dfsan_store_callback()
43 fprintf(stderr, "Label %u stored to memory\n", Label); in __dfsan_store_callback()
46 void __dfsan_load_callback(dfsan_label Label) { in __dfsan_load_callback() argument
47 if (!Label) in __dfsan_load_callback()
50 fprintf(stderr, "Label %u loaded from memory\n", Label); in __dfsan_load_callback()
H A Dconditional_callbacks.c26 void my_dfsan_conditional_callback(dfsan_label Label, dfsan_origin Origin) { in my_dfsan_conditional_callback() argument
27 assert(Label != 0); in my_dfsan_conditional_callback()
37 assert(Label == LabelI); in my_dfsan_conditional_callback()
40 assert(Label == LabelJ); in my_dfsan_conditional_callback()
43 assert(Label == LabelIJ); in my_dfsan_conditional_callback()
49 fprintf(stderr, "Label %u used as condition\n", Label); in my_dfsan_conditional_callback()
60 extern void my_dfsan_conditional_callback(dfsan_label Label,
H A Dconditional_callbacks_sig.c18 void my_dfsan_conditional_callback(dfsan_label Label, dfsan_origin Origin) { in my_dfsan_conditional_callback() argument
19 assert(Label != 0); in my_dfsan_conditional_callback()
25 assert(Label == 1); in my_dfsan_conditional_callback()
28 assert(Label == 4); in my_dfsan_conditional_callback()
34 fprintf(stderr, "Label %u used as condition\n", Label); in my_dfsan_conditional_callback()
41 extern void my_dfsan_conditional_callback(dfsan_label Label,
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp88 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
90 LabelOffsets.insert({Label, Target}); in emitLabel()
91 auto It = LabelRelocs.find(Label); in emitLabel()
105 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
110 auto It = LabelOffsets.find(Label); in getOffset()
116 LabelRelocs[Label].push_back(Position); in getOffset()
173 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
177 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
180 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump() argument
181 return emitJmp(getOffset(Label), SourceInfo{}); in jump()
[all …]
H A DByteCodeEmitter.h48 void emitLabel(LabelTy Label);
63 bool jumpTrue(const LabelTy &Label);
64 bool jumpFalse(const LabelTy &Label);
65 bool jump(const LabelTy &Label);
66 bool fallthrough(const LabelTy &Label);
97 int32_t getOffset(LabelTy Label);
H A DEvalEmitter.cpp45 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
46 CurrentLabel = Label; in emitLabel()
69 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
72 ActiveLabel = Label; in jumpTrue()
77 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
80 ActiveLabel = Label; in jumpFalse()
85 bool EvalEmitter::jump(const LabelTy &Label) { in jump() argument
87 CurrentLabel = ActiveLabel = Label; in jump()
91 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough() argument
93 ActiveLabel = Label; in fallthrough()
[all …]
H A DEvalEmitter.h52 void emitLabel(LabelTy Label);
65 bool jumpTrue(const LabelTy &Label);
66 bool jumpFalse(const LabelTy &Label);
67 bool jump(const LabelTy &Label);
68 bool fallthrough(const LabelTy &Label);
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCStreamer.cpp493 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfa() local
504 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaOffset() local
514 MCSymbol *Label = emitCFILabel(); in emitCFIAdjustCfaOffset() local
524 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaRegister() local
536 MCSymbol *Label = emitCFILabel(); in emitCFILLVMDefAspaceCfa() local
547 MCSymbol *Label = emitCFILabel(); in emitCFIOffset() local
557 MCSymbol *Label = emitCFILabel(); in emitCFIRelOffset() local
584 MCSymbol *Label = emitCFILabel(); in emitCFIRememberState() local
735 CurFrame->End = Label; in emitWinCFIEndProc()
779 CurFrame->End = Label; in emitWinCFIEndChained()
[all …]
H A DMCSection.cpp103 PendingLabel& Label = *It; in flushPendingLabels() local
104 if (Label.Subsection == Subsection) { in flushPendingLabels()
105 Label.Sym->setFragment(F); in flushPendingLabels()
106 Label.Sym->setOffset(FOffset); in flushPendingLabels()
116 PendingLabel& Label = PendingLabels[0]; in flushPendingLabels() local
118 this->getSubsectionInsertionPoint(Label.Subsection); in flushPendingLabels()
122 flushPendingLabels(F, 0, Label.Subsection); in flushPendingLabels()
/llvm-project-15.0.7/lldb/tools/lldb-test/
H A DFormatUtil.cpp40 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
43 line() << Label << " ()"; in formatBinary()
46 line() << Label << " ("; in formatBinary()
53 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
56 line() << Label << " ()"; in formatBinary()
59 line() << Label << " ("; in formatBinary()
/llvm-project-15.0.7/llvm/test/TableGen/
H A DGlobalISelEmitterMatchTableOptimizer.td10 // CHECK: Label 1: @{{[0-9]+}}
11 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label [[L1_ID:[0-9]+]]*/ [[L1_AT:[0-9]+]],
15 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label [[L2_ID:[0-9]+]]*/ [[L2_AT:[0-9]+]],
24 // CHECK-NEXT: // Label [[L2_ID]]: @[[L2_AT]]
25 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label [[L3_ID:[0-9]+]]*/ [[L3_AT:[0-9]+]],
34 // CHECK-NEXT: // Label [[L3_ID]]: @[[L3_AT]]
36 // CHECK-NEXT: // Label [[L1_ID]]: @[[L1_AT]]
48 // CHECK: // Label 2: @{{[0-9]+}}
71 // CHECK-NEXT: // Label [[L2_ID]]: @[[L2_AT]]
79 // CHECK-NEXT: // Label [[L3_ID]]: @[[L3_AT]]
[all …]
H A DGlobalISelEmitter.td306 // R19C-NEXT: // Label [[LABEL_NUM]]: @[[LABEL]]
308 // R19O: // Label [[GROUP_NUM]]: @[[GROUP]]
341 // R21C-NEXT: // Label [[PREV_NUM]]: @[[PREV]]
375 // R21C-NEXT: // Label [[LABEL_NUM]]: @[[LABEL]]
378 // R21O-NEXT: // Label [[GROUP_NUM]]: @[[GROUP]]
398 // R20N: // Label [[PREV_NUM]]: @[[PREV]]
424 // R20C-NEXT: // Label [[LABEL_NUM]]: @[[LABEL]]
426 // R20O: // Label [[GROUP_NUM]]: @[[GROUP]]
463 // R00C: // Label [[PREV_NUM]]: @[[PREV]]
540 // R01N: // Label [[PREV_NUM]]: @[[PREV]]
[all …]
H A DGlobalISelEmitterMatchTableOptimizerSameOperand.td11 // CHECK: GIM_Try, /*On fail goto*//*Label 1*/
14 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 2*/
16 // CHECK: // Label 2
17 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 3*/
19 // CHECK: // Label 1
H A DGlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td9 // CHECK: GIM_Try, /*On fail goto*//*Label 0*/ 219,
14 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 1*/ 189,
17 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 2*/ 108, // Rule ID 1 //
44 // CHECK-NEXT: // Label 2: @108
45 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 3*/ 188, // Rule ID 2 //
72 // CHECK-NEXT: // Label 3: @188
74 // CHECK-NEXT: // Label 1: @189
75 // CHECK-NEXT: GIM_Try, /*On fail goto*//*Label 4*/ 218, // Rule ID 0 //
86 // CHECK-NEXT: // Label 4: @218
88 // CHECK-NEXT: // Label 0: @219
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp47 MCSymbol *Label; member
163 getStreamer().emitLabel(Label); in emitFPOLabel()
164 return Label; in emitFPOLabel()
208 Inst.Label = emitFPOLabel(); in emitFPOSetFrame()
219 Inst.Label = emitFPOLabel(); in emitFPOPushReg()
230 Inst.Label = emitFPOLabel(); in emitFPOStackAlloc()
248 Inst.Label = emitFPOLabel(); in emitFPOStackAlign()
287 void emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label);
315 if (Label == FPO->Begin) in emitFrameDataRecord()
380 OS.emitAbsoluteSymbolDiff(FPO->PrologueEnd, Label, 2); in emitFrameDataRecord()
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineOperand.cpp619 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
625 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
630 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
635 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
642 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
648 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
654 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
661 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
669 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
676 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCCodeView.h39 const MCSymbol *Label = nullptr; variable
49 MCCVLoc(const MCSymbol *Label, unsigned functionid, unsigned fileNum, in MCCVLoc() argument
51 : Label(Label), FunctionId(functionid), FileNum(fileNum), Line(line), in MCCVLoc()
58 const MCSymbol *getLabel() const { return Label; } in getLabel()
74 void setLabel(const MCSymbol *L) { Label = L; } in setLabel()
172 void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
H A DMCDwarf.h185 MCSymbol *Label; variable
194 : MCDwarfLoc(loc), Label(label) {} in MCDwarfLineEntry()
196 MCSymbol *getLabel() const { return Label; } in getLabel()
203 Label = EndLabel; in setEndLabel()
258 MCSymbol *Label = nullptr; member
397 return Header.Label; in getLabel()
400 void setLabel(MCSymbol *Label) { in setLabel() argument
401 Header.Label = Label; in setLabel()
459 MCSymbol *Label; variable
465 Label(label) {} in MCGenDwarfLabelEntry()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DTestTracer.cpp18 llvm::StringRef Label) { in record() argument
20 Measurements[Metric.Name][Label].push_back(Value); in record()
24 llvm::StringRef Label) { in takeMetric() argument
30 auto ValuesIt = Labels.find(Label); in takeMetric()
/llvm-project-15.0.7/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp62 MCSymbol *Label = getContext().createTempSymbol("cfi", true); in emitCFILabel() local
63 MCELFStreamer::emitLabel(Label); in emitCFILabel()
64 return Label; in emitCFILabel()
79 auto *Label = cast<MCSymbolELF>(L); in createPendingLabelRelocs() local
80 getAssembler().registerSymbol(*Label); in createPendingLabelRelocs()
81 Label->setOther(ELF::STO_MIPS_MICROMIPS); in createPendingLabelRelocs()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DSyncDependenceAnalysis.cpp288 const auto *Label = BlockLabels[BlockIdx]; in printDefs() local
291 if (!Label) { in printDefs()
294 Out << Label->getName() << "\n"; in printDefs()
386 const auto *Label = BlockLabels[BlockIdx]; in computeJoinPoints() local
387 if (!Label) in computeJoinPoints()
406 CausedJoin |= visitLoopExitEdge(*BlockLoopExit, *Label, IsParentLoop); in computeJoinPoints()
413 CausedJoin |= visitEdge(*SuccBlock, *Label); in computeJoinPoints()
423 } else if (FloorLabel != Label) { in computeJoinPoints()
427 FloorLabel = Label; in computeJoinPoints()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPrettyClassLayoutGraphicalDumper.cpp115 std::string Label = "base"; in dump() local
117 Label.insert(Label.begin(), 'v'); in dump()
119 Label.insert(Label.begin(), 'i'); in dump()
121 Printer << Label << " "; in dump()

12345678910>>...12