Searched refs:IsAdd (Results 1 – 17 of 17) sorted by relevance
44 EXPECT_TRUE(chunks[0]->IsAdd()); in TEST()90 EXPECT_TRUE(chunks[0]->IsAdd()); in TEST()132 EXPECT_TRUE(chunks[0]->IsAdd()); in TEST()145 EXPECT_TRUE(chunks[1]->IsAdd()); in TEST()234 EXPECT_FALSE(chunks[0]->IsAdd()); in TEST()284 EXPECT_FALSE(chunks[0]->IsAdd()); in TEST()572 EXPECT_TRUE(chunks[0]->IsAdd()); in TEST()606 EXPECT_TRUE(chunks[0]->IsAdd()); in TEST()615 EXPECT_TRUE(chunks[1]->IsAdd()); in TEST()622 EXPECT_TRUE(chunks[2]->IsAdd()); in TEST()[all …]
71 bool IsAdd() const;
95 bool SBChunkData::IsAdd() const { in IsAdd() function in SBChunkData
901 if (chunks[i]->IsAdd()) { in InsertChunks()
14 if (!index->IsAdd() && !index->IsSub()) return; in DehoistArrayIndex()19 if (binary_operation->left()->IsConstant() && index->IsAdd()) { in DehoistArrayIndex()
38 if (check->index()->IsAdd()) { in Create()228 if (index_raw->IsAdd() || index_raw->IsSub()) { in MoveIndexIfNecessary()
270 } else if (value->IsAdd() || value->IsSub()) { in PropagateMinusZeroChecks()
2038 if (base->IsAdd()) { in DecomposeBitwise()2201 if (phi_operand->IsAdd()) { in ComputeIncrement()
9956 if (instr->IsAdd()) { in BuildIncrement()
661 bool IsAdd = (N->getOpcode() == ISD::ADD); in SelectADD_SUB_I64() local680 unsigned Opc = IsAdd ? AMDGPU::S_ADD_I32 : AMDGPU::S_SUB_I32; in SelectADD_SUB_I64()681 unsigned CarryOpc = IsAdd ? AMDGPU::S_ADDC_U32 : AMDGPU::S_SUBB_U32; in SelectADD_SUB_I64()684 Opc = IsAdd ? AMDGPU::V_ADD_I32_e32 : AMDGPU::V_SUB_I32_e32; in SelectADD_SUB_I64()685 CarryOpc = IsAdd ? AMDGPU::V_ADDC_U32_e32 : AMDGPU::V_SUBB_U32_e32; in SelectADD_SUB_I64()
1496 bool IsAdd = BO->getOpcode() == BO_Add; in CheckIncRHS() local1498 return SetStep(BO->getRHS(), !IsAdd); in CheckIncRHS()1499 if (IsAdd && GetInitVarDecl(BO->getRHS()) == Var) in CheckIncRHS()1503 bool IsAdd = CE->getOperator() == OO_Plus; in CheckIncRHS() local1504 if ((IsAdd || CE->getOperator() == OO_Minus) && CE->getNumArgs() == 2) { in CheckIncRHS()1506 return SetStep(CE->getArg(1), !IsAdd); in CheckIncRHS()1507 if (IsAdd && GetInitVarDecl(CE->getArg(1)) == Var) in CheckIncRHS()
1528 if (instr->HasOneUse() && (instr->uses().value()->IsAdd() || in DoMul()1532 if (use->IsAdd() && instr == use->left()) { in DoMul()1537 if (instr == use->right() && use->IsAdd() && !use->left()->IsMul()) { in DoMul()
2266 if (hydrogen()->value()->IsAdd() || hydrogen()->value()->IsSub() || in NeedsCanonicalization()
2494 if (hydrogen()->value()->IsAdd() || hydrogen()->value()->IsSub() || in NeedsCanonicalization()3212 if (instr->IsAdd() || instr->IsSub()) { in LikelyFitsImmField()
2104 if (!(val->IsBitwise() || val->IsAdd() || val->IsSub())) return NULL; in CanTransformToShiftedOp()2199 } else if (hinstr->IsAdd()) { in DoShiftedBinaryOp()
1523 if (instr->HasOneUse() && instr->uses().value()->IsAdd()) { in DoMul()
1524 if (instr->HasOneUse() && instr->uses().value()->IsAdd()) { in DoMul()