/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDGPUMCInstLower.cpp | 34 const MachineOperand &MO = MI->getOperand(i); local 37 switch (MO.getType()) { 41 const APFloat &FloatValue = MO.getFPImm()->getValueAPF(); 48 MCOp = MCOperand::CreateImm(MO.getImm()); 51 MCOp = MCOperand::CreateReg(MO.getReg());
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
H A D | SystemZAsmPrinter.cpp | 84 const MachineOperand &MO = MI->getOperand(OpNum); local 85 switch (MO.getType()) { 87 O << MO.getImm(); 90 O << *MO.getMBB()->getSymbol(); 93 const GlobalValue *GV = MO.getGlobal(); 102 printOffset(MO.getOffset(), O); 107 Name += MO.getSymbolName(); 123 const MachineOperand &MO = MI->getOperand(OpNum); local 124 switch (MO.getType()) { 126 assert (TargetRegisterInfo::isPhysicalRegister(MO [all...] |
/external/llvm/lib/CodeGen/ |
H A D | MachineInstr.cpp | 264 hash_code llvm::hash_value(const MachineOperand &MO) { argument 265 switch (MO.getType()) { 268 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); 270 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); 272 return hash_combine(MO 890 addMemOperand(MachineFunction &MF, MachineMemOperand *MO) argument 993 const MachineOperand &MO = getOperand(i); local 1081 const MachineOperand &MO = getOperand(i); local 1236 const MachineOperand &MO = getOperand(OpIdx); local 1247 const MachineOperand &MO = getOperand(OpIdx); local 1277 const MachineOperand &MO = getOperand(i); local 1290 const MachineOperand &MO = getOperand(i); local 1318 const MachineOperand &MO = getOperand(i); local 1344 const MachineOperand &MO = getOperand(i); local 1425 const MachineOperand &MO = getOperand(OpIdx); local [all...] |
H A D | ProcessImplicitDefs.cpp | 71 for (const MachineOperand &MO : MI->operands()) 72 if (MO.isReg() && MO.isUse() && MO.readsReg()) 84 for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) { 85 MO.setIsUndef(); 86 MachineInstr *UserMI = MO.getParent(); 103 for (MachineOperand &MO : UserMI->operands()) { 104 if (!MO.isReg()) 106 unsigned UserReg = MO [all...] |
H A D | RegisterScavenging.cpp | 107 for (const MachineOperand &MO : MI.operands()) { 108 if (MO.isRegMask()) { 112 if (MO.clobbersPhysReg(*RURI)) { 122 if (!MO.isReg()) 124 unsigned Reg = MO.getReg(); 128 if (MO.isUse()) { 130 if (MO.isUndef()) 132 if (MO.isKill()) 135 assert(MO.isDef()); 136 if (MO [all...] |
H A D | MachineLICM.cpp | 359 for (const MachineOperand &MO : MI->operands()) { 360 if (MO.isFI()) { 362 int FI = MO.getIndex(); 373 if (MO.isRegMask()) { 374 PhysRegClobbers.setBitsNotInMask(MO.getRegMask()); 378 if (!MO.isReg()) 380 unsigned Reg = MO.getReg(); 386 if (!MO.isDef()) { 394 if (MO.isImplicit()) { 397 if (!MO 718 const MachineOperand &MO = I->getOperand(0); local 750 isOperandKill(const MachineOperand &MO, MachineRegisterInfo *MRI) argument 801 const MachineOperand &MO = MI->getOperand(i); local 978 const MachineOperand &MO = UseMI.getOperand(i); local 1095 const MachineOperand &MO = MI.getOperand(i); local 1246 const MachineOperand &MO = MI->getOperand(i); local [all...] |
H A D | MachineCSE.cpp | 125 for (MachineOperand &MO : MI->operands()) { 126 if (!MO.isReg() || !MO.isUse()) 128 unsigned Reg = MO.getReg(); 146 // MO.substVirtReg(SrcReg, SrcSubReg, *TRI); 160 MO.setReg(SrcReg); 188 for (const MachineOperand &MO : I->operands()) { 189 if (MO.isRegMask() && MO.clobbersPhysReg(Reg)) 191 if (!MO 536 MachineOperand &MO = MI->getOperand(i); local [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsMCCodeEmitter.cpp | 273 const MCOperand &MO = MI.getOperand(OpNo); local 276 if (MO.isImm()) return MO.getImm() >> 2; 278 assert(MO.isExpr() && 282 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); 296 const MCOperand &MO = MI.getOperand(OpNo); local 299 if (MO.isImm()) return MO.getImm() >> 1; 301 assert(MO.isExpr() && 305 MO 319 const MCOperand &MO = MI.getOperand(OpNo); local 343 const MCOperand &MO = MI.getOperand(OpNo); local 365 const MCOperand &MO = MI.getOperand(OpNo); local 387 const MCOperand &MO = MI.getOperand(OpNo); local 410 const MCOperand &MO = MI.getOperand(OpNo); local 433 const MCOperand &MO = MI.getOperand(OpNo); local 456 const MCOperand &MO = MI.getOperand(OpNo); local 478 const MCOperand &MO = MI.getOperand(OpNo); local 502 const MCOperand &MO = MI.getOperand(OpNo); local 521 const MCOperand &MO = MI.getOperand(OpNo); local 539 const MCOperand &MO = MI.getOperand(OpNo); local 557 const MCOperand &MO = MI.getOperand(OpNo); local 576 const MCOperand &MO = MI.getOperand(OpNo); local 590 const MCOperand &MO = MI.getOperand(OpNo); local 604 const MCOperand &MO = MI.getOperand(OpNo); local 760 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument 984 const MCOperand &MO = MI.getOperand(OpNo); local 1006 const MCOperand &MO = MI.getOperand(OpNo); local 1029 const MCOperand &MO = MI.getOperand(OpNo); local 1038 const MCOperand &MO = MI.getOperand(OpNo); local 1133 const MCOperand &MO = MI.getOperand(OpNo); local [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
H A D | MachineLICM.cpp | 393 const MachineOperand &MO = MI->getOperand(i); local 394 if (MO.isFI()) { 396 int FI = MO.getIndex(); 405 if (!MO.isReg()) 407 unsigned Reg = MO.getReg(); 413 if (!MO.isDef()) { 421 if (MO.isImplicit()) { 425 if (!MO.isDead()) 515 const MachineOperand &MO = MI->getOperand(j); local 516 if (!MO 545 MachineOperand &MO = MI->getOperand(i); local 661 isOperandKill(const MachineOperand &MO, MachineRegisterInfo *MRI) argument 703 const MachineOperand &MO = MI->getOperand(i); local 735 const MachineOperand &MO = MI->getOperand(i); local 795 const MachineOperand &MO = I.getOperand(i); local 885 const MachineOperand &MO = UseMI->getOperand(i); local 961 const MachineOperand &MO = MI->getOperand(i); local 1022 const MachineOperand &MO = MI.getOperand(i); local 1078 const MachineOperand &MO = MI.getOperand(i); local 1184 const MachineOperand &MO = MI->getOperand(i); local 1265 MachineOperand &MO = MI->getOperand(i); local [all...] |
H A D | MachineInstr.cpp | 723 MachineMemOperand *MO) { 732 NewMemRefs[NewNum - 1] = MO; 748 const MachineOperand &MO = getOperand(i); local 750 if (!MO.isReg()) { 751 if (!MO.isIdenticalTo(OMO)) 759 if (MO.isDef()) { 763 if (TargetRegisterInfo::isPhysicalRegister(MO.getReg()) || 765 if (MO.getReg() != OMO.getReg()) 768 if (!MO.isIdenticalTo(OMO)) 770 if (Check == CheckKillDead && MO 813 const MachineOperand &MO = getOperand(i); local 896 const MachineOperand &MO = getOperand(i); local 924 const MachineOperand &MO = getOperand(i); local 950 const MachineOperand &MO = getOperand(i); local 994 const MachineOperand &MO = getOperand(DefOpIdx); local 1027 const MachineOperand &MO = getOperand(i); local 1044 const MachineOperand &MO = getOperand(UseOpIdx); local 1078 const MachineOperand &MO = getOperand(UseOpIdx); local 1093 MachineOperand &MO = getOperand(i); local 1103 const MachineOperand &MO = MI->getOperand(i); local 1140 MachineOperand &MO = getOperand(i); local 1147 MachineOperand &MO = getOperand(i); local 1194 const MachineOperand &MO = getOperand(i); local 1309 const MachineOperand &MO = getOperand(i); local 1323 const MachineOperand &MO = MI->getOperand(i); local 1413 const MachineOperand &MO = getOperand(i); local 1570 MachineOperand &MO = getOperand(i); local 1628 MachineOperand &MO = getOperand(i); local 1676 MachineOperand *MO = findRegisterDefOperand(IncomingReg, false, RegInfo); local 1681 const MachineOperand &MO = getOperand(i); local 1695 MachineOperand &MO = getOperand(i); local 1715 const MachineOperand &MO = MI->getOperand(i); local [all...] |
/external/llvm/lib/Target/BPF/ |
H A D | BPFMCInstLower.h | 37 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 39 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
|
/external/llvm/lib/Target/SystemZ/ |
H A D | SystemZMCInstLower.h | 35 // Return an MCOperand for MO. 36 MCOperand lowerOperand(const MachineOperand& MO) const; 38 // Return an MCExpr for symbolic operand MO with variant kind Kind. 39 const MCExpr *getExpr(const MachineOperand &MO,
|
/external/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyMCInstLower.h | 34 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 35 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
|
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
H A D | MBlazeAsmPrinter.cpp | 213 const MachineOperand &MO = MI->getOperand(opNum); local 215 switch (MO.getType()) { 217 O << MBlazeInstPrinter::getRegisterName(MO.getReg()); 221 O << (int32_t)MO.getImm(); 225 const ConstantFP *fp = MO.getFPImm(); 232 O << *MO.getMBB()->getSymbol(); 236 O << *Mang->getSymbol(MO.getGlobal()); 240 O << *GetExternalSymbolSymbol(MO.getSymbolName()); 245 << '_' << MO.getIndex(); 250 << getFunctionNumber() << "_" << MO 262 const MachineOperand &MO = MI->getOperand(opNum); local 271 const MachineOperand &MO = MI->getOperand(opNum); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
H A D | MSP430AsmPrinter.cpp | 66 const MachineOperand &MO = MI->getOperand(OpNum); local 67 switch (MO.getType()) { 70 O << MSP430InstPrinter::getRegisterName(MO.getReg()); 75 O << MO.getImm(); 78 O << *MO.getMBB()->getSymbol(); 82 uint64_t Offset = MO.getOffset(); 95 O << *Mang->getSymbol(MO.getGlobal()); 105 O << MAI->getGlobalPrefix() << MO.getSymbolName();
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCCodeEmitter.cpp | 72 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO, 402 getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument 404 if (MO.isReg()) { 405 unsigned Reg = MO.getReg(); 418 } else if (MO.isImm()) { 419 return static_cast<unsigned>(MO.getImm()); 420 } else if (MO.isFPImm()) { 421 return static_cast<unsigned>(APFloat(MO.getFPImm()) 433 const MCOperand &MO = MI.getOperand(OpIdx); local 436 Reg = getARMRegisterNumbering(MO 462 const MCOperand &MO = MI.getOperand(OpIdx); local 498 const MCOperand MO = MI.getOperand(OpIdx); local 510 const MCOperand MO = MI.getOperand(OpIdx); local 521 const MCOperand MO = MI.getOperand(OpIdx); local 532 const MCOperand MO = MI.getOperand(OpIdx); local 543 const MCOperand MO = MI.getOperand(OpIdx); local 584 const MCOperand MO = MI.getOperand(OpIdx); local 599 const MCOperand MO = MI.getOperand(OpIdx); local 639 const MCOperand MO = MI.getOperand(OpIdx); local 658 const MCOperand MO = MI.getOperand(OpIdx); local 675 const MCOperand MO = MI.getOperand(OpIdx); local 707 const MCOperand &MO = MI.getOperand(OpIdx); local 786 const MCOperand &MO = MI.getOperand(OpIdx); local 822 const MCOperand &MO = MI.getOperand(OpIdx); local 847 const MCOperand &MO = MI.getOperand(OpIdx); local 893 const MCOperand &MO = MI.getOperand(OpIdx); local 926 const MCOperand &MO = MI.getOperand(OpIdx); local 939 const MCOperand &MO = MI.getOperand(OpIdx); local 960 const MCOperand &MO = MI.getOperand(OpIdx); local 973 const MCOperand &MO = MI.getOperand(OpIdx); local 993 const MCOperand &MO = MI.getOperand(OpIdx); local 1029 const MCOperand &MO = MI.getOperand(OpIdx); local 1040 const MCOperand MO = MI.getOperand(OpIdx); local 1056 const MCOperand &MO = MI.getOperand(OpIdx); local 1098 const MCOperand &MO = MI.getOperand(OpIdx); local 1143 const MCOperand &MO = MI.getOperand(OpIdx); local 1261 const MCOperand &MO = MI.getOperand(OpIdx); local 1297 const MCOperand &MO = MI.getOperand(Op); local 1413 const MCOperand &MO = MI.getOperand(Op); local [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCAsmPrinter.cpp | 168 const MachineOperand &MO = MI->getOperand(OpNo); local 170 switch (MO.getType()) { 172 const char *RegName = PPCInstPrinter::getRegisterName(MO.getReg()); 181 O << MO.getImm(); 185 MO.getMBB()->getSymbol()->print(O, MAI); 189 << MO.getIndex(); 192 GetBlockAddressSymbol(MO.getBlockAddress())->print(O, MAI); 196 const GlobalValue *GV = MO.getGlobal(); 214 printOffset(MO.getOffset(), O); 219 O << "<unknown operand type: " << (unsigned)MO 464 const MachineOperand &MO = MI->getOperand(2); local 573 const MachineOperand &MO = MI->getOperand(1); local 617 const MachineOperand &MO = MI->getOperand(1); local 650 const MachineOperand &MO = MI->getOperand(2); local 689 const MachineOperand &MO = MI->getOperand(1); local 732 const MachineOperand &MO = MI->getOperand(2); local 759 const MachineOperand &MO = MI->getOperand(2); local 778 const MachineOperand &MO = MI->getOperand(1); local 837 const MachineOperand &MO = MI->getOperand(2); local 855 const MachineOperand &MO = MI->getOperand(2); local 882 const MachineOperand &MO = MI->getOperand(2); local 900 const MachineOperand &MO = MI->getOperand(2); local 929 const MachineOperand &MO = MI->getOperand(2); local 949 const MachineOperand &MO = MI->getOperand(2); local 1005 const MachineOperand &MO = MI->getOperand(OpNum); local [all...] |
/external/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | BPFMCCodeEmitter.cpp | 50 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, 77 const MCOperand &MO, 80 if (MO.isReg()) 81 return MRI.getEncodingValue(MO.getReg()); 82 if (MO.isImm()) 83 return static_cast<unsigned>(MO.getImm()); 85 assert(MO.isExpr()); 87 const MCExpr *Expr = MO.getExpr(); 128 const MCOperand &MO = MI.getOperand(1); local 129 uint64_t Imm = MO 76 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/ |
H A D | SparcAsmPrinter.cpp | 73 const MachineOperand &MO = MI->getOperand (opNum); local 75 if (MI->getOpcode() == SP::SETHIi && !MO.isReg() && !MO.isImm()) { 79 !MO.isReg() && !MO.isImm()) { 83 switch (MO.getType()) { 85 O << "%" << LowercaseString(getRegisterName(MO.getReg())); 89 O << (int)MO.getImm(); 92 O << *MO.getMBB()->getSymbol(); 95 O << *Mang->getSymbol(MO 142 const MachineOperand &MO = MI->getOperand(opNum); local [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
H A D | MipsAsmPrinter.cpp | 304 const MachineOperand &MO = MI->getOperand(OpNum); local 305 assert(MO.isReg() && "unexpected inline asm memory operand"); 306 O << "0($" << MipsInstPrinter::getRegisterName(MO.getReg()) << ")"; 312 const MachineOperand &MO = MI->getOperand(opNum); local 315 if (MO.getTargetFlags()) 318 switch(MO.getTargetFlags()) { 335 switch (MO.getType()) { 338 << LowercaseString(MipsInstPrinter::getRegisterName(MO.getReg())); 342 O << MO.getImm(); 346 O << *MO 384 const MachineOperand &MO = MI->getOperand(opNum); local 415 const MachineOperand& MO = MI->getOperand(opNum); local [all...] |
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCCodeEmitter.cpp | 74 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO, 277 const MCOperand &MO = MI.getOperand(Op); local 279 // We expect MO to be an immediate or an expression, 282 if (MO.isExpr()) { 283 const MCExpr *Expr = MO.getExpr(); 294 unsigned SoImm = MO.getImm(); 310 const MCOperand &MO = MI.getOperand(Op); local 313 if (MO.isExpr()) { 314 const MCExpr *Expr = MO.getExpr(); 322 return MO 522 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument 554 const MCOperand &MO = MI.getOperand(OpIdx); local 584 const MCOperand &MO = MI.getOperand(OpIdx); local 621 const MCOperand MO = MI.getOperand(OpIdx); local 634 const MCOperand MO = MI.getOperand(OpIdx); local 646 const MCOperand MO = MI.getOperand(OpIdx); local 658 const MCOperand MO = MI.getOperand(OpIdx); local 670 const MCOperand MO = MI.getOperand(OpIdx); local 713 const MCOperand MO = MI.getOperand(OpIdx); local 729 const MCOperand MO = MI.getOperand(OpIdx); local 744 const MCOperand MO = MI.getOperand(OpIdx); local 757 const MCOperand MO = MI.getOperand(OpIdx); local 786 const MCOperand MO = MI.getOperand(OpIdx); local 827 const MCOperand MO = MI.getOperand(OpIdx); local 847 const MCOperand MO = MI.getOperand(OpIdx); local 881 const MCOperand &MO = MI.getOperand(OpIdx); local 965 const MCOperand &MO = MI.getOperand(OpIdx); local 1002 const MCOperand &MO = MI.getOperand(OpIdx); local 1015 const MCOperand &MO = MI.getOperand(OpIdx); local 1069 const MCOperand &MO = MI.getOperand(OpIdx); local 1106 const MCOperand &MO = MI.getOperand(OpIdx); local 1128 const MCOperand &MO = MI.getOperand(OpIdx); local 1142 const MCOperand &MO = MI.getOperand(OpIdx); local 1163 const MCOperand &MO = MI.getOperand(OpIdx); local 1214 const MCOperand &MO = MI.getOperand(OpIdx); local 1226 const MCOperand MO = MI.getOperand(OpIdx); local 1243 const MCOperand &MO = MI.getOperand(OpIdx); local 1283 const MCOperand &MO = MI.getOperand(OpIdx); local 1326 const MCOperand &MO = MI.getOperand(OpIdx); local 1372 const MCOperand &MO = MI.getOperand(OpIdx); local [all...] |
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430AsmPrinter.cpp | 66 const MachineOperand &MO = MI->getOperand(OpNum); local 67 switch (MO.getType()) { 70 O << MSP430InstPrinter::getRegisterName(MO.getReg()); 75 O << MO.getImm(); 78 MO.getMBB()->getSymbol()->print(O, MAI); 82 uint64_t Offset = MO.getOffset(); 95 getSymbol(MO.getGlobal())->print(O, MAI);
|
/external/llvm/include/llvm/CodeGen/ |
H A D | LiveVariables.h | 218 MachineOperand &MO = MI.getOperand(i); local 219 if (MO.isReg() && MO.isKill() && MO.getReg() == reg) { 220 MO.setIsKill(false); 254 MachineOperand &MO = MI.getOperand(i); local 255 if (MO.isReg() && MO.isDef() && MO.getReg() == reg) { 256 MO [all...] |
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | R600MCCodeEmitter.cpp | 50 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, 156 const MCOperand &MO, 159 if (MO.isReg()) { 161 return MRI.getEncodingValue(MO.getReg()); 162 return getHWReg(MO.getReg()); 165 if (MO.isExpr()) { 172 const unsigned offset = (&MO == &MI.getOperand(0)) ? 0 : 4; 173 Fixups.push_back(MCFixup::create(offset, MO.getExpr(), FK_SecRel_4, MI.getLoc())); 177 assert(MO.isImm()); 178 return MO 155 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
H A D | LiveVariables.h | 225 MachineOperand &MO = MI->getOperand(i); local 226 if (MO.isReg() && MO.isKill() && MO.getReg() == reg) { 227 MO.setIsKill(false); 261 MachineOperand &MO = MI->getOperand(i); local 262 if (MO.isReg() && MO.isDef() && MO.getReg() == reg) { 263 MO [all...] |