Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DScopedPrinter.h97 void printEnum(StringRef Label, T Value, in printEnum() argument
165 startLine() << Label << ": " << Value << "\n"; in printNumber()
169 startLine() << Label << ": " << Value << "\n"; in printNumber()
205 startLine() << Label << ": "; in printVersion()
211 startLine() << Label << ": ["; in printList()
220 startLine() << Label << ": ["; in printList()
230 startLine() << Label << ": ["; in printHexList()
257 printString(Label, StringRef(Value)); in printString()
261 printString(Label, StringRef(Value)); in printString()
270 printBinaryImpl(Label, Str, Value, false); in printBinary()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp87 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
89 LabelOffsets.insert({Label, Target}); in emitLabel()
90 auto It = LabelRelocs.find(Label); in emitLabel()
104 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
109 auto It = LabelOffsets.find(Label); in getOffset()
115 LabelRelocs[Label].push_back(Position); in getOffset()
153 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
157 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
160 bool ByteCodeEmitter::jump(const LabelTy &Label) { in jump() argument
161 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);
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp480 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfa() local
491 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaOffset() local
501 MCSymbol *Label = emitCFILabel(); in emitCFIAdjustCfaOffset() local
511 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaRegister() local
523 MCSymbol *Label = emitCFILabel(); in emitCFILLVMDefAspaceCfa() local
534 MCSymbol *Label = emitCFILabel(); in emitCFIOffset() local
544 MCSymbol *Label = emitCFILabel(); in emitCFIRelOffset() local
571 MCSymbol *Label = emitCFILabel(); in emitCFIRememberState() local
722 CurFrame->End = Label; in EmitWinCFIEndProc()
766 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp46 MCSymbol *Label; member
162 getStreamer().emitLabel(Label); in emitFPOLabel()
163 return Label; in emitFPOLabel()
207 Inst.Label = emitFPOLabel(); in emitFPOSetFrame()
218 Inst.Label = emitFPOLabel(); in emitFPOPushReg()
229 Inst.Label = emitFPOLabel(); in emitFPOStackAlloc()
247 Inst.Label = emitFPOLabel(); in emitFPOStackAlign()
286 void emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label);
314 if (Label == FPO->Begin) in emitFrameDataRecord()
379 OS.emitAbsoluteSymbolDiff(FPO->PrologueEnd, Label, 2); in emitFrameDataRecord()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp616 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
622 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
627 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
632 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
639 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
645 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
651 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
658 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
666 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
673 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h32 const MCSymbol *Label = nullptr; variable
42 MCCVLoc(const MCSymbol *Label, unsigned functionid, unsigned fileNum, in MCCVLoc() argument
44 : Label(Label), FunctionId(functionid), FileNum(fileNum), Line(line), in MCCVLoc()
51 const MCSymbol *getLabel() const { return Label; } in getLabel()
67 void setLabel(const MCSymbol *L) { Label = L; } in setLabel()
165 void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
H A DMCDwarf.h160 MCSymbol *Label; variable
169 : MCDwarfLoc(loc), Label(label) {} in MCDwarfLineEntry()
171 MCSymbol *getLabel() const { return Label; } in getLabel()
220 MCSymbol *Label = nullptr; member
353 return Header.Label; in getLabel()
356 void setLabel(MCSymbol *Label) { in setLabel() argument
357 Header.Label = Label; in setLabel()
415 MCSymbol *Label; variable
421 Label(label) {} in MCGenDwarfLabelEntry()
426 MCSymbol *getLabel() const { return Label; } in getLabel()
[all …]
H A DMCPseudoProbe.h70 MCSymbol *Label; variable
77 MCPseudoProbe(MCSymbol *Label, uint64_t Guid, uint64_t Index, uint64_t Type, in MCPseudoProbe() argument
79 : Label(Label), Guid(Guid), Index(Index), Type(Type), in MCPseudoProbe()
86 MCSymbol *getLabel() const { return Label; } in getLabel()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DSyncDependenceAnalysis.cpp271 const auto *Label = BlockLabels[BlockIdx]; in printDefs() local
274 if (!Label) { in printDefs()
277 Out << Label->getName() << "\n"; in printDefs()
369 const auto *Label = BlockLabels[BlockIdx]; in computeJoinPoints() local
370 if (!Label) in computeJoinPoints()
389 CausedJoin |= visitLoopExitEdge(*BlockLoopExit, *Label, IsParentLoop); in computeJoinPoints()
396 CausedJoin |= visitEdge(*SuccBlock, *Label); in computeJoinPoints()
406 } else if (FloorLabel != Label) { in computeJoinPoints()
410 FloorLabel = Label; in computeJoinPoints()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64WinCOFFStreamer.cpp74 MCSymbol *Label = S.emitCFILabel(); in emitARM64WinUnwindCode() local
75 auto Inst = WinEH::Instruction(UnwindCode, Label, Reg, Offset); in emitARM64WinUnwindCode()
177 MCSymbol *Label = S.emitCFILabel(); in emitARM64WinCFIPrologEnd() local
178 CurFrame->PrologEnd = Label; in emitARM64WinCFIPrologEnd()
179 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in emitARM64WinCFIPrologEnd()
201 MCSymbol *Label = S.emitCFILabel(); in emitARM64WinCFIEpilogEnd() local
202 WinEH::Instruction Inst = WinEH::Instruction(Win64EH::UOP_End, Label, -1, 0); in emitARM64WinCFIEpilogEnd()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyClassLayoutGraphicalDumper.cpp114 std::string Label = "base"; in dump() local
116 Label.insert(Label.begin(), 'v'); in dump()
118 Label.insert(Label.begin(), 'i'); in dump()
120 Printer << Label << " "; in dump()
H A DLinePrinter.cpp102 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
105 OS << Label << " ("; in formatBinary()
115 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
118 OS << Label << " ("; in formatBinary()
174 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
209 formatMsfStreamData(Label, File, Layout, Substream); in formatMsfStreamData()
212 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
220 OS << Label << " ("; in formatMsfStreamData()
H A DFormatUtil.cpp51 std::string llvm::pdb::truncateQuotedNameFront(StringRef Label, StringRef Name, in truncateQuotedNameFront() argument
53 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameFront()
55 return formatv("{0} \"{1}\"", Label, Name).str(); in truncateQuotedNameFront()
59 return formatv("{0} \"{1}\"", Label, TN).str(); in truncateQuotedNameFront()
62 std::string llvm::pdb::truncateQuotedNameBack(StringRef Label, StringRef Name, in truncateQuotedNameBack() argument
64 uint32_t RequiredExtraChars = Label.size() + 1 + 2; in truncateQuotedNameBack()
66 return formatv("{0} \"{1}\"", Label, Name).str(); in truncateQuotedNameBack()
70 return formatv("{0} \"{1}\"", Label, TN).str(); in truncateQuotedNameBack()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp158 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference() argument
165 OutStreamer->EmitCOFFSecRel32(Label, /*Offset=*/0); in emitDwarfSymbolReference()
171 OutStreamer->emitSymbolValue(Label, getDwarfOffsetByteSize()); in emitDwarfSymbolReference()
177 emitLabelDifference(Label, Label->getSection().getBeginSymbol(), in emitDwarfSymbolReference()
192 void AsmPrinter::emitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { in emitDwarfOffset() argument
193 emitLabelPlusOffset(Label, Offset, getDwarfOffsetByteSize()); in emitDwarfOffset()
H A DDwarfCompileUnit.cpp74 if (Label) in addLabelAddress()
75 DD->addArangeLabel(SymbolCU(this, Label)); in addLabelAddress()
84 if (!Base || Base == Label) { in addLabelAddress()
100 addPoolOpAddress(*Loc, Label); in addLabelAddress()
111 if (Label) in addLocalLabelAddress()
114 if (Label) in addLocalLabelAddress()
1301 const DbgLabel *Label = nullptr; in finishEntityDefinition() local
1309 applyLabelAttributes(*Label, *Die); in finishEntityDefinition()
1314 if (Label) in finishEntityDefinition()
1505 StringRef Name = Label.getName(); in applyLabelAttributes()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DScopedPrinter.cpp22 void ScopedPrinter::printBinaryImpl(StringRef Label, StringRef Str, in printBinaryImpl() argument
29 startLine() << Label; in printBinaryImpl()
39 startLine() << Label << ":"; in printBinaryImpl()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp122 const char *Label = Directive; in emitRawBytes()
128 OS << Label << (unsigned)*It; in emitRawBytes()
129 if (Label == Directive) in emitRawBytes()
130 Label = ","; in emitRawBytes()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/MCDisassembler/
H A DMCDisassembler.h27 Optional<uint32_t> Idx, bool Label) in XCOFFSymbolInfo()
28 : StorageMappingClass(Smc), Index(Idx), IsLabel(Label) {} in XCOFFSymbolInfo()
47 bool Label) in SymbolInfoTy()
48 : Addr(Addr), Name(Name), XCOFFSymInfo(Smc, Idx, Label), IsXCOFF(true) {} in SymbolInfoTy()

12345678