| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | ScopedPrinter.h | 152 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 D | UsingDeclarationsSorter.cpp | 96 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 D | ByteCodeEmitter.cpp | 102 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 D | ByteCodeEmitter.h | 42 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 D | EvalEmitter.cpp | 93 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 D | EvalEmitter.h | 53 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 D | MCStreamer.cpp | 483 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 D | X86WinCOFFTargetStreamer.cpp | 51 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 D | MachineOperand.cpp | 678 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 D | MipsELFStreamer.cpp | 62 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 D | MCCodeView.h | 40 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 D | MCDwarf.h | 190 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 D | RISCVLandingPadSetup.cpp | 54 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 D | PrettyClassLayoutGraphicalDumper.cpp | 114 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 D | AsmPrinterDwarf.cpp | 131 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 D | ErlangGCPrinter.cpp | 82 MCSymbol *Label = P.Label; in finishAssembly() local 83 AP.emitLabelPlusOffset(Label /*Hi*/, 0 /*Offset*/, 4 /*Size*/); in finishAssembly()
|
| H A D | DwarfCompileUnit.cpp | 110 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 D | ScopedPrinter.cpp | 14 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 D | LinePrinter.cpp | 106 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 D | SDNodeDbgValue.h | 243 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 D | NVPTXTargetStreamer.cpp | 127 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 D | mixedform.sh | 19 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 D | TextNodeDumper.h | 58 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 D | SymbolDumpDelegate.h | 24 virtual void printRelocatedField(StringRef Label, uint32_t RelocOffset, 27 virtual void printBinaryBlockWithRelocs(StringRef Label,
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugProgramInstruction.cpp | 146 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()
|