Searched defs:type (Results 101 - 122 of 122) sorted by relevance

12345

/art/compiler/optimizing/
H A Dintrinsics_x86.cc1323 // All string objects must have the same type since String cannot be subclassed.
1843 Primitive::Type type,
1854 switch (type) {
1898 LOG(FATAL) << "Unsupported op size " << type;
1905 Primitive::Type type,
1918 if (type == Primitive::kPrimLong) {
1929 if (type == Primitive::kPrimNot && kEmitCompilerReadBarrier && kUseBakerReadBarrier) {
1977 Primitive::Type type,
1987 if (type == Primitive::kPrimNot) {
1992 } else if (type
1842 GenUnsafeGet(HInvoke* invoke, Primitive::Type type, bool is_volatile, CodeGeneratorX86* codegen) argument
1903 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke, Primitive::Type type, bool is_volatile) argument
1976 CreateIntIntIntIntToVoidPlusTempsLocations(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke, bool is_volatile) argument
2037 GenUnsafePut(LocationSummary* locations, Primitive::Type type, bool is_volatile, CodeGeneratorX86* codegen) argument
2111 CreateIntIntIntIntIntToInt(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
2164 GenCAS(Primitive::Type type, HInvoke* invoke, CodeGeneratorX86* codegen) argument
[all...]
H A Dintrinsics_x86_64.cc1237 // type of the destination array. We do two checks: the classes are the same,
1427 // All string objects must have the same type since String cannot be subclassed.
1932 Primitive::Type type,
1944 switch (type) {
1972 LOG(FATAL) << "Unsupported op size " << type;
1979 Primitive::Type type) {
1992 if (type == Primitive::kPrimNot && kEmitCompilerReadBarrier && kUseBakerReadBarrier) {
2040 Primitive::Type type,
2049 if (type == Primitive::kPrimNot) {
2086 static void GenUnsafePut(LocationSummary* locations, Primitive::Type type, boo argument
1931 GenUnsafeGet(HInvoke* invoke, Primitive::Type type, bool is_volatile ATTRIBUTE_UNUSED, CodeGeneratorX86_64* codegen) argument
1977 CreateIntIntIntToIntLocations(ArenaAllocator* arena, HInvoke* invoke, Primitive::Type type) argument
2039 CreateIntIntIntIntToVoidPlusTempsLocations(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
2146 CreateIntIntIntIntIntToInt(ArenaAllocator* arena, Primitive::Type type, HInvoke* invoke) argument
2189 GenCAS(Primitive::Type type, HInvoke* invoke, CodeGeneratorX86_64* codegen) argument
[all...]
H A Dcode_generator_arm64.cc308 Primitive::Type type = at_->GetType(); variable
309 arm64_codegen->MoveLocation(out, calling_convention.GetReturnLocation(type), type);
353 Primitive::Type type = instruction_->GetType(); variable
354 arm64_codegen->MoveLocation(locations->Out(), calling_convention.GetReturnLocation(type), type);
588 Primitive::Type type = Primitive::kPrimNot; variable
606 arm64_codegen->MoveLocation(LocationFrom(calling_convention.GetRegisterAt(0)), obj_, type); variable
612 arm64_codegen->MoveLocation(out_, calling_convention.GetReturnLocation(type), type);
657 Primitive::Type type = Primitive::kPrimNot; variable
817 Primitive::Type type = Primitive::kPrimNot; variable
863 GetNextLocation(Primitive::Type type) argument
1172 CoherentConstantAndType(Location constant, Primitive::Type type) argument
1287 Load(Primitive::Type type, CPURegister dst, const MemOperand& src) argument
1324 Primitive::Type type = instruction->GetType(); local
1386 Store(Primitive::Type type, CPURegister src, const MemOperand& dst) argument
1411 StoreRelease(Primitive::Type type, CPURegister src, const MemOperand& dst) argument
1491 BarrierType type = BarrierAll; local
1579 Primitive::Type type = instr->GetResultType(); local
1723 Primitive::Type type = instr->GetType(); local
1779 Primitive::Type type = instr->GetResultType(); local
1796 Primitive::Type type = instr->GetType(); local
1893 Primitive::Type type = instruction->GetType(); local
2049 Primitive::Type type = instruction->GetType(); local
2586 Primitive::Type type = instruction->GetResultType(); local
2628 Primitive::Type type = instruction->GetResultType(); local
2686 Primitive::Type type = div->GetResultType(); local
2720 Primitive::Type type = instruction->GetType(); local
2855 Primitive::Type type = condition->InputAt(0)->GetType(); local
[all...]
H A Dcode_generator_mips.cc65 Location InvokeDexCallingConventionVisitorMIPS::GetReturnLocation(Primitive::Type type) const {
66 return MipsReturnLocation(type);
73 Location InvokeDexCallingConventionVisitorMIPS::GetNextLocation(Primitive::Type type) { argument
76 switch (type) {
123 next_location = Primitive::Is64BitType(type) ? Location::DoubleStackSlot(stack_offset)
130 LOG(FATAL) << "Unexpected parameter type " << type;
135 stack_index_ += Primitive::Is64BitType(type) ? 2 : 1;
140 Location InvokeRuntimeCallingConvention::GetReturnLocation(Primitive::Type type) { argument
141 return MipsReturnLocation(type);
247 Primitive::Type type = at_->GetType(); variable
295 Primitive::Type type = instruction_->GetType(); variable
527 Primitive::Type type = move->GetType(); local
1139 Primitive::Type type = instruction->GetResultType(); local
1185 Primitive::Type type = instruction->GetType(); local
1405 Primitive::Type type = instr->GetResultType(); local
1427 Primitive::Type type = instr->GetType(); local
1668 Primitive::Type type = instruction->GetType(); local
2222 Primitive::Type type = instruction->InputAt(0)->GetType(); local
2427 Primitive::Type type = div->GetResultType(); local
2464 Primitive::Type type = instruction->GetType(); local
2512 Primitive::Type type = instruction->GetType(); local
3043 GenerateFpCompareAndBranch(IfCondition cond, bool gt_bias, Primitive::Type type, LocationSummary* locations, MipsLabel* label) argument
3284 Primitive::Type type = condition->InputAt(0)->GetType(); local
3420 Primitive::Type type = field_info.GetFieldType(); local
3547 Primitive::Type type = field_info.GetFieldType(); local
4127 Primitive::Type type = instruction->GetType(); local
4220 Primitive::Type type = instruction->GetType(); local
4324 Primitive::Type type = instruction->GetType(); local
4453 Primitive::Type type = rem->GetResultType(); local
4490 Primitive::Type type = instruction->GetType(); local
[all...]
H A Dcode_generator_arm.cc957 Location InvokeDexCallingConventionVisitorARM::GetNextLocation(Primitive::Type type) { argument
958 switch (type) {
1027 LOG(FATAL) << "Unexpected parameter type " << type;
1033 Location InvokeDexCallingConventionVisitorARM::GetReturnLocation(Primitive::Type type) const {
1034 switch (type) {
1360 Primitive::Type type = condition->InputAt(0)->GetType(); local
1361 switch (type) {
1375 LOG(FATAL) << "Unexpected compare type " << type;
1435 Primitive::Type type = condition->InputAt(0)->GetType(); local
2943 Primitive::Type type = rem->GetResultType(); local
3027 Primitive::Type type = rem->GetResultType(); local
3247 Primitive::Type type = ror->GetResultType(); local
3310 Primitive::Type type = op->GetResultType(); local
3640 Primitive::Type type = compare->InputAt(0)->GetType(); local
4288 Primitive::Type type = instruction->GetType(); local
[all...]
H A Dcode_generator_x86.cc898 Location InvokeDexCallingConventionVisitorX86::GetReturnLocation(Primitive::Type type) const {
899 switch (type) {
926 Location InvokeDexCallingConventionVisitorX86::GetNextLocation(Primitive::Type type) { argument
927 switch (type) {
977 LOG(FATAL) << "Unexpected parameter type " << type;
1328 Primitive::Type type = condition->InputAt(0)->GetType(); local
1329 switch (type) {
1342 LOG(FATAL) << "Unexpected compare type " << type;
1425 Primitive::Type type = condition->InputAt(0)->GetType(); local
3176 Primitive::Type type = rem->GetResultType(); local
3538 Primitive::Type type = rem->GetResultType(); local
3583 Primitive::Type type = rem->GetResultType(); local
5046 Primitive::Type type = instruction->GetType(); local
7359 MoveFromReturnRegister(Location target, Primitive::Type type) argument
[all...]
H A Dcode_generator_x86_64.cc111 DivRemMinusOneSlowPathX86_64(HInstruction* at, Register reg, Primitive::Type type, bool is_div) argument
112 : SlowPathCode(at), cpu_reg_(CpuRegister(reg)), type_(type), is_div_(is_div) {}
1289 Primitive::Type type = condition->InputAt(0)->GetType(); local
1290 switch (type) {
1353 LOG(FATAL) << "Unexpected condition type " << type;
1371 Primitive::Type type = condition->InputAt(0)->GetType(); local
1372 switch (type) {
1386 LOG(FATAL) << "Unexpected condition type " << type;
1468 Primitive::Type type = condition->InputAt(0)->GetType(); local
1863 Primitive::Type type = compare->InputAt(0)->GetType(); local
2084 GetNextLocation(Primitive::Type type) argument
3226 Primitive::Type type = rem->GetResultType(); local
3489 Primitive::Type type = instruction->GetResultType(); local
3582 Primitive::Type type = div->GetResultType(); local
3626 Primitive::Type type = rem->GetResultType(); local
3661 Primitive::Type type = rem->GetResultType(); local
4546 Primitive::Type type = instruction->GetType(); local
6751 MoveFromReturnRegister(Location trg, Primitive::Type type) argument
[all...]
H A Dnodes.h245 // Returns true if the type information provide the same amount of details.
246 // Note that it does not mean that the instructions have the same actual type
247 // (because the type can be the result of a merge).
268 // Whether or not the type is exact or a superclass of the actual type.
269 // Whether or not we have any information about this type.
462 // Returns a constant of the given type and value. If it does not exist
465 HConstant* GetConstant(Primitive::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
467 // TODO: This is problematic for the consistency of reference type propagation
469 // with an invalid type
1468 FieldWriteOfType(Primitive::Type type, bool is_volatile) argument
1474 ArrayWriteOfType(Primitive::Type type) argument
1478 FieldReadOfType(Primitive::Type type, bool is_volatile) argument
1484 ArrayReadOfType(Primitive::Type type) argument
1614 TypeFlagWithAlias(Primitive::Type type, int offset) argument
1630 TypeFlag(Primitive::Type type, int offset) argument
2290 HExpression(Primitive::Type type, SideEffects side_effects, uint32_t dex_pc) argument
2344 HPhi(ArenaAllocator* arena, uint32_t reg_number, size_t number_of_inputs, Primitive::Type type, uint32_t dex_pc = kNoDexPc) argument
2362 ToPhiType(Primitive::Type type) argument
2477 HConstant(Primitive::Type type, uint32_t dex_pc = kNoDexPc) argument
2814 HCurrentMethod(Primitive::Type type, uint32_t dex_pc = kNoDexPc) argument
2832 HClassTableGet(HInstruction* cls, Primitive::Type type, TableKind kind, size_t index, uint32_t dex_pc) argument
5095 HArrayGet(HInstruction* array, HInstruction* index, Primitive::Type type, uint32_t dex_pc, SideEffects additional_side_effects = SideEffects::None()) argument
[all...]
/art/dex2oat/
H A Ddex2oat.cc2238 Runtime::CalleeSaveType type = Runtime::CalleeSaveType(i); local
2239 if (!runtime_->HasCalleeSaveMethod(type)) {
2240 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type);
/art/runtime/
H A Dcheck_jni.cc172 // messed up if the source argument is not the exact type 'va_list'.
197 LOG(FATAL) << "Illegal type format char " << fmt;
215 LOG(FATAL) << "Illegal type format char " << fmt;
310 * Verify that the method's return type matches the type of call.
314 jmethodID mid, Primitive::Type type, InvokeType invoke)
320 if (type != Primitive::GetType(m->GetShorty()[0])) {
321 AbortF("the return type of %s does not match %s", function_name_, PrettyMethod(m).c_str());
569 "java.lang.reflect.Constructor but got object of type %s: %p",
599 AbortF("expected java.lang.reflect.Field but got object of type
2676 GetField(const char* function_name, JNIEnv* env, jobject obj, jfieldID fid, bool is_static, Primitive::Type type) argument
2770 SetField(const char* function_name, JNIEnv* env, jobject obj, jfieldID fid, bool is_static, Primitive::Type type, JniValueType value) argument
2883 CallMethodA(const char* function_name, JNIEnv* env, jobject obj, jclass c, jmethodID mid, jvalue* vargs, Primitive::Type type, InvokeType invoke) argument
3067 CallMethodV(const char* function_name, JNIEnv* env, jobject obj, jclass c, jmethodID mid, va_list vargs, Primitive::Type type, InvokeType invoke) argument
3323 NewPrimitiveArray(const char* function_name, JNIEnv* env, jsize length, Primitive::Type type) argument
3365 GetPrimitiveArrayElements(const char* function_name, Primitive::Type type, JNIEnv* env, jarray array, jboolean* is_copy) argument
3416 ReleasePrimitiveArrayElements(const char* function_name, Primitive::Type type, JNIEnv* env, jarray array, void* elems, jint mode) argument
3471 GetPrimitiveArrayRegion(const char* function_name, Primitive::Type type, JNIEnv* env, jarray array, jsize start, jsize len, void* buf) argument
3521 SetPrimitiveArrayRegion(const char* function_name, Primitive::Type type, JNIEnv* env, jarray array, jsize start, jsize len, const void* buf) argument
[all...]
H A Ddex_file.cc552 const DexFile::TypeId& type) const {
556 const uint16_t type_idx = GetIndexForTypeId(type);
735 // Given a signature place the type ids into the given vector
759 if (c == 'L') { // process type descriptors
782 return false; // failed to correctly parse return type
816 // Note: Signed type is important for max and min.
2049 LOG(FATAL) << "Found invalid annotation value type while building annotation array";
2080 LOG(ERROR) << StringPrintf("Bad annotation element value type 0x%02x", value_type);
2370 ValueType type)
2377 type_(type) {
2363 EncodedStaticFieldValueIterator( const DexFile& dex_file, Handle<mirror::DexCache>* dex_cache, Handle<mirror::ClassLoader>* class_loader, ClassLinker* linker, const DexFile::ClassDef& class_def, size_t pos, ValueType type) argument
[all...]
H A Dthread.h906 void PushStackedShadowFrame(ShadowFrame* sf, StackedShadowFrameType type);
907 ShadowFrame* PopStackedShadowFrame(StackedShadowFrameType type, bool must_be_present = true);
1553 ScopedStackedShadowFramePusher(Thread* self, ShadowFrame* sf, StackedShadowFrameType type) argument
1554 : self_(self), type_(type) {
1555 self_->PushStackedShadowFrame(sf, type);
H A Dutils.cc257 // or "primitive;". Rewrite the type with '.' instead of '/':
308 return StringPrintf("<<invalid-type-idx-%d>>", type_idx);
776 ClassNameType type = kType; local
777 if (type != kDescriptor && arrayCount != 0) {
781 * format looks the same as a type descriptor in that case, so
784 type = kDescriptor;
787 if (type == kDescriptor) {
790 * single-character primitive type, or continue on to check the
818 * of a type descriptor, or we are looking for an unadorned class
828 * Premature end for a type descripto
1477 PrettyDescriptor(Primitive::Type type) argument
[all...]
H A Dthread.cc215 StackedShadowFrameType type,
218 type_(type),
263 void Thread::PushStackedShadowFrame(ShadowFrame* sf, StackedShadowFrameType type) { argument
265 sf, type, tlsPtr_.stacked_shadow_frame_record);
269 ShadowFrame* Thread::PopStackedShadowFrame(StackedShadowFrameType type, bool must_be_present) { argument
273 DCHECK_EQ(record->GetType(), type);
275 if (record == nullptr || record->GetType() != type) {
1432 // we get the pretty type beofre we call IdentityHashCode.
214 StackedShadowFrameRecord(ShadowFrame* shadow_frame, StackedShadowFrameType type, StackedShadowFrameRecord* link) argument
H A Ddebugger.cc456 * type. The debugger may take a special interest in these (e.g. it
1254 // Check if the object's type is compatible with the array's type.
1299 LOG(ERROR) << "Could not allocate object of type " << PrettyDescriptor(c);
1326 LOG(ERROR) << "Could not allocate array of type " << PrettyDescriptor(c);
1741 LOG(FATAL) << "Attempt to read from field of type 'void'";
1744 LOG(FATAL) << "Attempt to read from field of unknown type";
1879 LOG(FATAL) << "Attempt to write to field of type 'void'";
1882 LOG(FATAL) << "Attempt to write to field of unknown type";
2585 // TODO: check that the tag is compatible with the actual type o
4216 uint32_t type = request->ReadUnsigned32("type"); local
4328 DdmSendThreadNotification(Thread* t, uint32_t type) argument
4377 PostThreadStartOrStop(Thread* t, uint32_t type) argument
4392 DdmSendChunk(uint32_t type, size_t byte_count, const uint8_t* buf) argument
4400 DdmSendChunk(uint32_t type, const std::vector<uint8_t>& bytes) argument
4404 DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) argument
[all...]
H A Dclass_linker.cc140 // Previous error has been stored as class. Create a new exception of that type.
283 Primitive::Type type = field->GetTypeAsPrimitiveType(); local
284 if (Primitive::ComponentSize(type) < n) {
292 CHECK(type != Primitive::kPrimNot) << PrettyField(field); // should be primitive types
422 // component size, which is computed from the primitive type, needs
459 // Setup the primitive type classes.
472 // Create int array type for AllocDexCache (done in AppendToBootClassPath).
479 // Create long array type for AllocDexCache (done in AppendToBootClassPath).
551 // Setup the primitive array type classes - can't be done until Object has a vtable.
677 // Ensure void type i
3345 CreatePrimitiveClass(Thread* self, Primitive::Type type) argument
3354 InitializePrimitiveClass(mirror::Class* primitive_class, Primitive::Type type) argument
3528 FindPrimitiveClass(char type) argument
7361 Primitive::Type type = field->GetTypeAsPrimitiveType(); local
7464 Primitive::Type type = field->GetTypeAsPrimitiveType(); local
7596 ResolveMethod(const DexFile& dex_file, uint32_t method_idx, Handle<mirror::DexCache> dex_cache, Handle<mirror::ClassLoader> class_loader, ArtMethod* referrer, InvokeType type) argument
7861 const char* type = dex_file.GetFieldTypeDescriptor(field_id); local
[all...]
/art/compiler/driver/
H A Dcompiler_driver.cc127 DumpStat(safe_casts_, not_safe_casts_, "check-casts removed based on type information");
134 "virtual/interface calls made direct based on type information");
226 // Indicate that type information from the verifier led to devirtualization.
232 // Indicate that a method of the given type was resolved at compile time.
233 void ResolvedMethod(InvokeType type) REQUIRES(!stats_lock_) {
234 DCHECK_LE(type, kMaxInvokeType);
236 resolved_methods_[type]++;
239 // Indicate that a method of the given type was unresolved at compile time as it was in an
241 void UnresolvedMethod(InvokeType type) REQUIRES(!stats_lock_) {
242 DCHECK_LE(type, kMaxInvokeTyp
1632 GetCodeAndMethodForDirectCall(InvokeType* type, InvokeType sharp_type, bool no_guarantee_of_dex_cache_entry, const mirror::Class* referrer_class, ArtMethod* method, int* stats_flags, MethodReference* target_method, uintptr_t* direct_code, uintptr_t* direct_method) argument
2883 const char* type = dex_file->GetTypeDescriptor(dex_file->GetTypeId(type_index)); local
[all...]
/art/compiler/utils/arm/
H A Dassembler_thumb2.cc33 std::is_same<typename std::result_of<Function(FixupId, FixupId)>::type, void>::value,
468 LOG(FATAL) << "Unexpected type: " << static_cast<int>(type_);
3577 int32_t Thumb2Assembler::GetAllowedLoadOffsetBits(LoadOperandType type) { argument
3578 switch (type) {
3597 int32_t Thumb2Assembler::GetAllowedStoreOffsetBits(StoreOperandType type) { argument
3598 switch (type) {
3647 void Thumb2Assembler::LoadFromOffset(LoadOperandType type, argument
3652 if (!Address::CanHoldLoadOffsetThumb(type, offset)) {
3655 int32_t allowed_offset_bits = GetAllowedLoadOffsetBits(type);
3673 DCHECK(Address::CanHoldLoadOffsetThumb(type, offse
3733 StoreToOffset(StoreOperandType type, Register reg, Register base, int32_t offset, Condition cond) argument
[all...]
/art/compiler/utils/mips/
H A Dassembler_mips.cc2265 void MipsAssembler::LoadFromOffset(LoadOperandType type, Register reg, Register base, argument
2269 (type == kLoadDoubleword && !IsInt<16>(static_cast<int32_t>(offset + kMipsWordSize)))) {
2276 switch (type) {
2366 void MipsAssembler::StoreToOffset(StoreOperandType type, Register reg, Register base, argument
2370 (type == kStoreDoubleword && !IsInt<16>(static_cast<int32_t>(offset + kMipsWordSize)))) {
2377 switch (type) {
/art/compiler/utils/mips64/
H A Dassembler_mips64.cc1803 void Mips64Assembler::LoadFromOffset(LoadOperandType type, GpuRegister reg, GpuRegister base, argument
1806 (type == kLoadDoubleword && !IsAligned<kMips64DoublewordSize>(offset) &&
1814 switch (type) {
1848 void Mips64Assembler::LoadFpuFromOffset(LoadOperandType type, FpuRegister reg, GpuRegister base, argument
1851 (type == kLoadDoubleword && !IsAligned<kMips64DoublewordSize>(offset) &&
1859 switch (type) {
1906 void Mips64Assembler::StoreToOffset(StoreOperandType type, GpuRegister reg, GpuRegister base, argument
1909 (type == kStoreDoubleword && !IsAligned<kMips64DoublewordSize>(offset) &&
1917 switch (type) {
1943 void Mips64Assembler::StoreFpuToOffset(StoreOperandType type, FpuRegiste argument
[all...]
/art/oatdump/
H A Doatdump.cc191 OatClassType type = oat_class.GetType(); local
192 switch (type) {
600 os << StringPrintf("type-table: 0x%08x..0x%08x\n",
624 // TODO: include bitmap here if type is kOatClassSomeCompiled?
1539 static void PrettyObjectValue(std::ostream& os, mirror::Class* type, mirror::Object* value)
1541 CHECK(type != nullptr);
1543 os << StringPrintf("null %s\n", PrettyDescriptor(type).c_str());
1544 } else if (type->IsStringClass()) {
1548 } else if (type->IsClassClass()) {
1552 os << StringPrintf("%p %s\n", value, PrettyDescriptor(type)
[all...]
/art/runtime/verifier/
H A Dmethod_verifier.cc216 InvokeType type = it->GetMethodInvokeType(*class_def); local
218 *dex_file, method_idx, dex_cache, class_loader, nullptr, type);
224 DCHECK(method->GetDeclaringClassUnchecked() != nullptr) << type;
797 // Otherwise that is the only type of method allowed.
855 // Mark the error type as encountered.
1251 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "bad type index " << idx << " (max "
1258 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "can't call new-instance on type '" << descriptor << "'";
1275 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "bad type index " << idx << " (max "
1284 Fail(VERIFY_ERROR_BAD_CLASS_HARD) << "bad type index " << idx << " (max "
1295 /* The given class must be an array type
2838 MethodType type = is_super ? METHOD_SUPER : METHOD_VIRTUAL; local
4592 VerifyError type; local
5009 const RegType& type = line->GetRegisterType(this, i); local
[all...]

Completed in 875 milliseconds

12345