HomeSort by relevance Sort by last modified time
    Searched refs:MO (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /external/clang/test/CodeGenCXX/
2010-03-09-AnonAggregate.cpp 6 class MO {
12 class MO m;
  /external/llvm/lib/Target/MSP430/
MSP430MCInstLower.cpp 30 GetGlobalAddressSymbol(const MachineOperand &MO) const {
31 switch (MO.getTargetFlags()) {
36 return Printer.Mang->getSymbol(MO.getGlobal());
40 GetExternalSymbolSymbol(const MachineOperand &MO) const {
41 switch (MO.getTargetFlags()) {
46 return Printer.GetExternalSymbolSymbol(MO.getSymbolName());
50 GetJumpTableSymbol(const MachineOperand &MO) const {
54 << MO.getIndex();
56 switch (MO.getTargetFlags()) {
66 GetConstantPoolIndexSymbol(const MachineOperand &MO) const
    [all...]
MSP430MCInstLower.h 39 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
41 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
42 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
43 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
44 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
45 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
MSP430AsmPrinter.cpp 68 const MachineOperand &MO = MI->getOperand(OpNum);
69 switch (MO.getType()) {
72 O << MSP430InstPrinter::getRegisterName(MO.getReg());
77 O << MO.getImm();
80 O << *MO.getMBB()->getSymbol();
84 uint64_t Offset = MO.getOffset();
97 O << *Mang->getSymbol(MO.getGlobal());
107 O << MAI->getGlobalPrefix() << MO.getSymbolName();
  /external/llvm/lib/Target/ARM/
ARMMCInstLower.cpp 26 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO,
29 switch (MO.getTargetFlags()) {
33 switch (MO.getTargetFlags()) {
58 if (!MO.isJTI() && MO.getOffset())
60 MCConstantExpr::Create(MO.getOffset(),
67 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO,
69 switch (MO.getType()) {
75 if (MO.isImplicit() && MO.getReg() != ARM::CPSR
    [all...]
  /external/llvm/lib/Target/MBlaze/
MBlazeMCInstLower.cpp 33 GetGlobalAddressSymbol(const MachineOperand &MO) const {
34 switch (MO.getTargetFlags()) {
39 return Printer.Mang->getSymbol(MO.getGlobal());
43 GetExternalSymbolSymbol(const MachineOperand &MO) const {
44 switch (MO.getTargetFlags()) {
49 return Printer.GetExternalSymbolSymbol(MO.getSymbolName());
53 GetJumpTableSymbol(const MachineOperand &MO) const {
57 << MO.getIndex();
58 switch (MO.getTargetFlags()) {
68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const
    [all...]
MBlazeMCInstLower.h 39 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
41 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
42 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
43 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const;
44 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const;
45 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
MBlazeAsmPrinter.cpp 215 const MachineOperand &MO = MI->getOperand(opNum);
217 switch (MO.getType()) {
219 O << MBlazeInstPrinter::getRegisterName(MO.getReg());
223 O << (int32_t)MO.getImm();
227 const ConstantFP *fp = MO.getFPImm();
234 O << *MO.getMBB()->getSymbol();
238 O << *Mang->getSymbol(MO.getGlobal());
242 O << *GetExternalSymbolSymbol(MO.getSymbolName());
247 << '_' << MO.getIndex();
252 << getFunctionNumber() << "_" << MO.getIndex()
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCodeEmitter.cpp 56 MachineRelocation GetRelocation(const MachineOperand &MO,
61 const MachineOperand &MO) const;
140 const MachineOperand &MO = MI.getOperand(OpNo);
142 (MO.getReg() >= PPC::CR0 && MO.getReg() <= PPC::CR7));
143 return 0x80 >> PPCRegisterInfo::getRegisterNumbering(MO.getReg());
146 MachineRelocation PPCCodeEmitter::GetRelocation(const MachineOperand &MO,
159 if (MO.isGlobal())
161 const_cast<GlobalValue *>(MO.getGlobal()),
162 Cst, isa<Function>(MO.getGlobal()))
    [all...]
PPCMCCodeEmitter.cpp 56 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO,
89 const MCOperand &MO = MI.getOperand(OpNo);
90 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups);
93 Fixups.push_back(MCFixup::Create(0, MO.getExpr(),
100 const MCOperand &MO = MI.getOperand(OpNo);
101 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups)
    [all...]
PPCMCInstLower.cpp 31 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, AsmPrinter &AP){
35 if (!MO.isGlobal()) {
36 assert(MO.isSymbol() && "Isn't a symbol reference");
38 Name += MO.getSymbolName();
40 const GlobalValue *GV = MO.getGlobal();
42 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB ||
43 (MO.getTargetFlags() & PPCII::MO_NLP_FLAG))
51 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB) {
59 if (MO.isGlobal()) {
62 StubValueTy(AP.Mang->getSymbol(MO.getGlobal())
    [all...]
  /external/llvm/lib/Target/Alpha/
AlphaAsmPrinter.cpp 54 void printOp(const MachineOperand &MO, raw_ostream &O);
73 const MachineOperand &MO = MI->getOperand(opNum);
74 if (MO.isReg()) {
75 assert(TargetRegisterInfo::isPhysicalRegister(MO.getReg()) &&
77 O << getRegisterName(MO.getReg());
78 } else if (MO.isImm()) {
79 O << MO.getImm();
80 assert(MO.getImm() < (1 << 30));
82 printOp(MO, O);
87 void AlphaAsmPrinter::printOp(const MachineOperand &MO, raw_ostream &O)
    [all...]
  /external/llvm/lib/Target/Mips/
MipsMCInstLower.cpp 31 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO,
37 switch(MO.getTargetFlags()) {
53 Symbol = MO.getMBB()->getSymbol();
57 Symbol = Mang->getSymbol(MO.getGlobal());
61 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress());
65 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName());
69 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex());
73 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex());
74 if (MO.getOffset())
75 Offset = MO.getOffset();
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCParsedAsmOperand.h 40 inline raw_ostream& operator<<(raw_ostream &OS, const MCParsedAsmOperand &MO) {
41 MO.print(OS);
  /external/llvm/lib/CodeGen/
DeadMachineInstructionElim.cpp 70 const MachineOperand &MO = MI->getOperand(i);
71 if (MO.isReg() && MO.isDef()) {
72 unsigned Reg = MO.getReg();
135 const MachineOperand &MO = MI->getOperand(i);
136 if (!MO.isReg() || !MO.isDef())
138 unsigned Reg = MO.getReg();
164 const MachineOperand &MO = MI->getOperand(i);
165 if (MO.isReg() && MO.isDef())
    [all...]
RegAllocFast.cpp 191 /// isLastUseOfLocalReg - Return true if MO is the only remaining reference to
194 bool RAFast::isLastUseOfLocalReg(MachineOperand &MO) {
195 // Check for non-debug uses or defs following MO.
197 MachineOperand *Next = &MO;
204 if (StackSlotForVirtReg[MO.getReg()] != -1)
207 // Check that the use/def chain has exactly one operand - MO.
208 return &MRI->reg_nodbg_begin(MO.getReg()).getOperand() == &MO;
214 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum);
215 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum))
    [all...]
RegisterScavenging.cpp 156 const MachineOperand &MO = MI->getOperand(i);
157 if (!MO.isReg())
159 unsigned Reg = MO.getReg();
163 if (MO.isUse()) {
165 if (MO.isUndef())
168 if (!isPred && (MO.isKill() || MI->isRegTiedToDefOperand(i)))
171 assert(MO.isDef());
172 if (!isPred && MO.isDead())
176 if (MO.isEarlyClobber())
183 const MachineOperand &MO = MI->getOperand(i)
    [all...]
MachineLICM.cpp 361 const MachineOperand &MO = MI->getOperand(i);
362 if (MO.isFI()) {
364 int FI = MO.getIndex();
373 if (!MO.isReg())
375 unsigned Reg = MO.getReg();
381 if (!MO.isDef()) {
389 if (MO.isImplicit()) {
393 if (!MO.isDead())
476 const MachineOperand &MO = MI->getOperand(j);
477 if (!MO.isReg() || MO.isDef() || !MO.getReg()
    [all...]
MachineInstr.cpp 748 MachineMemOperand *MO) {
757 NewMemRefs[NewNum - 1] = MO;
773 const MachineOperand &MO = getOperand(i);
775 if (!MO.isReg()) {
776 if (!MO.isIdenticalTo(OMO))
784 if (MO.isDef()) {
788 if (TargetRegisterInfo::isPhysicalRegister(MO.getReg()) ||
790 if (MO.getReg() != OMO.getReg())
793 if (!MO.isIdenticalTo(OMO))
795 if (Check == CheckKillDead && MO.isDead() != OMO.isDead()
    [all...]
  /external/llvm/lib/Target/Blackfin/
BlackfinAsmPrinter.cpp 76 const MachineOperand &MO = MI->getOperand(opNum);
77 switch (MO.getType()) {
79 assert(TargetRegisterInfo::isPhysicalRegister(MO.getReg()) &&
81 O << getRegisterName(MO.getReg());
85 O << MO.getImm();
88 O << *MO.getMBB()->getSymbol();
91 O << *Mang->getSymbol(MO.getGlobal());
92 printOffset(MO.getOffset(), O);
95 O << *GetExternalSymbolSymbol(MO.getSymbolName());
99 << MO.getIndex()
    [all...]
  /external/llvm/lib/Target/MBlaze/InstPrinter/
MBlazeInstPrinter.cpp 48 const MCOperand &MO = MI->getOperand(OpNo);
49 if (MO.isImm())
50 O << "rfsl" << MO.getImm();
57 const MCOperand &MO = MI->getOperand(OpNo);
58 if (MO.isImm())
59 O << (uint32_t)MO.getImm();
  /external/llvm/lib/Target/X86/
X86AsmPrinter.cpp 79 void X86AsmPrinter::printSymbolOperand(const MachineOperand &MO,
81 switch (MO.getType()) {
84 O << *GetJTISymbol(MO.getIndex());
87 O << *GetCPISymbol(MO.getIndex());
88 printOffset(MO.getOffset(), O);
91 const GlobalValue *GV = MO.getGlobal();
94 if (MO.getTargetFlags() == X86II::MO_DARWIN_STUB)
96 else if (MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY ||
97 MO.getTargetFlags() == X86II::MO_DARWIN_NONLAZY_PIC_BASE ||
98 MO.getTargetFlags() == X86II::MO_DARWIN_HIDDEN_NONLAZY_PIC_BASE
    [all...]
X86MCInstLower.h 43 MCSymbol *GetSymbolFromOperand(const MachineOperand &MO) const;
44 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
  /external/llvm/lib/Target/SystemZ/
SystemZAsmPrinter.cpp 86 const MachineOperand &MO = MI->getOperand(OpNum);
87 switch (MO.getType()) {
89 O << MO.getImm();
92 O << *MO.getMBB()->getSymbol();
95 const GlobalValue *GV = MO.getGlobal();
104 printOffset(MO.getOffset(), O);
109 Name += MO.getSymbolName();
125 const MachineOperand &MO = MI->getOperand(OpNum);
126 switch (MO.getType()) {
128 assert (TargetRegisterInfo::isPhysicalRegister(MO.getReg()) &
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcAsmPrinter.cpp 73 const MachineOperand &MO = MI->getOperand (opNum);
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.getGlobal())
    [all...]

Completed in 723 milliseconds

1 2 3 4 5