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()
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>
142 Annotations::ranges(llvm::StringRef Name) const { in ranges()
144 std::vector<Annotations::Range> Res; in ranges()
165 llvm::StringMap<llvm::SmallVector<Annotations::Range, 1>>
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DSymbolRecord.h193 BinaryAnnotationIterator(ArrayRef<uint8_t> Annotations) : Data(Annotations) {} in BinaryAnnotationIterator()
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()
237 Annotations = Annotations.drop_front(); in GetCompressedAnnotation()
242 if (Annotations.empty()) in GetCompressedAnnotation()
245 uint8_t ThirdByte = Annotations.front(); in GetCompressedAnnotation()
246 Annotations = Annotations.drop_front(); in GetCompressedAnnotation()
248 if (Annotations.empty()) in GetCompressedAnnotation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h544 Metadata *Annotations;
554 Flags(Flags), ExtraData(ExtraData), Annotations(Annotations) {}
644 Metadata *Annotations;
661 Annotations(Annotations) {}
768 Metadata *Annotations;
785 Annotations(Annotations), TargetFuncName(TargetFuncName) {}
798 Annotations(N->getRawAnnotations()),
1058 Metadata *Annotations;
1070 Annotations(Annotations) {}
1116 Metadata *Annotations;
[all …]
H A DDIBuilder.cpp311 nullptr, Annotations); in createPointerType()
342 Annotations); in createTypedef()
371 Flags, nullptr, Annotations); in createMemberType()
401 Annotations); in createBitFieldMemberType()
654 DINodeArray Annotations) { in createReplaceableCompositeType() argument
660 nullptr, Annotations) in createReplaceableCompositeType()
730 uint32_t AlignInBits, DINodeArray Annotations) { in createGlobalVariableExpression() argument
737 Annotations); in createGlobalVariableExpression()
794 DINodeArray Annotations) { in createParameterVariable() argument
833 DITypeArray ThrownTypes, DINodeArray Annotations, in createFunction() argument
[all …]
H A DDebugInfoMetadata.cpp746 ExtraData, Annotations)); in getImpl()
761 Metadata *Rank, Metadata *Annotations, StorageType Storage, in getImpl() argument
771 Rank, Annotations)); in getImpl()
775 Rank, Annotations}; in getImpl()
789 Metadata *Rank, Metadata *Annotations) { in buildODRType() argument
815 Rank, Annotations}; in buildODRType()
831 Metadata *Rank, Metadata *Annotations) { in getODRType() argument
841 Allocated, Rank, Annotations); in getODRType()
1137 if (!Annotations) { in getImpl()
1289 Annotations}; in getImpl()
[all …]
H A DMetadata.cpp1650 void Instruction::addAnnotationMetadata(SmallVector<StringRef> Annotations) { in addAnnotationMetadata() argument
1653 SmallSetVector<StringRef, 2> AnnotationsSet(Annotations.begin(), in addAnnotationMetadata()
1654 Annotations.end()); in addAnnotationMetadata()
1672 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.h263 StringRef Name = "", DINodeArray Annotations = nullptr);
295 DINodeArray Annotations = nullptr);
328 DINodeArray Annotations = nullptr);
368 DINodeArray Annotations = nullptr);
638 StringRef UniqueIdentifier = "", DINodeArray Annotations = nullptr);
689 DINodeArray Annotations = nullptr);
736 DINodeArray Annotations = nullptr);
775 DINodeArray Annotations = nullptr,
H A DDebugInfoMetadata.h1034 DINodeArray Annotations = nullptr),
1037 ExtraData, Annotations))
1127 DINodeArray Annotations, StorageType Storage,
1167 DINodeArray Annotations = nullptr),
1171 Annotations))
1185 Annotations))
1204 Metadata *Rank, Metadata *Annotations);
3148 uint32_t AlignInBits, DINodeArray Annotations),
3156 uint32_t AlignInBits, Metadata *Annotations),
3289 Annotations))
[all …]
H A DInstruction.h422 void addAnnotationMetadata(SmallVector<StringRef> Annotations);
/freebsd/contrib/llvm-project/llvm/lib/MC/MCDisassembler/
H A DDisassembler.cpp266 raw_svector_ostream Annotations(InsnStr); in LLVMDisasmInstruction() local
267 S = DisAsm->getInstruction(Inst, Size, Data, PC, Annotations); in LLVMDisasmInstruction()
275 StringRef AnnotationsStr = Annotations.str(); in LLVMDisasmInstruction()
/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.cpp1568 Metadata *Annotations = nullptr; in parseOneMetadata() local
1570 Annotations = getMDOrNull(Record[13]); in parseOneMetadata()
1615 Metadata *Annotations = nullptr; in parseOneMetadata() local
1662 Annotations = getMDOrNull(Record[21]); in parseOneMetadata()
1671 Allocated, Rank, Annotations); in parseOneMetadata()
1680 Allocated, Rank, Annotations)); in parseOneMetadata()
2012 Metadata *Annotations = nullptr; in parseOneMetadata() local
2014 Annotations = getMDOrNull(Record[12]); in parseOneMetadata()
2023 Record[11], Annotations)), in parseOneMetadata()
2111 Metadata *Annotations = nullptr; in parseOneMetadata() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h2796 auto Annotations = AnnotationInfos.find(II); in addMacroDeprecationMsg() local
2797 if (Annotations == AnnotationInfos.end()) in addMacroDeprecationMsg()
2802 Annotations->second.DeprecationInfo = in addMacroDeprecationMsg()
2808 auto Annotations = AnnotationInfos.find(II); in addRestrictExpansionMsg() local
2809 if (Annotations == AnnotationInfos.end()) in addRestrictExpansionMsg()
2814 Annotations->second.RestrictExpansionInfo = in addRestrictExpansionMsg()
2819 auto Annotations = AnnotationInfos.find(II); in addFinalLoc() local
2820 if (Annotations == AnnotationInfos.end()) in addFinalLoc()
2824 Annotations->second.FinalAnnotationLoc = AnnotationLoc; in addFinalLoc()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h595 const char **Annotations, unsigned NumAnnotations,
699 SmallVector<const char *, 2> Annotations; variable
747 void AddAnnotation(const char *A) { Annotations.push_back(A); } in AddAnnotation()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1214 llvm::DINodeArray Annotations = nullptr; in CreatePointerLikeType() local
1225 Annotations); in CreatePointerLikeType()
1532 Flags, DebugType, Annotations); in createBitFieldType()
1600 llvm::DINodeArray Annotations = in createBitFieldSeparatorIfNeeded() local
1604 Flags, DebugType, Annotations); in createBitFieldSeparatorIfNeeded()
2305 SmallVector<llvm::Metadata *, 4> Annotations; in CollectBTFDeclTagAnnotations() local
2312 return DBuilder.getOrCreateArray(Annotations); in CollectBTFDeclTagAnnotations()
3763 Flags, Identifier, Annotations); in CreateLimitedType()
4291 llvm::DINodeArray Annotations = nullptr; in emitFunctionStart() local
4307 Annotations); in emitFunctionStart()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp582 void BTFDebug::processDeclAnnotations(DINodeArray Annotations, in processDeclAnnotations() argument
585 if (!Annotations) in processDeclAnnotations()
588 for (const Metadata *Annotation : Annotations->operands()) { in processDeclAnnotations()
627 for (const Metadata *Annotations : Annots->operands()) { in genBTFTypeTags() local
628 const MDNode *MD = cast<MDNode>(Annotations); in genBTFTypeTags()
H A DBTFDebug.h359 void processDeclAnnotations(DINodeArray Annotations, uint32_t BaseTypeId,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def904 // Annotations for #pragma STDC FENV_ACCESS and #pragma fenv_access (MS compat)
945 // Annotations for OpenMP pragma directives - #pragma omp ...
958 // Annotations for OpenACC pragma directives - #pragma acc.
964 // Annotations for loop pragma directives #pragma clang loop ...
977 // Annotations for module import translated from #include etc.
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.h311 void addAnnotation(DIE &Buffer, DINodeArray Annotations);
H A DCodeViewDebug.h173 std::vector<std::pair<MCSymbol *, MDNode *>> Annotations; member
H A DDwarfUnit.cpp853 void DwarfUnit::addAnnotation(DIE &Buffer, DINodeArray Annotations) { in addAnnotation() argument
854 if (!Annotations) in addAnnotation()
857 for (const Metadata *Annotation : Annotations->operands()) { in addAnnotation()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp433 raw_svector_ostream Annotations(InsnStr); in createInstructions() local
450 StringRef AnnotationsStr = Annotations.str(); in createInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1375 auto Annotations = DB.getOrCreateArray({ in getOrCreateRegionCounters() local
1385 Annotations); in getOrCreateRegionCounters()

12