Home
last modified time | relevance | path

Searched refs:Annotations (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Testing/Annotations/
H A DAnnotations.cpp26 Annotations::Annotations(llvm::StringRef Text) { in Annotations() function in Annotations
83 size_t Annotations::point(llvm::StringRef Name) const { in point()
88 Annotations::pointWithPayload(llvm::StringRef Name) const { in pointWithPayload()
96 std::vector<size_t> Annotations::points(llvm::StringRef Name) const { in points()
106 Annotations::pointsWithPayload(llvm::StringRef Name) const { in pointsWithPayload()
119 llvm::StringMap<llvm::SmallVector<size_t, 1>> Annotations::all_points() const { in all_points()
128 Annotations::Range Annotations::range(llvm::StringRef Name) const { in range()
132 std::pair<Annotations::Range, llvm::StringRef>
133 Annotations::rangeWithPayload(llvm::StringRef Name) const { in rangeWithPayload()
141 std::vector<Annotations::Range>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h193 BinaryAnnotationIterator(ArrayRef<uint8_t> Annotations) : Data(Annotations) {}
223 static uint32_t GetCompressedAnnotation(ArrayRef<uint8_t> &Annotations) { in GetCompressedAnnotation()
224 if (Annotations.empty()) in GetCompressedAnnotation()
227 uint8_t FirstByte = Annotations.front(); in GetCompressedAnnotation()
228 Annotations = Annotations.drop_front(); in GetCompressedAnnotation()
233 if (Annotations.empty()) in GetCompressedAnnotation()
236 uint8_t SecondByte = Annotations.front(); in GetCompressedAnnotation()
237 Annotations in GetCompressedAnnotation()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h547 Metadata *Annotations;
554 unsigned Flags, Metadata *ExtraData, Metadata *Annotations)
559 Annotations(Annotations) {}
567 ExtraData(N->getRawExtraData()), Annotations(N->getRawAnnotations()) {}
579 Annotations == RHS->getRawAnnotations();
651 Metadata *Annotations;
660 Metadata *Allocated, Metadata *Rank, Metadata *Annotations)
668 Annotations(Annotations) {}
681 Rank(N->getRawRank()), Annotations(N->getRawAnnotations()) {}
699 Annotations == RHS->getRawAnnotations();
[all …]
H A DDIBuilder.cpp319 StringRef Name, DINodeArray Annotations) { in createPointerType() argument
324 DINode::FlagZero, nullptr, Annotations); in createPointerType()
352 DINodeArray Annotations) { in createTypedef() argument
356 nullptr, Annotations); in createTypedef()
363 DINode::DIFlags Flags, DINodeArray Annotations) { in createTemplateAlias() argument
367 TParams.get(), Annotations); in createTemplateAlias()
393 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) { in createMemberType() argument
397 std::nullopt, Flags, nullptr, Annotations); in createMemberType()
419 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) { in createBitFieldMemberType() argument
427 Annotations); in createBitFieldMemberType()
[all …]
H A DDebugInfoMetadata.cpp744 Metadata *Annotations, StorageType Storage, bool ShouldCreate) { in getImpl() argument
749 PtrAuthData, Flags, ExtraData, Annotations)); in getImpl()
750 Metadata *Ops[] = {File, Scope, Name, BaseType, ExtraData, Annotations}; in getImpl()
771 Metadata *Rank, Metadata *Annotations, StorageType Storage, in getImpl() argument
781 Rank, Annotations)); in getImpl()
785 Rank, Annotations}; in getImpl()
799 Metadata *Rank, Metadata *Annotations) { in buildODRType() argument
809 DataLocation, Associated, Allocated, Rank, Annotations); in buildODRType()
825 Rank, Annotations}; in buildODRType()
841 Metadata *Rank, Metadata *Annotations) { in getODRType() argument
[all …]
H A DMetadata.cpp1659 void Instruction::addAnnotationMetadata(SmallVector<StringRef> Annotations) { in addAnnotationMetadata() argument
1662 SmallSetVector<StringRef, 2> AnnotationsSet(Annotations.begin(), in addAnnotationMetadata()
1663 Annotations.end()); in addAnnotationMetadata()
1681 for (StringRef Annotation : Annotations) in addAnnotationMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Annotations/
H A DAnnotations.h53 class Annotations {
68 Annotations(llvm::StringRef Text);
129 const llvm::Annotations::Range &R);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAnnotation2Metadata.cpp33 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata() local
34 auto *C = dyn_cast_or_null<Constant>(Annotations); in convertAnnotation2Metadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h272 StringRef Name = "", DINodeArray Annotations = nullptr);
311 DINodeArray Annotations = nullptr);
329 DINodeArray Annotations = nullptr);
362 DINodeArray Annotations = nullptr);
402 DINodeArray Annotations = nullptr);
672 StringRef UniqueIdentifier = "", DINodeArray Annotations = nullptr);
723 DINodeArray Annotations = nullptr);
770 DINodeArray Annotations = nullptr);
809 DINodeArray Annotations = nullptr,
H A DDebugInfoMetadata.h1031 Metadata *ExtraData, DINodeArray Annotations, StorageType Storage,
1036 Annotations.get(), Storage, ShouldCreate);
1044 Metadata *ExtraData, Metadata *Annotations, StorageType Storage,
1064 Metadata *Annotations = nullptr),
1067 Flags, ExtraData, Annotations))
1075 DINodeArray Annotations = nullptr),
1078 Flags, ExtraData, Annotations))
1185 DINodeArray Annotations, StorageType Storage,
1192 Associated, Allocated, Rank, Annotations.get(), Storage, ShouldCreate);
1202 Metadata *Annotations, StorageType Storage, bool ShouldCreate = true);
[all …]
H A DInstruction.h447 void addAnnotationMetadata(SmallVector<StringRef> Annotations);
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp266 raw_svector_ostream Annotations(InsnStr); in LLVMDisasmInstruction()
267 S = DisAsm->getInstruction(Inst, Size, Data, PC, Annotations); in LLVMDisasmInstruction()
275 StringRef AnnotationsStr = Annotations.str(); in LLVMDisasmInstruction()
265 raw_svector_ostream Annotations(InsnStr); LLVMDisasmInstruction() local
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp291 CXAvailabilityKind Availability, const char **Annotations, in CodeCompletionString() argument
306 StoredAnnotations[I] = Annotations[I]; in CodeCompletionString()
439 sizeof(const char *) * Annotations.size(), in TakeString()
442 Chunks.data(), Chunks.size(), Priority, Availability, Annotations.data(), in TakeString()
443 Annotations.size(), ParentName, BriefComment); in TakeString()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1576 Metadata *Annotations = nullptr; in parseOneMetadata() local
1584 Annotations = getMDOrNull(Record[13]); in parseOneMetadata()
1598 getDITypeRefOrNull(Record[11]), Annotations)), in parseOneMetadata()
1632 Metadata *Annotations = nullptr; in parseOneMetadata() local
1679 Annotations = getMDOrNull(Record[21]); in parseOneMetadata()
1688 Allocated, Rank, Annotations); in parseOneMetadata()
1697 Allocated, Rank, Annotations)); in parseOneMetadata()
2029 Metadata *Annotations = nullptr; in parseOneMetadata() local
2031 Annotations = getMDOrNull(Record[12]); in parseOneMetadata()
2040 Record[11], Annotations)), in parseOneMetadata()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2867 auto Annotations = AnnotationInfos.find(II); in addMacroDeprecationMsg() local
2868 if (Annotations == AnnotationInfos.end()) in addMacroDeprecationMsg()
2873 Annotations->second.DeprecationInfo = in addMacroDeprecationMsg()
2879 auto Annotations = AnnotationInfos.find(II); in addRestrictExpansionMsg() local
2880 if (Annotations == AnnotationInfos.end()) in addRestrictExpansionMsg()
2885 Annotations->second.RestrictExpansionInfo = in addRestrictExpansionMsg()
2890 auto Annotations = AnnotationInfos.find(II); in addFinalLoc() local
2891 if (Annotations == AnnotationInfos.end()) in addFinalLoc()
2895 Annotations->second.FinalAnnotationLoc = AnnotationLoc; in addFinalLoc()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h597 const char **Annotations, unsigned NumAnnotations,
701 SmallVector<const char *, 2> Annotations; variable
749 void AddAnnotation(const char *A) { Annotations.push_back(A); } in AddAnnotation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1233 llvm::DINodeArray Annotations = nullptr; in CreatePointerLikeType() local
1235 Annotations = DBuilder.getOrCreateArray(Annots); in CreatePointerLikeType()
1244 Annotations); in CreatePointerLikeType()
1495 llvm::DINodeArray Annotations = CollectBTFDeclTagAnnotations(Ty->getDecl()); in CreateType() local
1505 Flags, Annotations); in CreateType()
1633 llvm::DINodeArray Annotations = CollectBTFDeclTagAnnotations(BitFieldDecl); in createBitFieldType() local
1636 Flags, DebugType, Annotations); in createBitFieldType()
1704 llvm::DINodeArray Annotations = in createBitFieldSeparatorIfNeeded() local
1708 Flags, DebugType, Annotations); in createBitFieldSeparatorIfNeeded()
1714 llvm::DIScope *scope, const RecordDecl *RD, llvm::DINodeArray Annotations) { in createFieldType() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp583 void BTFDebug::processDeclAnnotations(DINodeArray Annotations, in processDeclAnnotations() argument
586 if (!Annotations) in processDeclAnnotations()
589 for (const Metadata *Annotation : Annotations->operands()) { in processDeclAnnotations()
628 for (const Metadata *Annotations : Annots->operands()) { in genBTFTypeTags() local
629 const MDNode *MD = cast<MDNode>(Annotations); in genBTFTypeTags()
H A DBTFDebug.h363 void processDeclAnnotations(DINodeArray Annotations, uint32_t BaseTypeId,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def933 // Annotations for #pragma STDC FENV_ACCESS and #pragma fenv_access (MS compat)
974 // Annotations for OpenMP pragma directives - #pragma omp ...
987 // Annotations for OpenACC pragma directives - #pragma acc.
993 // Annotations for loop pragma directives #pragma clang loop ...
1006 // Annotations for module import translated from #include etc.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h313 void addAnnotation(DIE &Buffer, DINodeArray Annotations);
H A DCodeViewDebug.h173 std::vector<std::pair<MCSymbol *, MDNode *>> Annotations; member
H A DDwarfUnit.cpp886 void DwarfUnit::addAnnotation(DIE &Buffer, DINodeArray Annotations) { in addAnnotation() argument
887 if (!Annotations) in addAnnotation()
890 for (const Metadata *Annotation : Annotations->operands()) { in addAnnotation()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp462 raw_svector_ostream Annotations(InsnStr); in createInstructions() local
479 StringRef AnnotationsStr = Annotations.str(); in createInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1715 auto Annotations = DB.getOrCreateArray({ in getOrCreateRegionCounters() local
1725 Annotations); in getOrCreateRegionCounters()

12