public interface StructType extends Type
| Modifier and Type | Method and Description |
|---|---|
static StructType |
cast(Type type) |
static StructType |
dyn_cast(Type type) |
default String |
getName() |
StringRef |
getNameOrignal() |
int |
getNumElements() |
Type |
getTypeAtIndex(int index) |
Type |
getTypeAtIndex(Value value) |
static boolean |
isa(Type type) |
canLosslesslyBitCastTo, getArrayElementType, getArrayNumElements, getContainedType, getFunctionNumParams, getFunctionParamType, getIntegerBitWidth, getNumContainedTypes, getPointerElementType, getScalarType, getStructElementType, getStructName, getStructNumElements, getTypeID, isAggregateType, isArrayTy, isEmptyTy, isFirstClassType, isFunctionVarArg, isPointerTy, isPtrOrPtrVectorTy, isSingleValueType, isStructTy, isVectorTyisNullstatic boolean isa(Type type)
static StructType cast(Type type)
static StructType dyn_cast(Type type)
StringRef getNameOrignal()
default String getName()
int getNumElements()
Type getTypeAtIndex(int index)
Copyright © 2022 Alibaba Group Holding Ltd.. All rights reserved.