Home
last modified time | relevance | path

Searched refs:UImm (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandImm.cpp43 static bool tryToreplicateChunks(uint64_t UImm, in tryToreplicateChunks() argument
51 ++Counts[getChunk(UImm, Idx)]; in tryToreplicateChunks()
73 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
90 Imm16 = (UImm >> ShiftAmt) & 0xFFFF; in tryToreplicateChunks()
150 static bool trySequenceOfOnes(uint64_t UImm, in trySequenceOfOnes() argument
159 int64_t Chunk = getChunk(UImm, Idx); in trySequenceOfOnes()
186 uint64_t OrrImm = UImm; in trySequenceOfOnes()
289 if (UImm == 0 || ~UImm == 0) in decomposeIntoOrrOfLogicalImmediates()
579 uint64_t OneChunk = UImm | ShiftedMask; in expandMOVImm()
580 uint64_t RotatedImm = (UImm << 32) | (UImm >> 32); in expandMOVImm()
[all …]
H A DAArch64MIPeepholeOpt.cpp152 T UImm = static_cast<T>(Imm); in splitBitmaskImm() local
153 if (AArch64_AM::isLogicalImmediate(UImm, RegSize)) in splitBitmaskImm()
158 AArch64_IMM::expandMOVImm(UImm, RegSize, Insn); in splitBitmaskImm()
167 unsigned LowestBitSet = llvm::countr_zero(UImm); in splitBitmaskImm()
168 unsigned HighestBitSet = Log2_64(UImm); in splitBitmaskImm()
176 T NewImm2 = UImm | ~NewImm1; in splitBitmaskImm()
H A DAArch64InstrInfo.cpp7014 uint64_t UImm = SignExtend64(Imm, BitSize); in genAlternativeCodeSequence() local
7017 AArch64_IMM::expandMOVImm(UImm, BitSize, Insn); in genAlternativeCodeSequence()
7123 uint64_t UImm = SignExtend64(-Imm, BitSize); in genAlternativeCodeSequence() local
7126 AArch64_IMM::expandMOVImm(UImm, BitSize, Insn); in genAlternativeCodeSequence()
H A DAArch64InstrFormats.td302 let Name = "UImm" # Width # "s" # Scale;
303 let DiagnosticType = "InvalidMemoryIndexed" # Scale # "UImm" # Width;
1558 let Name = "UImm" # Width # "s" # Scale # "Range";
1559 let DiagnosticType = "InvalidMemoryIndexedRange" # Scale # "UImm" # Width;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZvk.td23 int64_t UImm;
24 if (MCOp.evaluateAsConstantImm(UImm))
25 return isUInt<5>(UImm);
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsInstrInfo.td594 let DiagnosticType = "UImm" # Bits # "_" # Offset;
618 let Name = "UImm" # Bits;
622 let DiagnosticType = "UImm" # Bits;
689 // an UImm, this takes a UImm and renders it as an SImm.
961 !cast<AsmOperandClass>("UImm" # I # "AsmOperandClass");
981 !cast<AsmOperandClass>("UImm" # I # "AsmOperandClass");
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp1830 else if (auto UImm = Int.tryZExtValue(); !Int.isSigned() && UImm.has_value()) in parseImmediateOperand() local
1831 Dest = MachineOperand::CreateImm(*UImm); in parseImmediateOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17285 uint64_t UImm = static_cast<uint64_t>(Imm); in decomposeMulByConstant() local
17286 if (isPowerOf2_64(UImm + 1) || isPowerOf2_64(UImm - 1) || in decomposeMulByConstant()
17287 isPowerOf2_64(1 - UImm) || isPowerOf2_64(-1 - UImm)) in decomposeMulByConstant()