| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Linker/ |
| H A D | IRMover.h | 21 class StructType; variable 31 KeyTy(const StructType *ST); 35 static StructType *getEmptyKey(); 36 static StructType *getTombstoneKey(); 38 static unsigned getHashValue(const StructType *ST); 40 static bool isEqual(const StructType *LHS, const StructType *RHS); 49 DenseSet<StructType *> OpaqueStructTypes; 55 void addNonOpaque(StructType *Ty); 56 void switchToNonOpaque(StructType *Ty); 57 void addOpaque(StructType *Ty); [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Type.cpp | 372 StructType *StructType::get(LLVMContext &Context, ArrayRef<Type*> ETypes, in get() 377 StructType *ST; in get() 479 StructType *StructType::create(LLVMContext &Context, StringRef Name) { in create() 480 StructType *ST = new (Context.pImpl->Alloc) StructType(Context); in create() 486 StructType *StructType::get(LLVMContext &Context, bool isPacked) { in get() 490 StructType *StructType::create(LLVMContext &Context, ArrayRef<Type*> Elements, in create() 501 StructType *StructType::create(LLVMContext &Context) { in create() 505 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, in create() 512 StructType *StructType::create(ArrayRef<Type*> Elements) { in create() 560 bool StructType::isLayoutIdentical(StructType *Other) const { in isLayoutIdentical() [all …]
|
| H A D | Operator.cpp | 44 if (StructType *STy = GTI.getStructTypeOrNull()) { in getMaxPreservedAlignment() 105 StructType *STy = GTI.getStructTypeOrNull(); in accumulateConstantOffset() 165 StructType *STy = GTI.getStructTypeOrNull(); in collectOffset()
|
| H A D | TypeFinder.cpp | 104 if (StructType *STy = dyn_cast<StructType>(Ty)) in incorporateType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Linker/ |
| H A D | IRMover.cpp | 69 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 136 if (StructType *SSTy = dyn_cast<StructType>(SrcTy)) { in areTypesIsomorphic() 173 } else if (StructType *DSTy = dyn_cast<StructType>(DstTy)) { in areTypesIsomorphic() 174 StructType *SSTy = cast<StructType>(SrcTy); in areTypesIsomorphic() 203 StructType *DstSTy = cast<StructType>(MappedTypes[SrcSTy]); in linkDefinedTypeBodies() 218 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() 244 bool IsUniqued = !isa<StructType>(Ty) || cast<StructType>(Ty)->isLiteral(); in get() 255 StructType *DTy = StructType::create(Ty->getContext()); in get() 324 if (StructType *OldT = in get() 335 StructType *DTy = StructType::create(Ty->getContext()); in get() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | DerivedTypes.h | 212 class StructType : public Type { 213 StructType(LLVMContext &C) : Type(C, StructTyID) {} in StructType() function 230 StructType(const StructType &) = delete; 231 StructType &operator=(const StructType &) = delete; 234 static StructType *create(LLVMContext &Context, StringRef Name); 235 static StructType *create(LLVMContext &Context); 239 static StructType *create(ArrayRef<Type *> Elements); 323 bool isLayoutIdentical(StructType *Other) const; 344 return cast<StructType>(this)->getName(); in getStructName() 348 return cast<StructType>(this)->getNumElements(); in getStructNumElements() [all …]
|
| H A D | GetElementPtrTypeIterator.h | 34 PointerUnion<StructType *, Type *> CurTy; 75 return CurTy.get<StructType *>()->getTypeAtIndex(getOperand()); in getIndexedType() 92 CurTy = dyn_cast<StructType>(Ty); 118 bool isStruct() const { return CurTy.is<StructType *>(); } in isStruct() 121 StructType *getStructType() const { return CurTy.get<StructType *>(); } in getStructType() 123 StructType *getStructTypeOrNull() const { in getStructTypeOrNull() 124 return CurTy.dyn_cast<StructType *>(); in getStructTypeOrNull()
|
| H A D | TypeFinder.h | 24 class StructType; variable 37 std::vector<StructType*> StructTypes; 46 using iterator = std::vector<StructType*>::iterator; 47 using const_iterator = std::vector<StructType*>::const_iterator; 59 StructType *&operator[](unsigned Idx) { return StructTypes[Idx]; }
|
| H A D | GVMaterializer.h | 26 class StructType; variable 46 virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGRecordLayout.h | 19 class StructType; variable 130 llvm::StructType *CompleteObjectType; 134 llvm::StructType *BaseSubobjectType; 162 CGRecordLayout(llvm::StructType *CompleteObjectType, in CGRecordLayout() 163 llvm::StructType *BaseSubobjectType, in CGRecordLayout() 173 llvm::StructType *getLLVMType() const { in getLLVMType() 179 llvm::StructType *getBaseSubobjectLLVMType() const { in getBaseSubobjectLLVMType()
|
| H A D | CGOpenCLRuntime.cpp | 47 llvm::StructType::create(Ctx, "opencl." #ImgType "_" #Suffix "_t"), \ in convertOpenCLSpecificType() 54 llvm::StructType::create(Ctx, "opencl.event_t"), AddrSpc); in convertOpenCLSpecificType() 57 llvm::StructType::create(Ctx, "opencl.clk_event_t"), AddrSpc); in convertOpenCLSpecificType() 60 llvm::StructType::create(Ctx, "opencl.queue_t"), AddrSpc); in convertOpenCLSpecificType() 63 llvm::StructType::create(Ctx, "opencl.reserve_id_t"), AddrSpc); in convertOpenCLSpecificType() 67 llvm::StructType::create(Ctx, "opencl." #ExtType), AddrSpc); in convertOpenCLSpecificType() 82 PipeTy = llvm::PointerType::get(llvm::StructType::create( in getPipeType() 91 SamplerTy = llvm::PointerType::get(llvm::StructType::create( in getSamplerType()
|
| H A D | CodeGenTypes.h | 27 class StructType; variable 81 llvm::DenseMap<const Type*, llvm::StructType *> RecordDeclTypes; 276 llvm::StructType *Ty); 280 void addRecordTypeName(const RecordDecl *RD, llvm::StructType *Ty, 286 llvm::StructType *ConvertRecordDeclType(const RecordDecl *TD);
|
| H A D | CodeGenTypes.cpp | 49 llvm::StructType *Ty, in addRecordTypeName() 347 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal() 355 return llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal() 375 ResultType = llvm::StructType::get(getLLVMContext()); in ConvertFunctionTypeInternal() 627 ResultType = llvm::StructType::get(EltTy, EltTy); in ConvertType() 719 T = llvm::StructType::create(getLLVMContext()); in ConvertType() 759 ResultType = llvm::StructType::create(getLLVMContext()); in ConvertType() 779 ResultType = llvm::StructType::get(getLLVMContext(), in ConvertType() 815 llvm::StructType *&Entry = RecordDeclTypes[Key]; in ConvertRecordDeclType() 819 Entry = llvm::StructType::create(getLLVMContext()); in ConvertRecordDeclType() [all …]
|
| H A D | CGObjCMac.cpp | 213 llvm::StructType *SuperTy; 219 llvm::StructType *PropertyTy; 228 llvm::StructType *MethodTy; 501 llvm::StructType *SymtabTy; 505 llvm::StructType *ModuleTy; 508 llvm::StructType *ProtocolTy; 531 llvm::StructType *CategoryTy; 533 llvm::StructType *ClassTy; 541 llvm::StructType *IvarTy; 543 llvm::StructType *IvarListTy; [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXLowerArgs.cpp | 236 Type *StructType = PType->getElementType(); in handleByValParam() local 270 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam() 282 AllocaInst *AllocA = new AllocaInst(StructType, AS, Arg->getName(), FirstInst); in handleByValParam() 287 .getValueOr(DL.getPrefTypeAlign(StructType))); in handleByValParam() 291 Arg, PointerType::get(StructType, ADDRESS_SPACE_PARAM), Arg->getName(), in handleByValParam() 297 new LoadInst(StructType, ArgInParam, Arg->getName(), in handleByValParam()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ |
| H A D | Target.cpp | 134 StructType *STy = unwrap<StructType>(StructTy); in LLVMElementAtOffset() 140 StructType *STy = unwrap<StructType>(StructTy); in LLVMOffsetOfElement()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShadowStackGCLowering.cpp | 59 StructType *StackEntryTy = nullptr; 60 StructType *FrameMapTy = nullptr; 134 StructType *STy = StructType::create(EltTys, "gc_map." + utostr(NumMeta)); in GetFrameMap() 168 return StructType::create(EltTys, ("gc_stackentry." + F.getName()).str()); in GetConcreteStackEntryType() 194 FrameMapTy = StructType::create(EltTys, "gc_map"); in doInitialization() 203 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry"); in doInitialization()
|
| H A D | Analysis.cpp | 45 if (StructType *STy = dyn_cast<StructType>(Ty)) { in ComputeLinearIndex() 88 if (StructType *STy = dyn_cast<StructType>(Ty)) { in ComputeValueVTs() 93 for (StructType::element_iterator EB = STy->element_begin(), in ComputeValueVTs() 137 if (StructType *STy = dyn_cast<StructType>(&Ty)) { in computeValueLLTs() 391 return Idx < cast<StructType>(T)->getNumElements(); in indexReallyValid()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SanitizerStats.h | 46 StructType *EmptyModuleStatsTy; 50 StructType *makeModuleStatsTy();
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 143 StructType *STy = cast<StructType>(AgTy); in doPromotion() 264 StructType *STy = cast<StructType>(AgTy); in doPromotion() 394 StructType *STy = cast<StructType>(AgTy); in doPromotion() 784 if (!isa<StructType>(type)) in isDenselyPacked() 788 StructType *StructTy = cast<StructType>(type); in isDenselyPacked() 953 if (StructType *STy = dyn_cast<StructType>(AgTy)) { in promoteArguments() 985 if (StructType *STy = dyn_cast<StructType>(AgTy)) { in promoteArguments()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CGFunctionInfo.h | 250 static ABIArgInfo getCoerceAndExpand(llvm::StructType *coerceToType, in getCoerceAndExpand() 256 auto unpaddedStruct = dyn_cast<llvm::StructType>(unpaddedCoerceToType); in getCoerceAndExpand() 358 llvm::StructType *getCoerceAndExpandType() const { in getCoerceAndExpandType() 360 return cast<llvm::StructType>(TypeData); in getCoerceAndExpandType() 371 dyn_cast<llvm::StructType>(UnpaddedCoerceAndExpandType)) { in getCoerceAndExpandTypeSequence() 593 llvm::StructType *ArgStruct; 725 llvm::StructType *getArgStruct() const { return ArgStruct; } in getArgStruct() 729 void setArgStruct(llvm::StructType *Ty, CharUnits Align) { in setArgStruct()
|
| H A D | ConstantInitBuilder.h | 328 llvm::Constant *finishStruct(llvm::StructType *structTy); 366 StructBuilder beginStruct(llvm::StructType *ty = nullptr) { 464 llvm::StructType *StructTy; 472 llvm::StructType *structTy) in ConstantStructBuilderTemplateBase() 484 void suggestType(llvm::StructType *structTy) { in suggestType() 518 StructBuilder beginStruct(llvm::StructType *structTy = nullptr) { 572 llvm::StructType *structTy) in ConstantStructBuilder()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonTargetObjectFile.cpp | 251 if (StructType *ST = dyn_cast<StructType>(GType)) { in isGlobalInSmallSection() 299 const StructType *STy = cast<const StructType>(Ty); in getSmallestAddressableSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 338 StructType *NewRetTy = StructType::create(Ctx, ReturnTypes, F.getName()); in runOnFunction() 385 if (StructType *CT = dyn_cast<StructType>(EltTy)) { in runOnFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 36 StructType *SanitizerStatReport::makeModuleStatsTy() { in makeModuleStatsTy() 37 return StructType::get(M->getContext(), {Type::getInt8PtrTy(M->getContext()), in makeModuleStatsTy()
|