Home
last modified time | relevance | path

Searched defs:Imm (Results 1 – 25 of 112) 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.h121 inline SDValue getImm(const SDNode *Node, uint64_t Imm) { in getImm()
/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/SystemZ/Disassembler/
DSystemZDisassembler.cpp108 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm) { in decodeUImmOperand()
115 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm) { in decodeSImmOperand()
121 static DecodeStatus decodeAccessRegOperand(MCInst &Inst, uint64_t Imm, in decodeAccessRegOperand()
127 static DecodeStatus decodeU4ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU4ImmOperand()
132 static DecodeStatus decodeU6ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU6ImmOperand()
137 static DecodeStatus decodeU8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU8ImmOperand()
142 static DecodeStatus decodeU16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU16ImmOperand()
147 static DecodeStatus decodeU32ImmOperand(MCInst &Inst, uint64_t Imm, in decodeU32ImmOperand()
152 static DecodeStatus decodeS8ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS8ImmOperand()
157 static DecodeStatus decodeS16ImmOperand(MCInst &Inst, uint64_t Imm, in decodeS16ImmOperand()
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp34 unsigned 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/AArch64/Disassembler/
DAArch64Disassembler.cpp582 static DecodeStatus DecodeFixedPointScaleImm32(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm32()
591 static DecodeStatus DecodeFixedPointScaleImm64(llvm::MCInst &Inst, unsigned Imm, in DecodeFixedPointScaleImm64()
598 static DecodeStatus DecodePCRelLabel19(llvm::MCInst &Inst, unsigned Imm, in DecodePCRelLabel19()
614 static DecodeStatus DecodeMemExtend(llvm::MCInst &Inst, unsigned Imm, in DecodeMemExtend()
621 static DecodeStatus DecodeMRSSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMRSSystemRegister()
631 static DecodeStatus DecodeMSRSystemRegister(llvm::MCInst &Inst, unsigned Imm, in DecodeMSRSystemRegister()
662 static DecodeStatus DecodeVecShiftRImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftRImm()
668 static DecodeStatus DecodeVecShiftLImm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftLImm()
674 static DecodeStatus DecodeVecShiftR64Imm(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64Imm()
679 static DecodeStatus DecodeVecShiftR64ImmNarrow(llvm::MCInst &Inst, unsigned Imm, in DecodeVecShiftR64ImmNarrow()
[all …]
/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()
162 void DecodePSHUFHWMask(MVT VT, unsigned Imm, in DecodePSHUFHWMask()
178 void DecodePSHUFLWMask(MVT VT, unsigned Imm, in DecodePSHUFLWMask()
197 void DecodeSHUFPMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeSHUFPMask()
256 void DecodeVPERM2X128Mask(MVT VT, unsigned Imm, in DecodeVPERM2X128Mask()
340 void DecodeBLENDMask(MVT VT, unsigned Imm, SmallVectorImpl<int> &ShuffleMask) { in DecodeBLENDMask()
[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.cpp93 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm()
99 inline SDValue getI64Imm(uint64_t Imm) { in getI64Imm()
104 inline SDValue getSmallIPtrImm(unsigned Imm) { in getSmallIPtrImm()
351 static bool isIntS16Immediate(SDNode *N, short &Imm) { in isIntS16Immediate()
362 static bool isIntS16Immediate(SDValue Op, short &Imm) { in isIntS16Immediate()
369 static bool isInt32Immediate(SDNode *N, unsigned &Imm) { in isInt32Immediate()
379 static bool isInt64Immediate(SDNode *N, uint64_t &Imm) { in isInt64Immediate()
389 static bool isInt32Immediate(SDValue N, unsigned &Imm) { in isInt32Immediate()
397 static bool isOpcWithIntImmediate(SDNode *N, unsigned Opc, unsigned& Imm) { in isOpcWithIntImmediate()
536 static unsigned SelectInt64CountDirect(int64_t Imm) { in SelectInt64CountDirect()
[all …]
DPPCTargetTransformInfo.cpp38 unsigned PPCTTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
68 const APInt &Imm, Type *Ty) { in getIntImmCost()
102 const APInt &Imm, Type *Ty) { in getIntImmCost()
/external/llvm/lib/Target/PowerPC/Disassembler/
DPPCDisassembler.cpp265 static DecodeStatus decodeUImmOperand(MCInst &Inst, uint64_t Imm, in decodeUImmOperand()
273 static DecodeStatus decodeSImmOperand(MCInst &Inst, uint64_t Imm, in decodeSImmOperand()
280 static DecodeStatus decodeMemRIOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIOperands()
315 static DecodeStatus decodeMemRIXOperands(MCInst &Inst, uint64_t Imm, in decodeMemRIXOperands()
336 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/MC/
DMCInstrAnalysis.cpp19 int64_t Imm = Inst.getOperand(0).getImm(); in evaluateBranch() local
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.h74 inline SDValue getI32Imm(unsigned Imm) { in getI32Imm()
/external/llvm/lib/IR/
DAutoUpgrade.cpp495 unsigned Imm; in UpgradeIntrinsicCall() local
596 unsigned Imm = cast <ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall() local
613 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(2))->getZExtValue(); in UpgradeIntrinsicCall() local
658 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local
687 unsigned Imm = cast<ConstantInt>(CI->getArgOperand(1))->getZExtValue(); in UpgradeIntrinsicCall() local
/external/llvm/lib/Target/R600/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()
360 unsigned Imm = MI->getOperand(OpNum).getImm(); in printInterpSlot() local
410 int Imm = MI->getOperand(OpNo).getImm(); in printOModSI() local
421 int32_t Imm = MI->getOperand(OpNo).getImm(); in printLiteral() local
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp40 unsigned AArch64TTIImpl::getIntImmCost(const APInt &Imm, Type *Ty) { in getIntImmCost()
65 const APInt &Imm, Type *Ty) { in getIntImmCost()
131 const APInt &Imm, Type *Ty) { in getIntImmCost()
DAArch64ExpandPseudoInsts.cpp66 static uint64_t getChunk(uint64_t Imm, unsigned ChunkIdx) { in getChunk()
74 static uint64_t replicateChunk(uint64_t Imm, unsigned FromIdx, unsigned ToIdx) { in replicateChunk()
246 static uint64_t updateImm(uint64_t Imm, unsigned Idx, bool Clear) { in updateImm()
395 uint64_t Imm = MI.getOperand(1).getImm(); in expandMOVImm() local
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h205 bool isLegalAddImmediate(int64_t Imm) { return false; } in isLegalAddImmediate()
207 bool isLegalICmpImmediate(int64_t Imm) { return false; } in isLegalICmpImmediate()
250 unsigned getIntImmCost(const APInt &Imm, Type *Ty) { return TTI::TCC_Basic; } in getIntImmCost()
252 unsigned getIntImmCost(unsigned Opcode, unsigned Idx, const APInt &Imm, in getIntImmCost()
257 unsigned getIntImmCost(Intrinsic::ID IID, unsigned Idx, const APInt &Imm, in getIntImmCost()
/external/llvm/lib/CodeGen/
DStackMaps.cpp100 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
109 int64_t Imm = (++MOI)->getImm(); in parseOperand() local
117 int64_t Imm = MOI->getImm(); in parseOperand() local
/external/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp107 SDValue XformMskToBitPosU5Imm(uint32_t Imm) { in XformMskToBitPosU5Imm()
117 SDValue XformMskToBitPosU4Imm(uint16_t Imm) { in XformMskToBitPosU4Imm()
123 SDValue XformMskToBitPosU3Imm(uint8_t Imm) { in XformMskToBitPosU3Imm()
136 inline SDValue XformM5ToU5Imm(signed Imm) { in XformM5ToU5Imm()
143 inline SDValue XformU7ToU7M1Imm(signed Imm) { in XformU7ToU7M1Imm()
149 inline SDValue XformSToSM1Imm(signed Imm) { in XformSToSM1Imm()
154 inline SDValue XformUToUM1Imm(unsigned Imm) { in XformUToUM1Imm()
160 inline SDValue XformSToSM2Imm(unsigned Imm) { in XformSToSM2Imm()
165 inline SDValue XformSToSM3Imm(unsigned Imm) { in XformSToSM3Imm()
/external/llvm/tools/llvm-readobj/
DARMWinEHPrinter.cpp233 uint8_t Imm = OC[Offset] & 0x7f; in opcode_0xxxxxxx() local
323 uint16_t Imm = ((OC[Offset + 0] & 0x03) << 8) | ((OC[Offset + 1] & 0xff) << 0); in opcode_111010xx() local
412 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11110111() local
425 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111000() local
440 uint32_t Imm = (OC[Offset + 1] << 8) | (OC[Offset + 2] << 0); in opcode_11111001() local
453 uint32_t Imm = (OC[Offset + 1] << 16) in opcode_11111010() local
/external/llvm/lib/Target/R600/MCTargetDesc/
DSIMCCodeEmitter.cpp90 static uint32_t getIntInlineImmEncoding(IntTy Imm) { in getIntInlineImmEncoding()
213 int64_t Imm = 0; in EncodeInstruction() local

12345