Home
last modified time | relevance | path

Searched refs:NegImm (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMCodeGenPrepare.cpp204 bool NegImm = cast<ConstantInt>(I->getOperand(1))->isNegative(); in isSafeOverflow() local
205 bool IsDecreasing = ((Opc == Instruction::Sub) && !NegImm) || in isSafeOverflow()
206 ((Opc == Instruction::Add) && NegImm); in isSafeOverflow()
DARMTargetTransformInfo.cpp120 int64_t NegImm = -Imm.getSExtValue(); in getIntImmCost() local
121 if (ST->isThumb2() && NegImm < 1<<12) in getIntImmCost()
124 if (ST->isThumb() && NegImm < 1<<8) in getIntImmCost()