Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h101 // then recurses on the rest. The "Align", "BaseTy", and
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, TopTrailingOb
242 getTrailingObjectsImpl(const BaseTy * Obj,TrailingObjectsBase::OverloadToken<BaseTy>) getTrailingObjectsImpl() argument
248 getTrailingObjectsImpl(BaseTy * Obj,TrailingObjectsBase::OverloadToken<BaseTy>) getTrailingObjectsImpl() argument
261 callNumTrailingObjects(const BaseTy * Obj,TrailingObjectsBase::OverloadToken<BaseTy>) callNumTrailingObjects() argument
[all...]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAArch64.cpp66 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitVAArg() local
67 if (isa<llvm::ScalableVectorType>(BaseTy)) in EmitVAArg()
376 llvm::Type *BaseTy = llvm::Type::getIntNTy(getVMContext(), Alignment); in classifyArgumentType() local
378 Size == Alignment ? BaseTy in classifyArgumentType()
379 : llvm::ArrayType::get(BaseTy, Size / Alignment)); in classifyArgumentType()
451 llvm::Type *BaseTy = llvm::Type::getInt64Ty(getVMContext()); in classifyReturnType() local
452 return ABIArgInfo::getDirect(llvm::ArrayType::get(BaseTy, Size / 64)); in classifyReturnType()
547 llvm::Type *BaseTy = CGF.ConvertType(Ty); in EmitAAPCSVAArg() local
549 BaseTy = llvm::PointerType::getUnqual(BaseTy); in EmitAAPCSVAArg()
551 BaseTy = AI.getCoerceToType(); in EmitAAPCSVAArg()
[all …]
H A DPPC.cpp858 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyArgumentType() local
859 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyArgumentType()
928 llvm::Type *BaseTy = CGT.ConvertType(QualType(Base, 0)); in classifyReturnType() local
929 llvm::Type *CoerceTy = llvm::ArrayType::get(BaseTy, Members); in classifyReturnType()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp729 const DIType *BaseTy; in GetFieldInfo() local
734 BaseTy = stripQualifiers(CTy->getBaseType()); in GetFieldInfo()
737 BaseTy = stripQualifiers(MemberTy->getBaseType()); in GetFieldInfo()
741 const auto *BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
743 const auto *CompTy = dyn_cast<DICompositeType>(BaseTy); in GetFieldInfo()
747 BaseTy = stripQualifiers(CompTy->getBaseType()); in GetFieldInfo()
748 BTy = dyn_cast<DIBasicType>(BaseTy); in GetFieldInfo()
892 DIType *BaseTy = nullptr; in computeBaseAndAccessKey() local
900 BaseTy = stripQualifiers(CTy->getBaseType()); in computeBaseAndAccessKey()
907 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey()
[all …]
H A DBTFDebug.cpp308 const auto *BaseTy = DDTy->getBaseType(); in completeType() local
309 BTFMember.Type = BDebug.getTypeId(BaseTy); in completeType()
899 const DIType *BaseTy = DTy->getBaseType(); in visitTypeEntry() local
900 if (!BaseTy) in visitTypeEntry()
903 if (DIToIdMap.find(BaseTy) != DIToIdMap.end()) { in visitTypeEntry()
904 DTy = dyn_cast<DIDerivedType>(BaseTy); in visitTypeEntry()
908 if (IsForwardDeclCandidate(BaseTy)) in visitTypeEntry()
912 visitTypeEntry(BaseTy, TmpTypeId, CheckPointer, SeenPointer); in visitTypeEntry()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanAnalysis.cpp65 Type *BaseTy = inferScalarType(R->getOperand(0)); in inferScalarTypeForRecipe() local
66 if (auto *VecTy = dyn_cast<VectorType>(BaseTy)) in inferScalarTypeForRecipe()
68 return BaseTy; in inferScalarTypeForRecipe()
H A DVPlan.h3642 using BaseTy = std::conditional_t<std::is_const<BlockTy>::value, in blocksOnly() local
3648 map_range(Range, [](BaseTy *Block) -> BaseTy & { return *Block; }); in blocksOnly()
3650 Mapped, [](BaseTy &Block) { return isa<BlockTy>(&Block); }); in blocksOnly()
3651 return map_range(Filter, [](BaseTy &Block) -> BlockTy * { in blocksOnly()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayoutBuilder.cpp1093 llvm::StructType *BaseTy = nullptr; in ComputeRecordLayout() local
1095 BaseTy = Ty; in ComputeRecordLayout()
1099 BaseTy = llvm::StructType::create( in ComputeRecordLayout()
1101 addRecordTypeName(D, BaseTy, ".base"); in ComputeRecordLayout()
1115 Ty, BaseTy, (bool)Builder.IsZeroInitializable, in ComputeRecordLayout()
1144 if (BaseTy) { in ComputeRecordLayout()
1151 getDataLayout().getTypeAllocSizeInBits(BaseTy) && in ComputeRecordLayout()
H A DABIInfoImpl.cpp439 llvm::Type *BaseTy = llvm::PointerType::getUnqual(ElementTy); in EmitVAArgInstr() local
441 CGF.Builder.CreateVAArg(VAListAddr.emitRawPointer(CGF), BaseTy); in EmitVAArgInstr()
H A DCGOpenMPRuntime.cpp896 static LValue loadToBegin(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in loadToBegin() argument
898 BaseTy = BaseTy.getNonReferenceType(); in loadToBegin()
899 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in loadToBegin()
900 !CGF.getContext().hasSameType(BaseTy, ElTy)) { in loadToBegin()
901 if (const auto *PtrTy = BaseTy->getAs<PointerType>()) { in loadToBegin()
904 LValue RefLVal = CGF.MakeAddrLValue(BaseLV.getAddress(), BaseTy); in loadToBegin()
907 BaseTy = BaseTy->getPointeeType(); in loadToBegin()
915 static Address castToBase(CodeGenFunction &CGF, QualType BaseTy, QualType ElTy, in castToBase() argument
920 BaseTy = BaseTy.getNonReferenceType(); in castToBase()
921 while ((BaseTy->isPointerType() || BaseTy->isReferenceType()) && in castToBase()
[all …]
H A DCGExpr.cpp4378 QualType BaseTy, QualType ElTy, in emitOMPArraySectionBase() argument
4383 if (BaseTy->isArrayType()) { in emitOMPArraySectionBase()
4389 llvm::Type *NewTy = CGF.ConvertType(BaseTy); in emitOMPArraySectionBase()
4394 if (!BaseTy->isVariableArrayType()) { in emitOMPArraySectionBase()
4420 QualType BaseTy = ArraySectionExpr::getBaseOriginalType(E->getBase()); in EmitArraySectionExpr() local
4422 if (auto *AT = getContext().getAsArrayType(BaseTy)) in EmitArraySectionExpr()
4425 ResultExprTy = BaseTy->getPointeeType(); in EmitArraySectionExpr()
4489 QualType ArrayTy = BaseTy->isPointerType() in EmitArraySectionExpr()
4491 : BaseTy; in EmitArraySectionExpr()
4528 BaseTy, VLA->getElementType(), IsLowerBound); in EmitArraySectionExpr()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DType.cpp2905 const Type *BaseTy = getBaseElementTypeUnsafe(); in isLiteralType() local
2906 assert(BaseTy && "NULL element type"); in isLiteralType()
2910 if (BaseTy->isIncompleteType()) in isLiteralType()
2918 if (BaseTy->isScalarType() || BaseTy->isVectorType() || in isLiteralType()
2919 BaseTy->isAnyComplexType()) in isLiteralType()
2922 if (BaseTy->isReferenceType()) in isLiteralType()
2925 if (const auto *RT = BaseTy->getAs<RecordType>()) { in isLiteralType()
2943 if (const auto *AT = BaseTy->getAs<AtomicType>()) in isLiteralType()
2948 if (isa<AutoType>(BaseTy->getCanonicalTypeInternal())) in isLiteralType()
2978 const Type *BaseTy = getBaseElementTypeUnsafe(); in isStandardLayoutType() local
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp189 SPIRVType *BaseTy = GR->getOrCreateSPIRVType(ElemTy, MIB); in insertBitcasts() local
191 BaseTy, MI, *MF.getSubtarget<SPIRVSubtarget>().getInstrInfo(), in insertBitcasts()
456 SPIRVType *BaseTy = GR->getOrCreateSPIRVType(ElementTy, MIB); in generateAssignInstrs() local
458 BaseTy, MI, *MF.getSubtarget<SPIRVSubtarget>().getInstrInfo(), in generateAssignInstrs()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp288 auto *BaseTy = Cur[0]->getType(); in validInsertValueIndex() local
290 while (Type *Indexed = ExtractValueInst::getIndexedType(BaseTy, I)) { in validInsertValueIndex()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp2014 const DIType *BaseTy = Ty; in lowerTypeModifier()
2015 while (IsModifier && BaseTy) { in lowerTypeModifier()
2017 switch (BaseTy->getTag()) { in lowerTypeModifier()
2036 BaseTy = cast<DIDerivedType>(BaseTy)->getBaseType(); in lowerTypeModifier()
2043 if (BaseTy) { in lowerTypeModifier()
2044 switch (BaseTy->getTag()) { in lowerTypeModifier()
2048 return lowerTypePointer(cast<DIDerivedType>(BaseTy), PO);
2050 return lowerTypeMemberPointer(cast<DIDerivedType>(BaseTy), PO); in lowerTypeFunction()
2056 TypeIndex ModifiedTI = getTypeIndex(BaseTy); in lowerTypeFunction()
1996 const DIType *BaseTy = Ty; lowerTypeModifier() local
[all...]
H A DDwarfUnit.cpp1489 DIType *BaseTy = CTy->getBaseType(); in hasVectorBeenPadded() local
1490 assert(BaseTy && "Unknown vector element type."); in hasVectorBeenPadded()
1491 const uint64_t ElementSize = BaseTy->getSizeInBits(); in hasVectorBeenPadded()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp450 QualType BaseTy = Ctx.getASTContext().getRecordType(BD->Decl); in toRValue() local
452 Ok &= Composite(BaseTy, BP, R.getStructBase(I)); in toRValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEGatherScatterLowering.cpp1233 Type *BaseTy = Builder.getPtrTy(); in optimiseAddress() local
1235 BaseTy = FixedVectorType::get(BaseTy, VecTy); in optimiseAddress()
1237 Builder.getInt8Ty(), Builder.CreateBitCast(Base, BaseTy), Offsets, in optimiseAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp3730 Type *BaseTy; member in __anondf5662880d11::AggLoadStoreRewriter::OpSplitter
3741 OpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in OpSplitter() argument
3743 : IRB(IRB), GEPIndices(1, IRB.getInt32(0)), Ptr(Ptr), BaseTy(BaseTy), in OpSplitter()
3764 unsigned Offset = DL.getIndexedOffsetInType(BaseTy, GEPIndices); in emitSplitOps()
3806 LoadOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in LoadOpSplitter()
3809 : OpSplitter<LoadOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, DL, in LoadOpSplitter()
3819 IRB.CreateInBoundsGEP(BaseTy, Ptr, GEPIndices, Name + ".gep"); in emitFunc()
3826 GEPOperator::accumulateConstantOffset(BaseTy, GEPIndices, DL, Offset)) in emitFunc()
3853 StoreOpSplitter(Instruction *InsertionPoint, Value *Ptr, Type *BaseTy, in StoreOpSplitter()
3856 : OpSplitter<StoreOpSplitter>(InsertionPoint, Ptr, BaseTy, BaseAlign, in StoreOpSplitter()
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp799 using BaseTy = DiagTextVisitor<DiagTextDocPrinter>; typedef
802 : BaseTy(Builder), RST(RST) {} in DiagTextDocPrinter()
941 using BaseTy = DiagTextVisitor<DiagTextPrinter>; typedef
943 : BaseTy(Builder), Result(Result) {} in DiagTextPrinter()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4896 using BaseTy = typename ChildElementIter::iterator_facade_base; variable
4905 typename BaseTy::reference operator*() const {
4915 return const_cast<typename BaseTy::reference>(EExpr->FakeChildNode);
4917 typename BaseTy::pointer operator->() const { return **this; }
4918 using BaseTy::operator++;
6029 using BaseTy = typename AssociationIteratorTy::iterator_facade_base; variable
6043 typename BaseTy::reference operator*() const {
6047 typename BaseTy::pointer operator->() const { return **this; }
6048 using BaseTy::operator++;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h3033 template <typename BaseTy> struct SetState : public AbstractState {
3041 SetContents(const DenseSet<BaseTy> &Assumptions)
3044 SetContents(bool Universal, const DenseSet<BaseTy> &Assumptions)
3047 const DenseSet<BaseTy> &getSet() const { return Set; }
3092 DenseSet<BaseTy> Set;
3099 SetState(const DenseSet<BaseTy> &Known)
3129 bool setContains(const BaseTy &Elem) const {
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h937 LLVMMetadataRef Ty, LLVMMetadataRef BaseTy,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenACC.cpp1167 QualType BaseTy = ArraySectionExpr::getBaseOriginalType(ASExpr); in CheckReductionVar() local
1168 QualType EltTy = getASTContext().getBaseElementType(BaseTy); in CheckReductionVar()

12