Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DTrailingObjects.h106 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 …]
/openbsd-src/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp746 const DIType *BaseTy; in GetFieldInfo() local
751 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo()
754 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo()
758 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
760 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
764 BaseTy = stripQualifiers(CompTy->getBaseType()); 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()
[all …]
H A DBTFDebug.cpp306 const auto *BaseTy = DDTy->getBaseType(); in completeType() local
307 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType()
897 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() local
898 if (!BaseTy) in visitTypeEntry()
901 if (DIToIdMap.find(BaseTy) != DIToIdMap.end()) { in visitTypeEntry()
902 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry()
906 if (IsForwardDeclCandidate(BaseTy)) in visitTypeEntry()
910 visitTypeEntry(BaseTy, TmpTypeId, CheckPointer, SeenPointer); in visitTypeEntry()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp884 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 DTargetInfo.cpp719 llvm::Type *BaseTy = llvm::PointerType::getUnqual(ElementTy); in EmitVAArgInstr() local
721 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr()
5340 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local
5341 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType()
5410 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local
5411 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
5545 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local
5546 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg()
5840 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment); in classifyArgumentType() local
5842 Size == Alignment ? BaseTy in classifyArgumentType()
[all …]
H A DCGExpr.cpp3951 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument
3956 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase()
3962 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase()
3967 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase()
3990 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local
3992 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr()
3995 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr()
4059 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr()
4061 : BaseTy; in EmitOMPArraySectionExpr()
4097 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr()
[all …]
H A DCGOpenMPRuntime.cpp920 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
922 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
923 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
924 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
925 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
928 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin()
931 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
940 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
945 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
946 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
[all …]
H A DCGExprScalar.cpp161 QualType BaseTy = Base->getType(); in getUnwidenedIntegerType() local
162 if (!Ctx.isPromotableIntegerType(BaseTy) || in getUnwidenedIntegerType()
163 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType())) in getUnwidenedIntegerType()
166 return BaseTy; in getUnwidenedIntegerType()
5093 llvm::Type *BaseTy = in EmitObjCIsaExpr() local
5095 Addr = Address(EmitScalarExpr(BaseExpr), BaseTy, getPointerAlign()); in EmitObjCIsaExpr()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DType.cpp2640 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local
2641 assert(BaseTy && "NULL element type"); in isLiteralType()
2645 if (BaseTy->isIncompleteType()) in isLiteralType()
2653 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2654 BaseTy->isAnyComplexType()) in isLiteralType()
2657 if (BaseTy->isReferenceType()) in isLiteralType()
2660 if (const auto *RT = BaseTy->getAs<RecordType>()) { in isLiteralType()
2678 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
2683 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
2713 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local
[all …]
H A DRecordLayoutBuilder.cpp2009 const Type *BaseTy = D->getType()->getBaseElementTypeUnsafe(); in LayoutField() local
2010 if (const ComplexType *CTy = BaseTy->getAs<ComplexType>()) { in LayoutField()
2013 } else if (const BuiltinType *BTy = BaseTy->getAs<BuiltinType>()) { in LayoutField()
2015 } else if (const RecordType *RT = BaseTy->getAs<RecordType>()) { in LayoutField()
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DEvalEmitter.cpp168 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in emitRetValue() local
170 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in emitRetValue()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexBody.cpp104 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local
105 if (!BaseTy.isNull()) in getRolesForRef()
106 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOperations.cpp265 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local
267 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1981 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1982 while (IsModifier && BaseTy) { in lowerTypeModifier()
1984 switch (BaseTy->getTag()) { in lowerTypeModifier()
2003 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier()
2010 if (BaseTy) { in lowerTypeModifier()
2011 switch (BaseTy->getTag()) { in lowerTypeModifier()
2015 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
2017 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
2023 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
H A DDwarfUnit.cpp1454 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() local
1455 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded()
1456 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp1227 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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3618 Type *BaseTy; member in __anon4aa1d6df0c11::AggLoadStoreRewriter::OpSplitter
3629 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument
3631 : IRB(IRB), GEPIndices(1, IRB.getInt32(0)), Ptr(Ptr), BaseTy(BaseTy), in OpSplitter()
3652 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps()
3694 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter()
3697 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter()
3707 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc()
3714 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc()
3740 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter()
3743 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DVPlan.h2540 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly() local
2546 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); in blocksOnly()
2548 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly()
2549 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp791 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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h2860 template <typename BaseTy> struct SetState : public AbstractState {
2868 SetContents(const DenseSet<BaseTy> &Assumptions)
2871 SetContents(bool Universal, const DenseSet<BaseTy> &Assumptions)
2874 const DenseSet<BaseTy> &getSet() const { return Set; }
2919 DenseSet<BaseTy> Set;
2926 SetState(const DenseSet<BaseTy> &Known)
2956 bool setContains(const BaseTy &Elem) const {
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c663 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()
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DDebugInfo.h923 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DDIBuilder.h305 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1900 QualType BaseTy = BaseRegion->getValueType(); in getDerivedSymbolForBinding() local
1902 if (BaseTy->isScalarType() && Ty->isScalarType()) { in getDerivedSymbolForBinding()
1903 if (Ctx.getTypeSizeInChars(BaseTy) >= Ctx.getTypeSizeInChars(Ty)) { in getDerivedSymbolForBinding()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DDIBuilder.cpp368 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument
376 0, Ty, BaseTy, 0, 0, BaseOffset, std::nullopt, in createInheritance()

12