Home
last modified time | relevance | path

Searched refs:BaseTy (Results 1 – 25 of 64) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTrailingObjects.h123 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
130 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
132 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
134 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
137 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
162 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
177 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
206 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
207 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy>
228 template <typename BaseTy, typename... TrailingTys>
[all …]
/external/llvm/include/llvm/Support/
DTrailingObjects.h128 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
135 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
137 struct TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
139 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
142 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
163 getTrailingObjectsImpl(const BaseTy *Obj,
178 getTrailingObjectsImpl(BaseTy *Obj,
209 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
210 struct TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy>
230 template <typename BaseTy, typename... TrailingTys>
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DTrailingObjects.h122 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
129 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
131 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
133 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
136 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
161 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
176 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
205 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
206 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy>
227 template <typename BaseTy, typename... TrailingTys>
[all …]
/external/llvm-project/polly/lib/Transform/
DScheduleTreeTransform.cpp114 using BaseTy = ScheduleTreeVisitor<Derived, RetTy, Args...>; typedef
115 BaseTy &getBase() { return *this; } in getBase()
116 const BaseTy &getBase() const { return *this; } in getBase()
287 using BaseTy = ScheduleTreeRewriter<ExtensionNodeRewriter, typedef
289 BaseTy &getBase() { return *this; } in getBase()
290 const BaseTy &getBase() const { return *this; } in getBase()
418 using BaseTy = RecursiveScheduleTreeVisitor<CollectASTBuildOptions>; typedef
419 BaseTy &getBase() { return *this; } in getBase()
420 const BaseTy &getBase() const { return *this; } in getBase()
438 using BaseTy = ScheduleNodeRewriter<ApplyASTBuildOptions>; typedef
[all …]
/external/llvm-project/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp652 const DIType *BaseTy; in GetFieldInfo() local
657 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo()
660 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo()
664 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
666 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
670 BaseTy = stripQualifiers(CompTy->getBaseType()); in GetFieldInfo()
671 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
815 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local
823 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey()
830 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFAbstractMemberAccess.cpp588 const DIType *BaseTy; in GetFieldInfo() local
593 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo()
596 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo()
600 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
602 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
606 BaseTy = stripQualifiers(CompTy->getBaseType()); in GetFieldInfo()
607 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
748 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local
756 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey()
763 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey()
[all …]
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp692 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local
694 BaseTy = Ty; in ComputeRecordLayout()
698 BaseTy = llvm::StructType::create( in ComputeRecordLayout()
700 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout()
714 new CGRecordLayout(Ty, BaseTy, Builder.IsZeroInitializable, in ComputeRecordLayout()
743 if (BaseTy) { in ComputeRecordLayout()
750 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
DCGStmtOpenMP.cpp886 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
891 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
892 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
893 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
894 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
900 BaseTy = BaseTy->getPointeeType(); in castToBase()
913 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
915 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
916 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
917 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
[all …]
DCGExpr.cpp3001 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument
3006 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase()
3012 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase()
3017 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase()
3035 QualType BaseTy; in EmitOMPArraySectionExpr() local
3038 BaseTy = OMPArraySectionExpr::getBaseOriginalType(ASE); in EmitOMPArraySectionExpr()
3040 BaseTy = E->getBase()->getType(); in EmitOMPArraySectionExpr()
3042 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr()
3045 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr()
3106 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr()
[all …]
DTargetInfo.cpp562 llvm::Type *BaseTy = in EmitVAArgInstr() local
565 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr()
4240 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local
4241 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType()
4306 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local
4307 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
4593 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyArgumentType() local
4594 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyArgumentType()
4643 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType() local
4644 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp603 Type *BaseTy = ByValTy; in isSafeToPromoteArgument() local
605 if (BaseTy) in isSafeToPromoteArgument()
606 return BaseTy == NewBaseTy; in isSafeToPromoteArgument()
608 BaseTy = NewBaseTy; in isSafeToPromoteArgument()
609 if (allCallersPassValidPointerForArgument(Arg, BaseTy)) { in isSafeToPromoteArgument()
650 if (BaseTy && LI->getType() != BaseTy) in isSafeToPromoteArgument()
653 BaseTy = LI->getType(); in isSafeToPromoteArgument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp609 Type *BaseTy = ByValTy; in isSafeToPromoteArgument() local
611 if (BaseTy) in isSafeToPromoteArgument()
612 return BaseTy == NewBaseTy; in isSafeToPromoteArgument()
614 BaseTy = NewBaseTy; in isSafeToPromoteArgument()
615 if (allCallersPassValidPointerForArgument(Arg, BaseTy)) { in isSafeToPromoteArgument()
656 if (BaseTy && LI->getType() != BaseTy) in isSafeToPromoteArgument()
659 BaseTy = LI->getType(); in isSafeToPromoteArgument()
/external/clang/lib/AST/
DType.cpp2171 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local
2172 assert(BaseTy && "NULL element type"); in isLiteralType()
2176 if (BaseTy->isIncompleteType()) in isLiteralType()
2184 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2185 BaseTy->isAnyComplexType()) in isLiteralType()
2188 if (BaseTy->isReferenceType()) in isLiteralType()
2191 if (const RecordType *RT = BaseTy->getAs<RecordType>()) { in isLiteralType()
2210 if (const AtomicType *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
2215 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
2229 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp879 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local
881 BaseTy = Ty; in ComputeRecordLayout()
885 BaseTy = llvm::StructType::create( in ComputeRecordLayout()
887 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout()
901 Ty, BaseTy, (bool)Builder.IsZeroInitializable, in ComputeRecordLayout()
930 if (BaseTy) { in ComputeRecordLayout()
937 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
/external/llvm-project/clang/test/SemaTemplate/
Dderived.cpp17 BaseTy; // expected-error{{C++ requires a type specifier for all declarations}}
/external/clang/test/SemaTemplate/
Dderived.cpp17 BaseTy; // expected-error{{C++ requires a type specifier for all declarations}}
/external/clang/lib/Index/
DIndexBody.cpp96 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local
97 if (!BaseTy.isNull()) in getRolesForRef()
98 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/external/llvm-project/clang/lib/AST/
DType.cpp2550 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local
2551 assert(BaseTy && "NULL element type"); in isLiteralType()
2555 if (BaseTy->isIncompleteType()) in isLiteralType()
2563 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2564 BaseTy->isAnyComplexType()) in isLiteralType()
2567 if (BaseTy->isReferenceType()) in isLiteralType()
2570 if (const auto *RT = BaseTy->getAs<RecordType>()) { in isLiteralType()
2588 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
2593 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
2623 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local
[all …]
/external/llvm-project/clang/lib/AST/Interp/
DEvalEmitter.cpp157 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in emitRetValue() local
159 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in emitRetValue()
/external/llvm-project/clang/lib/Index/
DIndexBody.cpp100 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local
101 if (!BaseTy.isNull()) in getRolesForRef()
102 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/external/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp258 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local
260 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1825 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1826 while (IsModifier && BaseTy) { in lowerTypeModifier()
1828 switch (BaseTy->getTag()) { in lowerTypeModifier()
1847 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier()
1854 if (BaseTy) { in lowerTypeModifier()
1855 switch (BaseTy->getTag()) { in lowerTypeModifier()
1859 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1861 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1867 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1804 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1805 while (IsModifier && BaseTy) { in lowerTypeModifier()
1807 switch (BaseTy->getTag()) { in lowerTypeModifier()
1826 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier()
1833 if (BaseTy) { in lowerTypeModifier()
1834 switch (BaseTy->getTag()) { in lowerTypeModifier()
1838 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1840 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1846 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.cpp1247 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1248 while (IsModifier && BaseTy) { in lowerTypeModifier()
1250 switch (BaseTy->getTag()) { in lowerTypeModifier()
1262 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType().resolve(); in lowerTypeModifier()
1264 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
/external/llvm-project/mlir/lib/Bindings/Python/
DIRModules.cpp1429 template <typename DerivedTy, typename BaseTy = PyAttribute>
1430 class PyConcreteAttribute : public BaseTy {
1435 using ClassTy = py::class_<DerivedTy, BaseTy>;
1440 : BaseTy(std::move(contextRef), attr) {} in PyConcreteAttribute()
1978 template <typename DerivedTy, typename BaseTy = PyType>
1979 class PyConcreteType : public BaseTy {
1984 using ClassTy = py::class_<DerivedTy, BaseTy>;
1989 : BaseTy(std::move(contextRef), t) {} in PyConcreteType()

123