Home
last modified time | relevance | path

Searched defs:Imm (Results 1 – 25 of 122) sorted by relevance

12345

/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h73 static inline AArch64_AM::ShiftExtendType getShiftType(unsigned Imm) { in getShiftType()
85 static inline unsigned getShiftValue(unsigned Imm) { in getShiftValue()
99 unsigned Imm) { in getShifterImm()
118 static inline unsigned getArithShiftValue(unsigned Imm) { in getArithShiftValue()
123 static inline AArch64_AM::ShiftExtendType getExtendType(unsigned Imm) { in getExtendType()
138 static inline AArch64_AM::ShiftExtendType getArithExtendType(unsigned Imm) { in getArithExtendType()
171 unsigned Imm) { in getArithExtendImm()
178 static inline bool getMemDoShift(unsigned Imm) { in getMemDoShift()
184 static inline AArch64_AM::ShiftExtendType getMemExtendType(unsigned Imm) { in getMemExtendType()
213 static inline bool processLogicalImmediate(uint64_t Imm, unsigned RegSize, in processLogicalImmediate()
[all …]
/external/llvm/lib/Target/Mips/
DMipsAnalyzeImmediate.cpp29 void MipsAnalyzeImmediate::GetInstSeqLsADDiu(uint64_t Imm, unsigned RemSize, in GetInstSeqLsADDiu()
35 void MipsAnalyzeImmediate::GetInstSeqLsORi(uint64_t Imm, unsigned RemSize, in GetInstSeqLsORi()
41 void MipsAnalyzeImmediate::GetInstSeqLsSLL(uint64_t Imm, unsigned RemSize, in GetInstSeqLsSLL()
48 void MipsAnalyzeImmediate::GetInstSeqLs(uint64_t Imm, unsigned RemSize, in GetInstSeqLs()
94 int64_t Imm = SignExtend64<16>(Seq[0].ImmOpnd); in ReplaceADDiuSLLWithLUi() local
126 &MipsAnalyzeImmediate::Analyze(uint64_t Imm, unsigned Size, in Analyze()
DMipsISelDAGToDAG.h122 inline SDValue getImm(const SDNode *Node, uint64_t Imm) { in getImm()
/external/llvm/lib/Target/SystemZ/Disassembler/
DSystemZDisassembler.cpp126 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand()
134 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand()
141 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm, in decodeAccessRegOperand()
147 static DecodeStatus decodeU1ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU1ImmOperand()
152 static DecodeStatus decodeU2ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU2ImmOperand()
157 static DecodeStatus decodeU3ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU3ImmOperand()
162 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand()
167 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand()
172 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand()
177 static DecodeStatus decodeU12ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU12ImmOperand()
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h112 static inline unsigned getSORegOpc(ShiftOpc ShOp, unsigned Imm) { in getSORegOpc()
124 static inline unsigned getSOImmValImm(unsigned Imm) { in getSOImmValImm()
129 static inline unsigned getSOImmValRot(unsigned Imm) { in getSOImmValRot()
137 static inline unsigned getSOImmValRotate(unsigned Imm) { in getSOImmValRotate()
218 static inline unsigned getThumbImmValShift(unsigned Imm) { in getThumbImmValShift()
237 static inline unsigned getThumbImm16ValShift(unsigned Imm) { in getThumbImm16ValShift()
271 unsigned u, Vs, Imm; in getT2SOImmValSplatVal() local
335 static inline bool isT2SOImmTwoPartVal (unsigned Imm) { in isT2SOImmTwoPartVal()
362 static inline unsigned getT2SOImmTwoPartFirst(unsigned Imm) { in getT2SOImmTwoPartFirst()
379 static inline unsigned getT2SOImmTwoPartSecond(unsigned Imm) { in getT2SOImmTwoPartSecond()
[all …]
/external/llvm/lib/Target/AArch64/Disassembler/
DAArch64Disassembler.cpp590 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32()
599 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64()
606 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm, in DecodePCRelLabel19()
622 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm, in DecodeMemExtend()
629 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister()
639 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister()
670 static DecodeStatus DecodeVecShiftRImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm()
676 static DecodeStatus DecodeVecShiftLImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm()
682 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm()
687 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp195 const MCOperand &Imm, int AlignSize) { in smallData()
271 const MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local
292 MCOperand &Imm = MappedInst.getOperand(1); in HexagonProcessInstruction() local
367 int64_t Imm; in HexagonProcessInstruction() local
392 int64_t Imm; in HexagonProcessInstruction() local
425 int64_t Imm; in HexagonProcessInstruction() local
469 int64_t Imm; in HexagonProcessInstruction() local
522 MCOperand &Imm = MappedInst.getOperand(2); in HexagonProcessInstruction() local
DHexagonISelDAGToDAG.cpp116 SDValue XformMskToBitPosU5Imm(uint32_t Imm, SDLoc DL) { in XformMskToBitPosU5Imm()
126 SDValue XformMskToBitPosU4Imm(uint16_t Imm, SDLoc DL) { in XformMskToBitPosU4Imm()
132 SDValue XformMskToBitPosU3Imm(uint8_t Imm, SDLoc DL) { in XformMskToBitPosU3Imm()
145 inline SDValue XformM5ToU5Imm(signed Imm, SDLoc DL) { in XformM5ToU5Imm()
152 inline SDValue XformU7ToU7M1Imm(signed Imm, SDLoc DL) { in XformU7ToU7M1Imm()
158 inline SDValue XformSToSM1Imm(signed Imm, SDLoc DL) { in XformSToSM1Imm()
163 inline SDValue XformUToUM1Imm(unsigned Imm, SDLoc DL) { in XformUToUM1Imm()
169 inline SDValue XformSToSM2Imm(unsigned Imm, SDLoc DL) { in XformSToSM2Imm()
174 inline SDValue XformSToSM3Imm(unsigned Imm, SDLoc DL) { in XformSToSM3Imm()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp34 int SystemZTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
67 const APInt &Imm, Type *Ty) { in getIntImmCost()
185 const APInt &Imm, Type *Ty) { in getIntImmCost()
/external/llvm/lib/Target/X86/Utils/
DX86ShuffleDecode.cpp25 void DecodeINSERTPSMask(unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeINSERTPSMask()
96 void DecodePSLLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodePSLLDQMask()
110 void DecodePSRLDQMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodePSRLDQMask()
125 void DecodePALIGNRMask(MVT VT, unsigned Imm, in DecodePALIGNRMask()
146 void DecodePSHUFMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodePSHUFMask()
163 void DecodePSHUFHWMask(MVT VT, unsigned Imm, in DecodePSHUFHWMask()
179 void DecodePSHUFLWMask(MVT VT, unsigned Imm, in DecodePSHUFLWMask()
208 void DecodeSHUFPMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeSHUFPMask()
270 void decodeVSHUF64x2FamilyMask(MVT VT, unsigned Imm, in decodeVSHUF64x2FamilyMask()
287 void DecodeVPERM2X128Mask(MVT VT, unsigned Imm, in DecodeVPERM2X128Mask()
[all …]
/external/llvm/lib/Target/NVPTX/InstPrinter/
DNVPTXInstPrinter.cpp95 int64_t Imm = MO.getImm(); in printCvtMode() local
145 int64_t Imm = MO.getImm(); in printCmpMode() local
219 int Imm = (int) MO.getImm(); in printLdStCode() local
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp100 inline SDValue getI32Imm(unsigned Imm, SDLoc dl) { in getI32Imm()
106 inline SDValue getI64Imm(uint64_t Imm, SDLoc dl) { in getI64Imm()
111 inline SDValue getSmallIPtrImm(unsigned Imm, SDLoc dl) { in getSmallIPtrImm()
361 static bool isIntS16Immediate(SDNode *N, short &Imm) { in isIntS16Immediate()
372 static bool isIntS16Immediate(SDValue Op, short &Imm) { in isIntS16Immediate()
379 static bool isInt32Immediate(SDNode *N, unsigned &Imm) { in isInt32Immediate()
389 static bool isInt64Immediate(SDNode *N, uint64_t &Imm) { in isInt64Immediate()
399 static bool isInt32Immediate(SDValue N, unsigned &Imm) { in isInt32Immediate()
458 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { in isOpcWithIntImmediate()
597 static unsigned SelectInt64CountDirect(int64_t Imm) { in SelectInt64CountDirect()
[all …]
DPPCTargetTransformInfo.cpp38 int PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
67 int PPCTTIImpl::getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost()
101 int PPCTTIImpl::getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost()
/external/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp300 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
308 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
315 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIOperands()
350 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIXOperands()
371 static DecodeStatus decodeCRBitMOperand(MCInst &Inst, uint64_t Imm, in decodeCRBitMOperand()
/external/llvm/lib/Target/X86/InstPrinter/
DX86ATTInstPrinter.cpp74 int64_t Imm = MI->getOperand(Op).getImm(); in printSSEAVXCC() local
114 int64_t Imm = MI->getOperand(Op).getImm(); in printXOPCC() local
130 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; in printRoundingControl() local
DX86IntelInstPrinter.cpp56 int64_t Imm = MI->getOperand(Op).getImm(); in printSSEAVXCC() local
96 int64_t Imm = MI->getOperand(Op).getImm(); in printXOPCC() local
112 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; in printRoundingControl() local
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp131 int64_t Imm; in prints3_6ImmOperand() local
141 int64_t Imm; in prints3_7ImmOperand() local
151 int64_t Imm; in prints4_6ImmOperand() local
161 int64_t Imm; in prints4_7ImmOperand() local
/external/llvm/lib/Target/AMDGPU/InstPrinter/
DAMDGPUInstPrinter.cpp83 uint16_t Imm = MI->getOperand(OpNo).getImm(); in printDSOffset() local
232 void AMDGPUInstPrinter::printImmediate32(uint32_t Imm, raw_ostream &O) { in printImmediate32()
261 void AMDGPUInstPrinter::printImmediate64(uint64_t Imm, raw_ostream &O) { in printImmediate64()
365 unsigned Imm = MI->getOperand(OpNum).getImm(); in printInterpSlot() local
415 int Imm = MI->getOperand(OpNo).getImm(); in printOModSI() local
426 int32_t Imm = MI->getOperand(OpNo).getImm(); in printLiteral() local
/external/llvm/lib/MC/
DMCInstrAnalysis.cpp19 int64_t Imm = Inst.getOperand(0).getImm(); in evaluateBranch() local
/external/llvm/lib/IR/
DAutoUpgrade.cpp437 unsigned Imm; in UpgradeIntrinsicCall() local
570 unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall() local
587 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall() local
632 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local
661 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp77 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk()
85 static uint64_t replicateChunk(uint64_t Imm, unsigned FromIdx, unsigned ToIdx) { in replicateChunk()
257 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm()
406 uint64_t Imm = MI.getOperand(1).getImm(); in expandMOVImm() local
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h74 inline SDValue getI32Imm(unsigned Imm, SDLoc DL) { in getI32Imm()
/external/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp226 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx() local
316 uint16_t Imm = ((OC[Offset + 0] & 0x03) << 8) | ((OC[Offset + 1] & 0xff) << 0); in opcode_111010xx() local
405 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11110111() local
418 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111000() local
433 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11111001() local
446 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111010() local
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp264 uint32_t Imm = getMachineOpValue(MI, MO, Fixups, STI) >> 3; in getSPE8DisEncoding() local
280 uint32_t Imm = getMachineOpValue(MI, MO, Fixups, STI) >> 2; in getSPE4DisEncoding() local
296 uint32_t Imm = getMachineOpValue(MI, MO, Fixups, STI) >> 1; in getSPE2DisEncoding() local
/external/llvm/lib/CodeGen/
DStackMaps.cpp103 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
112 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
120 int64_t Imm = MOI->getImm(); in parseOperand() local

12345