Home
last modified time | relevance | path

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

12

/art/compiler/optimizing/
Dlocations.cc65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant() local
76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant() local
Dconstant_folding.cc94 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation() local
104 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation() local
117 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion() local
Dcommon_arm64.h236 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
295 inline Location ARM64EncodableConstantOrRegister(HInstruction* constant, in ARM64EncodableConstantOrRegister()
Dcode_generator.h491 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
496 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
501 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
512 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dssa_builder.cc587 HFloatConstant* SsaBuilder::GetFloatEquivalent(HIntConstant* constant) { in GetFloatEquivalent()
609 HDoubleConstant* SsaBuilder::GetDoubleEquivalent(HLongConstant* constant) { in GetDoubleEquivalent()
Dinstruction_builder.cc1689 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess() local
2110 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_11n(), dex_pc); in ProcessDexInstruction() local
2117 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21s(), dex_pc); in ProcessDexInstruction() local
2124 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_31i(), dex_pc); in ProcessDexInstruction() local
2131 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21h() << 16, dex_pc); in ProcessDexInstruction() local
2142 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2153 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2160 HLongConstant* constant = graph_->GetLongConstant(instruction.VRegB_51l(), dex_pc); in ProcessDexInstruction() local
2168 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
Dnodes_x86.h45 HConstant* constant) in HX86LoadFromConstantTable()
Dlive_ranges_test.cc310 HIntConstant* constant = liveness.GetInstructionFromSsaIndex(0)->AsIntConstant(); in TEST_F() local
Dssa_test.cc57 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
867 int32_t constant = index->AsIntConstant()->GetValue(); in VisitBoundsCheck() local
1134 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd() local
Dinstruction_simplifier.cc171 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
1221 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion() local
2731 static int64_t GetValue(HConstant* constant, bool is_negated) { in GetValue()
Dload_store_elimination.cc556 HInstruction* constant = GetDefaultValue(instruction->GetType()); in VisitGetLocation() local
Dlocations.h105 static Location ConstantLocation(HConstant* constant) { in ConstantLocation()
Dnodes.cc636 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
724 void HGraph::CacheFloatConstant(HFloatConstant* constant) { in CacheFloatConstant()
730 void HGraph::CacheDoubleConstant(HDoubleConstant* constant) { in CacheDoubleConstant()
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DContainsConst.java29 public void setConst(Instruction insn, long constant); in setConst()
DFormat51l.java57 public void setConst(Instruction insn, long constant) { in setConst()
DFormat22b.java55 public void setConst(Instruction insn, long constant) { in setConst()
DFormat11n.java53 public void setConst(Instruction insn, long constant) { in setConst()
DFormat31i.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat21s.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat22s.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat21h.java54 public void setConst(Instruction insn, long constant) { in setConst()
/art/test/957-methodhandle-transforms/src/
DMain.java553 MethodHandle constant = MethodHandles.constant(int.class, 56); in testConstant() local
609 MethodHandle constant = MethodHandles.constant(long.class, 56l); in testConstant() local
624 MethodHandle constant = MethodHandles.constant(byte.class, (byte) 0x12); in testConstant() local
633 MethodHandle constant = MethodHandles.constant(boolean.class, true); in testConstant() local
642 MethodHandle constant = MethodHandles.constant(char.class, 'f'); in testConstant() local
651 MethodHandle constant = MethodHandles.constant(short.class, (short) 123); in testConstant() local
660 MethodHandle constant = MethodHandles.constant(float.class, 56.0f); in testConstant() local
669 MethodHandle constant = MethodHandles.constant(double.class, 256.0); in testConstant() local
678 MethodHandle constant = MethodHandles.constant(String.class, "256.0"); in testConstant() local
/art/runtime/verifier/
Dreg_type.h727 ConstantType(uint32_t constant, uint16_t cache_id) REQUIRES_SHARED(Locks::mutator_lock_) in ConstantType()
788 PreciseConstType(uint32_t constant, uint16_t cache_id) in PreciseConstType()
805 PreciseConstLoType(uint32_t constant, uint16_t cache_id) in PreciseConstLoType()
820 PreciseConstHiType(uint32_t constant, uint16_t cache_id) in PreciseConstHiType()
850 ImpreciseConstLoType(uint32_t constant, uint16_t cache_id) in ImpreciseConstLoType()
865 ImpreciseConstHiType(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()

12