/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFAbstractMemberAccess.cpp | 158 void CheckCompositeType(DIDerivedType *ParentTy, DICompositeType *CTy); 178 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy, 232 DICompositeType *CTy) { in CheckCompositeType() argument 233 if (!CTy->getName().empty() || !ParentTy || in CheckCompositeType() 237 if (AnonRecords.find(CTy) == AnonRecords.end()) { in CheckCompositeType() 238 AnonRecords[CTy] = ParentTy; in CheckCompositeType() 245 DIDerivedType *CurrTy = AnonRecords[CTy]; in CheckCompositeType() 248 AnonRecords[CTy] = nullptr; in CheckCompositeType() 271 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) in CheckAnonRecordType() local 272 return CheckCompositeType(ParentTy, CTy); in CheckAnonRecordType() [all …]
|
H A D | BTFDebug.cpp | 662 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType() argument 664 const DINodeArray Elements = CTy->getElements(); in visitStructType() 680 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen); in visitStructType() 682 TypeId = addType(std::move(TypeEntry), CTy); in visitStructType() 685 processDeclAnnotations(CTy->getAnnotations(), TypeId, -1); in visitStructType() 697 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType() argument 700 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 704 DINodeArray Elements = CTy->getElements(); in visitArrayType() 718 ElemTypeId = addType(std::move(TypeEntry), CTy); in visitArrayType() 736 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType() argument [all …]
|
H A D | BTFDebug.h | 329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, 331 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.cpp | 586 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE() local 588 (Ty->getRawName() || CTy->getRawIdentifier())) { in createTypeDIE() 590 if (MDString *TypeId = CTy->getRawIdentifier()) { in createTypeDIE() 592 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE() 595 finishNonUnitTypeDIE(TyDIE, CTy); in createTypeDIE() 599 construct(CTy); in createTypeDIE() 856 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument 858 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE() 875 if (CTy->getCC() && CTy->getCC() != dwarf::DW_CC_normal) in constructTypeDIE() 877 CTy->getCC()); in constructTypeDIE() [all …]
|
H A D | DwarfUnit.h | 302 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy); 335 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy); 339 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy); 340 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy); 358 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0; 381 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
|
H A D | DebugHandlerBase.cpp | 190 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local 191 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) { in isUnsignedDIType() 192 if (!(Ty = CTy->getBaseType())) in isUnsignedDIType()
|
H A D | CodeViewDebug.cpp | 2758 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() 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); 2790 TI = lowerCompleteTypeUnion(CTy); in emitDeferredCompleteTypes() 2800 CompleteTypeIndices[CTy] 2740 const auto *CTy = cast<DICompositeType>(Ty); getCompleteTypeIndex() local [all...] |
H A D | DwarfCompileUnit.h | 136 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
|
H A D | DwarfDebug.h | 736 DIE &Die, const DICompositeType *CTy);
|
H A D | DwarfDebug.cpp | 3438 const DICompositeType *CTy) { in addDwarfTypeUnitType() argument 3445 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0)); in addDwarfTypeUnitType() 3459 TypeUnitsUnderConstruction.emplace_back(std::move(OwnedUnit), CTy); in addDwarfTypeUnitType() 3499 NewTU.setType(NewTU.createTypeDIE(CTy)); in addDwarfTypeUnitType() 3520 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
|
H A D | DwarfCompileUnit.cpp | 1678 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE() argument 1679 constructTypeDIE(D, CTy); in finishNonUnitTypeDIE()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | PPC.cpp | 18 CharUnits EltSize, const ComplexType *CTy) { in complexTempStructure() argument 34 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in complexTempStructure() 226 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 227 Ty = CTy->getElementType(); in getParamTypeAlignment() 254 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local 257 return complexTempStructure(CGF, VAListAddr, Ty, SlotSize, EltSize, CTy); in EmitVAArg() 374 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 375 Ty = CTy->getElementType(); in getParamTypeAlignment() 439 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local 441 (void)CTy; in EmitVAArg() [all …]
|
H A D | LoongArch.cpp | 135 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFARsEligibleStructHelper() local 138 QualType EltTy = CTy->getElementType(); in detectFARsEligibleStructHelper()
|
H A D | RISCV.cpp | 141 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper() local 144 QualType EltTy = CTy->getElementType(); in detectFPCCEligibleStructHelper()
|
H A D | X86.cpp | 389 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() local 390 Ty = CTy->getElementType(); in is32Or64BitBasicType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 142 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()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DIBuilder.cpp | 571 auto *CTy = DICompositeType::get( in createEnumerationType() local 576 AllEnumTypes.emplace_back(CTy); in createEnumerationType() 577 trackIfUnresolved(CTy); in createEnumerationType() 578 return CTy; in createEnumerationType()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 181 const Class##Type *CTy = cast<Class##Type>(Ty); \ in desugarForDiagnostic() 182 if (CTy->isSugared()) { \ in desugarForDiagnostic() 184 Underlying = CTy->desugar(); \ in desugarForDiagnostic()
|
H A D | RecordLayoutBuilder.cpp | 2016 if (const ComplexType *CTy = BaseTy->getAs<ComplexType>()) { in LayoutField() local 2018 CTy->getElementType()->castAs<BuiltinType>()); in LayoutField()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 4734 if (auto *CTy = LHSTy->getAs<ComplexType>()) { in EmitCompare() local 4736 CETy = CTy->getElementType(); in EmitCompare() 4742 if (auto *CTy = RHSTy->getAs<ComplexType>()) { in EmitCompare() local 4745 CTy->getElementType()) && in EmitCompare() 4747 (void)CTy; in EmitCompare()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 8794 auto CTy = ParmTy; in CheckExplicitlyDefaultedComparison() local 8800 if (auto *Ref = CTy->getAs<ReferenceType>()) { in CheckExplicitlyDefaultedComparison() 8801 CTy = Ref->getPointeeType(); in CheckExplicitlyDefaultedComparison() 8810 if (!RD->isDependentType() && !Context.hasSameType(CTy, ExpectedTy)) in CheckExplicitlyDefaultedComparison() 8812 } else if (auto *CRD = CTy->getAsRecordDecl()) { in CheckExplicitlyDefaultedComparison()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 41845 Type *CTy = C->getType(); in SimplifyDemandedVectorEltsForTargetShuffle() local 41846 if (!CTy->isVectorTy() || in SimplifyDemandedVectorEltsForTargetShuffle() 41847 CTy->getPrimitiveSizeInBits() != Mask.getValueSizeInBits()) in SimplifyDemandedVectorEltsForTargetShuffle() 41851 unsigned NumCstElts = cast<FixedVectorType>(CTy)->getNumElements(); in SimplifyDemandedVectorEltsForTargetShuffle()
|