Home
last modified time | relevance | path

Searched defs:constant (Results 1 – 25 of 45) sorted by relevance

12

/art/compiler/optimizing/
Dlocations.cc65 HConstant* constant = instruction->AsConstantOrNull(); in RegisterOrInt32Constant() local
76 HConstant* constant = instruction->AsConstantOrNull(); in FpuRegisterOrInt32Constant() local
Dconstant_folding.cc128 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation() local
198 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation() local
221 HConstant* constant) { in PropagateValue()
289 HConstant* constant = left->IsConstant() ? left->AsConstant() : right->AsConstant(); in VisitIf() local
607 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion() local
Dcommon_arm64.h255 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
314 inline Location ARM64EncodableConstantOrRegister(HInstruction* constant, HInstruction* instr) { in ARM64EncodableConstantOrRegister()
Dssa_builder.cc605 HFloatConstant* SsaBuilder::GetFloatEquivalent(HIntConstant* constant) { in GetFloatEquivalent()
627 HDoubleConstant* SsaBuilder::GetDoubleEquivalent(HLongConstant* constant) { in GetDoubleEquivalent()
Dcode_generator.h551 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
556 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
561 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
572 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dinstruction_builder.cc2305 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess() local
2782 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_11n(), dex_pc); in ProcessDexInstruction() local
2789 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21s(), dex_pc); in ProcessDexInstruction() local
2796 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_31i(), dex_pc); in ProcessDexInstruction() local
2803 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21h() << 16, dex_pc); in ProcessDexInstruction() local
2814 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2825 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2832 HLongConstant* constant = graph_->GetLongConstant(instruction.VRegB_51l(), dex_pc); in ProcessDexInstruction() local
2840 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
Dnodes_x86.h45 HConstant* constant) in HX86LoadFromConstantTable()
Dlive_ranges_test.cc314 HIntConstant* constant = liveness.GetInstructionFromSsaIndex(0)->AsIntConstant(); in TEST_F() local
Dssa_test.cc58 void VisitIntConstant(HIntConstant* constant) override { in VisitIntConstant()
Dbounds_check_elimination.cc37 ValueBound(HInstruction* instruction, int32_t constant) { in ValueBound()
473 int32_t constant = range->GetLower().GetConstant(); in Narrow() local
880 int32_t constant = index->AsIntConstant()->GetValue(); in VisitBoundsCheck() local
1248 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd() local
Dcode_generator_x86_64.cc1970 HConstant* constant = source.GetConstant(); in Move() local
1989 HConstant* constant = source.GetConstant(); in Move() local
2010 HConstant* constant = source.GetConstant(); in Move() local
2027 HConstant* constant = source.GetConstant(); in Move() local
2822 void LocationsBuilderX86_64::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant()
2828 void InstructionCodeGeneratorX86_64::VisitIntConstant([[maybe_unused]] HIntConstant* constant) { in VisitIntConstant()
2832 void LocationsBuilderX86_64::VisitNullConstant(HNullConstant* constant) { in VisitNullConstant()
2838 void InstructionCodeGeneratorX86_64::VisitNullConstant([[maybe_unused]] HNullConstant* constant) { in VisitNullConstant()
2842 void LocationsBuilderX86_64::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant()
2848 void InstructionCodeGeneratorX86_64::VisitLongConstant([[maybe_unused]] HLongConstant* constant) { in VisitLongConstant()
[all …]
Dcode_generator_x86.cc1640 HConstant* constant = source.GetConstant(); in Move32() local
1704 HConstant* constant = source.GetConstant(); in Move64() local
2623 void LocationsBuilderX86::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant()
2629 void InstructionCodeGeneratorX86::VisitIntConstant([[maybe_unused]] HIntConstant* constant) { in VisitIntConstant()
2633 void LocationsBuilderX86::VisitNullConstant(HNullConstant* constant) { in VisitNullConstant()
2639 void InstructionCodeGeneratorX86::VisitNullConstant([[maybe_unused]] HNullConstant* constant) { in VisitNullConstant()
2643 void LocationsBuilderX86::VisitLongConstant(HLongConstant* constant) { in VisitLongConstant()
2649 void InstructionCodeGeneratorX86::VisitLongConstant([[maybe_unused]] HLongConstant* constant) { in VisitLongConstant()
2653 void LocationsBuilderX86::VisitFloatConstant(HFloatConstant* constant) { in VisitFloatConstant()
2659 void InstructionCodeGeneratorX86::VisitFloatConstant([[maybe_unused]] HFloatConstant* constant) { in VisitFloatConstant()
[all …]
Dcode_generator_arm64.cc1641 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant()
1657 static bool CoherentConstantAndType(Location constant, DataType::Type type) { in CoherentConstantAndType()
3730 void LocationsBuilderARM64::VisitDoubleConstant(HDoubleConstant* constant) { in VisitDoubleConstant()
3737 [[maybe_unused]] HDoubleConstant* constant) { in VisitDoubleConstant()
3747 void LocationsBuilderARM64::VisitFloatConstant(HFloatConstant* constant) { in VisitFloatConstant()
3753 void InstructionCodeGeneratorARM64::VisitFloatConstant([[maybe_unused]] HFloatConstant* constant) { in VisitFloatConstant()
4669 void LocationsBuilderARM64::VisitIntConstant(HIntConstant* constant) { in VisitIntConstant()
4674 void InstructionCodeGeneratorARM64::VisitIntConstant([[maybe_unused]] HIntConstant* constant) { in VisitIntConstant()
4678 void LocationsBuilderARM64::VisitNullConstant(HNullConstant* constant) { in VisitNullConstant()
4683 void InstructionCodeGeneratorARM64::VisitNullConstant([[maybe_unused]] HNullConstant* constant) { in VisitNullConstant()
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DContainsConst.java29 public void setConst(Instruction insn, long constant); in setConst()
DFormat11n.java53 public void setConst(Instruction insn, long constant) { in setConst()
DFormat21s.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat21h.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat22b.java55 public void setConst(Instruction insn, long constant) { in setConst()
DFormat51l.java57 public void setConst(Instruction insn, long constant) { in setConst()
DFormat22s.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat31i.java54 public void setConst(Instruction insn, long constant) { in setConst()
/art/test/957-methodhandle-transforms/src/
DMain.java554 MethodHandle constant = MethodHandles.constant(int.class, 56); in testConstant() local
610 MethodHandle constant = MethodHandles.constant(long.class, 56l); in testConstant() local
625 MethodHandle constant = MethodHandles.constant(byte.class, (byte) 0x12); in testConstant() local
634 MethodHandle constant = MethodHandles.constant(boolean.class, true); in testConstant() local
643 MethodHandle constant = MethodHandles.constant(char.class, 'f'); in testConstant() local
652 MethodHandle constant = MethodHandles.constant(short.class, (short) 123); in testConstant() local
661 MethodHandle constant = MethodHandles.constant(float.class, 56.0f); in testConstant() local
670 MethodHandle constant = MethodHandles.constant(double.class, 256.0); in testConstant() local
679 MethodHandle constant = MethodHandles.constant(String.class, "256.0"); in testConstant() local
/art/runtime/verifier/
Dreg_type.h586 uint32_t constant, in ConstantType()
648 PreciseConstType(Handle<mirror::Class> cls, uint32_t constant, uint16_t cache_id) in PreciseConstType()
665 PreciseConstLoType(Handle<mirror::Class> cls, uint32_t constant, uint16_t cache_id) in PreciseConstLoType()
680 PreciseConstHiType(Handle<mirror::Class> cls, uint32_t constant, uint16_t cache_id) in PreciseConstHiType()
710 ImpreciseConstLoType(Handle<mirror::Class> cls, uint32_t constant, uint16_t cache_id) in ImpreciseConstLoType()
725 ImpreciseConstHiType(Handle<mirror::Class> cls, uint32_t constant, uint16_t cache_id) in ImpreciseConstHiType()
/art/test/952-invoke-custom/util-src/transformer/
DIndyTransformer.java129 private Object decodeConstant(int index, Constant constant) { in visitMethod()
/art/runtime/jit/
Dsmall_pattern_matcher.cc242 int32_t constant = -1; in TryMatch() local

12