Searched refs:MO1 (Results 1 - 23 of 23) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp61 const MCOperand &MO1 = MI->getOperand(1); local
70 << ", " << getRegisterName(MO1.getReg());
81 const MCOperand &MO1 = MI->getOperand(1); local
89 << ", " << getRegisterName(MO1.getReg());
226 const MCOperand &MO1 = MI->getOperand(OpNum); local
227 if (MO1.isExpr())
228 O << *MO1.getExpr();
229 else if (MO1.isImm())
230 O << "[pc, #" << MO1.getImm() << "]";
242 const MCOperand &MO1 local
260 const MCOperand &MO1 = MI->getOperand(OpNum); local
280 const MCOperand &MO1 = MI->getOperand(Op); local
308 const MCOperand &MO1 = MI->getOperand(Op); local
333 const MCOperand &MO1 = MI->getOperand(Op); local
341 const MCOperand &MO1 = MI->getOperand(Op); local
349 const MCOperand &MO1 = MI->getOperand(Op); local
369 const MCOperand &MO1 = MI->getOperand(OpNum); local
395 const MCOperand &MO1 = MI->getOperand(Op); local
415 const MCOperand &MO1 = MI->getOperand(Op); local
449 const MCOperand &MO1 = MI->getOperand(OpNum); local
474 const MCOperand &MO1 = MI->getOperand(OpNum); local
498 const MCOperand &MO1 = MI->getOperand(OpNum); local
520 const MCOperand &MO1 = MI->getOperand(OpNum); local
533 const MCOperand &MO1 = MI->getOperand(OpNum); local
761 const MCOperand &MO1 = MI->getOperand(Op); local
779 const MCOperand &MO1 = MI->getOperand(Op); local
822 const MCOperand &MO1 = MI->getOperand(OpNum); local
838 const MCOperand &MO1 = MI->getOperand(OpNum); local
[all...]
/external/llvm/lib/Target/ARM/InstPrinter/
H A DARMInstPrinter.cpp81 const MCOperand &MO1 = MI->getOperand(1); local
92 printRegName(O, MO1.getReg());
104 const MCOperand &MO1 = MI->getOperand(1); local
114 printRegName(O, MO1.getReg());
315 const MCOperand &MO1 = MI->getOperand(OpNum); local
316 if (MO1.isExpr()) {
317 MO1.getExpr()->print(O, &MAI);
323 int32_t OffImm = (int32_t)MO1.getImm();
345 const MCOperand &MO1 = MI->getOperand(OpNum);
349 printRegName(O, MO1
[all...]
/external/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp55 static inline bool isIdenticalOp(const MachineOperand &MO1,
60 static bool isSimilarDispOp(const MachineOperand &MO1,
181 static inline bool isIdenticalOp(const MachineOperand &MO1, argument
183 return MO1.isIdenticalTo(MO2) &&
184 (!MO1.isReg() ||
185 !TargetRegisterInfo::isPhysicalRegister(MO1.getReg()));
195 static bool isSimilarDispOp(const MachineOperand &MO1, argument
197 assert(isValidDispOp(MO1) && isValidDispOp(MO2) &&
199 return (MO1.isImm() && MO2.isImm()) ||
200 (MO1
[all...]
H A DX86FloatingPoint.cpp1399 const MachineOperand &MO1 = MI.getOperand(1); local
1401 bool KillsSrc = MI.killsRegister(MO1.getReg());
1405 unsigned SrcFP = getFPReg(MO1);
H A DX86InstrInfo.cpp6452 MachineOperand &MO1 = DataMI->getOperand(1); local
6453 if (MO1.getImm() == 0) {
6466 MO1.ChangeToRegister(MO0.getReg(), false);
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp434 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
438 int32_t SImm = MO1.getImm();
690 const MCOperand &MO1 = MI.getOperand(OpIdx); local
692 unsigned Rn = getARMRegisterNumbering(MO1.getReg());
823 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
825 unsigned Imm8 = MO1.getImm();
894 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
897 unsigned Rm = getARMRegisterNumbering(MO1.getReg());
940 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
941 unsigned Imm = MO1
961 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
974 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
994 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1013 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1030 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1099 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1144 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1182 const MCOperand &MO1 = MI.getOperand(OpNum); local
1200 const MCOperand &MO1 = MI.getOperand(OpNum); local
1221 const MCOperand &MO1 = MI.getOperand(OpNum); local
1237 const MCOperand &MO1 = MI.getOperand(OpNum); local
1262 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86CodeEmitter.cpp826 const MachineOperand &MO1 = MI.getOperand(CurOp++);
828 if (MO1.isImm()) {
829 emitConstant(MO1.getImm(), Size);
840 if (MO1.isGlobal()) {
841 bool Indirect = gvNeedsNonLazyPtr(MO1, TM);
842 emitGlobalAddress(MO1.getGlobal(), rt, MO1.getOffset(), 0,
844 } else if (MO1.isSymbol())
845 emitExternalSymbolAddress(MO1.getSymbolName(), rt);
846 else if (MO1
[all...]
H A DX86FloatingPoint.cpp1320 const MachineOperand &MO1 = MI->getOperand(1);
1323 unsigned SrcST = MO1.getReg() - X86::ST0;
1324 bool KillsSrc = MI->killsRegister(MO1.getReg());
1328 unsigned SrcFP = getFPReg(MO1);
1381 unsigned SrcFP = getFPReg(MO1);
H A DX86InstrInfo.cpp2973 MachineOperand &MO1 = DataMI->getOperand(1); local
2974 if (MO1.getImm() == 0) {
2986 MO1.ChangeToRegister(MO0.getReg(), false);
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCCodeEmitter.cpp555 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
559 int32_t SImm = MO1.getImm();
863 const MCOperand &MO1 = MI.getOperand(OpIdx); local
865 unsigned Rn = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1003 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1005 unsigned Imm8 = MO1.getImm();
1070 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1073 unsigned Rm = CTX.getRegisterInfo()->getEncodingValue(MO1.getReg());
1107 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1108 unsigned Imm = MO1
1129 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1143 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1164 const MCOperand &MO1 = MI.getOperand(OpIdx+1); local
1197 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1215 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1327 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
1373 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp837 const MachineOperand &MO1 = MI.getOperand(1);
838 unsigned Flags = MO1.getTargetFlags();
846 if (MO1.isGlobal()) {
847 MIB1.addGlobalAddress(MO1.getGlobal(), 0, Flags | AArch64II::MO_PAGE);
848 MIB2.addGlobalAddress(MO1.getGlobal(), 0,
850 } else if (MO1.isSymbol()) {
851 MIB1.addExternalSymbol(MO1.getSymbolName(), Flags | AArch64II::MO_PAGE);
852 MIB2.addExternalSymbol(MO1.getSymbolName(),
855 assert(MO1.isCPI() &&
857 MIB1.addConstantPoolIndex(MO1
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMCodeEmitter.cpp250 const MachineOperand &MO1 = MI.getOperand(Op + 1); local
256 int32_t Imm12 = MO1.getImm();
292 const MachineOperand &MO1 = MI.getOperand(Op + 1); local
298 int32_t Imm12 = MO1.getImm();
686 const MachineOperand &MO1 = MI.getOperand(1); local
691 unsigned Lo16 = getMovi32Value(MI, MO1, ARM::reloc_arm_movw) & 0xFFFF;
704 unsigned Hi16 = getMovi32Value(MI, MO1, ARM::reloc_arm_movt) >> 16;
722 const MachineOperand &MO1 = MI.getOperand(1); local
723 assert(MO1.isImm() && ARM_AM::isSOImmTwoPartVal(MO1
925 const MachineOperand &MO1 = MI.getOperand(OpIdx + 1); local
[all...]
H A DARMExpandPseudoInsts.cpp923 const MachineOperand &MO1 = MI.getOperand(1); local
924 const GlobalValue *GV = MO1.getGlobal();
925 unsigned TF = MO1.getTargetFlags();
939 .addGlobalAddress(GV, MO1.getOffset(), TF | LO16TF)
944 .addGlobalAddress(GV, MO1.getOffset(), TF | HI16TF)
H A DARMAsmPrinter.cpp906 const MachineOperand &MO1 = MI->getOperand(OpNum); local
908 unsigned JTI = MO1.getIndex();
950 const MachineOperand &MO1 = MI->getOperand(OpNum); local
952 unsigned JTI = MO1.getIndex();
H A DARMBaseInstrInfo.cpp1182 const MachineOperand &MO1 = MI1->getOperand(1); local
1183 if (MO0.getOffset() != MO1.getOffset())
1192 return MO0.getGlobal() == MO1.getGlobal();
1197 int CPI1 = MO1.getIndex();
1238 const MachineOperand &MO1 = MI1->getOperand(i); local
1239 if (!MO0.isIdenticalTo(MO1))
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DProcessImplicitDefs.cpp66 MachineOperand &MO1 = MI->getOperand(1); local
67 if (MO1.getReg() != Reg)
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCCodeEmitter.cpp249 const MCOperand &MO1 = MI.getOperand(OpIdx + 1); local
250 assert(AArch64_AM::getShiftType(MO1.getImm()) == AArch64_AM::LSL &&
252 unsigned ShiftVal = AArch64_AM::getShiftValue(MO1.getImm());
/external/llvm/lib/Target/Hexagon/
H A DHexagonAsmPrinter.cpp412 MCOperand &MO1 = MappedInst.getOperand(1); local
413 unsigned High = RI->getSubReg(MO1.getReg(), Hexagon::subreg_hireg);
414 unsigned Low = RI->getSubReg(MO1.getReg(), Hexagon::subreg_loreg);
/external/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp1009 const MachineOperand &MO1 = MI->getOperand(1); local
1010 unsigned JTI = MO1.getIndex();
1056 const MachineOperand &MO1 = MI->getOperand(1); local
1057 unsigned JTI = MO1.getIndex();
1082 const MachineOperand &MO1 = MI->getOperand(1); local
1083 unsigned JTI = MO1.getIndex();
H A DARMExpandPseudoInsts.cpp1272 const MachineOperand &MO1 = MI.getOperand(1); local
1273 const GlobalValue *GV = MO1.getGlobal();
1325 const MachineOperand &MO1 = MI.getOperand(1); local
1326 const GlobalValue *GV = MO1.getGlobal();
1327 unsigned TF = MO1.getTargetFlags();
1338 .addGlobalAddress(GV, MO1.getOffset(), TF | LO16TF)
1343 .addGlobalAddress(GV, MO1.getOffset(), TF | HI16TF)
H A DARMBaseInstrInfo.cpp1470 const MachineOperand &MO1 = MI1.getOperand(1); local
1471 if (MO0.getOffset() != MO1.getOffset())
1481 return MO0.getGlobal() == MO1.getGlobal();
1486 int CPI1 = MO1.getIndex();
1527 const MachineOperand &MO1 = MI1.getOperand(i); local
1528 if (!MO0.isIdenticalTo(MO1))
/external/llvm/lib/Target/AArch64/InstPrinter/
H A DAArch64InstPrinter.cpp1178 const MCOperand MO1 = MI->getOperand(OpNum + 1); local
1180 if (MO1.isImm()) {
1181 O << ", #" << formatImm(MO1.getImm() * Scale);
1183 assert(MO1.isExpr() && "Unexpected operand type!");
1185 MO1.getExpr()->print(O, &MAI);
/external/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp1461 MCOperand &MO1, MCOperand &MO2) {
1465 TmpInst.addOperand(MO1);
1808 MCOperand &MO1 = Inst.getOperand(1); local
1816 Inst = makeCombineInst(Hexagon::A2_combineii, Rdd, MO1, MO2);
1823 MCOperand &MO1 = Inst.getOperand(1); local
1825 if (MO1.getExpr()->evaluateAsAbsolute(Value)) {
1831 Inst = makeCombineInst(Hexagon::A4_combineii, Rdd, MO1, MO2);
1460 makeCombineInst(int opCode, MCOperand &Rdd, MCOperand &MO1, MCOperand &MO2) argument

Completed in 1433 milliseconds