| /llvm-project-15.0.7/llvm/lib/Target/BPF/ |
| H A D | BPFAbstractMemberAccess.cpp | 266 AnonRecords[CTy] = ParentTy; in CheckCompositeType() 273 DIDerivedType *CurrTy = AnonRecords[CTy]; in CheckCompositeType() 276 AnonRecords[CTy] = nullptr; in CheckCompositeType() 335 DINodeArray Elements = CTy->getElements(); in calcArraySize() 536 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain() 705 uint32_t Tag = CTy->getTag(); in GetFieldInfo() 749 if (CTy->getElements().size() != 1) in GetFieldInfo() 926 if (!CTy) { in computeBaseAndAccessKey() 938 if (!CTy) { in computeBaseAndAccessKey() 944 unsigned CTag = CTy->getTag(); in computeBaseAndAccessKey() [all …]
|
| H A D | BTFDebug.cpp | 724 if (CTy->getBaseType() != nullptr) { in visitEnumType() 752 auto Tag = CTy->getTag(); in visitCompositeType() 755 if (CTy->isForwardDecl()) in visitCompositeType() 760 visitArrayType(CTy, TypeId); in visitCompositeType() 762 visitEnumType(CTy, TypeId); in visitCompositeType() 780 auto CTag = CTy->getTag(); in visitDerivedType() 783 !CTy->getName().empty() && !CTy->isForwardDecl()) { in visitDerivedType() 888 visitCompositeType(CTy, TypeId); in visitTypeEntry() 918 if (!CTy) in visitMapDefType() 921 auto Tag = CTy->getTag(); in visitMapDefType() [all …]
|
| H A D | BTFDebug.h | 329 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, 331 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfUnit.cpp | 599 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() 974 if (CTy->getExportSymbols()) in constructTypeDIE() 1026 if (CTy->isForwardDecl()) in constructTypeDIE() 1033 if (!CTy->isForwardDecl()) in constructTypeDIE() 1034 addSourceLine(Buffer, CTy); in constructTypeDIE() 1452 assert(CTy && CTy->isVector() && "Composite type is not a vector"); in hasVectorBeenPadded() [all …]
|
| H A D | DwarfUnit.h | 288 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy); 321 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy); 325 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy); 326 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy); 344 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0; 363 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
|
| H A D | DebugHandlerBase.cpp | 187 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local 188 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) { in isUnsignedDIType() 189 if (!(Ty = CTy->getBaseType())) in isUnsignedDIType()
|
| H A D | CodeViewDebug.cpp | 2706 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local 2714 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) { in getCompleteTypeIndex() 2715 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex() 2720 if (CTy->isForwardDecl()) in getCompleteTypeIndex() 2727 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() 2732 switch (CTy->getTag()) { in getCompleteTypeIndex() 2735 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex() 2738 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex() 2748 CompleteTypeIndices[CTy] = TI; in getCompleteTypeIndex()
|
| H A D | DwarfCompileUnit.h | 109 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
|
| H A D | DwarfDebug.h | 666 DIE &Die, const DICompositeType *CTy);
|
| H A D | DwarfDebug.cpp | 3370 const DICompositeType *CTy) { in addDwarfTypeUnitType() argument 3377 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0)); in addDwarfTypeUnitType() 3390 TypeUnitsUnderConstruction.emplace_back(std::move(OwnedUnit), CTy); in addDwarfTypeUnitType() 3420 NewTU.setType(NewTU.createTypeDIE(CTy)); in addDwarfTypeUnitType() 3440 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
|
| H A D | DwarfCompileUnit.cpp | 1554 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE() argument 1555 constructTypeDIE(D, CTy); in finishNonUnitTypeDIE()
|
| /llvm-project-15.0.7/mlir/include/mlir/CAPI/ |
| H A D | Wrap.h | 39 template <typename CppTy, typename CTy> 40 static llvm::ArrayRef<CppTy> unwrapList(size_t size, CTy *first, in unwrapList() 43 std::is_same<decltype(unwrap(std::declval<CTy>())), CppTy>::value, in unwrapList()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 143 QualType CTy = in VisitBinaryOperator() local 145 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator() 157 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator() 158 B->getType(), CTy); in VisitBinaryOperator() 172 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator() 177 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
|
| H A D | SValBuilder.cpp | 1055 APSIntType CTy = BVF.getAPSIntType(CastTy); in simplifySymbolCast() local 1058 const auto WC = CTy.getBitWidth(); in simplifySymbolCast()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | DIBuilder.cpp | 554 auto *CTy = DICompositeType::get( in createEnumerationType() local 559 AllEnumTypes.push_back(CTy); in createEnumerationType() 560 trackIfUnresolved(CTy); in createEnumerationType() 561 return CTy; in createEnumerationType()
|
| H A D | Constants.cpp | 2003 Type *CTy = C->getType(); in getSExtOrTrunc() local 2004 if (CTy->getScalarSizeInBits() < Ty->getScalarSizeInBits()) in getSExtOrTrunc() 2006 if (CTy->getScalarSizeInBits() > Ty->getScalarSizeInBits()) in getSExtOrTrunc()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 1427 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() local 1428 Ty = CTy->getElementType(); in is32Or64BitBasicType() 4660 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 4661 Ty = CTy->getElementType(); in getParamTypeAlignment() 4753 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 4754 Ty = CTy->getElementType(); in getParamTypeAlignment() 4820 (void)CTy; in EmitVAArg() 5122 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 5123 Ty = CTy->getElementType(); in getParamTypeAlignment() 10967 if (auto CTy = Ty->getAs<ComplexType>()) { in detectFPCCEligibleStructHelper() local [all …]
|
| H A D | CGExprScalar.cpp | 4209 if (auto *CTy = LHSTy->getAs<ComplexType>()) { in EmitCompare() local 4211 CETy = CTy->getElementType(); in EmitCompare() 4217 if (auto *CTy = RHSTy->getAs<ComplexType>()) { in EmitCompare() local 4220 CTy->getElementType()) && in EmitCompare() 4222 (void)CTy; in EmitCompare()
|
| /llvm-project-15.0.7/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 | 2008 if (const ComplexType *CTy = BaseTy->getAs<ComplexType>()) { in LayoutField() local 2010 CTy->getElementType()->castAs<BuiltinType>()); in LayoutField()
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 372 Type *CTy; in print() local 374 if (U->isOffsetOf(CTy, FieldNo)) { in print() 375 OS << "offsetof(" << *CTy << ", "; in print() 583 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf() argument 595 CTy = Ty; in isOffsetOf()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclCXX.cpp | 8553 auto CTy = ParmTy; in CheckExplicitlyDefaultedComparison() local 8559 if (auto *Ref = CTy->getAs<ReferenceType>()) { in CheckExplicitlyDefaultedComparison() 8560 CTy = Ref->getPointeeType(); in CheckExplicitlyDefaultedComparison() 8569 if (!RD->isDependentType() && !Context.hasSameType(CTy, ExpectedTy)) in CheckExplicitlyDefaultedComparison() 8571 } else if (auto *CRD = CTy->getAsRecordDecl()) { in CheckExplicitlyDefaultedComparison()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 40865 Type *CTy = C->getType(); in SimplifyDemandedVectorEltsForTargetShuffle() local 40866 if (!CTy->isVectorTy() || in SimplifyDemandedVectorEltsForTargetShuffle() 40867 CTy->getPrimitiveSizeInBits() != Mask.getValueSizeInBits()) in SimplifyDemandedVectorEltsForTargetShuffle() 40871 unsigned NumCstElts = cast<FixedVectorType>(CTy)->getNumElements(); in SimplifyDemandedVectorEltsForTargetShuffle()
|