| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | TrailingObjects.h | 145 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl() 160 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl() 215 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, 225 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...> 240 static const BaseTy * 246 static BaseTy * 247 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl() 290 static_cast<const BaseTy *>(this), in getTrailingObjects() 367 p->~BaseTy(); in ~FixedSizeStorageOwner() 370 BaseTy *get() { return p; } in get() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 746 const DIType *BaseTy; in GetFieldInfo() local 751 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() 758 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 765 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 909 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local 917 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey() 924 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey() 925 CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey() 1022 DIType *BaseTy = stripQualifiers(Ty, true); in computeAccessKey() local 1023 PatchImm = BaseTy->getSizeInBits() / 8; in computeAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 305 const auto *BaseTy = DDTy->getBaseType(); in completeType() local 306 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType() 864 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() local 865 if (!BaseTy) in visitTypeEntry() 868 if (DIToIdMap.find(BaseTy) != DIToIdMap.end()) { in visitTypeEntry() 869 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry() 872 visitTypeEntry(BaseTy, TmpTypeId, CheckPointer, SeenPointer); in visitTypeEntry()
|
| /llvm-project-15.0.7/polly/lib/Transform/ |
| H A D | ScheduleTreeTransform.cpp | 231 using BaseTy = ScheduleTreeRewriter<ExtensionNodeRewriter, typedef 233 BaseTy &getBase() { return *this; } in getBase() 234 const BaseTy &getBase() const { return *this; } in getBase() 362 BaseTy &getBase() { return *this; } in getBase() 363 const BaseTy &getBase() const { return *this; } in getBase() 381 BaseTy &getBase() { return *this; } in getBase() 382 const BaseTy &getBase() const { return *this; } in getBase() 566 BaseTy &getBase() { return *this; } in getBase() 567 const BaseTy &getBase() const { return *this; } in getBase() 840 BaseTy &getBase() { return *this; } in getBase() [all …]
|
| H A D | ManualOptimizer.cpp | 138 using BaseTy = RecursiveScheduleTreeVisitor<SearchTransformVisitor>; typedef in __anon7e7826410111::SearchTransformVisitor 139 BaseTy &getBase() { return *this; } in getBase() 140 const BaseTy &getBase() const { return *this; } in getBase()
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | IRModule.h | 771 template <typename DerivedTy, typename BaseTy = PyType> 772 class PyConcreteType : public BaseTy { 777 using ClassTy = pybind11::class_<DerivedTy, BaseTy>; 782 : BaseTy(std::move(contextRef), t) {} in PyConcreteType() 864 template <typename DerivedTy, typename BaseTy = PyAttribute> 865 class PyConcreteAttribute : public BaseTy { 870 using ClassTy = pybind11::class_<DerivedTy, BaseTy>; 875 : BaseTy(std::move(contextRef), attr) {} in PyConcreteAttribute()
|
| H A D | IRAffine.cpp | 76 template <typename DerivedTy, typename BaseTy = PyAffineExpr> 77 class PyConcreteAffineExpr : public BaseTy { 83 using ClassTy = py::class_<DerivedTy, BaseTy>; 88 : BaseTy(std::move(contextRef), affineExpr) {} in PyConcreteAffineExpr()
|
| /llvm-project-15.0.7/polly/include/polly/ |
| H A D | ScheduleTreeTransform.h | 130 using BaseTy = ScheduleTreeVisitor<Derived, RetTy, Args...>; member 131 BaseTy &getBase() { return *this; } in getBase() 132 const BaseTy &getBase() const { return *this; } in getBase()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 884 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local 886 BaseTy = Ty; in ComputeRecordLayout() 890 BaseTy = llvm::StructType::create( in ComputeRecordLayout() 892 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout() 906 Ty, BaseTy, (bool)Builder.IsZeroInitializable, in ComputeRecordLayout() 935 if (BaseTy) { in ComputeRecordLayout() 942 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
|
| H A D | TargetInfo.cpp | 5351 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local 5421 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local 5544 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local 5545 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg() 5839 Size == Alignment ? BaseTy in classifyArgumentType() 5998 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local 6000 BaseTy = llvm::PointerType::getUnqual(BaseTy); in EmitAAPCSVAArg() 6002 BaseTy = AI.getCoerceToType(); in EmitAAPCSVAArg() 6006 BaseTy = ArrTy->getElementType(); in EmitAAPCSVAArg() 6009 bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy(); in EmitAAPCSVAArg() [all …]
|
| H A D | CGExpr.cpp | 3976 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument 3981 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase() 3987 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase() 3992 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase() 4015 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local 4017 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr() 4020 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr() 4083 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr() 4085 : BaseTy; in EmitOMPArraySectionExpr() 4121 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 921 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin() 922 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin() 923 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin() 930 BaseTy = BaseTy->getPointeeType(); in loadToBegin() 944 BaseTy = BaseTy.getNonReferenceType(); in castToBase() 945 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase() 946 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase() 947 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase() 953 BaseTy = BaseTy->getPointeeType(); in castToBase() 7428 return CGF.getTypeSize(BaseTy); in getExprTypeSize() [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 2601 assert(BaseTy && "NULL element type"); in isLiteralType() 2605 if (BaseTy->isIncompleteType()) in isLiteralType() 2613 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType() 2614 BaseTy->isAnyComplexType()) in isLiteralType() 2617 if (BaseTy->isReferenceType()) in isLiteralType() 2674 assert(BaseTy && "NULL element type"); in isStandardLayoutType() 2678 if (BaseTy->isIncompleteType()) in isStandardLayoutType() 2682 if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true; in isStandardLayoutType() 2715 if (BaseTy->isSizelessBuiltinType()) in isCXX11PODType() 2720 if (BaseTy->isIncompleteType()) in isCXX11PODType() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | derived.cpp | 17 BaseTy; // expected-error{{a type specifier is required for all declarations}}
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | EvalEmitter.cpp | 157 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in emitRetValue() local 159 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in emitRetValue()
|
| /llvm-project-15.0.7/clang/lib/Index/ |
| H A D | IndexBody.cpp | 104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local 105 if (!BaseTy.isNull()) in getRolesForRef() 106 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
|
| /llvm-project-15.0.7/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 265 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local 267 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 2683 template <typename BaseTy> struct SetState : public AbstractState { 2691 SetContents(const DenseSet<BaseTy> &Assumptions) 2694 SetContents(bool Universal, const DenseSet<BaseTy> &Assumptions) 2697 const DenseSet<BaseTy> &getSet() const { return Set; } 2742 DenseSet<BaseTy> Set; 2749 SetState(const DenseSet<BaseTy> &Known) 2779 bool setContains(const BaseTy &Elem) const { 5041 using BaseTy = std::pair<int64_t, int64_t>; 5042 OffsetAndSize(int64_t Offset, int64_t Size) : BaseTy(Offset, Size) {} 5043 OffsetAndSize(const BaseTy &P) : BaseTy(P) {}
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1962 const DIType *BaseTy = Ty; in lowerTypeModifier() local 1963 while (IsModifier && BaseTy) { in lowerTypeModifier() 1965 switch (BaseTy->getTag()) { in lowerTypeModifier() 1984 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier() 1991 if (BaseTy) { in lowerTypeModifier() 1992 switch (BaseTy->getTag()) { in lowerTypeModifier() 1996 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 1998 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 2004 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3289 Type *BaseTy; member in __anon3ad87db80b11::AggLoadStoreRewriter::OpSplitter 3300 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument 3302 : IRB(IRB), GEPIndices(1, IRB.getInt32(0)), Ptr(Ptr), BaseTy(BaseTy), in OpSplitter() 3323 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps() 3365 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter() 3368 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter() 3378 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() 3385 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc() 3411 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter() 3414 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 1227 Type *BaseTy = Builder.getInt8PtrTy(); in optimiseAddress() local 1229 BaseTy = FixedVectorType::get(BaseTy, VecTy); in optimiseAddress() 1231 Builder.getInt8Ty(), Builder.CreateBitCast(Base, BaseTy), Offsets, in optimiseAddress()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 2906 using BaseTy = 2913 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); 2915 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); 2916 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 793 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef 796 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter() 939 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef 941 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
|
| /llvm-project-15.0.7/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 663 LLVMMetadataRef BaseTy, value BaseOffset, in llvm_dibuild_create_inheritance_native() argument 666 return LLVMDIBuilderCreateInheritance(DIBuilder_val(Builder), Ty, BaseTy, in llvm_dibuild_create_inheritance_native()
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 913 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
|