Home
last modified time | relevance | path

Searched refs:UImm (Results 1 – 7 of 7) 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()
193 const uint64_t Chunk = getChunk(UImm, Idx); in trySequenceOfOnes()
226 Insn.push_back({ AArch64::MOVKXi, getChunk(UImm, FirstMovkIdx), in trySequenceOfOnes()
235 Insn.push_back({ AArch64::MOVKXi, getChunk(UImm, SecondMovkIdx), in trySequenceOfOnes()
[all …]
H A DAArch64MIPeepholeOpt.cpp154 T UImm = static_cast<T>(Imm); in splitBitmaskImm() local
155 if (AArch64_AM::isLogicalImmediate(UImm, RegSize)) in splitBitmaskImm()
160 AArch64_IMM::expandMOVImm(UImm, RegSize, Insn); in splitBitmaskImm()
169 unsigned LowestBitSet = llvm::countr_zero(UImm); in splitBitmaskImm()
170 unsigned HighestBitSet = Log2_64(UImm); in splitBitmaskImm()
178 T NewImm2 = UImm | ~NewImm1; in splitBitmaskImm()
H A DAArch64InstrInfo.cpp7072 uint64_t UImm = SignExtend64(Imm, BitSize); in genAlternativeCodeSequence() local
7075 AArch64_IMM::expandMOVImm(UImm, BitSize, Insn); in genAlternativeCodeSequence()
7181 uint64_t UImm = SignExtend64(-Imm, BitSize); in genAlternativeCodeSequence() local
7184 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/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.cpp1836 else if (auto UImm = Int.tryZExtValue(); !Int.isSigned() && UImm.has_value()) in parseImmediateOperand() local
1837 Dest = MachineOperand::CreateImm(*UImm); in parseImmediateOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp17497 uint64_t UImm = static_cast<uint64_t>(Imm); in decomposeMulByConstant() local
17498 if (isPowerOf2_64(UImm + 1) || isPowerOf2_64(UImm - 1) || in decomposeMulByConstant()
17499 isPowerOf2_64(1 - UImm) || isPowerOf2_64(-1 - UImm)) in decomposeMulByConstant()