Home
last modified time | relevance | path

Searched refs:Accessor (Results 1 – 12 of 12) sorted by relevance

/llvm-project/offload/include/
H A DExclusiveAccess.h20 template <typename Ty> struct Accessor;
27 using AccessorTy = Accessor<Ty>;
37 friend struct Accessor<Ty>;
41 template <typename Ty> struct Accessor {
43 Accessor() : Ptr(nullptr) {}
47 Accessor(ProtectedObj<Ty> &PO) : Ptr(&PO) { lock(); }
50 Accessor(Accessor<Ty> &&Other) : Ptr(Other.Ptr) { Other.Ptr = nullptr; }
52 Accessor(Accessor &Other) = delete;
55 ~Accessor() { unlock(); }
95 Accessor<Ty> ProtectedObj<Ty>::getExclusiveAccessor(bool DoNotGetAccess) {
[all …]
H A DPluginManager.h47 using ExclusiveDevicesAccessorTy = Accessor<DeviceContainerTy>;
/llvm-project/llvm/include/llvm/DebugInfo/BTF/
H A DBTF.h306 #define BTF_DEFINE_TAIL(Type, Accessor) \ argument
307 const Type &Accessor() const { return *getTrailingObjects<Type>(); }
311 #define BTF_DEFINE_TAIL_ARR(Type, Accessor) \ argument
312 ArrayRef<Type> Accessor() const { \
/llvm-project/clang/test/SemaCXX/
H A Doperator-arrow-temporary.cpp13 struct Accessor { struct
18 void f() { Accessor acc; acc->doit(); } // expected-note {{requested here}} in f()
/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h229 #define LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(Accessor) \
230 CanQualType Accessor() const { \
231 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
234 #define LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Type, Accessor) \
235 Type Accessor() const { return this->getTypePtr()->Accessor(); }
228 LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(Accessor) global() argument
233 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Type,Accessor) global() argument
H A DExpr.h6356 IdentifierInfo *Accessor;
6363 Base(base), Accessor(&accessor), AccessorLoc(loc) {
6375 IdentifierInfo &getAccessor() const { return *Accessor; } in children()
6376 void setAccessor(IdentifierInfo *II) { Accessor = II; } in children()
6278 IdentifierInfo *Accessor; global() variable
/llvm-project/clang/include/clang/Basic/
H A DAttr.td386 class Accessor<string name, list<Spelling> spellings> {
664 list<Accessor> Accessors = [];
834 let Accessors = [Accessor<"isGNU", [GCC<"aligned">]>,
835 Accessor<"isC11", [CustomKeyword<"_Alignas">]>,
836 Accessor<"isAlignas", [CustomKeyword<"alignas">,
838 Accessor<"isDeclspec",[Declspec<"align">]>];
879 let Accessors = [Accessor<"isClangAlwaysInline", [CXX11<"clang", "always_inline">,
897 let Accessors = [Accessor<"alwaysXRayInstrument",
899 Accessor<"neverXRayInstrument",
1366 let Accessors = [Accessor<"isConstini
[all...]
/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp1740 for (const auto *Accessor : Accessors) { in writeAttrAccessorDefinition() local
1741 const StringRef Name = Accessor->getValueAsString("Name"); in writeAttrAccessorDefinition()
1742 std::vector<FlattenedSpelling> Spellings = GetFlattenedSpellings(*Accessor); in writeAttrAccessorDefinition()
/llvm-project/mlir/docs/DefiningDialects/
H A D_index.md111 ### C++ Accessor Generation
/llvm-project/clang/lib/AST/
H A DExpr.cpp408 llvm_unreachable("invalid Accessor"); in getResultAsAPSInt()
4344 StringRef Comp = Accessor->getName(); in getEncodedElementAccess()
4364 StringRef Comp = Accessor->getName();
/llvm-project/clang/docs/
H A DInternalsManual.rst3120 ``[Accessor<"isFoo", [GNU<"Foo">]>, Accessor<"isBar", [GNU<"Bar">]>]``
/llvm-project/clang/lib/Sema/
H A DTreeTransform.h3038 IdentifierInfo &Accessor) {
3041 DeclarationNameInfo NameInfo(&Accessor, AccessorLoc); in RebuildImplicitValueInitExpr()
2997 RebuildExtVectorElementExpr(Expr * Base,SourceLocation OpLoc,bool IsArrow,SourceLocation AccessorLoc,IdentifierInfo & Accessor) RebuildExtVectorElementExpr() argument