| /freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AArch64.cpp | 61 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local 62 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg() 362 Size == Alignment ? BaseTy in classifyArgumentType() 530 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local 532 BaseTy = llvm::PointerType::getUnqual(BaseTy); in EmitAAPCSVAArg() 534 BaseTy = AI.getCoerceToType(); in EmitAAPCSVAArg() 538 BaseTy = ArrTy->getElementType(); in EmitAAPCSVAArg() 541 bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy(); in EmitAAPCSVAArg() 662 llvm::Type *BaseTy = CGF.ConvertType(QualType(Base, 0)); in EmitAAPCSVAArg() local 663 llvm::Type *HFATy = llvm::ArrayType::get(BaseTy, NumMembers); in EmitAAPCSVAArg() [all …]
|
| H A D | PPC.cpp | 801 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local 802 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType() 871 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local 872 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 728 const DIType *BaseTy; in GetFieldInfo() local 733 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() 740 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 747 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 891 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local 899 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey() 906 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey() 907 CTy = dyn_cast<DICompositeType>(BaseTy); in computeBaseAndAccessKey() 1004 DIType *BaseTy = stripQualifiers(Ty, true); in computeAccessKey() local 1005 PatchImm = BaseTy->getSizeInBits() / 8; in computeAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 307 const auto *BaseTy = DDTy->getBaseType(); in completeType() local 308 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType() 898 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() local 899 if (!BaseTy) in visitTypeEntry() 902 if (DIToIdMap.find(BaseTy) != DIToIdMap.end()) { in visitTypeEntry() 903 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry() 907 if (IsForwardDeclCandidate(BaseTy)) in visitTypeEntry() 911 visitTypeEntry(BaseTy, TmpTypeId, CheckPointer, SeenPointer); in visitTypeEntry()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 896 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local 898 BaseTy = Ty; in ComputeRecordLayout() 902 BaseTy = llvm::StructType::create( in ComputeRecordLayout() 904 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout() 918 Ty, BaseTy, (bool)Builder.IsZeroInitializable, in ComputeRecordLayout() 947 if (BaseTy) { in ComputeRecordLayout() 954 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
|
| H A D | ABIInfoImpl.cpp | 401 llvm::Type *BaseTy = llvm::PointerType::getUnqual(ElementTy); in EmitVAArgInstr() local 403 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr()
|
| H A D | CGOpenMPRuntime.cpp | 896 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin() 897 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin() 898 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin() 905 BaseTy = BaseTy->getPointeeType(); in loadToBegin() 918 BaseTy = BaseTy.getNonReferenceType(); in castToBase() 919 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase() 920 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase() 921 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase() 927 BaseTy = BaseTy->getPointeeType(); in castToBase() 6679 return CGF.getTypeSize(BaseTy); in getExprTypeSize() [all …]
|
| H A D | CGExpr.cpp | 4336 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument 4341 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase() 4347 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase() 4352 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase() 4374 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local 4376 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr() 4379 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr() 4443 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr() 4445 : BaseTy; in EmitOMPArraySectionExpr() 4482 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 2844 assert(BaseTy && "NULL element type"); in isLiteralType() 2848 if (BaseTy->isIncompleteType()) in isLiteralType() 2856 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType() 2857 BaseTy->isAnyComplexType()) in isLiteralType() 2860 if (BaseTy->isReferenceType()) in isLiteralType() 2917 assert(BaseTy && "NULL element type"); in isStandardLayoutType() 2921 if (BaseTy->isIncompleteType()) in isStandardLayoutType() 2925 if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true; in isStandardLayoutType() 2958 if (BaseTy->isSizelessBuiltinType()) in isCXX11PODType() 2963 if (BaseTy->isIncompleteType()) in isCXX11PODType() [all …]
|
| H A D | RecordLayoutBuilder.cpp | 2008 const Type *BaseTy = D->getType()->getBaseElementTypeUnsafe(); in LayoutField() local 2009 if (const ComplexType *CTy = BaseTy->getAs<ComplexType>()) { in LayoutField() 2012 } else if (const BuiltinType *BTy = BaseTy->getAs<BuiltinType>()) { in LayoutField() 2014 } else if (const RecordType *RT = BaseTy->getAs<RecordType>()) { in LayoutField()
|
| /freebsd-14.2/contrib/llvm-project/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVPreLegalizer.cpp | 140 SPIRVType *BaseTy = GR->getOrCreateSPIRVType( in insertBitcasts() local 143 BaseTy, MI, *MF.getSubtarget<SPIRVSubtarget>().getInstrInfo(), in insertBitcasts() 268 SPIRVType *BaseTy = GR->getOrCreateSPIRVType( in generateAssignInstrs() local 271 BaseTy, MI, *MF.getSubtarget<SPIRVSubtarget>().getInstrInfo(), in generateAssignInstrs()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Pointer.cpp | 299 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in toRValue() local 301 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in toRValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 288 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local 290 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 2014 const DIType *BaseTy = Ty; in lowerTypeModifier() local 2015 while (IsModifier && BaseTy) { in lowerTypeModifier() 2017 switch (BaseTy->getTag()) { in lowerTypeModifier() 2036 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier() 2043 if (BaseTy) { in lowerTypeModifier() 2044 switch (BaseTy->getTag()) { in lowerTypeModifier() 2048 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 2050 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 2056 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
|
| H A D | DwarfUnit.cpp | 1456 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() local 1457 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded() 1458 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 1227 Type *BaseTy = Builder.getPtrTy(); in optimiseAddress() local 1229 BaseTy = FixedVectorType::get(BaseTy, VecTy); in optimiseAddress() 1231 Builder.getInt8Ty(), Builder.CreateBitCast(Base, BaseTy), Offsets, in optimiseAddress()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3763 Type *BaseTy; member in __anonc3d49dbe0d11::AggLoadStoreRewriter::OpSplitter 3774 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument 3776 : IRB(IRB), GEPIndices(1, IRB.getInt32(0)), Ptr(Ptr), BaseTy(BaseTy), in OpSplitter() 3797 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps() 3839 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter() 3842 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter() 3852 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() 3885 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter() 3888 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter() 3904 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 799 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef 802 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter() 945 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef 947 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 3035 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly() local 3041 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); in blocksOnly() 3043 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly() 3044 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 3040 template <typename BaseTy> struct SetState : public AbstractState { 3048 SetContents(const DenseSet<BaseTy> &Assumptions) 3051 SetContents(bool Universal, const DenseSet<BaseTy> &Assumptions) 3054 const DenseSet<BaseTy> &getSet() const { return Set; } 3099 DenseSet<BaseTy> Set; 3106 SetState(const DenseSet<BaseTy> &Known) 3136 bool setContains(const BaseTy &Elem) const {
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 924 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 308 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RegionStore.cpp | 1887 QualType BaseTy = BaseRegion->getValueType(); in getDerivedSymbolForBinding() local 1889 if (BaseTy->isScalarType() && Ty->isScalarType()) { in getDerivedSymbolForBinding() 1890 if (Ctx.getTypeSizeInChars(BaseTy) >= Ctx.getTypeSizeInChars(Ty)) { in getDerivedSymbolForBinding()
|