Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DScopedPrinter.h142 void printEnum(StringRef Label, T Value, in printEnum() argument
155 printHex(Label, Name, Value); in printEnum()
157 printHex(Label, Value); in printEnum()
161 void printFlags(StringRef Label, T Value, ArrayRef<EnumEntry<TFlag>> Flags,
185 printFlagsImpl(Label, hex(Value), SetFlags);
188 template <typename T> void printFlags(StringRef Label, T Value) { in printFlags() argument
198 printFlagsImpl(Label, hex(Value), SetFlags); in printFlags()
201 virtual void printNumber(StringRef Label, uint64_t Value) { in printNumber() argument
202 startLine() << Label << ": " << Value << "\n"; in printNumber()
205 virtual void printNumber(StringRef Label, uint32_t Value) { in printNumber() argument
[all …]
/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUsingDeclarationsSorter.cpp96 std::string Label; member
98 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration()
99 : Line(Line), Label(Label) {} in UsingDeclaration()
112 std::string Label; in computeUsingDeclarationLabel() local
115 Label.append("typename "); in computeUsingDeclarationLabel()
119 Label.append("::"); in computeUsingDeclarationLabel()
125 Label.append(Tok->TokenText.str()); in computeUsingDeclarationLabel()
129 Label.append("::"); in computeUsingDeclarationLabel()
133 return Label; in computeUsingDeclarationLabel()
156 return compareLabels(Lhs.Label, Rhs.Label, SortUsingDeclarations) < 0; in endUsingDeclarationBlock()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp110 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
112 LabelOffsets.insert({Label, Target}); in emitLabel()
113 auto It = LabelRelocs.find(Label); in emitLabel()
128 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
135 auto It = LabelOffsets.find(Label); in getOffset()
141 LabelRelocs[Label].push_back(Position); in getOffset()
199 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
200 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
203 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
204 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
[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.cpp46 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
47 CurrentLabel = Label; in emitLabel()
80 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
83 ActiveLabel = Label; in jumpTrue()
88 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
91 ActiveLabel = Label; in jumpFalse()
96 bool EvalEmitter::jump(const LabelTy &Label) { in jump() argument
98 CurrentLabel = ActiveLabel = Label; in jump()
102 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough() argument
104 ActiveLabel = Label; in fallthrough()
[all …]
H A DEvalEmitter.h51 void emitLabel(LabelTy Label);
64 bool jumpTrue(const LabelTy &Label);
65 bool jumpFalse(const LabelTy &Label);
66 bool jump(const LabelTy &Label);
67 bool fallthrough(const LabelTy &Label);
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCStreamer.cpp493 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfa() local
495 MCCFIInstruction::cfiDefCfa(Label, Register, Offset); in emitCFIDefCfa()
504 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaOffset() local
506 MCCFIInstruction::cfiDefCfaOffset(Label, Offset); in emitCFIDefCfaOffset()
514 MCSymbol *Label = emitCFILabel(); in emitCFIAdjustCfaOffset() local
516 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment); in emitCFIAdjustCfaOffset()
524 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaRegister() local
526 MCCFIInstruction::createDefCfaRegister(Label, Register); in emitCFIDefCfaRegister()
536 MCSymbol *Label = emitCFILabel(); in emitCFILLVMDefAspaceCfa() local
538 Label, Register, Offset, AddressSpace); in emitCFILLVMDefAspaceCfa()
[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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp47 MCSymbol *Label; member
162 MCSymbol *Label = getContext().createTempSymbol("cfi", true); in emitFPOLabel() local
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);
313 void FPOStateMachine::emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label) { in emitFrameDataRecord() argument
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineOperand.cpp651 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
652 MachineOperand::printSymbol(OS, *Label); in printCFI()
657 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
658 MachineOperand::printSymbol(OS, *Label); in printCFI()
662 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
663 MachineOperand::printSymbol(OS, *Label); in printCFI()
667 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
668 MachineOperand::printSymbol(OS, *Label); in printCFI()
674 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
675 MachineOperand::printSymbol(OS, *Label); in printCFI()
[all …]
/openbsd-src/gnu/llvm/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
398 return Header.Label; in getLabel()
401 void setLabel(MCSymbol *Label) { in setLabel() argument
402 Header.Label = Label; in setLabel()
460 MCSymbol *Label; variable
466 Label(label) {} in MCGenDwarfLabelEntry()
[all …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DSyncDependenceAnalysis.cpp289 const auto *Label = BlockLabels[BlockIdx]; in printDefs() local
292 if (!Label) { in printDefs()
295 Out << Label->getName() << "\n"; in printDefs()
387 const auto *Label = BlockLabels[BlockIdx]; in computeJoinPoints() local
388 if (!Label) in computeJoinPoints()
407 CausedJoin |= visitLoopExitEdge(*BlockLoopExit, *Label, IsParentLoop); in computeJoinPoints()
414 CausedJoin |= visitEdge(*SuccBlock, *Label); in computeJoinPoints()
424 } else if (FloorLabel != Label) { in computeJoinPoints()
428 FloorLabel = Label; in computeJoinPoints()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp154 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference() argument
161 OutStreamer->emitCOFFSecRel32(Label, /*Offset=*/0); in emitDwarfSymbolReference()
167 OutStreamer->emitSymbolValue(Label, getDwarfOffsetByteSize()); in emitDwarfSymbolReference()
173 emitLabelDifference(Label, Label->getSection().getBeginSymbol(), in emitDwarfSymbolReference()
188 void AsmPrinter::emitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { in emitDwarfOffset() argument
189 emitLabelPlusOffset(Label, Offset, getDwarfOffsetByteSize()); in emitDwarfOffset()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D980816-1.c21 *Label; member
35 if (!Buttons[i].Label) in AddButtons()
40 ((char*)&XtStrings[429]) , Buttons[i].Label, in AddButtons()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DScopedPrinter.cpp14 void ScopedPrinter::printBinaryImpl(StringRef Label, StringRef Str, in printBinaryImpl() argument
21 startLine() << Label; in printBinaryImpl()
31 startLine() << Label << ":"; in printBinaryImpl()
/openbsd-src/gnu/usr.bin/perl/t/uni/
H A Dlabels.t49 like $@, qr/Label not found for "last E" at/u, "last's error is UTF-8 clean";
52 like $@, qr/Label not found for "redo E" at/u, "redo's error is UTF-8 clean";
55 like $@, qr/Label not found for "next E" at/u, "next's error is UTF-8 clean";
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp107 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
110 OS << Label << " ("; in formatBinary()
120 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
123 OS << Label << " ("; in formatBinary()
180 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
215 formatMsfStreamData(Label, File, Layout, Substream); in formatMsfStreamData()
218 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
226 OS << Label << " ("; in formatMsfStreamData()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DGCMetadata.h57 MCSymbol *Label; ///< A label. member
61 : Label(L), Loc(std::move(DL)) {} in GCPoint()
125 void addSafePoint(MCSymbol *Label, const DebugLoc &DL) { in addSafePoint() argument
126 SafePoints.emplace_back(Label, DL); in addSafePoint()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMWinCOFFStreamer.cpp117 MCSymbol *Label = S.emitCFILabel(); in emitARMWinUnwindCode() local
118 auto Inst = WinEH::Instruction(UnwindCode, Label, Reg, Offset); in emitARMWinUnwindCode()
214 MCSymbol *Label = S.emitCFILabel(); in emitARMWinCFIPrologEnd() local
215 CurFrame->PrologEnd = Label; in emitARMWinCFIPrologEnd()
264 MCSymbol *Label = S.emitCFILabel(); in emitARMWinCFIEpilogEnd() local
265 CurFrame->EpilogMap[CurrentEpilog].End = Label; in emitARMWinCFIEpilogEnd()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp125 const char *Label = Directive; in emitRawBytes()
131 OS << Label << (unsigned)*It; in emitRawBytes()
132 if (Label == Directive) in emitRawBytes()
133 Label = ","; in emitRawBytes()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h243 MDNode *Label; variable
248 SDDbgLabel(MDNode *Label, DebugLoc dl, unsigned O) in SDDbgLabel() argument
249 : Label(Label), DL(std::move(dl)), Order(O) {} in SDDbgLabel()
252 MDNode *getLabel() const { return Label; } in getLabel()

1234567891011