Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DScopedPrinter.h152 void printEnum(StringRef Label, T Value, in printEnum() argument
165 printHex(Label, Name, Value); in printEnum()
167 printHex(Label, Value); in printEnum()
171 void printFlags(StringRef Label, T Value, ArrayRef<EnumEntry<TFlag>> Flags,
195 printFlagsImpl(Label, hex(Value), SetFlags);
198 template <typename T> void printFlags(StringRef Label, T Value) { in printFlags() argument
208 printFlagsImpl(Label, hex(Value), SetFlags); in printFlags()
211 virtual void printNumber(StringRef Label, char Value) { in printNumber() argument
212 startLine() << Label << ": " << static_cast<int>(Value) << "\n"; in printNumber()
215 virtual void printNumber(StringRef Label, signed char Value) { in printNumber() argument
[all …]
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DByteCodeEmitter.cpp102 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
104 LabelOffsets.insert({Label, Target}); in emitLabel()
106 if (auto It = LabelRelocs.find(Label); It != LabelRelocs.end()) { in emitLabel()
120 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
127 if (auto It = LabelOffsets.find(Label); It != LabelOffsets.end()) in getOffset()
131 LabelRelocs[Label].push_back(Position); in getOffset()
227 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
228 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
231 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
232 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
[all …]
H A DByteCodeEmitter.h42 void emitLabel(LabelTy Label);
54 bool jumpTrue(const LabelTy &Label);
55 bool jumpFalse(const LabelTy &Label);
56 bool jump(const LabelTy &Label);
57 bool fallthrough(const LabelTy &Label);
96 int32_t getOffset(LabelTy Label);
H A DEvalEmitter.cpp93 void EvalEmitter::emitLabel(LabelTy Label) { CurrentLabel = Label; } in emitLabel() argument
119 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
122 ActiveLabel = Label; in jumpTrue()
127 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
130 ActiveLabel = Label; in jumpFalse()
135 bool EvalEmitter::jump(const LabelTy &Label) { in jump() argument
137 CurrentLabel = ActiveLabel = Label; in jump()
141 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough() argument
143 ActiveLabel = Label; in fallthrough()
144 CurrentLabel = Label; in fallthrough()
H A DEvalEmitter.h53 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/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp483 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfa() local
485 MCCFIInstruction::cfiDefCfa(Label, Register, Offset, Loc); in emitCFIDefCfa()
494 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaOffset() local
496 MCCFIInstruction::cfiDefCfaOffset(Label, Offset); in emitCFIDefCfaOffset()
504 MCSymbol *Label = emitCFILabel(); in emitCFIAdjustCfaOffset() local
506 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment, Loc); in emitCFIAdjustCfaOffset()
514 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaRegister() local
516 MCCFIInstruction::createDefCfaRegister(Label, Register, Loc); in emitCFIDefCfaRegister()
526 MCSymbol *Label = emitCFILabel(); in emitCFILLVMDefAspaceCfa() local
528 Label, Register, Offset, AddressSpace, Loc); in emitCFILLVMDefAspaceCfa()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86WinCOFFTargetStreamer.cpp51 MCSymbol *Label; member
170 MCSymbol *Label = getContext().createTempSymbol("cfi", true); in emitFPOLabel() local
171 getStreamer().emitLabel(Label); in emitFPOLabel()
172 return Label; in emitFPOLabel()
216 Inst.Label = emitFPOLabel(); in emitFPOSetFrame()
227 Inst.Label = emitFPOLabel(); in emitFPOPushReg()
238 Inst.Label = emitFPOLabel(); in emitFPOStackAlloc()
256 Inst.Label = emitFPOLabel(); in emitFPOStackAlign()
295 void emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label);
321 void FPOStateMachine::emitFrameDataRecord(MCStreamer &OS, MCSymbol *Label) { in emitFrameDataRecord() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp678 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
679 MachineOperand::printSymbol(OS, *Label); in printCFI()
684 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
685 MachineOperand::printSymbol(OS, *Label); in printCFI()
689 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
690 MachineOperand::printSymbol(OS, *Label); in printCFI()
694 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
695 MachineOperand::printSymbol(OS, *Label); in printCFI()
701 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
702 MachineOperand::printSymbol(OS, *Label); in printCFI()
[all …]
/freebsd/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/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h40 const MCSymbol *Label = nullptr; variable
50 MCCVLoc(const MCSymbol *Label, unsigned functionid, unsigned fileNum, in MCCVLoc() argument
52 : Label(Label), FunctionId(functionid), FileNum(fileNum), Line(line), in MCCVLoc()
59 const MCSymbol *getLabel() const { return Label; } in getLabel()
75 void setLabel(const MCSymbol *L) { Label = L; } in setLabel()
177 void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
H A DMCDwarf.h190 MCSymbol *Label; variable
201 : MCDwarfLoc(loc), Label(label), LineStreamLabel(lineStreamLabel), in MCDwarfLoc()
204 MCSymbol *getLabel() const { return Label; } in getLabel()
223 Label = EndLabel; in setEndLabel()
278 MCSymbol *Label = nullptr; member
427 return Header.Label; in getLabel()
430 void setLabel(MCSymbol *Label) { in setLabel() argument
431 Header.Label = Label; in setLabel()
490 MCSymbol *Label; variable
496 Label(label) {} in MCGenDwarfLabelEntry()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVLandingPadSetup.cpp54 uint32_t Label = 0; in runOnMachineFunction() local
59 Label = PreferredLandingPadLabel; in runOnMachineFunction()
63 if (Label == 0) in runOnMachineFunction()
74 .addImm(Label); in runOnMachineFunction()
/freebsd/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp131 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference() argument
138 OutStreamer->emitCOFFSecRel32(Label, /*Offset=*/0); in emitDwarfSymbolReference()
144 OutStreamer->emitSymbolValue(Label, getDwarfOffsetByteSize()); in emitDwarfSymbolReference()
150 emitLabelDifference(Label, Label->getSection().getBeginSymbol(), in emitDwarfSymbolReference()
165 void AsmPrinter::emitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { in emitDwarfOffset() argument
166 emitLabelPlusOffset(Label, Offset, getDwarfOffsetByteSize()); in emitDwarfOffset()
H A DErlangGCPrinter.cpp82 MCSymbol *Label = P.Label; in finishAssembly() local
83 AP.emitLabelPlusOffset(Label /*Hi*/, 0 /*Offset*/, 4 /*Size*/); in finishAssembly()
H A DDwarfCompileUnit.cpp110 const MCSymbol *Label) { in addLabelAddress() argument
111 if ((Skeleton || !DD->useSplitDwarf()) && Label) in addLabelAddress()
112 DD->addArangeLabel(SymbolCU(this, Label)); in addLabelAddress()
116 return addLocalLabelAddress(Die, Attribute, Label); in addLabelAddress()
122 if (Label->isInSection() && UseAddrOffsetFormOrExpressions) in addLabelAddress()
123 Base = DD->getSectionLabel(&Label->getSection()); in addLabelAddress()
125 if (!Base || Base == Label) { in addLabelAddress()
126 unsigned idx = DD->getAddressPool().getIndex(Label); in addLabelAddress()
141 addPoolOpAddress(*Loc, Label); in addLabelAddress()
146 DD->getAddressPool().getIndex(Base), Label, Base)); in addLabelAddress()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp106 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
109 OS << Label << " ("; in formatBinary()
119 void LinePrinter::formatBinary(StringRef Label, ArrayRef<uint8_t> Data, in formatBinary() argument
122 OS << Label << " ("; in formatBinary()
179 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
214 formatMsfStreamData(Label, File, Layout, Substream); in formatMsfStreamData()
217 void LinePrinter::formatMsfStreamData(StringRef Label, PDBFile &File, in formatMsfStreamData() argument
225 OS << Label << " ("; in formatMsfStreamData()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp127 const char *Label = Directive; in emitRawBytes()
133 OS << Label << (unsigned)*It; in emitRawBytes()
134 if (Label == Directive) in emitRawBytes()
135 Label = ","; in emitRawBytes()
/freebsd/contrib/bsddialog/examples_utility/
H A Dmixedform.sh19 Label: 0 0 Entry 0 10 18 25 0 \
20 Label: 1 0 Read-Only 1 10 18 25 2 \
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTextNodeDumper.h58 template <typename Fn> void AddChild(StringRef Label, Fn DoAddChild) { in AddChild() argument
75 Label(Label.str())](bool IsLastChild) { in AddChild()
92 if (!Label.empty()) in AddChild()
93 OS << Label << ": "; in AddChild()
176 const Decl *From = nullptr, StringRef Label = {});
218 void dumpTemplateName(TemplateName TN, StringRef Label = {});
220 void dumpDeclRef(const Decl *D, StringRef Label = {});
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolDumpDelegate.h24 virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset,
27 virtual void printBinaryBlockWithRelocs(StringRef Label,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp146 DbgLabelRecord::DbgLabelRecord(MDNode *Label, MDNode *DL) in DbgLabelRecord() argument
147 : DbgRecord(LabelKind, DebugLoc(DL)), Label(Label) { in DbgLabelRecord()
148 assert(Label && "Unexpected nullptr"); in DbgLabelRecord()
149 assert((isa<DILabel>(Label) || Label->isTemporary()) && in DbgLabelRecord()
152 DbgLabelRecord::DbgLabelRecord(DILabel *Label, DebugLoc DL) in DbgLabelRecord() argument
153 : DbgRecord(LabelKind, DL), Label(Label) { in DbgLabelRecord()
154 assert(Label && "Unexpected nullptr"); in DbgLabelRecord()
157 DbgLabelRecord *DbgLabelRecord::createUnresolvedDbgLabelRecord(MDNode *Label, in createUnresolvedDbgLabelRecord() argument
159 return new DbgLabelRecord(Label, DL); in createUnresolvedDbgLabelRecord()

12345678910