Lines Matching full:primitive
19 #include "primitive.h"
92 // Apply test to each individual primitive type.
93 for (Primitive::Type type = Primitive::kPrimNot;
94 type < Primitive::kPrimVoid;
95 type = Primitive::Type(type + 1)) {
96 // Same primitive type and access type: proper write/read dep.
103 // Same primitive type but different access type: no write/read dep.
114 // Different primitive type, same access type: no write/read dep.
116 SideEffects::FieldWriteOfType(Primitive::kPrimInt, false),
117 SideEffects::FieldReadOfType(Primitive::kPrimDouble, false));
119 SideEffects::ArrayWriteOfType(Primitive::kPrimInt),
120 SideEffects::ArrayReadOfType(Primitive::kPrimDouble));
123 SideEffects::FieldWriteOfType(Primitive::kPrimInt, false),
124 SideEffects::ArrayReadOfType(Primitive::kPrimDouble));
126 SideEffects::ArrayWriteOfType(Primitive::kPrimInt),
127 SideEffects::FieldReadOfType(Primitive::kPrimDouble, false));
132 SideEffects::FieldWriteOfType(Primitive::kPrimInt, /* is_volatile */ true);
134 SideEffects::FieldWriteOfType(Primitive::kPrimInt, /* is_volatile */ false);
136 SideEffects::FieldReadOfType(Primitive::kPrimByte, /* is_volatile */ true);
138 SideEffects::FieldReadOfType(Primitive::kPrimByte, /* is_volatile */ false);
154 SideEffects::FieldWriteOfType(Primitive::kPrimInt, /* is_volatile */ false),
155 SideEffects::FieldReadOfType(Primitive::kPrimFloat, /* is_volatile */ false));
157 SideEffects::ArrayWriteOfType(Primitive::kPrimInt),
158 SideEffects::ArrayReadOfType(Primitive::kPrimFloat));
161 SideEffects::FieldWriteOfType(Primitive::kPrimLong, /* is_volatile */ false),
162 SideEffects::FieldReadOfType(Primitive::kPrimDouble, /* is_volatile */ false));
164 SideEffects::ArrayWriteOfType(Primitive::kPrimLong),
165 SideEffects::ArrayReadOfType(Primitive::kPrimDouble));
171 for (Primitive::Type type = Primitive::kPrimNot;
172 type < Primitive::kPrimVoid;
173 type = Primitive::Type(type + 1)) {
217 SideEffects::FieldWriteOfType(Primitive::kPrimNot, false).ToString().c_str());
220 SideEffects::ArrayWriteOfType(Primitive::kPrimBoolean).ToString().c_str());
223 SideEffects::FieldReadOfType(Primitive::kPrimByte, false).ToString().c_str());
226 SideEffects::ArrayReadOfType(Primitive::kPrimDouble).ToString().c_str());
228 s = s.Union(SideEffects::FieldWriteOfType(Primitive::kPrimChar, /* is_volatile */ false));
229 s = s.Union(SideEffects::FieldWriteOfType(Primitive::kPrimLong, /* is_volatile */ false));
230 s = s.Union(SideEffects::ArrayWriteOfType(Primitive::kPrimShort));
231 s = s.Union(SideEffects::FieldReadOfType(Primitive::kPrimInt, /* is_volatile */ false));
232 s = s.Union(SideEffects::ArrayReadOfType(Primitive::kPrimFloat));
233 s = s.Union(SideEffects::ArrayReadOfType(Primitive::kPrimDouble));