Home
last modified time | relevance | path

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

12

/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.h624 HConstant* GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc = kNoDexPc);
745 void InsertConstant(HConstant* instruction);
3163 class HConstant : public HExpression<0> {
3165 explicit HConstant(InstructionKind kind, DataType::Type type, uint32_t dex_pc = kNoDexPc)
3188 class HNullConstant final : public HConstant {
3208 : HConstant(kNullConstant, DataType::Type::kReference, dex_pc) {
3216 class HIntConstant final : public HConstant {
3248 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc), value_(value) {
3251 : HConstant(kIntConstant, DataType::Type::kInt32, dex_pc),
3262 class HLongConstant final : public HConstant {
[all …]
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()
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()
222 HConstant* input = inputs[i]->AsConstant(); in HandleInvoke()
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.cc180 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
412 HConstant* mask = bin_op->GetConstantRight(); in VisitShift()
932 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax()
1309 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion()
1364 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd()
1451 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
1487 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1745 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv()
1776 HConstant* reciprocal = nullptr; in VisitDiv()
1833 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.h525 static int8_t GetInt8ValueOf(HConstant* constant) { in GetInt8ValueOf()
530 static int16_t GetInt16ValueOf(HConstant* constant) { in GetInt16ValueOf()
535 static int32_t GetInt32ValueOf(HConstant* constant) { in GetInt32ValueOf()
546 static int64_t GetInt64ValueOf(HConstant* constant) { in GetInt64ValueOf()
Dcommon_arm.h174 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dcommon_arm64.h254 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Dnodes.cc809 void HGraph::InsertConstant(HConstant* constant) { in InsertConstant()
875 HConstant* HGraph::GetConstant(DataType::Type type, int64_t value, uint32_t dex_pc) { in GetConstant()
1768 HConstant* HTypeConversion::TryStaticEvaluation() const { in TryStaticEvaluation()
1862 HConstant* HUnaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1877 HConstant* HBinaryOperation::TryStaticEvaluation() const { in TryStaticEvaluation()
1902 HConstant* HBinaryOperation::GetConstantRight() const { in GetConstantRight()
Dgraph_visualizer.cc324 HConstant* constant = location.GetConstant(); in DumpLocation()
Dcode_generator_arm_vixl.h317 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dcode_generator_arm64.h662 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dgraph_checker.cc1113 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dcode_generator_arm64.cc1409 void CodeGeneratorARM64::MoveConstant(CPURegister destination, HConstant* constant) { in MoveConstant()
1427 HConstant* cst = constant.GetConstant(); in CoherentConstantAndType()
1464 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1536 HConstant* src_cst = source.GetConstant(); in MoveLocation()
3706 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in VisitSelect()
3707 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in VisitSelect()
Dcode_generator_x86_64.cc1626 HConstant* constant = source.GetConstant(); in Move()
1643 HConstant* constant = source.GetConstant(); in Move()
1664 HConstant* constant = source.GetConstant(); in Move()
1681 HConstant* constant = source.GetConstant(); in Move()
5991 HConstant* constant = source.GetConstant(); in EmitMove()
Dcode_generator_vector_arm64_sve.cc46 static bool SVECanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in SVECanEncodeConstantAsImmediate()
Dinliner.cc1146 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
Dcode_generator_vector_arm64_neon.cc44 inline bool NEONCanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in NEONCanEncodeConstantAsImmediate()
Dcode_generator_x86.cc1385 HConstant* constant = source.GetConstant(); in Move32()
1449 HConstant* constant = source.GetConstant(); in Move64()
6870 HConstant* constant = source.GetConstant(); in EmitMove()
8731 HConstant *value = insn->GetConstant(); in VisitX86LoadFromConstantTable()

12