Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dnodes_x86.h45 HConstant* constant) in HX86LoadFromConstantTable()
58 HConstant* GetConstant() const { in GetConstant()
144 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate()
148 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate()
152 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate()
157 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate()
193 HConstant* Evaluate(HIntConstant* x) const override { in Evaluate()
196 HConstant* Evaluate(HLongConstant* x) const override { in Evaluate()
199 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate()
203 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate()
Dconstant_folding.cc94 HConstant* constant = inst->TryStaticEvaluation(); in VisitUnaryOperation()
104 HConstant* constant = inst->TryStaticEvaluation(); in VisitBinaryOperation()
117 HConstant* constant = inst->TryStaticEvaluation(); in VisitTypeConversion()
221 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
252 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare()
272 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
289 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr()
324 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
Dnodes.h603 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
721 void InsertConstant(HConstant* instruction);
2973 class HConstant : public HExpression<0> {
2975 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc)
2998 class HNullConstant final : public HConstant {
3018 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) { in HConstant() function
3026 class HIntConstant final : public HConstant {
3058 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) { in HConstant() function
3061 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), in HConstant() function
3072 class HLongConstant final : public HConstant {
[all …]
Dpc_relative_fixups_x86.cc65 HConstant* value = ret->InputAt(0)->AsConstant(); in VisitReturn()
98 HConstant* rhs = bin->InputAt(1)->AsConstant(); in BinaryFP()
184 void ReplaceInput(HInstruction* insn, HConstant* value, int input_index, bool materialize) { in ReplaceInput()
213 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_x86_shared.cc126 HConstant* cst = add->GetConstantRight(); in AreLeastSetBitInputs()
131 HConstant* cst = sub->GetConstantRight(); in AreLeastSetBitInputs()
Dinstruction_simplifier.cc178 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
394 HConstant* mask = bin_op->GetConstantRight(); in VisitShift()
904 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax()
1217 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion()
1272 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd()
1359 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
1395 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1653 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv()
1684 HConstant* reciprocal = nullptr; in VisitDiv()
1741 HConstant* input_cst = rem->GetConstantRight(); in TryToReuseDiv()
[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.h63 void VisitConstant(HConstant* instruction) override;
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()
Dcommon_arm.h174 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Dcommon_arm64.h241 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dnodes.cc635 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
701 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant()
1548 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation()
1642 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1657 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1682 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
Dgraph_visualizer.cc297 HConstant* constant = location.GetConstant(); in DumpLocation()
Dcode_generator_arm_vixl.h316 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dgraph_checker.cc1108 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dcode_generator_arm64.h636 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dcode_generator_arm64.cc1423 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant()
1441 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType()
1478 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1550 HConstant* src_cst = source.GetConstant(); in MoveLocation()
3625 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect()
3626 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
Dcode_generator_x86_64.cc1553 HConstant* constant = source.GetConstant(); in Move()
1570 HConstant* constant = source.GetConstant(); in Move()
1591 HConstant* constant = source.GetConstant(); in Move()
1608 HConstant* constant = source.GetConstant(); in Move()
5860 HConstant* constant = source.GetConstant(); in EmitMove()
Dinliner.cc1256 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
Dcode_generator_x86.cc1359 HConstant* constant = source.GetConstant(); in Move32()
1423 HConstant* constant = source.GetConstant(); in Move64()
6537 HConstant* constant = source.GetConstant(); in EmitMove()
8393 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()
Dcode_generator_arm_vixl.cc1764 static bool CanEncodeConstantAs8BitImmediate(HConstant* constant) { in CanEncodeConstantAs8BitImmediate()
5907 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate()
7119 HConstant* constant = source.GetConstant(); in EmitMove()