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/lib/IR/
H A DLLVMContextImpl.h621 Metadata *Annotations;
628 unsigned Flags, Metadata *ExtraData, Metadata *Annotations)
633 Annotations(Annotations) {}
641 ExtraData(N->getRawExtraData()), Annotations(N->getRawAnnotations()) {}
653 Annotations == RHS->getRawAnnotations();
803 Metadata *Annotations;
815 Metadata *Allocated, Metadata *Rank, Metadata *Annotations,
825 Annotations(Annotations), Specification(Specification),
839 Rank(N->getRawRank()), Annotations(N->getRawAnnotations()),
860 Annotations == RHS->getRawAnnotations() &&
[all …]
H A DDIBuilder.cpp350 StringRef Name, DINodeArray Annotations) { in createPointerType() argument
355 DINode::FlagZero, nullptr, Annotations); in createPointerType()
383 DINodeArray Annotations) { in createTypedef() argument
387 std::nullopt, Flags, nullptr, Annotations); in createTypedef()
394 DINode::DIFlags Flags, DINodeArray Annotations) { in createTemplateAlias() argument
398 std::nullopt, Flags, TParams.get(), Annotations); in createTemplateAlias()
424 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) { in createMemberType() argument
428 std::nullopt, Flags, nullptr, Annotations); in createMemberType()
434 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations) { in createMemberType() argument
438 std::nullopt, Flags, nullptr, Annotations); in createMemberType()
[all …]
H A DDebugInfoMetadata.cpp1008 Metadata *Annotations, StorageType Storage, bool ShouldCreate) { in getImpl() argument
1013 PtrAuthData, Flags, ExtraData, Annotations)); in getImpl()
1015 OffsetInBits, BaseType, ExtraData, Annotations}; in getImpl()
1035 Metadata *Allocated, Metadata *Rank, Metadata *Annotations, in getImpl() argument
1046 Annotations, Specification, NumExtraInhabitants, BitStride)); in getImpl()
1050 Associated, Allocated, Rank, Annotations, in getImpl()
1066 Metadata *Rank, Metadata *Annotations, Metadata *BitStride) { in buildODRType() argument
1077 Annotations, Specification, NumExtraInhabitants, BitStride); in buildODRType()
1092 Associated, Allocated, Rank, Annotations, in buildODRType()
1110 Metadata *Rank, Metadata *Annotations, Metadata *BitStride) { in getODRType() argument
[all …]
H A DMetadata.cpp1723 void Instruction::addAnnotationMetadata(SmallVector<StringRef> Annotations) { in addAnnotationMetadata() argument
1726 SmallSetVector<StringRef, 2> AnnotationsSet(Annotations.begin(), in addAnnotationMetadata()
1727 Annotations.end()); in addAnnotationMetadata()
1745 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/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h209 BinaryAnnotationIterator(ArrayRef<uint8_t> Annotations) : Data(Annotations) {} in BinaryAnnotationIterator()
239 static uint32_t GetCompressedAnnotation(ArrayRef<uint8_t> &Annotations) { in GetCompressedAnnotation()
240 if (Annotations.empty()) in GetCompressedAnnotation()
243 uint8_t FirstByte = Annotations.consume_front(); in GetCompressedAnnotation()
248 if (Annotations.empty()) in GetCompressedAnnotation()
251 uint8_t SecondByte = Annotations.consume_front(); in GetCompressedAnnotation()
256 if (Annotations.empty()) in GetCompressedAnnotation()
259 uint8_t ThirdByte = Annotations.consume_front(); in GetCompressedAnnotation()
261 if (Annotations.empty()) in GetCompressedAnnotation()
264 uint8_t FourthByte = Annotations.consume_front(); in GetCompressedAnnotation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAnnotation2Metadata.cpp32 auto *Annotations = M.getGlobalVariable("llvm.global.annotations"); in convertAnnotation2Metadata() local
33 auto *C = dyn_cast_or_null<Constant>(Annotations); in convertAnnotation2Metadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h295 StringRef Name = "", DINodeArray Annotations = nullptr);
334 DINodeArray Annotations = nullptr);
352 DINodeArray Annotations = nullptr);
384 DINode::DIFlags Flags, DIType *Ty, DINodeArray Annotations = nullptr);
401 DINodeArray Annotations = nullptr);
453 DINodeArray Annotations = nullptr);
470 DINodeArray Annotations = nullptr);
821 StringRef UniqueIdentifier = "", DINodeArray Annotations = nullptr,
876 DINodeArray Annotations = nullptr);
925 DINodeArray Annotations = nullptr);
[all …]
H A DDebugInfoMetadata.h1277 Metadata *ExtraData, DINodeArray Annotations, StorageType Storage,
1286 ExtraData, Annotations.get(), Storage, ShouldCreate);
1294 Metadata *ExtraData, DINodeArray Annotations, StorageType Storage,
1303 Annotations.get(), Storage, ShouldCreate);
1311 Metadata *ExtraData, DINodeArray Annotations, StorageType Storage,
1316 Annotations.get(), Storage, ShouldCreate);
1324 Metadata *ExtraData, Metadata *Annotations, StorageType Storage,
1344 Metadata *Annotations = nullptr),
1347 Flags, ExtraData, Annotations))
1355 DINodeArray Annotations = nullptr),
[all …]
H A DInstruction.h494 LLVM_ABI void addAnnotationMetadata(SmallVector<StringRef> Annotations);
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp204 raw_svector_ostream Annotations(InsnStr); in LLVMDisasmInstruction() local
205 S = DisAsm->getInstruction(Inst, Size, Data, PC, Annotations); in LLVMDisasmInstruction()
213 StringRef AnnotationsStr = Annotations.str(); in LLVMDisasmInstruction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp287 CXAvailabilityKind Availability, const char **Annotations, in CodeCompletionString() argument
302 StoredAnnotations[I] = Annotations[I]; in CodeCompletionString()
435 sizeof(const char *) * Annotations.size(), in TakeString()
438 Chunks.data(), Chunks.size(), Priority, Availability, Annotations.data(), in TakeString()
439 Annotations.size(), ParentName, BriefComment); in TakeString()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1628 Metadata *Annotations = nullptr; in parseOneMetadata() local
1636 Annotations = getMDOrNull(Record[13]); in parseOneMetadata()
1655 getDITypeRefOrNull(Record[11]), Annotations)), in parseOneMetadata()
1714 Metadata *Annotations = nullptr; in parseOneMetadata() local
1765 Annotations = getMDOrNull(Record[21]); in parseOneMetadata()
1786 Allocated, Rank, Annotations, BitStride); in parseOneMetadata()
1795 DataLocation, Associated, Allocated, Rank, Annotations, in parseOneMetadata()
2133 Metadata *Annotations = nullptr; in parseOneMetadata() local
2135 Annotations = getMDOrNull(Record[12]); in parseOneMetadata()
2144 Record[11], Annotations)), in parseOneMetadata()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h596 const char **Annotations, unsigned NumAnnotations,
700 SmallVector<const char *, 2> Annotations; variable
748 void AddAnnotation(const char *A) { Annotations.push_back(A); } in AddAnnotation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1412 llvm::DINodeArray Annotations = nullptr; in CreatePointerLikeType() local
1414 Annotations = DBuilder.getOrCreateArray(Annots); in CreatePointerLikeType()
1423 Annotations); in CreatePointerLikeType()
1644 llvm::DINodeArray Annotations = CollectBTFDeclTagAnnotations(Ty->getDecl()); in CreateType() local
1654 Flags, Annotations); in CreateType()
1796 llvm::DINodeArray Annotations = CollectBTFDeclTagAnnotations(BitFieldDecl); in createBitFieldType() local
1799 Flags, DebugType, Annotations); in createBitFieldType()
1866 llvm::DINodeArray Annotations = in createBitFieldSeparatorIfNeeded() local
1870 Flags, DebugType, Annotations); in createBitFieldSeparatorIfNeeded()
1876 llvm::DIScope *scope, const RecordDecl *RD, llvm::DINodeArray Annotations) { in createFieldType() argument
[all …]
H A DCGDebugInfo.h354 llvm::DINodeArray Annotations = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp649 void BTFDebug::processDeclAnnotations(DINodeArray Annotations, in processDeclAnnotations() argument
652 if (!Annotations) in processDeclAnnotations()
655 for (const Metadata *Annotation : Annotations->operands()) { in processDeclAnnotations()
694 for (const Metadata *Annotations : Annots->operands()) { in genBTFTypeTags() local
695 const MDNode *MD = cast<MDNode>(Annotations); in genBTFTypeTags()
H A DBTFDebug.h364 void processDeclAnnotations(DINodeArray Annotations, uint32_t BaseTypeId,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def948 // Annotations for #pragma STDC FENV_ACCESS and #pragma fenv_access (MS compat)
989 // Annotations for OpenMP pragma directives - #pragma omp ...
1002 // Annotations for OpenACC pragma directives - #pragma acc.
1008 // Annotations for loop pragma directives #pragma clang loop ...
1021 // Annotations for module import translated from #include etc.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h323 void addAnnotation(DIE &Buffer, DINodeArray Annotations);
H A DCodeViewDebug.h178 std::vector<std::pair<MCSymbol *, MDNode *>> Annotations; member
H A DDwarfUnit.cpp958 void DwarfUnit::addAnnotation(DIE &Buffer, DINodeArray Annotations) { in addAnnotation() argument
959 if (!Annotations) in addAnnotation()
962 for (const Metadata *Annotation : Annotations->operands()) { in addAnnotation()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp447 raw_svector_ostream Annotations(InsnStr); in createInstructions() local
464 StringRef AnnotationsStr = Annotations.str(); in createInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1712 auto Annotations = DB.getOrCreateArray({ in getOrCreateRegionCounters() local
1722 Annotations); in getOrCreateRegionCounters()

12