Searched defs:MO (Results 1 - 25 of 147) sorted by relevance

123456

/external/clang/test/CodeGenCXX/
H A D2010-03-09-AnonAggregate.cpp6 class MO { class
12 class MO m;
/external/llvm/lib/Target/R600/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.h35 virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDGPUMCInstLower.cpp34 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());
H A DAMDGPUAsmPrinter.cpp70 MachineOperand & MO = MI.getOperand(op_idx); local
76 if (!MO.isReg()) {
79 reg = MO.getReg();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.h31 virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument
/external/llvm/lib/CodeGen/
H A DLivePhysRegs.cpp24 void LivePhysRegs::removeRegsInMask(const MachineOperand &MO) { argument
27 if (MO.clobbersPhysReg(*LRI))
H A DDeadMachineInstructionElim.cpp68 const MachineOperand &MO = MI->getOperand(i); local
69 if (MO.isReg() && MO.isDef()) {
70 unsigned Reg = MO.getReg();
128 const MachineOperand &MO = MI->getOperand(i); local
129 if (!MO.isReg() || !MO.isDef())
131 unsigned Reg = MO.getReg();
147 const MachineOperand &MO = MI->getOperand(i); local
148 if (MO
166 const MachineOperand &MO = MI->getOperand(i); local
[all...]
H A DStackMapLivenessAnalysis.cpp114 MachineOperand MO = MachineOperand::CreateRegLiveOut(Mask); local
115 MI.addOperand(*MF, MO);
H A DExpandPostRAPseudos.cpp72 MachineOperand &MO = MI->getOperand(i); local
73 if (!MO.isReg() || !MO.isImplicit() || MO.isUse())
75 CopyMI->addOperand(MachineOperand::CreateReg(MO.getReg(), true, true));
/external/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp27 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, argument
30 unsigned Option = MO.getTargetFlags() & ARMII::MO_OPTION_MASK;
59 if (!MO.isJTI() && MO.getOffset())
61 MCConstantExpr::Create(MO.getOffset(),
68 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, argument
70 switch (MO.getType()) {
74 if (MO.isImplicit() && MO.getReg() != ARM::CPSR)
76 assert(!MO
123 const MachineOperand &MO = MI->getOperand(i); local
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonMCInstLower.cpp27 static MCOperand GetSymbolRef(const MachineOperand& MO, const MCSymbol* Symbol, argument
34 if (!MO.isJTI() && MO.getOffset())
35 ME = MCBinaryExpr::CreateAdd(ME, MCConstantExpr::Create(MO.getOffset(), MC),
48 const MachineOperand &MO = MI->getOperand(i); local
51 switch (MO.getType()) {
57 if (MO.isImplicit()) continue;
58 MCO = MCOperand::CreateReg(MO.getReg());
61 APFloat Val = MO.getFPImm()->getValueAPF();
68 MCO = MCOperand::CreateImm(MO
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430MCInstLower.cpp32 GetGlobalAddressSymbol(const MachineOperand &MO) const {
33 switch (MO.getTargetFlags()) {
38 return Printer.getSymbol(MO.getGlobal());
42 GetExternalSymbolSymbol(const MachineOperand &MO) const {
43 switch (MO.getTargetFlags()) {
48 return Printer.GetExternalSymbolSymbol(MO.getSymbolName());
52 GetJumpTableSymbol(const MachineOperand &MO) const {
57 << MO.getIndex();
59 switch (MO.getTargetFlags()) {
69 GetConstantPoolIndexSymbol(const MachineOperand &MO) cons
96 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const argument
117 const MachineOperand &MO = MI->getOperand(i); local
[all...]
H A DMSP430AsmPrinter.cpp66 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 << *getSymbol(MO.getGlobal());
/external/llvm/lib/Target/Sparc/
H A DSparcMCInstLower.cpp32 const MachineOperand &MO,
36 (SparcMCExpr::VariantKind)MO.getTargetFlags();
39 switch(MO.getType()) {
42 Symbol = MO.getMBB()->getSymbol();
46 Symbol = AP.getSymbol(MO.getGlobal());
50 Symbol = AP.GetBlockAddressSymbol(MO.getBlockAddress());
54 Symbol = AP.GetExternalSymbolSymbol(MO.getSymbolName());
58 Symbol = AP.GetCPISymbol(MO.getIndex());
70 const MachineOperand &MO,
72 switch(MO
31 LowerSymbolOperand(const MachineInstr *MI, const MachineOperand &MO, AsmPrinter &AP) argument
69 LowerOperand(const MachineInstr *MI, const MachineOperand &MO, AsmPrinter &AP) argument
103 const MachineOperand &MO = MI->getOperand(i); local
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp34 SystemZMCInstLower::getExpr(const MachineOperand &MO, argument
38 switch (MO.getType()) {
40 Symbol = MO.getMBB()->getSymbol();
45 Symbol = AsmPrinter.getSymbol(MO.getGlobal());
49 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName());
53 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex());
58 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex());
62 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress());
70 if (int64_t Offset = MO.getOffset()) {
77 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) cons
95 const MachineOperand &MO = MI->getOperand(I); local
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUMCInstLower.cpp34 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());
H A DAMDGPUAsmPrinter.cpp70 MachineOperand & MO = MI.getOperand(op_idx); local
76 if (!MO.isReg()) {
79 reg = MO.getReg();
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
H A DAMDGPUMCCodeEmitter.h31 virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument
/external/llvm/lib/Target/AArch64/
H A DAArch64DeadRegisterDefinitionsPass.cpp53 for (const MachineOperand &MO : MI.implicit_operands())
54 if (MO.isReg() && MO.isDef())
55 if (TRI->regsOverlap(Reg, MO.getReg()))
79 MachineOperand &MO = MI.getOperand(i); local
80 if (MO.isReg() && MO.isDead() && MO.isDef()) {
81 assert(!MO.isImplicit() && "Unexpected implicit def!");
91 if (implicitlyDefinesOverlappingReg(MO
[all...]
H A DAArch64MCInstLower.cpp33 AArch64MCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const {
34 return Printer.getSymbol(MO.getGlobal());
38 AArch64MCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const {
39 return Printer.GetExternalSymbolSymbol(MO.getSymbolName());
42 MCOperand AArch64MCInstLower::lowerSymbolOperandDarwin(const MachineOperand &MO, argument
47 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) {
48 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE)
50 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) ==
55 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) {
56 if ((MO
77 lowerSymbolOperandELF(const MachineOperand &MO, MCSymbol *Sym) const argument
144 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const argument
153 lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const argument
[all...]
H A DAArch64ExpandPseudoInsts.cpp54 const MachineOperand &MO = OldMI.getOperand(i); local
55 assert(MO.isReg() && MO.getReg());
56 if (MO.isUse())
57 UseMI.addOperand(MO);
59 DefMI.addOperand(MO);
/external/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp35 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, argument
43 Symbol = MO.getMBB()->getSymbol();
46 Symbol = Printer.getSymbol(MO.getGlobal());
47 Offset += MO.getOffset();
50 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress());
51 Offset += MO.getOffset();
54 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName());
55 Offset += MO.getOffset();
58 Symbol = Printer.GetJTISymbol(MO.getIndex());
61 Symbol = Printer.GetCPISymbol(MO
81 LowerOperand(const MachineOperand &MO, unsigned offset) const argument
111 const MachineOperand &MO = MI->getOperand(i); local
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCParsedAsmOperand.h80 inline raw_ostream& operator<<(raw_ostream &OS, const MCParsedAsmOperand &MO) { argument
81 MO.print(OS);
/external/llvm/lib/Target/Sparc/InstPrinter/
H A DSparcInstPrinter.cpp110 const MCOperand &MO = MI->getOperand (opNum); local
112 if (MO.isReg()) {
113 printRegName(O, MO.getReg());
117 if (MO.isImm()) {
118 O << (int)MO.getImm();
122 assert(MO.isExpr() && "Unknown operand kind in printOperand");
123 MO.getExpr()->print(O);
137 const MCOperand &MO = MI->getOperand(opNum+1); local
139 if (MO.isReg() && MO
[all...]
/external/llvm/lib/Target/SystemZ/InstPrinter/
H A DSystemZInstPrinter.cpp33 void SystemZInstPrinter::printOperand(const MCOperand &MO, raw_ostream &O) { argument
34 if (MO.isReg())
35 O << '%' << getRegisterName(MO.getReg());
36 else if (MO.isImm())
37 O << MO.getImm();
38 else if (MO.isExpr())
39 O << *MO.getExpr();
119 const MCOperand &MO = MI->getOperand(OpNum);
120 if (MO.isImm()) {
122 O.write_hex(MO
[all...]

Completed in 359 milliseconds

123456