Home
last modified time | relevance | path

Searched refs:HConstant (Results 1 – 22 of 22) 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()
220 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
232 HConstant* input_cst = instruction->GetConstantRight(); in VisitCompare()
252 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
269 HConstant* input_cst = instruction->GetConstantRight(); in VisitOr()
304 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
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()
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()
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()
Dinstruction_simplifier.cc171 bool AreAllBitsSet(HConstant* constant) { in AreAllBitsSet()
398 HConstant* mask = bin_op->GetConstantRight(); in VisitShift()
908 HConstant* other = c->AsBinaryOperation()->GetConstantRight(); in AllowInMinMax()
1221 HConstant* constant = input_and->GetConstantRight(); in VisitTypeConversion()
1276 HConstant* input_cst = instruction->GetConstantRight(); in VisitAdd()
1363 HConstant* input_cst = instruction->GetConstantRight(); in VisitAnd()
1399 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1657 HConstant* input_cst = instruction->GetConstantRight(); in VisitDiv()
1688 HConstant* reciprocal = nullptr; in VisitDiv()
1712 HConstant* input_cst = instruction->GetConstantRight(); in VisitMul()
[all …]
Dgraph_checker.h58 void VisitConstant(HConstant* instruction) override;
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()
Dcommon_arm.h183 HConstant* instr = location.GetConstant(); in Int64ConstantFrom()
Dcommon_arm64.h236 inline bool Arm64CanEncodeConstantAsImmediate(HConstant* constant, HInstruction* instr) { in Arm64CanEncodeConstantAsImmediate()
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate()
Dcode_generator_mips.h384 void MoveConstant(Location location, HConstant* c);
Dgraph_visualizer.cc291 HConstant* constant = location.GetConstant(); in DumpLocation()
Dcode_generator_arm64.h507 void MoveConstant(vixl::aarch64::CPURegister destination, HConstant* constant);
Dcode_generator_arm_vixl.h294 bool CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode);
Dgraph_checker.cc1107 void GraphChecker::VisitConstant(HConstant* instruction) { in VisitConstant()
Dinliner.cc1243 HConstant* constant; in TryInlinePolymorphicCallToSameTarget()
Dcode_generator_mips64.cc1210 HConstant* src_cst = source.IsConstant() ? source.GetConstant() : nullptr; in MoveLocation()
1353 HConstant* src_cst = source.GetConstant(); in MoveLocation()
4527 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally()
4528 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally()
Dcode_generator_arm_vixl.cc1762 static bool CanEncodeConstantAs8BitImmediate(HConstant* constant) { in CanEncodeConstantAs8BitImmediate()
5556 bool LocationsBuilderARMVIXL::CanEncodeConstantAsImmediate(HConstant* input_cst, Opcode opcode) { in CanEncodeConstantAsImmediate()
6750 HConstant* constant = source.GetConstant(); in EmitMove()
Dcode_generator_mips.cc1523 void CodeGeneratorMIPS::MoveConstant(Location destination, HConstant* c) { in MoveConstant()
5993 HConstant* cst_true_value = select->GetTrueValue()->AsConstant(); in CanMoveConditionally()
5994 HConstant* cst_false_value = select->GetFalseValue()->AsConstant(); in CanMoveConditionally()