| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 652 const DIType *BaseTy; in GetFieldInfo() local 657 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo() 660 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo() 664 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 666 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo() 670 BaseTy = stripQualifiers(CompTy->getBaseType()); in GetFieldInfo() 671 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo() 815 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local 823 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey() 830 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 252 const auto *BaseTy = DDTy->getBaseType(); in completeType() local 253 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 604 Type *BaseTy = ByValTy; in isSafeToPromoteArgument() local 606 if (BaseTy) in isSafeToPromoteArgument() 607 return BaseTy == NewBaseTy; in isSafeToPromoteArgument() 609 BaseTy = NewBaseTy; in isSafeToPromoteArgument() 610 if (allCallersPassValidPointerForArgument(Arg, BaseTy)) { in isSafeToPromoteArgument() 650 if (BaseTy && LI->getType() != BaseTy) in isSafeToPromoteArgument() 653 BaseTy = LI->getType(); in isSafeToPromoteArgument()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Type.cpp | 2554 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local 2555 assert(BaseTy && "NULL element type"); in isLiteralType() 2559 if (BaseTy->isIncompleteType()) in isLiteralType() 2567 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType() 2568 BaseTy->isAnyComplexType()) in isLiteralType() 2571 if (BaseTy->isReferenceType()) in isLiteralType() 2574 if (const auto *RT = BaseTy->getAs<RecordType>()) { in isLiteralType() 2592 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType() 2597 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType() 2627 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local [all …]
|
| H A D | ExprConstant.cpp | 7739 QualType BaseTy = E->getBase()->getType(); in VisitMemberExpr() local 7744 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() == in VisitMemberExpr() 7750 CompleteObject Obj(APValue::LValueBase(), &Val, BaseTy); in VisitMemberExpr() 7751 SubobjectDesignator Designator(BaseTy); in VisitMemberExpr() 7946 QualType BaseTy; in VisitMemberExpr() local 7950 BaseTy = E->getBase()->getType()->castAs<PointerType>()->getPointeeType(); in VisitMemberExpr() 7954 BaseTy = E->getBase()->getType(); in VisitMemberExpr() 7957 BaseTy = E->getBase()->getType(); in VisitMemberExpr() 7968 assert(BaseTy->castAs<RecordType>()->getDecl()->getCanonicalDecl() == in VisitMemberExpr() 7970 (void)BaseTy; in VisitMemberExpr() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGRecordLayoutBuilder.cpp | 884 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 D | TargetInfo.cpp | 663 llvm::Type *BaseTy = in EmitVAArgInstr() local 666 CGF.Builder.CreateVAArg(VAListAddr.getPointer(), BaseTy); in EmitVAArgInstr() 5231 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local 5232 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType() 5301 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local 5302 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType() 5448 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local 5449 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg() 5727 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment); in classifyArgumentType() local 5729 Size == Alignment ? BaseTy in classifyArgumentType() [all …]
|
| H A D | CGExpr.cpp | 3886 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument 3891 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase() 3897 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase() 3902 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase() 3924 QualType BaseTy = OMPArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitOMPArraySectionExpr() local 3926 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitOMPArraySectionExpr() 3929 ResultExprTy = BaseTy->getPointeeType(); in EmitOMPArraySectionExpr() 3992 QualType ArrayTy = BaseTy->isPointerType() in EmitOMPArraySectionExpr() 3994 : BaseTy; in EmitOMPArraySectionExpr() 4030 BaseTy, VLA->getElementType(), IsLowerBound); in EmitOMPArraySectionExpr() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 936 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument 938 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin() 939 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin() 940 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin() 941 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin() 944 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(CGF), BaseTy); in loadToBegin() 947 BaseTy = BaseTy->getPointeeType(); in loadToBegin() 956 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument 962 BaseTy = BaseTy.getNonReferenceType(); in castToBase() 963 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase() [all …]
|
| H A D | CGExprCXX.cpp | 139 QualType BaseTy = BaseExpr->getType(); in EmitCXXPseudoDestructorExpr() local 140 BaseQuals = BaseTy.getQualifiers(); in EmitCXXPseudoDestructorExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
| H A D | EvalEmitter.cpp | 157 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in emitRetValue() local 159 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in emitRetValue()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
| H A D | IndexBody.cpp | 100 auto BaseTy = ME->getBase()->IgnoreImpCasts()->getType(); in getRolesForRef() local 101 if (!BaseTy.isNull()) in getRolesForRef() 102 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/ |
| H A D | Operations.cpp | 258 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local 260 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | CodeViewDebug.cpp | 1855 const DIType *BaseTy = Ty; in lowerTypeModifier() local 1856 while (IsModifier && BaseTy) { in lowerTypeModifier() 1858 switch (BaseTy->getTag()) { in lowerTypeModifier() 1877 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier() 1884 if (BaseTy) { in lowerTypeModifier() 1885 switch (BaseTy->getTag()) { in lowerTypeModifier() 1889 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 1891 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeModifier() 1897 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeModifier()
|
| H A D | DwarfUnit.cpp | 1401 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() local 1402 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded() 1403 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3301 Type *BaseTy; member in __anon416367130b11::AggLoadStoreRewriter::OpSplitter 3312 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument 3315 BaseTy(BaseTy), BaseAlign(BaseAlign), DL(DL) {} in OpSplitter() 3333 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps() 3375 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter() 3377 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in LoadOpSplitter() 3387 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc() 3394 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc() 3422 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter() 3424 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlan.h | 2274 using BaseTy = 2281 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); 2283 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); 2284 return map_range(Filter, [](BaseTy &Block) -> BlockTy * {
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 791 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 663 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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DIBuilder.h | 266 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 899 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 331 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance() argument 339 0, Ty, BaseTy, 0, 0, BaseOffset, None, in createInheritance()
|
| H A D | DebugInfo.cpp | 1243 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, in LLVMDIBuilderCreateInheritance() argument 1247 unwrapDI<DIType>(Ty), unwrapDI<DIType>(BaseTy), in LLVMDIBuilderCreateInheritance()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 1036 QualType BaseTy = Base->getType(); in ProcessBaseDtor() local 1037 SVal BaseVal = getStoreManager().evalDerivedToBase(ThisVal, BaseTy, in ProcessBaseDtor() 1041 VisitCXXDestructor(BaseTy, BaseVal.getAsRegion(), CurDtor->getBody(), in ProcessBaseDtor()
|