Home
last modified time | relevance | path

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

123456789

/src/contrib/llvm-project/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, char Value) { in printNumber() argument
202 startLine() << Label << ": " << static_cast<int>(Value) << "\n"; in printNumber()
205 virtual void printNumber(StringRef Label, signed char Value) { in printNumber() argument
[all …]
/src/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 …]
/src/contrib/llvm-project/llvm/lib/MC/
H A DMCStreamer.cpp487 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfa() local
489 MCCFIInstruction::cfiDefCfa(Label, Register, Offset, Loc); in emitCFIDefCfa()
498 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaOffset() local
500 MCCFIInstruction::cfiDefCfaOffset(Label, Offset); in emitCFIDefCfaOffset()
508 MCSymbol *Label = emitCFILabel(); in emitCFIAdjustCfaOffset() local
510 MCCFIInstruction::createAdjustCfaOffset(Label, Adjustment, Loc); in emitCFIAdjustCfaOffset()
518 MCSymbol *Label = emitCFILabel(); in emitCFIDefCfaRegister() local
520 MCCFIInstruction::createDefCfaRegister(Label, Register, Loc); in emitCFIDefCfaRegister()
530 MCSymbol *Label = emitCFILabel(); in emitCFILLVMDefAspaceCfa() local
532 Label, Register, Offset, AddressSpace, Loc); in emitCFILLVMDefAspaceCfa()
[all …]
/src/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeEmitter.cpp204 void ByteCodeEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
206 LabelOffsets.insert({Label, Target}); in emitLabel()
208 if (auto It = LabelRelocs.find(Label); in emitLabel()
223 int32_t ByteCodeEmitter::getOffset(LabelTy Label) { in getOffset() argument
230 if (auto It = LabelOffsets.find(Label); in getOffset()
235 LabelRelocs[Label].push_back(Position); in getOffset()
323 bool ByteCodeEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
324 return emitJt(getOffset(Label), SourceInfo{}); in jumpTrue()
327 bool ByteCodeEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
328 return emitJf(getOffset(Label), SourceInfo{}); in jumpFalse()
[all …]
H A DByteCodeEmitter.h42 void emitLabel(LabelTy Label);
52 bool jumpTrue(const LabelTy &Label);
53 bool jumpFalse(const LabelTy &Label);
54 bool jump(const LabelTy &Label);
55 bool fallthrough(const LabelTy &Label);
91 int32_t getOffset(LabelTy Label);
H A DEvalEmitter.cpp79 void EvalEmitter::emitLabel(LabelTy Label) { in emitLabel() argument
80 CurrentLabel = Label; in emitLabel()
107 bool EvalEmitter::jumpTrue(const LabelTy &Label) { in jumpTrue() argument
110 ActiveLabel = Label; in jumpTrue()
115 bool EvalEmitter::jumpFalse(const LabelTy &Label) { in jumpFalse() argument
118 ActiveLabel = Label; in jumpFalse()
123 bool EvalEmitter::jump(const LabelTy &Label) { in jump() argument
125 CurrentLabel = ActiveLabel = Label; in jump()
129 bool EvalEmitter::fallthrough(const LabelTy &Label) { in fallthrough() argument
131 ActiveLabel = Label; in fallthrough()
[all …]
H A DEvalEmitter.h52 void emitLabel(LabelTy Label);
62 bool jumpTrue(const LabelTy &Label);
63 bool jumpFalse(const LabelTy &Label);
64 bool jump(const LabelTy &Label);
65 bool fallthrough(const LabelTy &Label);
/src/contrib/llvm-project/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 …]
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineOperand.cpp669 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
670 MachineOperand::printSymbol(OS, *Label); in printCFI()
675 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
676 MachineOperand::printSymbol(OS, *Label); in printCFI()
680 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
681 MachineOperand::printSymbol(OS, *Label); in printCFI()
685 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
686 MachineOperand::printSymbol(OS, *Label); in printCFI()
692 if (MCSymbol *Label = CFI.getLabel()) in printCFI() local
693 MachineOperand::printSymbol(OS, *Label); in printCFI()
[all …]
/src/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()
/src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCDwarf.h189 MCSymbol *Label; variable
198 : MCDwarfLoc(loc), Label(label) {} in MCDwarfLineEntry()
200 MCSymbol *getLabel() const { return Label; } in getLabel()
207 Label = EndLabel; in setEndLabel()
262 MCSymbol *Label = nullptr; member
403 return Header.Label; in getLabel()
406 void setLabel(MCSymbol *Label) { in setLabel() argument
407 Header.Label = Label; in setLabel()
465 MCSymbol *Label; variable
471 Label(label) {} in MCGenDwarfLabelEntry()
[all …]
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()
175 void recordCVLoc(MCContext &Ctx, const MCSymbol *Label, unsigned FunctionId,
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp132 void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label, in emitDwarfSymbolReference() argument
139 OutStreamer->emitCOFFSecRel32(Label, /*Offset=*/0); in emitDwarfSymbolReference()
145 OutStreamer->emitSymbolValue(Label, getDwarfOffsetByteSize()); in emitDwarfSymbolReference()
151 emitLabelDifference(Label, Label->getSection().getBeginSymbol(), in emitDwarfSymbolReference()
166 void AsmPrinter::emitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { in emitDwarfOffset() argument
167 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.cpp84 const MCSymbol *Label) { in addLabelAddress() argument
85 if ((Skeleton || !DD->useSplitDwarf()) && Label) in addLabelAddress()
86 DD->addArangeLabel(SymbolCU(this, Label)); in addLabelAddress()
90 return addLocalLabelAddress(Die, Attribute, Label); in addLabelAddress()
96 if (Label->isInSection() && UseAddrOffsetFormOrExpressions) in addLabelAddress()
97 Base = DD->getSectionLabel(&Label->getSection()); in addLabelAddress()
99 if (!Base || Base == Label) { in addLabelAddress()
100 unsigned idx = DD->getAddressPool().getIndex(Label); in addLabelAddress()
115 addPoolOpAddress(*Loc, Label); in addLabelAddress()
120 DD->getAddressPool().getIndex(Base), Label, Base)); in addLabelAddress()
[all …]
/src/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()
/src/contrib/llvm-project/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()
/src/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMWinCOFFStreamer.cpp115 MCSymbol *Label = S.emitCFILabel(); in emitARMWinUnwindCode() local
116 auto Inst = WinEH::Instruction(UnwindCode, Label, Reg, Offset); in emitARMWinUnwindCode()
212 MCSymbol *Label = S.emitCFILabel(); in emitARMWinCFIPrologEnd() local
213 CurFrame->PrologEnd = Label; in emitARMWinCFIPrologEnd()
262 MCSymbol *Label = S.emitCFILabel(); in emitARMWinCFIEpilogEnd() local
263 CurFrame->EpilogMap[CurrentEpilog].End = Label; in emitARMWinCFIEpilogEnd()
/src/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXTargetStreamer.cpp123 const char *Label = Directive; in emitRawBytes()
129 OS << Label << (unsigned)*It; in emitRawBytes()
130 if (Label == Directive) in emitRawBytes()
131 Label = ","; in emitRawBytes()
/src/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()
/src/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 = {});
/src/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DGCMetadata.h58 MCSymbol *Label; ///< A label. member
62 : Label(L), Loc(std::move(DL)) {} in GCPoint()
130 void addSafePoint(MCSymbol *Label, const DebugLoc &DL) { in addSafePoint() argument
131 SafePoints.emplace_back(Label, DL); in addSafePoint()
/src/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 \
/src/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp145 DbgLabelRecord::DbgLabelRecord(MDNode *Label, MDNode *DL) in DbgLabelRecord() argument
146 : DbgRecord(LabelKind, DebugLoc(DL)), Label(Label) { in DbgLabelRecord()
147 assert(Label && "Unexpected nullptr"); in DbgLabelRecord()
148 assert((isa<DILabel>(Label) || Label->isTemporary()) && in DbgLabelRecord()
151 DbgLabelRecord::DbgLabelRecord(DILabel *Label, DebugLoc DL) in DbgLabelRecord() argument
152 : DbgRecord(LabelKind, DL), Label(Label) { in DbgLabelRecord()
153 assert(Label && "Unexpected nullptr"); in DbgLabelRecord()
156 DbgLabelRecord *DbgLabelRecord::createUnresolvedDbgLabelRecord(MDNode *Label, in createUnresolvedDbgLabelRecord() argument
158 return new DbgLabelRecord(Label, DL); in createUnresolvedDbgLabelRecord()

123456789