Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DTrailingObjects.h167 getTrailingObjectsImpl(const BaseTy *Obj, in getTrailingObjectsImpl()
182 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
237 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
247 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
264 static const BaseTy *
270 static BaseTy *
271 getTrailingObjectsImpl(BaseTy *Obj, in getTrailingObjectsImpl()
314 static_cast<const BaseTy *>(this), in getTrailingObjects()
383 p->~BaseTy(); in ~FixedSizeStorageOwner()
386 BaseTy *get() { return p; } in get()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp730 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local
732 BaseTy = Ty; in ComputeRecordLayout()
736 BaseTy = llvm::StructType::create( in ComputeRecordLayout()
738 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout()
752 new CGRecordLayout(Ty, BaseTy, Builder.IsZeroInitializable, in ComputeRecordLayout()
781 if (BaseTy) { in ComputeRecordLayout()
788 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
H A DTargetInfo.cpp627 llvm::Type *BaseTy = in EmitVAArgInstr() local
630 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr()
4730 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local
4796 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local
5273 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local
5275 BaseTy = llvm::PointerType::getUnqual(BaseTy); in EmitAAPCSVAArg()
5277 BaseTy = AI.getCoerceToType(); in EmitAAPCSVAArg()
5281 BaseTy = ArrTy->getElementType(); in EmitAAPCSVAArg()
5284 bool IsFPR = BaseTy->isFloatingPointTy() || BaseTy->isVectorTy(); in EmitAAPCSVAArg()
5412 llvm::Type *BaseTy = CGF.ConvertType(QualType(Base, 0)); in EmitAAPCSVAArg() local
[all …]
H A DCGOpenMPRuntime.cpp1066 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
1067 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
1068 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
1069 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
1075 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
1090 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
1091 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
1092 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in castToBase()
1093 Tmp = CGF.CreateMemTemp(BaseTy); in castToBase()
1099 BaseTy = BaseTy->getPointeeType(); in castToBase()
[all …]
H A DCGExpr.cpp3513 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument
3518 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase()
3524 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase()
3529 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase()
3552 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local
3554 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr()
3557 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr()
3618 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr()
3620 : BaseTy; in EmitOMPArraySectionExpr()
3654 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr()
[all …]
H A DCGExprCXX.cpp126 QualType BaseTy = BaseExpr->getType(); in EmitCXXPseudoDestructorExpr() local
127 BaseQuals = BaseTy.getQualifiers(); in EmitCXXPseudoDestructorExpr()
H A DCGExprScalar.cpp144 QualType BaseTy = Base->getType(); in getUnwidenedIntegerType() local
145 if (!BaseTy->isPromotableIntegerType() || in getUnwidenedIntegerType()
146 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType())) in getUnwidenedIntegerType()
149 return BaseTy; in getUnwidenedIntegerType()
H A DCGDebugInfo.cpp1667 auto *BaseTy = getOrCreateType(BI.getType(), Unit); in CollectCXXBasesAux() local
1696 llvm::DIType *DTy = DBuilder.createInheritance(RecordTy, BaseTy, BaseOffset, in CollectCXXBasesAux()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp2304 assert(BaseTy && "NULL element type"); in isLiteralType()
2308 if (BaseTy->isIncompleteType()) in isLiteralType()
2316 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2317 BaseTy->isAnyComplexType()) in isLiteralType()
2320 if (BaseTy->isReferenceType()) in isLiteralType()
2361 assert(BaseTy && "NULL element type"); in isStandardLayoutType()
2365 if (BaseTy->isIncompleteType()) in isStandardLayoutType()
2369 if (BaseTy->isScalarType() || BaseTy->isVectorType()) return true; in isStandardLayoutType()
2400 assert(BaseTy && "NULL element type"); in isCXX11PODType()
2404 if (BaseTy->isIncompleteType()) in isCXX11PODType()
[all …]
H A DExprConstant.cpp5025 QualType BaseTy = E->getBase()->getType(); in VisitMemberExpr() local
5033 CompleteObject Obj(&Val, BaseTy, true); in VisitMemberExpr()
5034 SubobjectDesignator Designator(BaseTy); in VisitMemberExpr()
5189 QualType BaseTy; in VisitMemberExpr() local
5197 BaseTy = E->getBase()->getType(); in VisitMemberExpr()
5200 BaseTy = E->getBase()->getType(); in VisitMemberExpr()
5213 (void)BaseTy; in VisitMemberExpr()
8051 QualType BaseTy = getObjectType(LVal.getLValueBase()); in determineEndOffset() local
8052 return CheckedHandleSizeof(BaseTy, EndOffset); in determineEndOffset()
9316 QualType BaseTy = getType(LHSValue.Base); in EvaluateComparisonBinaryOperator() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexBody.cpp101 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local
102 if (!BaseTy.isNull()) in getRolesForRef()
103 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1745 const DIType *BaseTy = Ty; in lowerTypeModifier() local
1746 while (IsModifier && BaseTy) { in lowerTypeModifier()
1748 switch (BaseTy->getTag()) { in lowerTypeModifier()
1767 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType().resolve(); in lowerTypeModifier()
1774 if (BaseTy) { in lowerTypeModifier()
1775 switch (BaseTy->getTag()) { in lowerTypeModifier()
1779 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1781 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier()
1787 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
H A DDwarfUnit.cpp1313 DIType *BaseTy = CTy->getBaseType().resolve(); in hasVectorBeenPadded() local
1314 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded()
1315 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3218 Type *BaseTy; member in __anon241d746d0a11::AggLoadStoreRewriter::OpSplitter
3229 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument
3232 BaseTy(BaseTy), BaseAlign(BaseAlign), DL(DL) {} in OpSplitter()
3250 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps()
3292 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter()
3294 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in LoadOpSplitter()
3331 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter()
3333 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter()
/freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp801 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef
804 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter()
930 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef
932 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DDebugInfo.h792 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DDIBuilder.h255 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
/freebsd-12.1/contrib/llvm/lib/IR/
H A DDIBuilder.cpp322 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument
330 0, Ty, BaseTy, 0, 0, BaseOffset, None, in createInheritance()
H A DDebugInfo.cpp1063 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateInheritance() argument
1067 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp985 QualType BaseTy = Base->getType(); in ProcessBaseDtor() local
986 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor()
989 VisitCXXDestructor(BaseTy, BaseVal.castAs<loc::MemRegionVal>().getRegion(), in ProcessBaseDtor()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp7158 QualType BaseTy = TypedefTy->desugar(); in HandleOpenCLAccessAttr() local
7161 if (BaseTy->isPipeType()) { in HandleOpenCLAccessAttr()
7169 } else if (const BuiltinType* ImgType = BaseTy->getAs<BuiltinType>()) { in HandleOpenCLAccessAttr()
H A DSemaExpr.cpp4323 QualType BaseTy = Base->getType(); in CheckSubscriptAccessOfNoDeref() local
4324 if (!(isa<ArrayType>(BaseTy) || isa<PointerType>(BaseTy))) in CheckSubscriptAccessOfNoDeref()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4750 Type *BaseTy = AddrMode.BaseReg ? AddrMode.BaseReg->getType() : nullptr; in optimizeMemoryInst() local
4752 PointerType *BasePtrTy = dyn_cast_or_null<PointerType>(BaseTy); in optimizeMemoryInst()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h4307 UnaryTransformType(QualType BaseTy, QualType UnderlyingTy, UTTKind UKind,