| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/ |
| HD | BPFAbstractMemberAccess.cpp | 162 uint32_t GetFieldInfo(uint32_t InfoKind, DICompositeType *CTy, 219 static uint32_t calcArraySize(const DICompositeType *CTy, uint32_t StartDim) { in calcArraySize() argument 220 DINodeArray Elements = CTy->getElements(); in calcArraySize() 381 const auto *CTy = dyn_cast<DICompositeType>(CType); in IsValidAIChain() local 382 assert(PTy && CTy && "ParentType or ChildType is null or not composite"); in IsValidAIChain() 389 uint32_t CTyTag = CTy->getTag(); in IsValidAIChain() 396 return PTy->getBaseType() == CTy->getBaseType(); in IsValidAIChain() 404 return dyn_cast<DICompositeType>(stripQualifiers(Ty)) == CTy; in IsValidAIChain() 541 DICompositeType *CTy, in GetFieldInfo() argument 548 uint32_t Tag = CTy->getTag(); in GetFieldInfo() [all …]
|
| HD | BTFDebug.cpp | 448 void BTFDebug::visitStructType(const DICompositeType *CTy, bool IsStruct, in visitStructType() argument 450 const DINodeArray Elements = CTy->getElements(); in visitStructType() 466 std::make_unique<BTFTypeStruct>(CTy, IsStruct, HasBitField, VLen); in visitStructType() 468 TypeId = addType(std::move(TypeEntry), CTy); in visitStructType() 475 void BTFDebug::visitArrayType(const DICompositeType *CTy, uint32_t &TypeId) { in visitArrayType() argument 478 const DIType *ElemType = CTy->getBaseType(); in visitArrayType() 482 DINodeArray Elements = CTy->getElements(); in visitArrayType() 496 ElemTypeId = addType(std::move(TypeEntry), CTy); in visitArrayType() 514 void BTFDebug::visitEnumType(const DICompositeType *CTy, uint32_t &TypeId) { in visitEnumType() argument 515 DINodeArray Elements = CTy->getElements(); in visitEnumType() [all …]
|
| HD | BTFDebug.h | 275 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/ |
| HD | DwarfUnit.cpp | 463 if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in isUnsignedDIType() local 466 if (CTy->getTag() == dwarf::DW_TAG_enumeration_type) in isUnsignedDIType() 660 else if (auto *CTy = dyn_cast<DICompositeType>(Ty)) { in createTypeDIE() local 662 (Ty->getRawName() || CTy->getRawIdentifier())) { in createTypeDIE() 664 if (MDString *TypeId = CTy->getRawIdentifier()) in createTypeDIE() 665 DD->addDwarfTypeUnitType(getCU(), TypeId->getString(), TyDIE, CTy); in createTypeDIE() 668 finishNonUnitTypeDIE(TyDIE, CTy); in createTypeDIE() 672 constructTypeDIE(TyDIE, CTy); in createTypeDIE() 849 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DISubroutineType *CTy) { in constructTypeDIE() argument 851 auto Elements = cast<DISubroutineType>(CTy)->getTypeArray(); in constructTypeDIE() [all …]
|
| HD | DwarfUnit.h | 277 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;
|
| HD | CodeViewDebug.cpp | 2534 const auto *CTy = cast<DICompositeType>(Ty); in getCompleteTypeIndex() local 2542 if (!CTy->getName().empty() || !CTy->getIdentifier().empty()) { in getCompleteTypeIndex() 2543 TypeIndex FwdDeclTI = getTypeIndex(CTy); in getCompleteTypeIndex() 2548 if (CTy->isForwardDecl()) in getCompleteTypeIndex() 2555 auto InsertResult = CompleteTypeIndices.insert({CTy, TypeIndex()}); in getCompleteTypeIndex() 2560 switch (CTy->getTag()) { in getCompleteTypeIndex() 2563 TI = lowerCompleteTypeClass(CTy); in getCompleteTypeIndex() 2566 TI = lowerCompleteTypeUnion(CTy); in getCompleteTypeIndex() 2576 CompleteTypeIndices[CTy] = TI; in getCompleteTypeIndex()
|
| HD | DwarfCompileUnit.h | 105 void finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) override;
|
| HD | DwarfDebug.cpp | 2915 const DICompositeType *CTy) { in addDwarfTypeUnitType() argument 2922 auto Ins = TypeSignatures.insert(std::make_pair(CTy, 0)); in addDwarfTypeUnitType() 2935 TypeUnitsUnderConstruction.emplace_back(std::move(OwnedUnit), CTy); in addDwarfTypeUnitType() 2965 NewTU.setType(NewTU.createTypeDIE(CTy)); in addDwarfTypeUnitType() 2985 CU.constructTypeDIE(RefDie, cast<DICompositeType>(CTy)); in addDwarfTypeUnitType()
|
| HD | DwarfDebug.h | 632 DIE &Die, const DICompositeType *CTy);
|
| HD | DwarfCompileUnit.cpp | 1306 void DwarfCompileUnit::finishNonUnitTypeDIE(DIE& D, const DICompositeType *CTy) { in finishNonUnitTypeDIE() argument 1307 constructTypeDIE(D, CTy); in finishNonUnitTypeDIE()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| HD | Operations.cpp | 247 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex() local 250 CTy->getTypeAtIndex(CI->getZExtValue()) == Cur[1]->getType()) in validInsertValueIndex() 257 auto *CTy = cast<CompositeType>(Cur[0]->getType()); in validInsertValueIndex() local 258 for (int I = 0, E = getAggregateNumElements(CTy); I < E; ++I) in validInsertValueIndex() 259 if (CTy->getTypeAtIndex(I) == Cur[1]->getType()) in validInsertValueIndex()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | ExprEngineC.cpp | 144 QualType CTy = in VisitBinaryOperator() local 146 CTy = getContext().getCanonicalType(CTy); in VisitBinaryOperator() 158 SVal Result = svalBuilder.evalCast(evalBinOp(state, Op, V, RightV, CTy), in VisitBinaryOperator() 159 B->getType(), CTy); in VisitBinaryOperator() 173 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator() 178 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | DIBuilder.cpp | 509 auto *CTy = DICompositeType::get( in createEnumerationType() local 514 AllEnumTypes.push_back(CTy); in createEnumerationType() 515 trackIfUnresolved(CTy); in createEnumerationType() 516 return CTy; in createEnumerationType()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | ASTDiagnostic.cpp | 150 const Class##Type *CTy = cast<Class##Type>(Ty); \ in Desugar() 151 if (CTy->isSugared()) { \ in Desugar() 153 Underlying = CTy->desugar(); \ in Desugar()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | TargetInfo.cpp | 1301 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in is32Or64BitBasicType() local 1302 Ty = CTy->getElementType(); in is32Or64BitBasicType() 4171 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 4172 Ty = CTy->getElementType(); in getParamTypeAlignment() 4236 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local 4238 (void)CTy; in EmitVAArg() 4601 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) in getParamTypeAlignment() local 4602 Ty = CTy->getElementType(); in getParamTypeAlignment() 4932 if (const ComplexType *CTy = Ty->getAs<ComplexType>()) { in EmitVAArg() local 4950 llvm::Type *EltTy = CGF.ConvertTypeForMem(CTy->getElementType()); in EmitVAArg() [all …]
|
| HD | CGExprScalar.cpp | 3944 if (auto *CTy = LHSTy->getAs<ComplexType>()) { in EmitCompare() local 3946 CETy = CTy->getElementType(); in EmitCompare() 3952 if (auto *CTy = RHSTy->getAs<ComplexType>()) { in EmitCompare() local 3955 CTy->getElementType()) && in EmitCompare() 3957 (void)CTy; in EmitCompare()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | ScalarEvolution.cpp | 343 Type *CTy; in print() local 345 if (U->isOffsetOf(CTy, FieldNo)) { in print() 346 OS << "offsetof(" << *CTy << ", "; in print() 536 bool SCEVUnknown::isOffsetOf(Type *&CTy, Constant *&FieldNo) const { in isOffsetOf() argument 549 CTy = Ty; in isOffsetOf()
|