/external/llvm/lib/Target/R600/ |
R600ClauseMergePass.cpp | 76 TII->getOperandIdx(MI->getOpcode(), AMDGPU::OpName::COUNT)).getImm(); 82 TII->getOperandIdx(MI->getOpcode(), AMDGPU::OpName::Enabled)).getImm(); 123 if (LatrCFAlu->getOperand(Mode0Idx).getImm() && 124 RootCFAlu->getOperand(Mode0Idx).getImm() && 125 (LatrCFAlu->getOperand(KBank0Idx).getImm() != 126 RootCFAlu->getOperand(KBank0Idx).getImm() || 127 LatrCFAlu->getOperand(KBank0LineIdx).getImm() != 128 RootCFAlu->getOperand(KBank0LineIdx).getImm())) { 139 if (LatrCFAlu->getOperand(Mode1Idx).getImm() && 140 RootCFAlu->getOperand(Mode1Idx).getImm() & [all...] |
/external/llvm/lib/Target/ARM/ |
ARMOptimizeBarriersPass.cpp | 68 if (MI.getOperand(0).getImm() == DMBType) { 73 DMBType = MI.getOperand(0).getImm(); 78 DMBType = MI.getOperand(0).getImm();
|
/external/llvm/lib/MC/ |
MCInstrAnalysis.cpp | 19 int64_t Imm = Inst.getOperand(0).getImm();
|
/external/llvm/lib/Target/SystemZ/InstPrinter/ |
SystemZInstPrinter.cpp | 37 O << MO.getImm(); 56 int64_t Value = MI->getOperand(OpNum).getImm(); 63 int64_t Value = MI->getOperand(OpNum).getImm(); 70 int64_t Value = MI->getOperand(OpNum).getImm(); 77 int64_t Value = MI->getOperand(OpNum).getImm(); 84 int64_t Value = MI->getOperand(OpNum).getImm(); 91 int64_t Value = MI->getOperand(OpNum).getImm(); 98 int64_t Value = MI->getOperand(OpNum).getImm(); 105 int64_t Value = MI->getOperand(OpNum).getImm(); 112 uint64_t Value = MI->getOperand(OpNum).getImm(); [all...] |
/external/llvm/lib/Target/MSP430/InstPrinter/ |
MSP430InstPrinter.cpp | 39 O << Op.getImm(); 53 O << '#' << Op.getImm(); 81 O << Disp.getImm(); 91 unsigned CC = MI->getOperand(OpNo).getImm();
|
/external/llvm/lib/Target/ARM/InstPrinter/ |
ARMInstPrinter.cpp | 86 switch (MI->getOperand(0).getImm()) { 117 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO3.getImm())); 128 assert(ARM_AM::getSORegOffset(MO3.getImm()) == 0); 139 O << '\t' << ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(MO2.getImm())); 148 if (ARM_AM::getSORegShOp(MO2.getImm()) == ARM_AM::rrx) { 155 << "#" << translateShiftImm(ARM_AM::getSORegOffset(MO2.getImm())) 179 MI->getOperand(3).getImm() == -4) { 208 MI->getOperand(4).getImm() == 4) { 307 << '#' << formatImm(Op.getImm()) 349 int32_t OffImm = (int32_t)MO1.getImm(); [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZAsmPrinter.cpp | 35 .addImm(MI->getOperand(1).getImm()); 40 .addImm(MI->getOperand(2).getImm()); 49 .addImm(MI->getOperand(1).getImm()); 54 .addImm(MI->getOperand(2).getImm()); 64 .addImm(MI->getOperand(3).getImm()) 65 .addImm(MI->getOperand(4).getImm()) 66 .addImm(MI->getOperand(5).getImm()); 101 .addImm(MI->getOperand(2).getImm()); 107 .addImm(MI->getOperand(2).getImm()); 201 OS << -int64_t(MI->getOperand(OpNo).getImm()); [all...] |
SystemZInstrInfo.cpp | 70 LowOffsetOp.setImm(LowOffsetOp.getImm() + 8); 73 unsigned HighOpcode = getOpcodeForOffset(NewOpcode, HighOffsetOp.getImm()); 74 unsigned LowOpcode = getOpcodeForOffset(NewOpcode, LowOffsetOp.getImm()); 90 OffsetMO.getImm()); 110 MI->getOperand(1).setImm(uint32_t(MI->getOperand(1).getImm())); 142 MI->getOperand(2).getImm()); 198 MI->getOperand(2).getImm() == 0 && 223 MI->getOperand(1).getImm() != 0 || 225 MI->getOperand(4).getImm() != 0) 229 int64_t Length = MI->getOperand(2).getImm(); [all...] |
/external/llvm/lib/Target/X86/InstPrinter/ |
X86ATTInstPrinter.cpp | 65 int64_t Imm = MI->getOperand(Op).getImm() & 0xf; 89 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f; 129 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; 145 O << formatImm(Op.getImm()); 170 << '$' << formatImm((int64_t)Op.getImm()) 173 if (CommentStream && (Op.getImm() > 255 || Op.getImm() < -256)) 174 *CommentStream << format("imm = 0x%" PRIX64 "\n", (uint64_t)Op.getImm()); 200 int64_t DispVal = DispSpec.getImm(); 216 unsigned ScaleVal = MI->getOperand(Op+X86::AddrScaleAmt).getImm(); [all...] |
X86IntelInstPrinter.cpp | 55 int64_t Imm = MI->getOperand(Op).getImm() & 0xf; 79 int64_t Imm = MI->getOperand(Op).getImm() & 0x1f; 119 int64_t Imm = MI->getOperand(Op).getImm() & 0x3; 134 O << formatImm(Op.getImm()); 157 O << formatImm((int64_t)Op.getImm()); 167 unsigned ScaleVal = MI->getOperand(Op+X86::AddrScaleAmt).getImm(); 199 int64_t DispVal = DispSpec.getImm(); 252 O << formatImm(DispSpec.getImm());
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MCCodeEmitter.cpp | 223 return static_cast<unsigned>(MO.getImm()); 234 ImmVal = static_cast<uint32_t>(MO.getImm()); 255 return MO.getImm(); 280 assert(AArch64_AM::getShiftType(MO1.getImm()) == AArch64_AM::LSL && 282 unsigned ShiftVal = AArch64_AM::getShiftValue(MO1.getImm()); 286 return MO.getImm() | (ShiftVal == 0 ? 0 : (1 << 12)); 308 return MO.getImm(); 330 return MO.getImm(); 346 unsigned SignExtend = MI.getOperand(OpIdx).getImm(); 347 unsigned DoShift = MI.getOperand(OpIdx + 1).getImm(); [all...] |
/external/llvm/lib/Target/PowerPC/InstPrinter/ |
PPCInstPrinter.cpp | 43 unsigned char SH = MI->getOperand(2).getImm(); 44 unsigned char MB = MI->getOperand(3).getImm(); 45 unsigned char ME = MI->getOperand(4).getImm(); 76 unsigned char SH = MI->getOperand(2).getImm(); 77 unsigned char ME = MI->getOperand(3).getImm(); 109 unsigned Code = MI->getOperand(OpNo).getImm(); 205 unsigned int Value = MI->getOperand(OpNo).getImm(); 212 int Value = MI->getOperand(OpNo).getImm(); 219 unsigned int Value = MI->getOperand(OpNo).getImm(); 226 unsigned int Value = MI->getOperand(OpNo).getImm(); [all...] |
/external/llvm/lib/Target/R600/InstPrinter/ |
AMDGPUInstPrinter.cpp | 30 O << formatHex(MI->getOperand(OpNo).getImm() & 0xff); 35 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffff); 40 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffffffff); 150 printImmediate(Op.getImm(), O); 163 unsigned InputModifiers = MI->getOperand(OpNo).getImm(); 175 unsigned Imm = MI->getOperand(OpNum).getImm(); 200 if (Op.getImm() == 1) { 219 int32_t Imm = MI->getOperand(OpNo).getImm(); 235 switch (MI->getOperand(OpNo).getImm()) { 267 if (Op.getImm() == 0) [all...] |
/external/llvm/lib/Target/R600/MCTargetDesc/ |
R600MCCodeEmitter.cpp | 101 uint32_t InstWord2 = MI.getOperand(2).getImm(); // Offset 110 int64_t Sampler = MI.getOperand(14).getImm(); 113 MI.getOperand(2).getImm(), 114 MI.getOperand(3).getImm(), 115 MI.getOperand(4).getImm(), 116 MI.getOperand(5).getImm() 119 MI.getOperand(6).getImm() & 0x1F, 120 MI.getOperand(7).getImm() & 0x1F, 121 MI.getOperand(8).getImm() & 0x1F 181 return MO.getImm(); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/InstPrinter/ |
AMDGPUInstPrinter.cpp | 21 O << Op.getImm();
|
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/ |
AMDGPUInstPrinter.cpp | 21 O << Op.getImm();
|
/external/llvm/lib/Target/AArch64/InstPrinter/ |
AArch64InstPrinter.cpp | 77 if (Op2.isImm() && Op2.getImm() == 0 && Op3.isImm()) { 80 switch (Op3.getImm()) { 116 int64_t immr = Op2.getImm(); 117 int64_t imms = Op3.getImm(); 147 if (Op2.getImm() > Op3.getImm()) { 150 << ", #" << (Is64Bit ? 64 : 32) - Op2.getImm() << ", #" << Op3.getImm() + 1; 158 << ", #" << Op2.getImm() << ", #" << Op3.getImm() - Op2.getImm() + 1 [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMCCodeEmitter.cpp | 194 ARM_AM::AMSubMode Mode = (ARM_AM::AMSubMode)MI.getOperand(OpIdx).getImm(); 294 unsigned SoImm = MO.getImm(); 311 unsigned SoImm = MI.getOperand(Op).getImm(); 344 return 64 - MI.getOperand(Op).getImm(); 527 return static_cast<unsigned>(MO.getImm()); 546 int32_t SImm = MO1.getImm(); 574 if (MO.isImm()) return MO.getImm(); 612 return encodeThumbBLOffset(MO.getImm()); 625 return encodeThumbBLOffset(MO.getImm()); 637 return (MO.getImm() >> 1) [all...] |
ARMMCTargetDesc.cpp | 37 (MI.getOperand(0).isImm() && MI.getOperand(0).getImm() == 15) && 38 (MI.getOperand(1).isImm() && MI.getOperand(1).getImm() == 0) && 41 (MI.getOperand(3).isImm() && MI.getOperand(3).getImm() == 7)) { 42 if ((MI.getOperand(5).isImm() && MI.getOperand(5).getImm() == 4)) { 43 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 5) { 50 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 10) { 57 if (MI.getOperand(4).isImm() && MI.getOperand(4).getImm() == 10 && 58 (MI.getOperand(5).isImm() && MI.getOperand(5).getImm() == 5)) { 69 MI.getOperand(1).isImm() && MI.getOperand(1).getImm() != 8) { 323 if (Inst.getOpcode() == ARM::Bcc && Inst.getOperand(1).getImm()==ARMCC::AL [all...] |
/external/llvm/lib/Target/Hexagon/ |
HexagonCopyToCombine.cpp | 135 (ShouldCombineAggressively || isInt<8>(MI->getOperand(1).getImm())); 162 !isInt<8>(I->getOperand(1).getImm()); 166 !isUInt<6>(I->getOperand(1).getImm()); 569 .addImm(LoOperand.getImm()); 574 .addImm(HiOperand.getImm()) 581 if (!isInt<8>(HiOperand.getImm())) { 582 assert(isInt<8>(LoOperand.getImm())); 584 .addImm(HiOperand.getImm()) 585 .addImm(LoOperand.getImm()); 589 if (!isUInt<6>(LoOperand.getImm())) { [all...] |
/external/llvm/lib/Target/Sparc/InstPrinter/ |
SparcInstPrinter.cpp | 68 MI->getOperand(2).getImm() == 8) { 118 O << (int)MO.getImm(); 141 if (MO.isImm() && MO.getImm() == 0) 152 int CC = (int)MI->getOperand(opNum).getImm();
|
/external/llvm/lib/Target/PowerPC/AsmParser/ |
PPCAsmParser.cpp | 361 int64_t getImm() const { 408 bool isU2Imm() const { return Kind == Immediate && isUInt<2>(getImm()); } 409 bool isU5Imm() const { return Kind == Immediate && isUInt<5>(getImm()); } 410 bool isS5Imm() const { return Kind == Immediate && isInt<5>(getImm()); } 411 bool isU6Imm() const { return Kind == Immediate && isUInt<6>(getImm()); } 413 (Kind == Immediate && isUInt<16>(getImm())); } 415 (Kind == Immediate && isInt<16>(getImm())); } 417 (Kind == Immediate && isInt<16>(getImm()) && 418 (getImm() & 3) == 0); } 420 (Kind == Immediate && isInt<17>(getImm())); } [all...] |
/external/llvm/lib/Target/Hexagon/InstPrinter/ |
HexagonInstPrinter.cpp | 111 O << MI->getOperand(OpNo).getImm(); 127 O << MI->getOperand(OpNo).getImm(); 132 O << -MI->getOperand(OpNo).getImm(); 146 O << " + #" << MO1.getImm(); 154 O << getRegisterName(MO0.getReg()) << ", #" << MO1.getImm();
|
/external/llvm/lib/Target/Mips/ |
MipsInstrInfo.cpp | 45 return op.isImm() && op.getImm() == 0; 101 unsigned Opc = Cond[0].getImm(); 109 MIB.addImm(Cond[i].getImm()); 179 Cond[0].setImm(getOppositeBranchOpc(Cond[0].getImm())); 280 return MI->getOperand(2).getImm();
|
/external/llvm/lib/Target/NVPTX/InstPrinter/ |
NVPTXInstPrinter.cpp | 89 O << markup("<imm:") << formatImm(Op.getImm()) << markup(">"); 99 int64_t Imm = MO.getImm(); 149 int64_t Imm = MO.getImm(); 223 int Imm = (int) MO.getImm(); 276 MI->getOperand(OpNum + 1).getImm() == 0)
|