Home
last modified time | relevance | path

Searched refs:CTy (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp238 AnonRecords[CTy] = ParentTy; in CheckCompositeType()
245 DIDerivedType *CurrTy = AnonRecords[CTy]; in CheckCompositeType()
248 AnonRecords[CTy] = nullptr; in CheckCompositeType()
307 DINodeArray Elements = CTy->getElements(); in calcArraySize()
524 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain()
687 uint32_t Tag = CTy->getTag(); in GetFieldInfo()
731 if (CTy->getElements().size() != 1) in GetFieldInfo()
908 if (!CTy) { in computeBaseAndAccessKey()
920 if (!CTy) { in computeBaseAndAccessKey()
926 unsigned CTag = CTy->getTag(); in computeBaseAndAccessKey()
[all …]
H A DBTFDebug.cpp745 if (CTy->getBaseType() != nullptr) { in visitEnumType()
773 auto Tag = CTy->getTag(); in visitCompositeType()
776 if (CTy->isForwardDecl()) in visitCompositeType()
781 visitArrayType(CTy, TypeId); in visitCompositeType()
783 visitEnumType(CTy, TypeId); in visitCompositeType()
788 auto CTag = CTy->getTag(); in IsForwardDeclCandidate()
791 !CTy->getName().empty() && !CTy->isForwardDecl()) in IsForwardDeclCandidate()
927 visitCompositeType(CTy, TypeId); in visitTypeEntry()
957 if (!CTy) in visitMapDefType()
960 auto Tag = CTy->getTag(); in visitMapDefType()
[all …]
H A DBTFDebug.h329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
331 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp598 constructTypeDIE(TyDIE, CTy); in createTypeDIE()
842 if (CTy->getCC() && CTy->getCC() != dwarf::DW_CC_normal) in constructTypeDIE()
844 CTy->getCC()); in constructTypeDIE()
846 if (CTy->isLValueReference()) in constructTypeDIE()
849 if (CTy->isRValueReference()) in constructTypeDIE()
976 if (CTy->getExportSymbols()) in constructTypeDIE()
1028 if (CTy->isForwardDecl()) in constructTypeDIE()
1035 if (!CTy->isForwardDecl()) in constructTypeDIE()
1036 addSourceLine(Buffer, CTy); in constructTypeDIE()
1452 assert(CTy && CTy->isVector() && "Composite type is not a vector"); in hasVectorBeenPadded()
[all …]
H A DDwarfUnit.h300 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
333 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
337 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
338 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
356 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
379 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDebugHandlerBase.cpp186 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local
187 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) { in isUnsignedDIType()
188 if (!(Ty = CTy->getBaseType())) in isUnsignedDIType()
H A DCodeViewDebug.cpp2758 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local
2766 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) { in getCompleteTypeIndex()
2767 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex()
2772 if (CTy->isForwardDecl()) in getCompleteTypeIndex()
2779 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex()
2784 switch (CTy->getTag()) { in getCompleteTypeIndex()
2787 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex()
2790 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex()
2800 CompleteTypeIndices[CTy] = TI; in getCompleteTypeIndex()
H A DDwarfCompileUnit.h136 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDwarfDebug.cpp3450 const DICompositeType *CTy) { in addDwarfTypeUnitType() argument
3457 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0)); in addDwarfTypeUnitType()
3471 TypeUnitsUnderConstruction.emplace_back(std::move(OwnedUnit), CTy); in addDwarfTypeUnitType()
3511 NewTU.setType(NewTU.createTypeDIE(CTy)); in addDwarfTypeUnitType()
3532 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
H A DDwarfDebug.h736 DIE &Die, const DICompositeType *CTy);
H A DDwarfCompileUnit.cpp1657 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE() argument
1658 constructTypeDIE(D, CTy); in finishNonUnitTypeDIE()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp33 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in complexTempStructure()
225 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local
226 Ty = CTy->getElementType(); in getParamTypeAlignment()
253 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local
318 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local
319 Ty = CTy->getElementType(); in getParamTypeAlignment()
383 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local
385 (void)CTy; in EmitVAArg()
677 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local
678 Ty = CTy->getElementType(); in getParamTypeAlignment()
[all …]
H A DLoongArch.cpp135 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFARsEligibleStructHelper() local
138 QualType EltTy = CTy->getElementType(); in detectFARsEligibleStructHelper()
H A DRISCV.cpp141 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper() local
144 QualType EltTy = CTy->getElementType(); in detectFPCCEligibleStructHelper()
H A DX86.cpp389 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() local
390 Ty = CTy->getElementType(); in is32Or64BitBasicType()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp142 QualType CTy = in VisitBinaryOperator() local
144 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator()
156 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator()
157 B->getType(), CTy); in VisitBinaryOperator()
171 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator()
175 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
H A DSValBuilder.cpp1067 APSIntType CTy = BVF.getAPSIntType(CastTy); in simplifySymbolCast() local
1070 const auto WC = CTy.getBitWidth(); in simplifySymbolCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp544 auto *CTy = DICompositeType::get( in createEnumerationType() local
549 AllEnumTypes.emplace_back(CTy); in createEnumerationType()
550 trackIfUnresolved(CTy); in createEnumerationType()
551 return CTy; in createEnumerationType()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp181 const Class##Type *CTy = cast<Class##Type>(Ty); \ in desugarForDiagnostic()
182 if (CTy->isSugared()) { \ in desugarForDiagnostic()
184 Underlying = CTy->desugar(); \ in desugarForDiagnostic()
H A DRecordLayoutBuilder.cpp2009 if (const ComplexType *CTy = BaseTy->getAs<ComplexType>()) { in LayoutField() local
2011 CTy->getElementType()->castAs<BuiltinType>()); in LayoutField()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp4430 if (auto *CTy = LHSTy->getAs<ComplexType>()) { in EmitCompare() local
4432 CETy = CTy->getElementType(); in EmitCompare()
4438 if (auto *CTy = RHSTy->getAs<ComplexType>()) { in EmitCompare() local
4441 CTy->getElementType()) && in EmitCompare()
4443 (void)CTy; in EmitCompare()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp8896 auto CTy = ParmTy; in CheckExplicitlyDefaultedComparison() local
8902 if (auto *Ref = CTy->getAs<ReferenceType>()) { in CheckExplicitlyDefaultedComparison()
8903 CTy = Ref->getPointeeType(); in CheckExplicitlyDefaultedComparison()
8912 if (!RD->isDependentType() && !Context.hasSameType(CTy, ExpectedTy)) in CheckExplicitlyDefaultedComparison()
8914 } else if (auto *CRD = CTy->getAsRecordDecl()) { in CheckExplicitlyDefaultedComparison()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp40934 Type *CTy = C->getType(); in SimplifyDemandedVectorEltsForTargetShuffle() local
40935 if (!CTy->isVectorTy() || in SimplifyDemandedVectorEltsForTargetShuffle()
40936 CTy->getPrimitiveSizeInBits() != Mask.getValueSizeInBits()) in SimplifyDemandedVectorEltsForTargetShuffle()
40940 unsigned NumCstElts = cast<FixedVectorType>(CTy)->getNumElements(); in SimplifyDemandedVectorEltsForTargetShuffle()