/art/compiler/optimizing/ |
ssa_builder.cc | 38 if ((left->GetType() == Primitive::kPrimNot) && (right->GetType() == Primitive::kPrimInt)) { 40 } else if ((right->GetType() == Primitive::kPrimNot) 41 && (left->GetType() == Primitive::kPrimInt)) { 121 // Find a candidate primitive type for `phi` by merging the type of its inputs. 124 Primitive::Type common_type = phi->GetType(); 134 Primitive::Type input_type = HPhi::ToPhiType(input->GetType()); 137 } else if (Primitive::Is64BitType(common_type) != Primitive::Is64BitType(input_type)) { 140 } else if (Primitive::IsIntegralType(common_type)) [all...] |
intrinsics.cc | 98 static Primitive::Type GetType(uint64_t data, bool is_op_size) { 102 return Primitive::kPrimByte; 104 return Primitive::kPrimShort; 106 return Primitive::kPrimInt; 108 return Primitive::kPrimLong; 115 return Primitive::kPrimLong; 118 return Primitive::kPrimNot; 120 return Primitive::kPrimInt; 151 case Primitive::kPrimInt: 153 case Primitive::kPrimLong [all...] |
instruction_builder.cc | 219 HInstruction* ref = LoadLocal(register_index, Primitive::kPrimNot); 377 HInstruction* HInstructionBuilder::LoadLocal(uint32_t reg_number, Primitive::Type type) const { 383 if (Primitive::IsFloatingPointType(type)) { 385 } else if (type == Primitive::kPrimNot) { 394 Primitive::Type stored_type = stored_value->GetType(); 395 DCHECK_NE(stored_type, Primitive::kPrimVoid); 408 if (local_low != nullptr && Primitive::Is64BitType(local_low->GetType())) { 417 if (Primitive::Is64BitType(stored_type)) { 443 Primitive::kPrimNot, 457 Primitive::GetType(shorty[shorty_pos]) 1503 char primitive = descriptor[1]; local [all...] |
gvn_test.cc | 40 Primitive::kPrimNot); 48 Primitive::kPrimNot, 57 Primitive::kPrimNot, 67 Primitive::kPrimNot, 79 Primitive::kPrimNot, 88 Primitive::kPrimNot, 125 Primitive::kPrimNot); 132 Primitive::kPrimBoolean, 155 Primitive::kPrimBoolean, 165 Primitive::kPrimBoolean [all...] |
ssa_builder.h | 65 HInstruction* GetFloatOrDoubleEquivalent(HInstruction* instruction, Primitive::Type type); 69 Primitive::Type type = aget->GetType(); 70 DCHECK(!Primitive::IsFloatingPointType(type)); 71 if (Primitive::IsIntOrLongType(type)) { 77 Primitive::Type type = aset->GetValue()->GetType(); 78 if (Primitive::IsIntOrLongType(type)) { 112 HPhi* GetFloatDoubleOrReferenceEquivalentOfPhi(HPhi* phi, Primitive::Type type);
|
intrinsics_arm64.cc | 70 Primitive::Type type, 73 DCHECK(type == Primitive::kPrimVoid); 77 DCHECK_NE(type, Primitive::kPrimVoid); 79 if (Primitive::IsIntegralType(type) || type == Primitive::kPrimNot) { 236 Primitive::Type type, 242 case Primitive::kPrimShort: 246 case Primitive::kPrimInt: 247 case Primitive::kPrimLong: 261 GenReverseBytes(invoke->GetLocations(), Primitive::kPrimInt, GetVIXLAssembler()) [all...] |
bounds_check_elimination_test.cc | 73 HParameterValue(graph_->GetDexFile(), 0, 0, Primitive::kPrimNot); // array 75 HParameterValue(graph_->GetDexFile(), 0, 0, Primitive::kPrimInt); // i 97 null_check, bounds_check2, constant_1, Primitive::kPrimInt, 0); 121 null_check, bounds_check4, constant_1, Primitive::kPrimInt, 0); 134 null_check, bounds_check5, constant_1, Primitive::kPrimInt, 0); 170 HParameterValue(graph_->GetDexFile(), 0, 0, Primitive::kPrimNot); // array 172 HParameterValue(graph_->GetDexFile(), 0, 0, Primitive::kPrimInt); // i 190 HInstruction* add = new (&allocator_) HAdd(Primitive::kPrimInt, parameter2, constant_max_int); 206 null_check, bounds_check, constant_1, Primitive::kPrimInt, 0); 234 HParameterValue(graph_->GetDexFile(), 0, 0, Primitive::kPrimNot); // arra [all...] |
code_generator_arm64.cc | 114 Location ARM64ReturnLocation(Primitive::Type return_type) { 118 if (return_type == Primitive::kPrimFloat) { 120 } else if (return_type == Primitive::kPrimDouble) { 122 } else if (return_type == Primitive::kPrimLong) { 124 } else if (return_type == Primitive::kPrimVoid) { 131 Location InvokeRuntimeCallingConvention::GetReturnLocation(Primitive::Type return_type) { 237 locations->InAt(0), LocationFrom(calling_convention.GetRegisterAt(0)), Primitive::kPrimInt, 238 locations->InAt(1), LocationFrom(calling_convention.GetRegisterAt(1)), Primitive::kPrimInt); 308 Primitive::Type type = at_->GetType(); 353 Primitive::Type type = instruction_->GetType() [all...] |
induction_var_analysis_test.cc | 83 graph_->GetDexFile(), 0, 0, Primitive::kPrimNot, true); 94 basic_[d] = new (&allocator_) HPhi(&allocator_, d, 0, Primitive::kPrimInt); 100 increment_[d] = new (&allocator_) HAdd(Primitive::kPrimInt, basic_[d], constant1_); 127 HPhi* select_phi = new (&allocator_) HPhi(&allocator_, -1, 0, Primitive::kPrimInt); 140 HPhi* phi = new (&allocator_) HPhi(&allocator_, vreg, 0, Primitive::kPrimInt); 151 parameter_, subscript, float_constant0_, Primitive::kPrimFloat, 0), d); 257 new (&allocator_) HAdd(Primitive::kPrimInt, constant100_, basic_[0]), 0); 259 new (&allocator_) HSub(Primitive::kPrimInt, constant100_, basic_[0]), 0); 261 new (&allocator_) HMul(Primitive::kPrimInt, constant100_, basic_[0]), 0); 263 new (&allocator_) HShl(Primitive::kPrimInt, basic_[0], constant1_), 0) [all...] |
instruction_simplifier_arm64.cc | 50 access->AsArraySet()->GetValue()->GetType() == Primitive::kPrimNot) { 89 Primitive::Type type = use->GetType(); 90 if (type != Primitive::kPrimInt && type != Primitive::kPrimLong) { 195 Primitive::ComponentSize(instruction->GetType())); 202 Primitive::ComponentSize(instruction->GetComponentType())); 230 Primitive::Type result_type = instruction->GetResultType(); 231 Primitive::Type input_type = instruction->GetInputType(); 238 if (Primitive::IsIntegralType(result_type) && Primitive::IsIntegralType(input_type)) [all...] |
parallel_move_test.cc | 161 Primitive::kPrimInt, 267 Primitive::kPrimInt, 272 Primitive::kPrimInt, 288 Primitive::kPrimInt, 293 Primitive::kPrimLong, 305 Primitive::kPrimLong, 310 Primitive::kPrimInt, 322 Primitive::kPrimLong, 327 Primitive::kPrimInt, 342 Primitive::kPrimInt [all...] |
code_generator_mips.h | 80 Location GetNextLocation(Primitive::Type type) OVERRIDE; 81 Location GetReturnLocation(Primitive::Type type) const OVERRIDE; 99 Location GetReturnLocation(Primitive::Type return_type); 115 Location GetReturnLocation(Primitive::Type type) const OVERRIDE { 116 return Primitive::Is64BitType(type) 120 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { 121 return Primitive::Is64BitType(type) 125 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { 238 Primitive::Type type, 322 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE [all...] |
code_generator_mips.cc | 42 Location MipsReturnLocation(Primitive::Type return_type) { 44 case Primitive::kPrimBoolean: 45 case Primitive::kPrimByte: 46 case Primitive::kPrimChar: 47 case Primitive::kPrimShort: 48 case Primitive::kPrimInt: 49 case Primitive::kPrimNot: 52 case Primitive::kPrimLong: 55 case Primitive::kPrimFloat: 56 case Primitive::kPrimDouble [all...] |
common_arm64.h | 65 static inline vixl::Register RegisterFrom(Location location, Primitive::Type type) { 66 DCHECK(type != Primitive::kPrimVoid && !Primitive::IsFloatingPointType(type)) << type; 67 return type == Primitive::kPrimLong ? XRegisterFrom(location) : WRegisterFrom(location); 89 static inline vixl::FPRegister FPRegisterFrom(Location location, Primitive::Type type) { 90 DCHECK(Primitive::IsFloatingPointType(type)) << type; 91 return type == Primitive::kPrimDouble ? DRegisterFrom(location) : SRegisterFrom(location); 103 static inline vixl::CPURegister CPURegisterFrom(Location location, Primitive::Type type) { 104 return Primitive::IsFloatingPointType(type) ? vixl::CPURegister(FPRegisterFrom(location, type)) 109 return Primitive::IsFloatingPointType(instr->GetType() [all...] |
code_generator_x86.cc | 146 Primitive::kPrimInt, 149 Primitive::kPrimInt); 319 Primitive::kPrimNot, 322 Primitive::kPrimNot); 395 Primitive::kPrimNot, 400 Primitive::kPrimInt, 405 Primitive::kPrimNot, 590 Primitive::kPrimNot, 594 Primitive::kPrimNot, 599 Primitive::kPrimInt [all...] |
code_generator_mips64.h | 80 Location GetNextLocation(Primitive::Type type) OVERRIDE; 81 Location GetReturnLocation(Primitive::Type type) const OVERRIDE; 99 Location GetReturnLocation(Primitive::Type return_type); 115 Location GetReturnLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { 118 Location GetSetValueLocation(Primitive::Type type, bool is_instance) const OVERRIDE { 119 return Primitive::Is64BitType(type) 125 Location GetFpuLocation(Primitive::Type type ATTRIBUTE_UNUSED) const OVERRIDE { 246 Primitive::Type type, 314 void MoveLocation(Location dst, Location src, Primitive::Type dst_type) OVERRIDE; 321 void SwapLocations(Location loc1, Location loc2, Primitive::Type type) [all...] |
builder.h | 29 #include "primitive.h" 60 Primitive::GetType(dex_compilation_unit_->GetShorty()[0]), 72 Primitive::Type return_type = Primitive::kPrimInt)
|
/external/deqp/doc/testspecs/GLES31/ |
functional.geometry_shading.txt | 28 - All input primitive types 38 + Primitive render order with geometry shader instancing 61 variable. *_restarted variant verifies that primitive restart index has 67 TRIANGLE_ADJACENCY primitive with different vertex counts. 70 input and output primitive types. 92 instancing by rendering primitives in a circle formation. Each output primitive 94 circle is generated by a single input primitive. invocation_per_layer and 102 drawn around each input primitive instance. 105 primitive type and then try to use the shader when drawing with an incompatible 106 primitive type. GL_INVALID_OPERATION is expected [all...] |
/external/skia/include/effects/ |
SkPaintImageFilter.h | 18 * the same bounds as the input primitive (even though the input 19 * primitive's pixels are not used for processing). 22 * not specified, the source primitive's bounds are used
|
/libcore/ojluni/src/main/java/java/io/ |
OptionalDataException.java | 29 * unread primitive data, or the end of data belonging to a serialized 34 * stream is primitive data. In this case, the OptionalDataException's 35 * length field is set to the number of bytes of primitive data 62 * more primitive data is available. 70 * The number of bytes of primitive data available to be read
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
RepresenterTest.java | 33 "!!org.yaml.snakeyaml.representer.RepresenterTest$MyBean {name: Gnome, primitive: true}\n", 40 private boolean primitive; field in class:RepresenterTest.MyBean 59 return primitive; 62 public void setPrimitive(boolean primitive) { 63 this.primitive = primitive; 118 // isValid is no JavaBean property (it must be a primitive then)
|
/external/deqp/doc/testspecs/GLES3/ |
functional.primitive_restart.txt | 19 Primitive restart tests 29 + All primitive types 31 + Primitive restart index placing special cases: 32 - Use/don't use two consecutive primitive restarts 43 defined with the same index array, using the fixed primitive restart index to 57 calls instead of using primitive restarts.
|
/external/v8/test/mjsunit/compiler/ |
compare.js | 49 // First test primitive values. 51 assertEquals(max, MaxLT(x, y), "MaxLT - primitive"); 52 assertEquals(max, MaxLE(x, y), "MaxLE - primitive"); 53 assertEquals(max, MaxGE(x, y), "MaxGE - primitive"); 54 assertEquals(max, MaxGT(x, y), "MaxGT - primitive"); 76 // Test non-primitive values and watch for valueOf call order.
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsMoreEmptyValues.java | 23 * Returns appropriate primitive for primitive-returning methods 26 * Returns consistent values for primitive wrapper classes (e.g. int-returning method retuns 0 <b>and</b> Integer-returning method returns 0, too)
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
MarshalHelpers.java | 30 * <p>The helpers are centered around providing primitive knowledge of the native types, 76 * Ensure that the {@code klass} is one of the metadata-primitive classes. 94 "'; expected a metadata primitive class"); 98 * Checks whether or not {@code klass} is one of the metadata-primitive classes. 100 * <p>The following types (whether boxed or unboxed) are considered primitive: 110 * <p>This doesn't strictly follow the java understanding of primitive since 115 * @return {@code true} if primitive, {@code false} otherwise 141 * to a Java primitive. 143 * <p>Non-primitive classes are passed through as-is.</p> 145 * <p>For example, for a primitive {@code int.class => Integer.class} [all...] |