Home
last modified time | relevance | path

Searched defs:constant (Results 1 – 25 of 41) 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.h241 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
300 inline Location ARM64EncodableConstantOrRegister(HInstruction* constant, in ARM64EncodableConstantOrRegister()
Dcode_generator.h524 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
529 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
534 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
545 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dssa_builder.cc606 HFloatConstant* SsaBuilder::GetFloatEquivalent(HIntConstant* constant) { in GetFloatEquivalent()
628 HDoubleConstant* SsaBuilder::GetDoubleEquivalent(HLongConstant* constant) { in GetDoubleEquivalent()
Dinstruction_builder.cc1984 HLoadClass* constant = BuildLoadClass(klass->GetDexTypeIndex(), in BuildStaticFieldAccess() local
2405 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_11n(), dex_pc); in ProcessDexInstruction() local
2412 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21s(), dex_pc); in ProcessDexInstruction() local
2419 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_31i(), dex_pc); in ProcessDexInstruction() local
2426 HIntConstant* constant = graph_->GetIntConstant(instruction.VRegB_21h() << 16, dex_pc); in ProcessDexInstruction() local
2437 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2448 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
2455 HLongConstant* constant = graph_->GetLongConstant(instruction.VRegB_51l(), dex_pc); in ProcessDexInstruction() local
2463 HLongConstant* constant = graph_->GetLongConstant(value, dex_pc); in ProcessDexInstruction() local
Dnodes_x86.h45 HConstant* constant) in HX86LoadFromConstantTable()
Dlive_ranges_test.cc313 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
1235 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd() local
Dinstruction_simplifier.cc178 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
1217 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion() local
2842 static int64_t GetValue(HConstant* constant, bool is_negated) { in GetValue()
Dload_store_elimination.cc551 HInstruction* constant = GetDefaultValue(instruction->GetType()); in VisitGetLocation() local
Dnodes.cc635 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
723 void HGraph::CacheFloatConstant(HFloatConstant* constant) { in CacheFloatConstant()
729 void HGraph::CacheDoubleConstant(HDoubleConstant* constant) { in CacheDoubleConstant()
Dlocations.h105 static Location ConstantLocation(HConstant* constant) { in ConstantLocation()
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DContainsConst.java29 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()
DFormat11n.java53 public void setConst(Instruction insn, long constant) { in setConst()
DFormat21s.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat51l.java57 public void setConst(Instruction insn, long constant) { in setConst()
DFormat31i.java54 public void setConst(Instruction insn, long constant) { in setConst()
DFormat22s.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.h705 ConstantType(uint32_t constant, uint16_t cache_id) REQUIRES_SHARED(Locks::mutator_lock_) in ConstantType()
766 PreciseConstType(uint32_t constant, uint16_t cache_id) in PreciseConstType()
783 PreciseConstLoType(uint32_t constant, uint16_t cache_id) in PreciseConstLoType()
798 PreciseConstHiType(uint32_t constant, uint16_t cache_id) in PreciseConstHiType()
828 ImpreciseConstLoType(uint32_t constant, uint16_t cache_id) in ImpreciseConstLoType()
843 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