Lines Matching refs:GetGraph

159   for (HBasicBlock* block : GetGraph()->GetReversePostOrder()) {  in Run()
212 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(binop->GetType(), binop); in TryMoveNegOnInputsAfterBinop()
251 hbin = new (GetGraph()->GetAllocator()) HOr(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring()
253 hbin = new (GetGraph()->GetAllocator()) HAnd(type, src_left, src_right, dex_pc); in TryDeMorganNegationFactoring()
257 hnot = new (GetGraph()->GetAllocator()) HBooleanNot(hbin, dex_pc); in TryDeMorganNegationFactoring()
259 hnot = new (GetGraph()->GetAllocator()) HNot(type, hbin, dex_pc); in TryDeMorganNegationFactoring()
289 ArenaAllocator* allocator = mul->GetBlock()->GetGraph()->GetAllocator(); in TryCombineVecMultiplyAccumulate()
371 instruction->ReplaceInput(GetGraph()->GetIntConstant(masked_cst), /* index= */ 1); in VisitShift()
423 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
671 HGraph* graph = GetGraph(); in VisitInstanceOf()
767 equal->ReplaceWith(GetGraph()->InsertOppositeCondition(input_value, equal)); in VisitEqual()
772 equal->ReplaceWith(GetGraph()->GetIntConstant(0)); in VisitEqual()
794 not_equal->ReplaceWith(GetGraph()->InsertOppositeCondition(input_value, not_equal)); in VisitNotEqual()
804 not_equal->ReplaceWith(GetGraph()->GetIntConstant(1)); in VisitNotEqual()
823 replace_with = GetGraph()->GetIntConstant(0); in VisitBooleanNot()
826 replace_with = GetGraph()->GetIntConstant(1); in VisitBooleanNot()
836 replace_with = GetGraph()->InsertOppositeCondition(input->AsCondition(), bool_not); in VisitBooleanNot()
952 replace_with = GetGraph()->InsertOppositeCondition(condition, select); in VisitSelect()
979 replace_with = NewIntegralMinMax(GetGraph()->GetAllocator(), a, b, select, is_min); in VisitSelect()
989 replace_with = NewIntegralAbs(GetGraph()->GetAllocator(), a, select); in VisitSelect()
1004 replace_with = NewIntegralAbs(GetGraph()->GetAllocator(), true_value, select); in VisitSelect()
1315 new(GetGraph()->GetAllocator()) HSub(instruction->GetType(), other, neg->GetInput()); in VisitAdd()
1395 HConstant* new_const = GetGraph()->GetConstant(DataType::Type::kInt32, value); in VisitAnd()
1397 new (GetGraph()->GetAllocator()) HAnd(DataType::Type::kInt32, new_and_input, new_const); in VisitAnd()
1400 new (GetGraph()->GetAllocator()) HTypeConversion(DataType::Type::kInt64, new_and); in VisitAnd()
1425 HUShr* ushr = new (GetGraph()->GetAllocator()) HUShr(instruction->GetType(), in VisitAnd()
1450 HTypeConversion* type_conversion = new (GetGraph()->GetAllocator()) HTypeConversion( in VisitAnd()
1561 condition->ReplaceWith(condition->GetBlock()->GetGraph()->GetIntConstant(value)); in RecognizeAndSimplifyClassCheck()
1578 GetOppositeConditionSwapOps(block->GetGraph()->GetAllocator(), condition); in VisitCondition()
1614 if (GetGraph()->IsDebuggable()) { in VisitCondition()
1674 instruction, new (GetGraph()->GetAllocator()) HNeg(type, input_other)); in VisitDiv()
1688 reciprocal = GetGraph()->GetDoubleConstant(1.0 / value); in VisitDiv()
1694 reciprocal = GetGraph()->GetFloatConstant(1.0f / value); in VisitDiv()
1700 instruction, new (GetGraph()->GetAllocator()) HMul(type, input_other, reciprocal)); in VisitDiv()
1758 ArenaAllocator* allocator = GetGraph()->GetAllocator(); in TryToReuseDiv()
1777 ArenaAllocator* allocator = GetGraph()->GetAllocator(); in VisitMul()
1838 HIntConstant* shift = GetGraph()->GetIntConstant(WhichPowerOf2(factor)); in VisitMul()
1851 GetGraph()->GetIntConstant(WhichPowerOf2(factor - 1))); in VisitMul()
1866 GetGraph()->GetIntConstant(WhichPowerOf2(factor + 1))); in VisitMul()
1916 HSub* new_sub = new (GetGraph()->GetAllocator()) HSub( in VisitNeg()
2019 ArenaAllocator* allocator = GetGraph()->GetAllocator(); in VisitSub()
2051 HAdd* add = new(GetGraph()->GetAllocator()) HAdd(type, left, right->AsNeg()->GetInput()); in VisitSub()
2067 HAdd* add = new(GetGraph()->GetAllocator()) HAdd(type, left->AsNeg()->GetInput(), right); in VisitSub()
2069 HNeg* neg = new (GetGraph()->GetAllocator()) HNeg(instruction->GetType(), add); in VisitSub()
2131 HBooleanNot* boolean_not = new (GetGraph()->GetAllocator()) HBooleanNot(input_other); in VisitXor()
2142 HNot* bitwise_not = new (GetGraph()->GetAllocator()) HNot(instruction->GetType(), input_other); in VisitXor()
2186 instruction->ReplaceWith(GetGraph()->GetIntConstant(1)); in SimplifyStringEquals()
2326 nan = GetGraph()->GetLongConstant(0x7ff8000000000000L); in SimplifyFP2Int()
2333 nan = GetGraph()->GetIntConstant(0x7fc00000); in SimplifyFP2Int()
2340 HCondition* condition = new (GetGraph()->GetAllocator()) HNotEqual(x, x, dex_pc); in SimplifyFP2Int()
2344 HInstruction* select = new (GetGraph()->GetAllocator()) HSelect(condition, nan, invoke, dex_pc); in SimplifyFP2Int()
2353 ArenaAllocator* allocator = GetGraph()->GetAllocator(); in SimplifyStringCharAt()
2369 GetGraph()->SetHasBoundsChecks(true); in SimplifyStringCharAt()
2378 new (GetGraph()->GetAllocator()) HArrayLength(str, dex_pc, /* is_string_length= */ true); in SimplifyStringLength()
2392 invoke->ReplaceWith(GetGraph()->GetIntConstant(-1)); in SimplifyStringIndexOf()
2404 ArenaAllocator* allocator = GetGraph()->GetAllocator(); in SimplifyStringIndexOf()
2406 new (allocator) HEqual(invoke->InputAt(1), GetGraph()->GetIntConstant(c), dex_pc); in SimplifyStringIndexOf()
2409 GetGraph()->GetIntConstant(0), in SimplifyStringIndexOf()
2410 GetGraph()->GetIntConstant(-1), in SimplifyStringIndexOf()
2616 HIntConstant* fmt = block->GetGraph()->GetIntConstant(static_cast<int32_t>(format)); in TryReplaceStringBuilderAppend()
2617 ArenaAllocator* allocator = block->GetGraph()->GetAllocator(); in TryReplaceStringBuilderAppend()
2901 HConstant* const3 = block->GetGraph()->GetConstant(type, const3_val); in TrySubtractionChainSimplification()