Searched refs:NegImm (Results 1 – 2 of 2) sorted by relevance
204 bool NegImm = cast<ConstantInt>(I->getOperand(1))->isNegative(); in isSafeOverflow() local205 bool IsDecreasing = ((Opc == Instruction::Sub) && !NegImm) || in isSafeOverflow()206 ((Opc == Instruction::Add) && NegImm); in isSafeOverflow()
120 int64_t NegImm = -Imm.getSExtValue(); in getIntImmCost() local121 if (ST->isThumb2() && NegImm < 1<<12) in getIntImmCost()124 if (ST->isThumb() && NegImm < 1<<8) in getIntImmCost()