Searched refs:CTy (Results 1 - 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAbstractMemberAccess.cpp162 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy,
219 static uint32_t calcArraySize(const DICompositeType *CTy, uint32_t StartDim) { argument
220 DINodeArray Elements = CTy->getElements();
381 const auto *CTy = dyn_cast<DICompositeType>(CType); local
382 assert(PTy && CTy && "ParentType or ChildType is null or not composite");
389 uint32_t CTyTag = CTy->getTag();
396 return PTy->getBaseType() == CTy->getBaseType();
404 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy;
541 DICompositeType *CTy,
548 uint32_t Tag = CTy
540 GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy, uint32_t AccessIndex, uint32_t PatchImm, uint32_t RecordAlignment) argument
776 auto *CTy = dyn_cast<DICompositeType>(BaseTy); local
827 auto *CTy = cast<DICompositeType>(stripQualifiers(cast<DIType>(MDN))); local
[all...]
H A DBTFDebug.cpp448 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, argument
450 const DINodeArray Elements = CTy->getElements();
466 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen);
468 TypeId = addType(std::move(TypeEntry), CTy);
475 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { argument
478 const DIType *ElemType = CTy->getBaseType();
482 DINodeArray Elements = CTy->getElements();
496 ElemTypeId = addType(std::move(TypeEntry), CTy);
514 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { argument
515 DINodeArray Elements = CTy
526 visitFwdDeclType(const DICompositeType *CTy, bool IsUnion, uint32_t &TypeId) argument
533 visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId) argument
663 const auto *CTy = dyn_cast<DICompositeType>(Ty); local
[all...]
H A DBTFDebug.h275 void visitFwdDeclType(const DICompositeType *CTy, bool IsUnion,
277 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp463 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) {
466 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type)
660 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) {
662 (Ty->getRawName() || CTy->getRawIdentifier())) {
664 if (MDString *TypeId = CTy->getRawIdentifier())
665 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); local
668 finishNonUnitTypeDIE(TyDIE, CTy);
672 constructTypeDIE(TyDIE, CTy);
849 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { argument
851 auto Elements = cast<DISubroutineType>(CTy)
882 constructTypeDIE(DIE &Buffer, const DICompositeType *CTy) argument
1369 hasVectorBeenPadded(const DICompositeType *CTy) argument
1393 constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy) argument
1419 constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy) argument
1732 finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) argument
[all...]
H A DDwarfUnit.h277 void constructTypeDIE(DIE &Buffer, const DICompositeType *CTy);
311 void constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy);
313 void constructArrayTypeDIE(DIE &Buffer, const DICompositeType *CTy);
314 void constructEnumTypeDIE(DIE &Buffer, const DICompositeType *CTy);
332 virtual void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) = 0;
351 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DDwarfCompileUnit.h105 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
H A DCodeViewDebug.cpp2534 const auto *CTy = cast<DICompositeType>(Ty); local
2542 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) {
2543 TypeIndex FwdDeclTI = getTypeIndex(CTy);
2548 if (CTy->isForwardDecl())
2555 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()});
2560 switch (CTy->getTag()) {
2563 TI = lowerCompleteTypeClass(CTy);
2566 TI = lowerCompleteTypeUnion(CTy);
2576 CompleteTypeIndices[CTy]
[all...]
H A DDwarfDebug.h632 DIE &Die, const DICompositeType *CTy);
H A DDwarfCompileUnit.cpp1306 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { argument
1307 constructTypeDIE(D, CTy);
H A DDwarfDebug.cpp2915 const DICompositeType *CTy) {
2922 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0));
2935 TypeUnitsUnderConstruction.emplace_back(std::move(OwnedUnit), CTy);
2965 NewTU.setType(NewTU.createTypeDIE(CTy));
2985 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp247 auto *CTy = cast<CompositeType>(Cur[0]->getType());
250 CTy->getTypeAtIndex(CI->getZExtValue()) == Cur[1]->getType())
257 auto *CTy = cast<CompositeType>(Cur[0]->getType());
258 for (int I = 0, E = getAggregateNumElements(CTy); I < E; ++I)
259 if (CTy->getTypeAtIndex(I) == Cur[1]->getType())
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp144 QualType CTy = local
146 CTy = getContext().getCanonicalType(CTy);
158 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy),
159 B->getType(), CTy);
173 Result = svalBuilder.evalCast(LHSVal, CTy, LTy);
178 LHSVal = svalBuilder.evalCast(Result, LTy, CTy);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DDIBuilder.cpp509 auto *CTy = DICompositeType::get( local
514 AllEnumTypes.push_back(CTy);
515 trackIfUnresolved(CTy);
516 return CTy;
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DASTDiagnostic.cpp150 const Class##Type *CTy = cast<Class##Type>(Ty); \
151 if (CTy->isSugared()) { \
153 Underlying = CTy->desugar(); \
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.cpp1301 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
1302 Ty = CTy->getElementType();
4171 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
4172 Ty = CTy->getElementType();
4236 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) {
4238 (void)CTy;
4601 if (const ComplexType *CTy = Ty->getAs<ComplexType>())
4602 Ty = CTy->getElementType();
4932 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) {
4950 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy
[all...]
H A DCGExprScalar.cpp3944 if (auto *CTy = LHSTy->getAs<ComplexType>()) {
3946 CETy = CTy->getElementType();
3952 if (auto *CTy = RHSTy->getAs<ComplexType>()) {
3955 CTy->getElementType()) &&
3957 (void)CTy;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp343 Type *CTy; local
345 if (U->isOffsetOf(CTy, FieldNo)) {
346 OS << "offsetof(" << *CTy << ", "; local
536 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { argument
549 CTy = Ty;

Completed in 371 milliseconds