Home
last modified time | relevance | path

Searched refs:TypeData (Results 1 – 11 of 11) sorted by relevance

/external/javassist/src/main/javassist/bytecode/stackmap/
DTypeData.java33 public abstract class TypeData { class
38 public static TypeData[] make(int size) { in make()
39 TypeData[] array = new TypeData[size]; in make()
46 protected TypeData() {} in TypeData() method in TypeData
56 private static void setType(TypeData td, String className, ClassPool cp) throws BadBytecode { in setType()
63 public TypeData join() { return new TypeVar(this); } in join()
80 public abstract boolean eq(TypeData d); in eq()
88 public abstract TypeData getArrayType(int dim) throws NotFoundException; in getArrayType()
96 public int dfs(List<TypeData> order, int index, ClassPool cp) in dfs()
116 return super.toString() + "(" + toString2(new HashSet<TypeData>()) + ")"; in toString()
[all …]
DTypeTag.java23 TypeData.BasicType TOP = new TypeData.BasicType(TOP_TYPE, StackMapTable.TOP, ' ');
24 TypeData.BasicType INTEGER = new TypeData.BasicType("int", StackMapTable.INTEGER, 'I');
25 TypeData.BasicType FLOAT = new TypeData.BasicType("float", StackMapTable.FLOAT, 'F');
26 TypeData.BasicType DOUBLE = new TypeData.BasicType("double", StackMapTable.DOUBLE, 'D');
27 TypeData.BasicType LONG = new TypeData.BasicType("long", StackMapTable.LONG, 'J');
DTypedBlock.java29 public TypeData[] localsTypes;
30 public TypeData[] stackTypes;
72 TypeData[] types) { in printTypes()
80 TypeData td = types[i]; in printTypes()
89 public void setStackMap(int st, TypeData[] stack, int nl, TypeData[] locals) in setStackMap()
147 stackTypes = TypeData.make(maxStack); in initFirstBlock()
148 TypeData[] locals = TypeData.make(maxLocals); in initFirstBlock()
150 locals[0] = new TypeData.UninitThis(className); in initFirstBlock()
152 locals[0] = new TypeData.ClassName(className); in initFirstBlock()
171 int n, TypeData[] types) in descToTag()
[all …]
DMapMaker.java249 private TypeData merge(TypeData src, TypeData target) throws BadBytecode { in merge()
252 else if (target instanceof TypeData.ClassName in merge()
253 || target instanceof TypeData.BasicType) // a parameter in merge()
255 else if (target instanceof TypeData.AbsTypeVar) { in merge()
256 ((TypeData.AbsTypeVar)target).merge(src); in merge()
266 TypeData[] tStackTypes = TypeData.make(stackTypes.length); in recordStackMap()
275 TypeData[] tStackTypes = TypeData.make(stackTypes.length); in recordStackMap()
280 private TypeData.ClassName toExceptionType(int exceptionType) { in toExceptionType()
287 return new TypeData.ClassName(type); in toExceptionType()
290 private void recordStackMap0(TypedBlock target, int st, TypeData[] tStackTypes) in recordStackMap0()
[all …]
DTracer.java37 protected TypeData[] stackTypes;
38 protected TypeData[] localsTypes;
46 stackTypes = TypeData.make(maxStack); in Tracer()
47 localsTypes = TypeData.make(maxLocals); in Tracer()
55 stackTypes = TypeData.make(t.stackTypes.length); in Tracer()
56 localsTypes = TypeData.make(t.localsTypes.length); in Tracer()
131 TypeData[] stackTypes = this.stackTypes; in doOpcode0_53()
136 stackTypes[stackTop++] = new TypeData.NullType(); in doOpcode0_53()
232 TypeData data = stackTypes[s]; in doOpcode0_53()
233 stackTypes[s] = TypeData.ArrayElement.make(data); in doOpcode0_53()
[all …]
/external/javassist/src/test/javassist/bytecode/
DStackMapTest.java21 import javassist.bytecode.stackmap.TypeData;
134 assertEquals(base, TypeData.commonSuperClassEx(type, base)); in testCommonSuper()
135 assertEquals(base, TypeData.commonSuperClassEx(base, type)); in testCommonSuper()
136 assertEquals(base, TypeData.commonSuperClassEx(array, type)); in testCommonSuper()
137 assertEquals(obj, TypeData.commonSuperClassEx(base, str)); in testCommonSuper()
138 assertEquals(objObj, TypeData.commonSuperClassEx(strObj, str)); in testCommonSuper()
139 assertEquals(obj, TypeData.commonSuperClassEx(array, array2)); in testCommonSuper()
140 assertEquals(obj, TypeData.commonSuperClassEx(base, array2)); in testCommonSuper()
741 assertEquals("java.lang.Object", TypeData.commonSuperClassEx(one, two).getName()); in testCommonSuperclass()
749 assertEquals("java.lang.Object[]", TypeData.commonSuperClassEx(one, two).getName()); in testCommonSuperclass()
[all …]
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h80 llvm::Type *TypeData; // canHaveCoerceToType()
118 : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), in ABIArgInfo()
270 return TypeData; in getCoerceToType()
275 TypeData = T; in setCoerceToType()
280 return cast<llvm::StructType>(TypeData); in getCoerceAndExpandType()
/external/llvm-project/clang/include/clang/CodeGen/
DCGFunctionInfo.h91 llvm::Type *TypeData; // canHaveCoerceToType()
129 : TypeData(nullptr), PaddingType(nullptr), DirectOffset(0), TheKind(K), in TypeData() function
331 return TypeData; in getCoerceToType()
336 TypeData = T; in setCoerceToType()
341 return cast<llvm::StructType>(TypeData); in getCoerceAndExpandType()
/external/clang/lib/AST/
DNestedNameSpecifier.cpp428 void *TypeData = LoadPointer(Data, Offset); in getLocalSourceRange() local
429 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange()
445 void *TypeData = LoadPointer(Data, Offset); in getTypeLoc() local
446 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc()
/external/llvm-project/clang/lib/AST/
DNestedNameSpecifier.cpp440 void *TypeData = LoadPointer(Data, Offset); in getLocalSourceRange() local
441 TypeLoc TL(Qualifier->getAsType(), TypeData); in getLocalSourceRange()
457 void *TypeData = LoadPointer(Data, Offset); in getTypeLoc() local
458 return TypeLoc(Qualifier->getAsType(), TypeData); in getTypeLoc()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp2879 struct TypeData struct in vkt::SpirVAssembly::__anonedfcea740111::TestGroupBuilderBase
2887 map<FloatType, TypeData> m_typeData;
2896 m_typeData[FP16] = TypeData(); in TestGroupBuilderBase()
2900 m_typeData[FP32] = TypeData(); in TestGroupBuilderBase()
2904 m_typeData[FP64] = TypeData(); in TestGroupBuilderBase()