Home
last modified time | relevance | path

Searched refs:PrimTy (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/clang/lib/AST/Interp/
DInterpFrame.cpp124 PrimType PrimTy; in describe() local
126 PrimTy = *T; in describe()
128 PrimTy = PT_Ptr; in describe()
131 TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getCtx(), Ty)); in describe()
132 Off += align(primSize(PrimTy)); in describe()
/external/turbine/javatests/com/google/turbine/processing/
DTurbineTypeMirrorTest.java31 import com.google.turbine.type.Type.PrimTy;
62 TypeMirror type = factory.asTypeMirror(PrimTy.create(turbineKind, ImmutableList.of())); in primitiveTypes()
94 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of())), in equals()
95 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of()))) in equals()
97 factory.asTypeMirror(PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()))) in equals()
112 PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of()), in equals()
239 PrimTy.create(TurbineConstantTypeKind.LONG, ImmutableList.of()), in arrayType()
/external/turbine/javatests/com/google/turbine/lower/
DLowerSignatureTest.java30 import com.google.turbine.type.Type.PrimTy;
144 .signature(PrimTy.create(TurbineConstantTypeKind.BOOLEAN, ImmutableList.of())))) in primitive()
162 PrimTy.create( in array()
DLowerTest.java50 import com.google.turbine.type.Type.PrimTy;
116 PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()), in hello()
156 PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()), in hello()
/external/turbine/javatests/com/google/turbine/model/
DConstTest.java33 import com.google.turbine.type.Type.PrimTy;
104 new TurbineClassValue(PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of())), in equalsTest()
105 new TurbineClassValue(PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()))) in equalsTest()
/external/turbine/java/com/google/turbine/processing/
DTurbineTypes.java49 import com.google.turbine.type.Type.PrimTy;
119 return b.tyKind() == TyKind.PRIM_TY && ((PrimTy) a).primkind() == ((PrimTy) b).primkind(); in isSameType()
342 return isPrimSubtype((PrimTy) a, b); in isSubtype()
411 private static boolean isPrimSubtype(PrimTy a, Type other) { in isPrimSubtype()
415 PrimTy b = (PrimTy) other; in isPrimSubtype()
674 ClassSymbol boxed = boxedClass(((PrimTy) t1).primkind()); in isAssignable()
685 t1 = PrimTy.create(unboxed, ImmutableList.of()); in isAssignable()
901 return factory.typeElement(boxedClass(((PrimTy) asTurbineType(p)).primkind()));
939 return (PrimitiveType) factory.asTypeMirror(PrimTy.create(unboxed, ImmutableList.of()));
974 factory.asTypeMirror(PrimTy.create(primitiveType(kind), ImmutableList.of()));
DTurbineTypeMirror.java40 import com.google.turbine.type.Type.PrimTy;
112 public final PrimTy type;
114 TurbinePrimitiveType(ModelFactory factory, PrimTy type) { in TurbinePrimitiveType()
660 return Type.PrimTy.create(TurbineConstantTypeKind.NULL, ImmutableList.of()); in asTurbineType()
DModelFactory.java72 import com.google.turbine.type.Type.PrimTy;
165 if (((PrimTy) type).primkind() == TurbineConstantTypeKind.STRING) { in createTypeMirror()
168 return new TurbinePrimitiveType(this, (PrimTy) type); in createTypeMirror()
/external/turbine/java/com/google/turbine/binder/
DDisambiguateTypeAnnotations.java44 import com.google.turbine.type.Type.PrimTy;
219 PrimTy primTy = (PrimTy) type; in addAnnotationsToType()
220 return Type.PrimTy.create(primTy.primkind(), appendAnnotations(primTy.annos(), extra)); in addAnnotationsToType()
DTypeBinder.java52 import com.google.turbine.tree.Tree.PrimTy;
332 Type.PrimTy.create(TurbineConstantTypeKind.INT, ImmutableList.of()), in enumCtorParams()
630 return bindPrimTy(scope, (Tree.PrimTy) t); in bindTy()
706 private Type.PrimTy bindPrimTy(CompoundScope scope, PrimTy t) { in bindPrimTy()
707 return Type.PrimTy.create(t.tykind(), bindAnnotations(scope, t.annos())); in bindPrimTy()
DConstEvaluator.java59 import com.google.turbine.tree.Tree.PrimTy;
182 return Type.PrimTy.create(((PrimTy) type).tykind(), ImmutableList.of()); in evalClassLiteralType()
328 return coerce((Const.Value) value, ((Type.PrimTy) ty).primkind()); in cast()
453 return coerce(expr, ((Tree.PrimTy) t.ty()).tykind()); in evalCast()
1014 return coerce((Const.Value) value, ((Type.PrimTy) ty).primkind()); in evalAnnotationValue()
/external/turbine/java/com/google/turbine/parse/
DParser.java54 import com.google.turbine.tree.Tree.PrimTy;
1215 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.BOOLEAN); in referenceTypeWithoutDims()
1218 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.BYTE); in referenceTypeWithoutDims()
1221 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.SHORT); in referenceTypeWithoutDims()
1224 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.INT); in referenceTypeWithoutDims()
1227 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.LONG); in referenceTypeWithoutDims()
1230 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.CHAR); in referenceTypeWithoutDims()
1233 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.DOUBLE); in referenceTypeWithoutDims()
1236 return new PrimTy(position, typeAnnos, TurbineConstantTypeKind.FLOAT); in referenceTypeWithoutDims()
DConstExpressionParser.java169 return finishClassLiteral(position, new Tree.PrimTy(position, ImmutableList.of(), type)); in primitiveClassLiteral()
563 return new Tree.TypeCast(position, new Tree.PrimTy(position, ImmutableList.of(), ty), rhs); in castTail()
/external/turbine/java/com/google/turbine/lower/
DLowerSignature.java41 import com.google.turbine.type.Type.PrimTy;
65 return refBaseTy((PrimTy) ty); in signature()
75 private Sig.BaseTySig refBaseTy(PrimTy t) { in refBaseTy()
DLower.java737 lowerTypeAnnotations(((Type.PrimTy) type).annos(), path); in lowerTypeAnnotations()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBinder.java91 return Type.PrimTy.create(((Sig.BaseTySig) sig).type(), ImmutableList.of()); in bindTy()
176 switch (((Type.PrimTy) type).primkind()) { in bindConstValue()
/external/turbine/java/com/google/turbine/type/
DType.java300 abstract class PrimTy implements Type { class
302 public static PrimTy create(TurbineConstantTypeKind tykind, ImmutableList<AnnoInfo> annos) { in create()
/external/turbine/java/com/google/turbine/tree/
DTree.java210 public static class PrimTy extends Type { class in Tree
213 public PrimTy(int position, ImmutableList<Anno> annos, TurbineConstantTypeKind tykind) { in PrimTy() method in Tree.PrimTy
1270 O visitPrimTy(PrimTy primTy, I input); in visitPrimTy()
DPretty.java116 public Void visitPrimTy(Tree.PrimTy primTy, Void input) { in visitPrimTy()