Searched refs:UImm (Results 1 – 7 of 7) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandImm.cpp | 43 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 D | AArch64MIPeepholeOpt.cpp | 160 T UImm = static_cast<T>(Imm); in splitBitmaskImm() local 161 if (AArch64_AM::isLogicalImmediate(UImm, RegSize)) in splitBitmaskImm() 166 AArch64_IMM::expandMOVImm(UImm, RegSize, Insn); in splitBitmaskImm() 175 unsigned LowestBitSet = llvm::countr_zero(UImm); in splitBitmaskImm() 176 unsigned HighestBitSet = Log2_64(UImm); in splitBitmaskImm() 184 T NewImm2 = UImm | ~NewImm1; in splitBitmaskImm()
|
| H A D | AArch64InstrInfo.cpp | 7928 uint64_t UImm = SignExtend64(IsSub ? -Imm : Imm, BitSize); in genAlternativeCodeSequence() local 7931 AArch64_IMM::expandMOVImm(UImm, BitSize, Insn); in genAlternativeCodeSequence()
|
| H A D | AArch64InstrFormats.td | 311 let Name = "UImm" # Width # "s" # Scale; 312 let DiagnosticType = "InvalidMemoryIndexed" # Scale # "UImm" # Width; 1655 let Name = "UImm" # Width # "s" # Scale # "Range"; 1656 let DiagnosticType = "InvalidMemoryIndexedRange" # Scale # "UImm" # Width;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsInstrInfo.td | 594 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. 971 !cast<AsmOperandClass>("UImm" # I # "AsmOperandClass"); 991 !cast<AsmOperandClass>("UImm" # I # "AsmOperandClass");
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 1845 else if (auto UImm = Int.tryZExtValue(); !Int.isSigned() && UImm.has_value()) in parseImmediateOperand() local 1846 Dest = MachineOperand::CreateImm(*UImm); in parseImmediateOperand()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelLowering.cpp | 18405 uint64_t UImm = static_cast<uint64_t>(Imm); in decomposeMulByConstant() local 18406 if (isPowerOf2_64(UImm + 1) || isPowerOf2_64(UImm - 1) || in decomposeMulByConstant() 18407 isPowerOf2_64(1 - UImm) || isPowerOf2_64(-1 - UImm)) in decomposeMulByConstant()
|