Home
last modified time | relevance | path

Searched refs:HConstant (Results 1 – 25 of 26) sorted by relevance

12

/art/compiler/optimizing/
Dconstant_folding.cc93 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation()
103 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation()
116 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion()
219 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
231 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare()
251 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
268 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr()
303 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
Dnodes.h530 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
639 void InsertConstant(HConstant* instruction);
2843 class HConstant : public HExpression<0> {
2845 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc)
2868 class HNullConstant FINAL : public HConstant {
2888 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { in HConstant() function
2896 class HIntConstant FINAL : public HConstant {
2928 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { in HConstant() function
2931 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), in HConstant() function
2942 class HLongConstant FINAL : public HConstant {
[all …]
Dnodes_x86.h45 HConstant* constant) in HX86LoadFromConstantTable()
58 HConstant* GetConstant() const { in GetConstant()
Dpc_relative_fixups_x86.cc65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn()
104 HConstant* rhs = bin->InputAt(1)->AsConstant(); in BinaryFP()
190 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { in ReplaceInput()
227 HConstant* input = inputs[i]->AsConstant(); in HandleInvoke()
Dnodes_shared.h100 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const OVERRIDE { in Evaluate()
104 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const OVERRIDE { in Evaluate()
108 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
113 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
Dlocations.cc65 HConstant* constant = instruction->AsConstant(); in RegisterOrInt32Constant()
76 HConstant* constant = instruction->AsConstant(); in FpuRegisterOrInt32Constant()
Dinstruction_simplifier.cc164 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
391 HConstant* mask = bin_op->GetConstantRight(); in VisitShift()
1190 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion()
1234 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd()
1321 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
1357 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1616 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv()
1647 HConstant* reciprocal = nullptr; in VisitDiv()
1671 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
1846 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr()
[all …]
Dlocations.h29 class HConstant; variable
105 static Location ConstantLocation(HConstant* constant) { in ConstantLocation()
110 HConstant* GetConstant() const { in GetConstant()
112 return reinterpret_cast<HConstant*>(value_ & ~kLocationConstantMask); in GetConstant()
Dgraph_checker.h60 void VisitConstant(HConstant* instruction) OVERRIDE;
Dcode_generator.h487 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
492 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
497 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
508 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dcommon_arm64.h155 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
237 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Dcommon_arm.h183 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dnodes.cc633 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
699 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant()
1507 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation()
1601 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1616 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1641 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
Dcode_generator_mips.h379 void MoveConstant(Location location, HConstant* c);
Dcode_generator_arm64.h499 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dcode_generator_arm_vixl.h289 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dgraph_visualizer.cc292 HConstant* constant = location.GetConstant(); in DumpLocation()
Dgraph_checker.cc1023 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dcode_generator_arm64.cc1675 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant()
1693 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType()
1730 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1818 HConstant* src_cst = source.GetConstant(); in MoveLocation()
3737 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect()
3738 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
Dcode_generator_x86_64.cc1371 HConstant* constant = source.GetConstant(); in Move()
1388 HConstant* constant = source.GetConstant(); in Move()
1409 HConstant* constant = source.GetConstant(); in Move()
1426 HConstant* constant = source.GetConstant(); in Move()
5267 HConstant* constant = source.GetConstant(); in EmitMove()
Dcode_generator_mips64.cc1202 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1345 HConstant* src_cst = source.GetConstant(); in MoveLocation()
4383 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally()
4384 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally()
Dinliner.cc1219 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
Dcode_generator_x86.cc1249 HConstant* constant = source.GetConstant(); in Move32()
1312 HConstant* constant = source.GetConstant(); in Move64()
5849 HConstant* constant = source.GetConstant(); in EmitMove()
7578 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
Dcode_generator_arm_vixl.cc2256 static bool CanEncodeConstantAs8BitImmediate(HConstant* constant) { in CanEncodeConstantAs8BitImmediate()
5673 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate()
6859 HConstant* constant = source.GetConstant(); in EmitMove()

12