Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td483 def NegImm : SDNodeXForm<imm, [{
1404 (SLTUI (ADDI_W GPR:$rj, (NegImm simm12_plus1:$imm12)), 1)>;
1408 (SLTUI (ADDI_D GPR:$rj, (NegImm simm12_plus1:$imm12)), 1)>;
1414 (SLTU R0, (ADDI_W GPR:$rj, (NegImm simm12_plus1:$imm12)))>;
1418 (SLTU R0, (ADDI_D GPR:$rj, (NegImm simm12_plus1:$imm12)))>;
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp427 int64_t NegImm = -Imm.getSExtValue(); in getIntImmCostInst() local
428 if (ST->isThumb2() && NegImm < 1<<12) in getIntImmCostInst()
431 if (ST->isThumb() && NegImm < 1<<8) in getIntImmCostInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp343 uint32_t NegImm = (static_cast<uint32_t>(NegHi) << 16) | NegLo; in tryFoldImmWithOpSel() local
345 if (tryFoldToInline(NegImm)) { in tryFoldImmWithOpSel()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.td405 def NegImm : SDNodeXForm<imm, [{
1428 (Select_GPR_Using_CC_GPR (XLenVT (ADDI GPR:$lhs, (NegImm simm12:$Constant))), (XLenVT X0),
1451 (Inst (XLenVT (ADDI GPR:$lhs, (NegImm simm12:$Constant))),
H A DRISCVInstrInfoVPseudos.td6251 (NegImm simm5_plus1:$rs2),
6263 (NegImm simm5_plus1:$rs2),