HomeSort by: relevance | last modified time | path
    Searched refs:Derived (Results 1 - 25 of 138) sorted by relevancy

1 2 3 4 5 6

  /src/external/gpl3/gcc.old/dist/gcc/
vector-builder.h 51 The derived class Derived provides the functionality of this class
52 for specific Ts. Derived needs to provide the following interface:
111 template<typename T, typename Shape, typename Derived>
125 bool operator == (const Derived &) const;
126 bool operator != (const Derived &x) const { return !operator == (x); }
145 Derived *derived () { return static_cast<Derived *> (this); } function in class:vector_builder
146 const Derived *derived () const
155 vector_builder<T, Shape, Derived>::derived () const function in class:vector_builder
    [all...]
vector-builder.h 51 The derived class Derived provides the functionality of this class
52 for specific Ts. Derived needs to provide the following interface:
111 template<typename T, typename Shape, typename Derived>
125 bool operator == (const Derived &) const;
126 bool operator != (const Derived &x) const { return !operator == (x); }
145 Derived *derived () { return static_cast<Derived *> (this); } function in class:vector_builder
146 const Derived *derived () const
155 vector_builder<T, Shape, Derived>::derived () const function in class:vector_builder
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
IndirectThunks.h 24 template <typename Derived> class ThunkInserter {
25 Derived &getDerived() { return *static_cast<Derived *>(this); }
42 template <typename Derived>
43 void ThunkInserter<Derived>::createThunkFunction(MachineModuleInfo &MMI,
85 template <typename Derived>
86 bool ThunkInserter<Derived>::run(MachineModuleInfo &MMI, MachineFunction &MF) {
IndirectThunks.h 24 template <typename Derived> class ThunkInserter {
25 Derived &getDerived() { return *static_cast<Derived *>(this); }
42 template <typename Derived>
43 void ThunkInserter<Derived>::createThunkFunction(MachineModuleInfo &MMI,
85 template <typename Derived>
86 bool ThunkInserter<Derived>::run(MachineModuleInfo &MMI, MachineFunction &MF) {
CodeGenPassBuilder.h 461 DerivedT &derived() { return static_cast<DerivedT &>(*this); } function in class:llvm::CodeGenPassBuilder
462 const DerivedT &derived() const { function in class:llvm::CodeGenPassBuilder
467 template <typename Derived>
468 Error CodeGenPassBuilder<Derived>::buildPipeline(
479 if (auto Err = derived().addMachinePasses(addPass))
482 derived().addAsmPrinter(
523 template <typename Derived>
524 void CodeGenPassBuilder<Derived>::registerModuleAnalyses(
529 derived().registerTargetAnalysis(MAM);
532 template <typename Derived>
    [all...]
CodeGenPassBuilder.h 461 DerivedT &derived() { return static_cast<DerivedT &>(*this); } function in class:llvm::CodeGenPassBuilder
462 const DerivedT &derived() const { function in class:llvm::CodeGenPassBuilder
467 template <typename Derived>
468 Error CodeGenPassBuilder<Derived>::buildPipeline(
479 if (auto Err = derived().addMachinePasses(addPass))
482 derived().addAsmPrinter(
523 template <typename Derived>
524 void CodeGenPassBuilder<Derived>::registerModuleAnalyses(
529 derived().registerTargetAnalysis(MAM);
532 template <typename Derived>
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
ubsan_type_hash_itanium.cc 115 /// \brief Determine whether \p Derived has a \p Base base class subobject at
117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived,
120 if (Derived->__type_name == Base->__type_name ||
122 !internal_strcmp(Derived->__type_name, Base->__type_name)))
126 dynamic_cast<const abi::__si_class_type_info*>(Derived))
130 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
135 // Look for a base class which is derived from \p Base at the right offset.
155 /// \brief Find the derived-most dynamic base class of \p Derived at offset
158 const abi::__class_type_info *Derived, sptr Offset)
    [all...]
ubsan_type_hash_itanium.cc 115 /// \brief Determine whether \p Derived has a \p Base base class subobject at
117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived,
120 if (Derived->__type_name == Base->__type_name ||
122 !internal_strcmp(Derived->__type_name, Base->__type_name)))
126 dynamic_cast<const abi::__si_class_type_info*>(Derived))
130 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
135 // Look for a base class which is derived from \p Base at the right offset.
155 /// \brief Find the derived-most dynamic base class of \p Derived at offset
158 const abi::__class_type_info *Derived, sptr Offset)
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangSyntaxEmitter.cpp 47 for (llvm::Record *Derived : Records.getAllDerivedDefinitions("NodeType"))
48 if (llvm::Record *Base = Derived->getValueAsOptionalDef("base"))
49 link(Derived, Base);
51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) {
56 N.Record->isSubClassOf("External") || N.Derived.empty());
57 assert(!N.Record->isSubClassOf("Alternatives") || !N.Derived.empty());
64 std::vector<const NodeType *> Derived;
74 // Traverse the hierarchy in pre-order (base classes before derived).
80 for (const NodeType *D : Start->Derived)
93 void link(const llvm::Record *Derived, const llvm::Record *Base)
    [all...]
ClangSyntaxEmitter.cpp 47 for (llvm::Record *Derived : Records.getAllDerivedDefinitions("NodeType"))
48 if (llvm::Record *Base = Derived->getValueAsOptionalDef("base"))
49 link(Derived, Base);
51 llvm::sort(N.Derived, [](const NodeType *L, const NodeType *R) {
56 N.Record->isSubClassOf("External") || N.Derived.empty());
57 assert(!N.Record->isSubClassOf("Alternatives") || !N.Derived.empty());
64 std::vector<const NodeType *> Derived;
74 // Traverse the hierarchy in pre-order (base classes before derived).
80 for (const NodeType *D : Start->Derived)
93 void link(const llvm::Record *Derived, const llvm::Record *Base)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
RecursiveASTVisitor.h 54 // invokes CALL_EXPR, which must be a method call, on the derived
156 /// overriding shouldVisitTemplateInstantiations() in the derived class
164 template <typename Derived> class RecursiveASTVisitor {
169 /// typically not be explicitly specified by derived classes.
174 /// Return a reference to the derived class.
175 Derived &getDerived() { return *static_cast<Derived *>(this); }
344 // Traverse the given statement. If the most-derived traverse function takes a
346 // first branch of this conditional must compile whether or not the derived
348 // arm call our function rather than the derived class version
    [all...]
RecursiveASTVisitor.h 54 // invokes CALL_EXPR, which must be a method call, on the derived
156 /// overriding shouldVisitTemplateInstantiations() in the derived class
164 template <typename Derived> class RecursiveASTVisitor {
169 /// typically not be explicitly specified by derived classes.
174 /// Return a reference to the derived class.
175 Derived &getDerived() { return *static_cast<Derived *>(this); }
344 // Traverse the given statement. If the most-derived traverse function takes a
346 // first branch of this conditional must compile whether or not the derived
348 // arm call our function rather than the derived class version
    [all...]
NonTrivialTypeVisitor.h 21 template <class Derived, class RetTy = void> struct DestructedTypeVisitor {
46 Derived &asDerived() { return static_cast<Derived &>(*this); }
49 template <class Derived, class RetTy = void>
74 Derived &asDerived() { return static_cast<Derived &>(*this); }
77 template <class Derived, bool IsMove, class RetTy = void>
107 Derived &asDerived() { return static_cast<Derived &>(*this); }
NonTrivialTypeVisitor.h 21 template <class Derived, class RetTy = void> struct DestructedTypeVisitor {
46 Derived &asDerived() { return static_cast<Derived &>(*this); }
49 template <class Derived, class RetTy = void>
74 Derived &asDerived() { return static_cast<Derived &>(*this); }
77 template <class Derived, bool IsMove, class RetTy = void>
107 Derived &asDerived() { return static_cast<Derived &>(*this); }
LexicallyOrderedRecursiveASTVisitor.h 58 template <typename Derived>
60 : public RecursiveASTVisitor<Derived> {
61 using BaseType = RecursiveASTVisitor<Derived>;
LexicallyOrderedRecursiveASTVisitor.h 58 template <typename Derived>
60 : public RecursiveASTVisitor<Derived> {
61 using BaseType = RecursiveASTVisitor<Derived>;
  /src/external/apache2/llvm/dist/clang/lib/Sema/
TreeTransform.h 100 template<typename Derived>
106 Derived &Self;
110 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) {
131 /// Retrieves a reference to the derived class.
132 Derived &getDerived() { return static_cast<Derived&>(*this); }
134 /// Retrieves a reference to the derived class.
135 const Derived &getDerived() const {
136 return static_cast<const Derived&>(*this);
305 /// Note to the derived class when a function parameter pack i
    [all...]
TreeTransform.h 100 template<typename Derived>
106 Derived &Self;
110 ForgetPartiallySubstitutedPackRAII(Derived &Self) : Self(Self) {
131 /// Retrieves a reference to the derived class.
132 Derived &getDerived() { return static_cast<Derived&>(*this); }
134 /// Retrieves a reference to the derived class.
135 const Derived &getDerived() const {
136 return static_cast<const Derived&>(*this);
305 /// Note to the derived class when a function parameter pack i
    [all...]
UsedDeclVisitor.h 20 template <class Derived>
21 class UsedDeclVisitor : public EvaluatedExprVisitor<Derived> {
26 typedef EvaluatedExprVisitor<Derived> Inherited;
30 Derived &asImpl() { return *static_cast<Derived *>(this); }
UsedDeclVisitor.h 20 template <class Derived>
21 class UsedDeclVisitor : public EvaluatedExprVisitor<Derived> {
26 typedef EvaluatedExprVisitor<Derived> Inherited;
30 Derived &asImpl() { return *static_cast<Derived *>(this); }
  /src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/
ubsan_type_hash_itanium.cpp 115 /// \brief Determine whether \p Derived has a \p Base base class subobject at
117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived,
120 if (Derived->__type_name == Base->__type_name ||
121 __ubsan::checkTypeInfoEquality(Derived, Base))
125 dynamic_cast<const abi::__si_class_type_info*>(Derived))
129 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
134 // Look for a base class which is derived from \p Base at the right offset.
154 /// \brief Find the derived-most dynamic base class of \p Derived at offset
157 const abi::__class_type_info *Derived, sptr Offset)
    [all...]
ubsan_type_hash_itanium.cpp 115 /// \brief Determine whether \p Derived has a \p Base base class subobject at
117 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived,
120 if (Derived->__type_name == Base->__type_name ||
121 __ubsan::checkTypeInfoEquality(Derived, Base))
125 dynamic_cast<const abi::__si_class_type_info*>(Derived))
129 dynamic_cast<const abi::__vmi_class_type_info*>(Derived);
134 // Look for a base class which is derived from \p Base at the right offset.
154 /// \brief Find the derived-most dynamic base class of \p Derived at offset
157 const abi::__class_type_info *Derived, sptr Offset)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
PointerUnion.h 96 template <typename Derived, typename ValTy, int I, typename ...Types>
99 template <typename Derived, typename ValTy, int I>
100 class PointerUnionMembers<Derived, ValTy, I> {
106 friend struct PointerLikeTypeTraits<Derived>;
109 template <typename Derived, typename ValTy, int I, typename Type,
111 class PointerUnionMembers<Derived, ValTy, I, Type, Types...>
112 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> {
113 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>;
123 Derived &operator=(Type V) {
127 return static_cast<Derived &>(*this)
    [all...]
PointerUnion.h 96 template <typename Derived, typename ValTy, int I, typename ...Types>
99 template <typename Derived, typename ValTy, int I>
100 class PointerUnionMembers<Derived, ValTy, I> {
106 friend struct PointerLikeTypeTraits<Derived>;
109 template <typename Derived, typename ValTy, int I, typename Type,
111 class PointerUnionMembers<Derived, ValTy, I, Type, Types...>
112 : public PointerUnionMembers<Derived, ValTy, I + 1, Types...> {
113 using Base = PointerUnionMembers<Derived, ValTy, I + 1, Types...>;
123 Derived &operator=(Type V) {
127 return static_cast<Derived &>(*this)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTTypeTraits.cpp 35 #define DECL(DERIVED, BASE) { NKI_##BASE, #DERIVED "Decl" },
38 #define STMT(DERIVED, BASE) { NKI_##BASE, #DERIVED },
41 #define TYPE(DERIVED, BASE) { NKI_##BASE, #DERIVED "Type" },
53 bool ASTNodeKind::isBaseOf(NodeKindId Base, NodeKindId Derived,
55 if (Base == NKI_None || Derived == NKI_None) return false;
57 while (Derived != Base && Derived != NKI_None)
    [all...]

Completed in 122 milliseconds

1 2 3 4 5 6