Searched refs:struct_ty (Results 1 – 3 of 3) sorted by relevance
209 const llvm::StructType* struct_ty = llvm::dyn_cast<llvm::StructType>(type); in GetSizeInBits() local210 if (struct_ty) { in GetSizeInBits()211 CHECK(struct_ty->isPacked()); in GetSizeInBits()213 for (auto element_type : struct_ty->elements()) { in GetSizeInBits()
519 const Struct* struct_ty = type.AsStruct(); in RebuildType() local521 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()522 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType()527 for (auto pair : struct_ty->element_decorations()) { in RebuildType()