Home
last modified time | relevance | path

Searched refs:Reference (Results 1 – 25 of 248) sorted by relevance

12345678910

/llvm-project-15.0.7/clang/lib/Format/
H A DSortJavaScriptImports.cpp173 if (!Reference.IsExport && in analyze()
312 !Reference->DefaultImport.empty() || Reference->Symbols.empty() || in mergeModuleReferences()
315 ++Reference; in mergeModuleReferences()
322 Reference = References.erase(Reference); in mergeModuleReferences()
330 getSourceText(Reference.Range.getBegin(), Reference.Range.getEnd()); in appendReference()
340 if (!Reference.SymbolsMerged && Symbols == Reference.Symbols) { in appendReference()
347 Buffer += getSourceText(Reference.Range.getBegin(), Reference.SymbolsStart); in appendReference()
357 Buffer += getSourceText(Reference.SymbolsEnd, Reference.Range.getEnd()); in appendReference()
454 Reference.URL = in parseModuleReference()
468 Reference.URL = in parseModuleReference()
[all …]
/llvm-project-15.0.7/flang/include/flang/Common/
H A Dreference.h18 template <typename A> class Reference {
21 Reference(type &x) : p_{&x} {} in Reference() function
22 Reference(const Reference &that) : p_{that.p_} {} in Reference() function
23 Reference(Reference &&that) : p_{that.p_} {} in Reference() function
24 Reference &operator=(const Reference &that) {
28 Reference &operator=(Reference &&that) {
53 bool operator==(const Reference &that) const {
56 bool operator!=(const Reference &that) const { return !(*this == that); }
61 template <typename A> Reference(A &) -> Reference<A>;
/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A DRef.h51 Reference = 1 << 2, enumerator
66 All = Declaration | Definition | Reference | Spelled,
145 Ref Reference; member
181 Val.Symbol, reinterpret_cast<uintptr_t>(Val.Reference.Location.FileURI),
182 Val.Reference.Location.Start.rep(), Val.Reference.Location.End.rep());
185 return std::tie(LHS.Symbol, LHS.Reference.Location.FileURI,
186 LHS.Reference.Kind) ==
187 std::tie(RHS.Symbol, RHS.Reference.Location.FileURI,
188 RHS.Reference.Kind) &&
189 LHS.Reference.Location.Start == RHS.Reference.Location.Start &&
[all …]
/llvm-project-15.0.7/libcxx/test/std/algorithms/
H A Drobust_against_proxy_iterators_lifetime_bugs.pass.cpp124 ~Reference() { in ~Reference() argument
128 Reference(const Reference& rhs) : v_(rhs.v_) { in Reference() function
135 Reference(Reference&& rhs) noexcept : v_(rhs.v_) { in Reference() argument
144 Reference& operator=(const Reference& rhs) { in operator =() argument
154 Reference& operator=(Reference&& rhs) noexcept { in operator =() argument
197 friend void swap(Reference lhs, Reference rhs) { in swap()
366 constexpr Reference(const Reference& rhs) = default;
367 constexpr Reference& operator=(const Reference& rhs) { in operator =() argument
375 constexpr Reference(Reference&& rhs) noexcept : v_(rhs.v_) { in Reference() function
380 constexpr Reference& operator=(Reference&& rhs) noexcept { in operator =() argument
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DRepresentation.h115 struct Reference { struct
116 Reference() = default;
135 bool mergeable(const Reference &Other);
136 void merge(Reference &&I);
260 llvm::SmallVector<Reference, 4>
297 std::vector<Reference> ChildNamespaces;
298 std::vector<Reference> ChildRecords;
358 llvm::SmallVector<Reference, 4>
368 std::vector<Reference> ChildRecords;
401 struct Index : public Reference {
[all …]
H A DYAMLGenerator.cpp19 LLVM_YAML_IS_SEQUENCE_VECTOR(Reference)
106 IO.mapOptional("Type", I.Type, Reference()); in TypeInfoMapping()
118 IO.mapOptional("Namespace", I.Namespace, llvm::SmallVector<Reference, 4>()); in InfoMapping()
133 IO.mapOptional("Parents", I.Parents, llvm::SmallVector<Reference, 4>()); in RecordInfoMapping()
135 llvm::SmallVector<Reference, 4>()); in RecordInfoMapping()
136 IO.mapOptional("ChildRecords", I.ChildRecords, std::vector<Reference>()); in RecordInfoMapping()
167 template <> struct MappingTraits<Reference> {
168 static void mapping(IO &IO, Reference &Ref) { in mapping()
202 std::vector<Reference>()); in mapping()
203 IO.mapOptional("ChildRecords", I.ChildRecords, std::vector<Reference>()); in mapping()
[all …]
H A DRepresentation.cpp57 void reduceChildren(std::vector<Reference> &Children, in reduceChildren()
58 std::vector<Reference> &&ChildrenToMerge) { in reduceChildren()
140 Reference::getRelativeFilePath(const StringRef &CurrentPath) const { in getRelativeFilePath()
144 llvm::SmallString<16> Reference::getFileBaseName() const { in getFileBaseName()
163 bool Reference::mergeable(const Reference &Other) { in mergeable()
167 void Reference::merge(Reference &&Other) { in merge()
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/Inputs/
H A Devery-type.cpp56 void Reference(T &t) { } in Reference() function
73 Reference(FS); // LF_MODIFIER with struct in main()
74 Reference(FC); // LF_MODIFIER with class in main()
75 Reference(TU); // LF_MODIFIER with union in main()
76 Reference(FCNE); // LF_MODIFIER with enum in main()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-doc/
H A DGeneratorTest.cpp27 Reference RefB = Reference("B"); in TEST()
37 Reference RefD = Reference("D"); in TEST()
39 Reference RefE = Reference("E"); in TEST()
H A DClangDocTest.h33 void CheckReference(Reference &Expected, Reference &Actual);
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp64 auto *LHSLoc = Env.getStorageLocation(*LHS, SkipPast::Reference); in VisitBinaryOperator()
68 auto *RHSVal = Env.getValue(*RHS, SkipPast::Reference); in VisitBinaryOperator()
151 Env.getStorageLocation(*InitExpr, SkipPast::Reference)) { in VisitDeclStmt()
197 if (auto *Loc = Env.getStorageLocation(*ME, SkipPast::Reference)) in VisitDeclStmt()
215 Env.getValue(*SubExpr, SkipPast::Reference))) in VisitImplicitCastExpr()
225 auto *SubExprVal = Env.getValue(*SubExpr, SkipPast::Reference); in VisitImplicitCastExpr()
280 Env.getValue(*SubExpr, SkipPast::Reference)); in VisitUnaryOperator()
295 Env.getStorageLocation(*SubExpr, SkipPast::Reference); in VisitUnaryOperator()
450 auto *Val = Env.getValue(*Arg1, SkipPast::Reference); in VisitCXXOperatorCallExpr()
644 SubExprEnv->getValue(SubExpr, SkipPast::Reference))) in getLogicOperatorSubExprValue()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtailcc-fastisel.ll5 define tailcc ptr @"visit_array_aux<`Reference>"(%0 %arg, i32 %arg1) nounwind {
7 %tmp20 = tail call tailcc ptr @"visit_array_aux<`Reference>"(%0 %arg, i32 undef) ; <ptr> [#uses=1]
8 ; CHECK: jmp "_visit_array_aux<`Reference>" ## TAILCALL
H A Dtailcall-fastisel.ll5 define fastcc ptr @"visit_array_aux<`Reference>"(%0 %arg, i32 %arg1) nounwind {
7 %tmp20 = tail call fastcc ptr @"visit_array_aux<`Reference>"(%0 %arg, i32 undef) ; <ptr> [#uses=1]
8 ; CHECK: jmp "_visit_array_aux<`Reference>" ## TAILCALL
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DConstCorrectnessCheck.cpp111 enum class VariableCategory { Value, Reference, Pointer }; enumerator
130 VC = VariableCategory::Reference; in check()
142 if (VC == VariableCategory::Reference && !AnalyzeReferences) in check()
145 if (VC == VariableCategory::Reference && in check()
186 if (VC == VariableCategory::Reference && TransformReferences) { in check()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUPerfHintAnalysis.cpp81 bool isLargeStride(MemAccessInfo &Reference) const;
378 MemAccessInfo &Reference) const { in isLargeStride()
380 if (!Base || !Reference.Base || Base != Reference.Base) in isLargeStride()
383 uint64_t Diff = Offset > Reference.Offset ? Offset - Reference.Offset in isLargeStride()
384 : Reference.Offset - Offset; in isLargeStride()
388 << Reference.print() << "Result:" << Result << '\n'); in isLargeStride()
/llvm-project-15.0.7/clang/unittests/Tooling/RecursiveASTVisitorTests/
H A DDeclRefExpr.cpp25 bool VisitDeclRefExpr(DeclRefExpr *Reference) { in VisitDeclRefExpr() argument
26 Match(Reference->getNameInfo().getAsString(), Reference->getLocation()); in VisitDeclRefExpr()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dretain-release-path-notes.m79 …bject class]; // expected-warning{{Reference-counted object is used after it is released}} // expe…
85 …bject class]; // expected-warning{{Reference-counted object is used after it is released}} // expe…
286 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
287 [_unownedProp release]; // FIXME-note {{Reference count decremented}}
294 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
295 [_ownedProp release]; // FIXME-note {{Reference count decremented}}
303 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
304 [_ivarOnly release]; // FIXME-note {{Reference count decremented}}
312 // FIXME-note@-1 {{Reference count incremented. The object now has a +1 retain count}}
313 [_ownedProp release]; // FIXME-note {{Reference count decremented}}
[all …]
H A Dretain-release-cache-out.m16 [x release]; // expected-warning {{Reference-counted object is used after it is released}}
26 [x release]; // expected-warning {{Reference-counted object is used after it is released}}
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/default.allocator/
H A Dallocator_types.deprecated_in_cxx17.verify.cpp34 …typedef std::allocator<char>::reference Reference; // expected-warning {{'reference' … in main() typedef
41 …typedef std::allocator<char const>::reference Reference; // expected-warning {{'refer… in main() typedef
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DXRefs.h88 struct Reference { struct
92 std::vector<Reference> References;
96 const ReferencesResult::Reference &); argument
/llvm-project-15.0.7/llvm/docs/
H A DCompilerWriterInfo.rst19 * `ARMv8-A Architecture Reference Manual <https://developer.arm.com/docs/ddi0487/latest>`_ This doc…
21 * `ARMv7-A Architecture Reference Manual <https://developer.arm.com/docs/ddi0406/latest>`_ This has…
23 * `ARMv7-M Architecture Reference Manual <https://developer.arm.com/docs/ddi0403/latest>`_ This cov…
25 * `ARMv6-M Architecture Reference Manual <https://developer.arm.com/docs/ddi0419/latest>`_ This cov…
29 * `ARM NEON Intrinsics Reference <http://infocenter.arm.com/help/topic/com.arm.doc.ihi0073b/IHI0073…
71 * `IBM AIX 7.2 POWER Assembly Reference <https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/…
73 * `IBM AIX/5L for POWER Assembly Reference <http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib…
80 * `EREF: A Programmer's Reference Manual for Freescale Embedded Processors (EREFRM) <https://www.nx…
112 * `LoongArch Reference Manual - Volume 1: Basic Architecture <https://loongson.github.io/LoongArch-…
152 * `Hexagon Programmer's Reference Manuals and Hexagon ABI Specification (registration required, fre…
H A DReference.rst1 Reference title
56 API Reference
65 LLVM Reference
115 :doc:`LLVM Language Reference Manual <LangRef>`
125 :doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp47 struct Reference { struct
48 Reference() = default;
50 Reference &operator|=(const Reference &Other) { in operator |=() argument
81 Reference getRegReferences(MachineInstr &MI, unsigned Reg);
142 Reference SystemZElimCompare::getRegReferences(MachineInstr &MI, unsigned Reg) { in getRegReferences()
143 Reference Ref; in getRegReferences()
527 Reference CCRefs; in optimizeCompareZero()
528 Reference SrcRefs; in optimizeCompareZero()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTDefs.h39 class Reference; variable
53 using SymbolRef = Fortran::common::Reference<const Fortran::semantics::Symbol>;
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Dparse-state.h81 const Message::Reference &context() const { return context_; } in context()
82 Message::Reference &context() { return context_; } in context()
125 context_ = Message::Reference{m}; in PushContext()
216 Message::Reference context_;

12345678910