| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TrailingObjects.h | 106 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy, 113 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy, 115 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, 117 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, 120 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...> 145 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl() 160 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl() 189 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy> 190 class alignas(Align) TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy> 211 template <typename BaseTy, typename... TrailingTys> [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanUtils.h | 215 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly() local 221 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); in blocksOnly() 223 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly() 224 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
|
| H A D | VPlanAnalysis.cpp | 117 Type *BaseTy = inferScalarType(R->getOperand(0)); in inferScalarTypeForRecipe() local 118 if (auto *VecTy = dyn_cast<VectorType>(BaseTy)) in inferScalarTypeForRecipe() 120 return BaseTy; in inferScalarTypeForRecipe()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 720 const DIType *BaseTy; in GetFieldInfo() local 725 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() 728 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo() 732 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 734 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo() 738 BaseTy = stripQualifiers(CompTy->getBaseType()); in GetFieldInfo() 739 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 884 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local 892 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey() 899 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 338 const auto *BaseTy = DTy->getBaseType(); in completeType() local 339 Discriminator.Type = BDebug.getTypeId(BaseTy); in completeType() 361 const auto *BaseTy = tryRemoveAtomicType(DDTy->getBaseType()); in completeType() local 362 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType() 1003 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() local 1004 if (!BaseTy) in visitTypeEntry() 1007 if (DIToIdMap.find(BaseTy) != DIToIdMap.end()) { in visitTypeEntry() 1008 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry() 1013 if (IsForwardDeclCandidate(BaseTy)) in visitTypeEntry() 1017 visitTypeEntry(BaseTy, TmpTypeId, CheckPointer, SeenPointer); in visitTypeEntry()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | AArch64.cpp | 86 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local 87 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg() 518 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment); in classifyArgumentType() local 521 BaseTy = llvm::PointerType::getUnqual(getVMContext()); in classifyArgumentType() 523 Size == Alignment ? BaseTy in classifyArgumentType() 524 : llvm::ArrayType::get(BaseTy, Size / Alignment)); in classifyArgumentType() 609 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType() local 610 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType() 880 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local 882 BaseTy = llvm::PointerType::getUnqual(BaseTy->getContext()); in EmitAAPCSVAArg() [all …]
|
| H A D | PPC.cpp | 865 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local 866 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType() 939 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local 940 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 1085 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local 1087 BaseTy = Ty; in ComputeRecordLayout() 1091 BaseTy = llvm::StructType::create( in ComputeRecordLayout() 1093 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout() 1107 Ty, BaseTy, (bool)Builder.IsZeroInitializable, in ComputeRecordLayout() 1136 if (BaseTy) { in ComputeRecordLayout() 1143 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
|
| H A D | ABIInfoImpl.cpp | 433 llvm::Type *BaseTy = llvm::PointerType::getUnqual(CGF.getLLVMContext()); in EmitVAArgInstr() local 435 CGF.Builder.CreateVAArg(VAListAddr.emitRawPointer(CGF), BaseTy); in EmitVAArgInstr()
|
| H A D | CGOpenMPRuntime.cpp | 892 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument 894 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin() 895 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin() 896 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin() 897 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin() 900 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(), BaseTy); in loadToBegin() 903 BaseTy = BaseTy->getPointeeType(); in loadToBegin() 911 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument 916 BaseTy = BaseTy.getNonReferenceType(); in castToBase() 917 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase() [all …]
|
| H A D | CGExpr.cpp | 4688 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument 4693 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase() 4699 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase() 4704 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase() 4730 QualType BaseTy = ArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitArraySectionExpr() local 4732 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitArraySectionExpr() 4735 ResultExprTy = BaseTy->getPointeeType(); in EmitArraySectionExpr() 4799 QualType ArrayTy = BaseTy->isPointerType() in EmitArraySectionExpr() 4801 : BaseTy; in EmitArraySectionExpr() 4838 BaseTy, VLA->getElementType(), IsLowerBound); in EmitArraySectionExpr() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 3010 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local 3011 assert(BaseTy && "NULL element type"); in isLiteralType() 3015 if (BaseTy->isIncompleteType()) in isLiteralType() 3023 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType() 3024 BaseTy->isAnyComplexType()) in isLiteralType() 3027 if (BaseTy->isReferenceType()) in isLiteralType() 3030 if (const auto *RT = BaseTy->getAs<RecordType>()) { in isLiteralType() 3048 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType() 3053 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType() 3083 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local [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/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 105 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local 106 if (!BaseTy.isNull()) in getRolesForRef() 107 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 706 uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef BaseTy); 728 uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef BaseTy, 997 LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 292 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local 294 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
|
| /freebsd/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 800 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef 803 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter() 949 using BaseTy = DiagTextVisitor<DiagEnumPrinter>; typedef 955 : BaseTy(Builder), Result(Result) {} in DiagEnumPrinter() 990 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef 992 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 2028 const DIType *BaseTy = Ty; in lowerTypeModifier() local 2029 while (IsModifier && BaseTy) { in lowerTypeModifier() 2031 switch (BaseTy->getTag()) { in lowerTypeModifier() 2050 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier() 2057 if (BaseTy) { in lowerTypeModifier() 2058 switch (BaseTy->getTag()) { in lowerTypeModifier() 2062 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 2064 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 2070 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVEGatherScatterLowering.cpp | 1231 Type *BaseTy = Builder.getPtrTy(); in optimiseAddress() local 1233 BaseTy = FixedVectorType::get(BaseTy, VecTy); in optimiseAddress() 1235 Builder.getInt8Ty(), Builder.CreateBitCast(Base, BaseTy), Offsets, in optimiseAddress()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaHLSL.h | 192 bool ContainsBitField(QualType BaseTy);
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3822 Type *BaseTy; member in __anondf5662880e11::AggLoadStoreRewriter::OpSplitter 3833 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument 3835 : IRB(IRB), GEPIndices(1, IRB.getInt32(0)), Ptr(Ptr), BaseTy(BaseTy), in OpSplitter() 3856 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps() 3904 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter() 3907 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter() 3917 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() 3924 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc() 3975 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter() 3978 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DebugInfo.cpp | 1331 uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef BaseTy) { in LLVMDIBuilderCreateSetType() argument 1334 LineNumber, SizeInBits, AlignInBits, unwrapDI<DIType>(BaseTy))); in LLVMDIBuilderCreateSetType() 1340 uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateSubrangeType() argument 1346 unwrapDI<DIType>(BaseTy), unwrap(LowerBound), unwrap(UpperBound), in LLVMDIBuilderCreateSubrangeType() 1531 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateInheritance() argument 1535 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Pointer.cpp | 708 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in toRValue() local 710 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in toRValue()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Expr.h | 5094 using BaseTy = typename ChildElementIter::iterator_facade_base; variable 5103 typename BaseTy::reference operator*() const { 5113 return const_cast<typename BaseTy::reference>(EExpr->FakeChildNode); 5115 typename BaseTy::pointer operator->() const { return **this; } 5116 using BaseTy::operator++; 6228 using BaseTy = typename AssociationIteratorTy::iterator_facade_base; variable 6242 typename BaseTy::reference operator*() const { 6246 typename BaseTy::pointer operator->() const { return **this; } 6247 using BaseTy::operator++;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
| H A D | Attributor.h | 3080 template <typename BaseTy> struct SetState : public AbstractState { 3088 SetContents(const DenseSet<BaseTy> &Assumptions) 3091 SetContents(bool Universal, const DenseSet<BaseTy> &Assumptions) 3094 const DenseSet<BaseTy> &getSet() const { return Set; } 3139 DenseSet<BaseTy> Set; 3146 SetState(const DenseSet<BaseTy> &Known) 3176 bool setContains(const BaseTy &Elem) const {
|