Home | History | Annotate | Download | only in src

Lines Matching refs:Representation

81 class Representation {
98 Representation() : kind_(kNone) { }
100 static Representation None() { return Representation(kNone); }
101 static Representation Tagged() { return Representation(kTagged); }
102 static Representation Integer8() { return Representation(kInteger8); }
103 static Representation UInteger8() { return Representation(kUInteger8); }
104 static Representation Integer16() { return Representation(kInteger16); }
105 static Representation UInteger16() {
106 return Representation(kUInteger16);
108 static Representation Smi() { return Representation(kSmi); }
109 static Representation Integer32() { return Representation(kInteger32); }
110 static Representation Double() { return Representation(kDouble); }
111 static Representation HeapObject() { return Representation(kHeapObject); }
112 static Representation External() { return Representation(kExternal); }
114 static Representation FromKind(Kind kind) { return Representation(kind); }
117 static Representation FromType(TypeInfo info);
118 static Representation FromType(Handle<Type> type);
120 bool Equals(const Representation& other) const {
124 bool IsCompatibleForLoad(const Representation& other) const {
129 bool IsCompatibleForStore(const Representation& other) const {
133 bool is_more_general_than(const Representation& other) const {
146 bool fits_into(const Representation& other) const {
150 Representation generalize(Representation other) {
153 return Representation::Tagged();
192 explicit Representation(Kind k) : kind_(k) { }
227 Representation representation,
231 | RepresentationField::encode(EncodeRepresentation(representation))
239 PropertyDetails CopyWithRepresentation(Representation representation) {
240 return PropertyDetails(value_, representation);
252 static uint8_t EncodeRepresentation(Representation representation) {
253 return representation.kind();
256 static Representation DecodeRepresentation(uint32_t bits) {
257 return Representation::FromKind(static_cast<Representation::Kind>(bits));
270 Representation representation() {
315 PropertyDetails(int value, Representation representation) {
317 value, EncodeRepresentation(representation));