Searched refs:BaseTy (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h118 // then recurses on the rest. The "Align", "BaseTy", and
123 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
130 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy,
132 class TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy,
134 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
137 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
162 getTrailingObjectsImpl(const BaseTy *Obj,
177 getTrailingObjectsImpl(BaseTy *Obj,
206 template <int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy>
207 class TrailingObjectsImpl<Align, BaseTy, TopTrailingOb
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp588 const DIType *BaseTy; local
593 BaseTy = stripQualifiers(CTy->getBaseType());
596 BaseTy = stripQualifiers(MemberTy->getBaseType());
600 const auto *BTy = dyn_cast<DIBasicType>(BaseTy);
602 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy);
606 BaseTy = stripQualifiers(CompTy->getBaseType());
607 BTy = dyn_cast<DIBasicType>(BaseTy);
748 DIType *BaseTy = nullptr; local
756 BaseTy = stripQualifiers(CTy->getBaseType());
763 BaseTy
[all...]
H A DBTFDebug.cpp246 const auto *BaseTy = DDTy->getBaseType(); local
247 BTFMember.Type = BDebug.getTypeId(BaseTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp609 Type *BaseTy = ByValTy; local
611 if (BaseTy)
612 return BaseTy == NewBaseTy;
614 BaseTy = NewBaseTy;
615 if (allCallersPassValidPointerForArgument(Arg, BaseTy)) {
656 if (BaseTy && LI->getType() != BaseTy)
659 BaseTy = LI->getType();
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp739 llvm::StructType *BaseTy = nullptr; local
741 BaseTy = Ty;
745 BaseTy = llvm::StructType::create(
747 addRecordTypeName(D, BaseTy, ".base");
748 // BaseTy and Ty must agree on their packedness for getLLVMFieldNo to work
761 new CGRecordLayout(Ty, BaseTy, Builder.IsZeroInitializable,
790 if (BaseTy) {
797 getDataLayout().getTypeAllocSizeInBits(BaseTy) &&
H A DTargetInfo.cpp632 llvm::Type *BaseTy = local
635 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy);
4823 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0));
4824 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members);
4889 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0));
4890 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members);
5271 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment);
5273 Size == Alignment ? BaseTy
5274 : llvm::ArrayType::get(BaseTy, Size / Alignment));
5324 llvm::Type *BaseTy
[all...]
H A DCGExpr.cpp3671 QualType BaseTy, QualType ElTy,
3676 if (BaseTy->isArrayType()) {
3682 llvm::Type *NewTy = CGF.ConvertType(BaseTy);
3687 if (!BaseTy->isVariableArrayType()) {
3709 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); local
3711 if (auto *AT = getContext().getAsArrayType(BaseTy))
3714 ResultExprTy = BaseTy->getPointeeType();
3775 QualType ArrayTy = BaseTy->isPointerType()
3777 : BaseTy;
3811 BaseTy, VL
3668 emitOMPArraySectionBase(CodeGenFunction &CGF, const Expr *Base, LValueBaseInfo &BaseInfo, TBAAAccessInfo &TBAAInfo, QualType BaseTy, QualType ElTy, bool IsLowerBound) argument
[all...]
H A DCGOpenMPRuntime.cpp1106 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, argument
1108 BaseTy = BaseTy.getNonReferenceType();
1109 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) &&
1110 !CGF.getContext().hasSameType(BaseTy, ElTy)) {
1111 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) {
1114 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy);
1117 BaseTy = BaseTy
1126 castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, llvm::Type *BaseLVType, CharUnits BaseLVAlignment, llvm::Value *Addr) argument
7169 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType( local
[all...]
H A DCGExprCXX.cpp138 QualType BaseTy = BaseExpr->getType(); local
139 BaseQuals = BaseTy.getQualifiers();
H A DCGExprScalar.cpp162 QualType BaseTy = Base->getType();
163 if (!BaseTy->isPromotableIntegerType() ||
164 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType()))
167 return BaseTy;
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.cpp157 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl);
159 Ok &= Composite(BaseTy, BP, R.getStructBase(I));
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DType.cpp2399 const Type *BaseTy = getBaseElementTypeUnsafe(); local
2400 assert(BaseTy && "NULL element type");
2404 if (BaseTy->isIncompleteType())
2412 if (BaseTy->isScalarType() || BaseTy->isVectorType() ||
2413 BaseTy->isAnyComplexType())
2416 if (BaseTy->isReferenceType())
2419 if (const auto *RT = BaseTy->getAs<RecordType>()) {
2437 if (const auto *AT = BaseTy->getAs<AtomicType>())
2442 if (isa<AutoType>(BaseTy
2456 const Type *BaseTy = getBaseElementTypeUnsafe(); local
2495 const Type *BaseTy = ty->getBaseElementTypeUnsafe(); local
[all...]
H A DExprConstant.cpp7063 QualType BaseTy = E->getBase()->getType();
7068 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() ==
7074 CompleteObject Obj(APValue::LValueBase(), &Val, BaseTy);
7075 SubobjectDesignator Designator(BaseTy);
7270 QualType BaseTy;
7274 BaseTy = E->getBase()->getType()->castAs<PointerType>()->getPointeeType();
7278 BaseTy = E->getBase()->getType();
7281 BaseTy = E->getBase()->getType();
7292 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() ==
7294 (void)BaseTy;
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp100 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); local
101 if (!BaseTy.isNull())
102 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1804 const DIType *BaseTy = Ty; local
1805 while (IsModifier && BaseTy) {
1807 switch (BaseTy->getTag()) {
1826 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType();
1833 if (BaseTy) {
1834 switch (BaseTy->getTag()) {
1838 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO);
1840 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO);
1846 TypeIndex ModifiedTI = getTypeIndex(BaseTy);
[all...]
H A DDwarfUnit.cpp1374 DIType *BaseTy = CTy->getBaseType(); local
1375 assert(BaseTy && "Unknown vector element type.");
1376 const uint64_t ElementSize = BaseTy->getSizeInBits();
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp801 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>;
804 : BaseTy(Builder), RST(RST) {}
930 using BaseTy = DiagTextVisitor<DiagTextPrinter>;
932 : BaseTy(Builder), Result(Result) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3276 Type *BaseTy;
3287 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy,
3290 BaseTy(BaseTy), BaseAlign(BaseAlign), DL(DL) {}
3308 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices);
3350 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy,
3352 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign,
3362 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep");
3391 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy,
3393 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlig
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDIBuilder.h251 /// \param BaseTy Base type. Ty is inherits from base.
256 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h884 * \param BaseTy Base type. Ty is inherits from base.
891 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp323 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, argument
331 0, Ty, BaseTy, 0, 0, BaseOffset, None,
H A DDebugInfo.cpp1119 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
1123 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy),
1118 LLVMDIBuilderCreateInheritance(LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, uint64_t BaseOffset, uint32_t VBPtrOffset, LLVMDIFlags Flags) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5329 using BaseTy = typename AssociationIteratorTy::iterator_facade_base;
5344 typename BaseTy::reference operator*() const {
5348 typename BaseTy::pointer operator->() const { return **this; }
5349 using BaseTy::operator++;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1036 QualType BaseTy = Base->getType(); local
1037 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy,
1041 VisitCXXDestructor(BaseTy, BaseVal.getAsRegion(), CurDtor->getBody(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp7523 QualType BaseTy = TypedefTy->desugar(); local
7526 if (BaseTy->isPipeType()) {
7534 } else if (const BuiltinType* ImgType = BaseTy->getAs<BuiltinType>()) {

Completed in 1020 milliseconds

12