Searched refs:struct_ty (Results 1 – 4 of 4) sorted by relevance
217 const llvm::StructType* struct_ty = llvm::dyn_cast<llvm::StructType>(type); in GetSizeInBits() local218 if (struct_ty) { in GetSizeInBits()219 CHECK(struct_ty->isPacked()); in GetSizeInBits()221 for (auto element_type : struct_ty->elements()) { in GetSizeInBits()
576 const Struct* struct_ty = type.AsStruct(); in RebuildType() local578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType()584 for (auto pair : struct_ty->element_decorations()) { in RebuildType()