| /freebsd-13.1/contrib/llvm-project/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 …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 655 const DIType *BaseTy; in GetFieldInfo() local 660 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() 667 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 674 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 818 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local 826 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey() 833 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey() 834 CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey() 930 DIType *BaseTy = stripQualifiers(Ty, true); in computeAccessKey() local 931 PatchImm = BaseTy->getSizeInBits() / 8; in computeAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 252 const auto *BaseTy = DDTy->getBaseType(); in completeType() local 253 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 603 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() 649 if (BaseTy && LI->getType() != BaseTy) in isSafeToPromoteArgument() 652 BaseTy = LI->getType(); in isSafeToPromoteArgument()
|
| /freebsd-13.1/contrib/llvm-project/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 | 663 llvm::Type *BaseTy = in EmitVAArgInstr() local 5234 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local 5451 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local 5452 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg() 5746 Size == Alignment ? BaseTy in classifyArgumentType() 5895 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local 5897 BaseTy = llvm::PointerType::getUnqual(BaseTy); in EmitAAPCSVAArg() 5899 BaseTy = AI.getCoerceToType(); in EmitAAPCSVAArg() 5903 BaseTy = ArrTy->getElementType(); in EmitAAPCSVAArg() 5906 bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy(); in EmitAAPCSVAArg() [all …]
|
| H A D | CGExpr.cpp | 3886 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument 3891 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase() 3897 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase() 3902 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase() 3924 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local 3926 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr() 3929 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr() 3992 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr() 3994 : BaseTy; in EmitOMPArraySectionExpr() 4030 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 941 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin() 942 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin() 943 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin() 950 BaseTy = BaseTy->getPointeeType(); in loadToBegin() 965 BaseTy = BaseTy.getNonReferenceType(); in castToBase() 966 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase() 967 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase() 968 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase() 974 BaseTy = BaseTy->getPointeeType(); in castToBase() 7484 return CGF.getTypeSize(BaseTy); in getExprTypeSize() [all …]
|
| H A D | CGExprCXX.cpp | 139 QualType BaseTy = BaseExpr->getType(); in EmitCXXPseudoDestructorExpr() local 140 BaseQuals = BaseTy.getQualifiers(); in EmitCXXPseudoDestructorExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 2558 assert(BaseTy && "NULL element type"); in isLiteralType() 2562 if (BaseTy->isIncompleteType()) in isLiteralType() 2570 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType() 2571 BaseTy->isAnyComplexType()) in isLiteralType() 2574 if (BaseTy->isReferenceType()) in isLiteralType() 2631 assert(BaseTy && "NULL element type"); in isStandardLayoutType() 2635 if (BaseTy->isIncompleteType()) in isStandardLayoutType() 2639 if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true; in isStandardLayoutType() 2672 if (BaseTy->isSizelessBuiltinType()) in isCXX11PODType() 2677 if (BaseTy->isIncompleteType()) in isCXX11PODType() [all …]
|
| H A D | ExprConstant.cpp | 7742 QualType BaseTy = E->getBase()->getType(); in VisitMemberExpr() local 7754 SubobjectDesignator Designator(BaseTy); in VisitMemberExpr() 7949 QualType BaseTy; in VisitMemberExpr() local 7957 BaseTy = E->getBase()->getType(); in VisitMemberExpr() 7960 BaseTy = E->getBase()->getType(); in VisitMemberExpr() 7973 (void)BaseTy; in VisitMemberExpr() 11391 QualType BaseTy = getObjectType(LVal.getLValueBase()); in determineEndOffset() local 11392 return CheckedHandleSizeof(BaseTy, EndOffset); in determineEndOffset() 12770 QualType BaseTy = getType(LHSValue.Base); in EvaluateComparisonBinaryOperator() local 12771 if (BaseTy->isIncompleteType()) in EvaluateComparisonBinaryOperator() [all …]
|
| /freebsd-13.1/contrib/llvm-project/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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 100 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local 101 if (!BaseTy.isNull()) in getRolesForRef() 102 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 258 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local 260 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1855 const DIType *BaseTy = Ty; in lowerTypeModifier() local 1856 while (IsModifier && BaseTy) { in lowerTypeModifier() 1858 switch (BaseTy->getTag()) { in lowerTypeModifier() 1877 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier() 1884 if (BaseTy) { in lowerTypeModifier() 1885 switch (BaseTy->getTag()) { in lowerTypeModifier() 1889 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 1891 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 1897 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
|
| H A D | DwarfUnit.cpp | 1407 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() local 1408 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded() 1409 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3316 Type *BaseTy; member in __anon157c633c0b11::AggLoadStoreRewriter::OpSplitter 3327 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument 3330 BaseTy(BaseTy), BaseAlign(BaseAlign), DL(DL) {} in OpSplitter() 3348 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps() 3390 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter() 3392 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in LoadOpSplitter() 3402 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() 3409 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc() 3437 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter() 3439 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 2386 using BaseTy = 2393 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); 2395 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); 2396 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
|
| /freebsd-13.1/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 791 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef 794 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter() 937 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef 939 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 268 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 899 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 336 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument 344 0, Ty, BaseTy, 0, 0, BaseOffset, None, in createInheritance()
|
| H A D | DebugInfo.cpp | 1279 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateInheritance() argument 1283 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 1036 QualType BaseTy = Base->getType(); in ProcessBaseDtor() local 1037 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor() 1041 VisitCXXDestructor(BaseTy, BaseVal.getAsRegion(), CurDtor->getBody(), in ProcessBaseDtor()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Expr.h | 5704 using BaseTy = typename AssociationIteratorTy::iterator_facade_base; variable 5718 typename BaseTy::reference operator*() const { 5722 typename BaseTy::pointer operator->() const { return **this; } 5723 using BaseTy::operator++;
|