Searched defs:MO (Results 1 - 25 of 139) 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.h32 virtual uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument
/external/llvm/lib/Target/AArch64/
H A DAArch64MCInstLower.cpp31 AArch64AsmPrinter::lowerSymbolOperand(const MachineOperand &MO, argument
37 switch (MO.getTargetFlags()) {
90 if (!MO.isJTI() && MO.getOffset())
92 MCConstantExpr::Create(MO.getOffset(),
99 bool AArch64AsmPrinter::lowerOperand(const MachineOperand &MO, argument
101 switch (MO.getType()) {
104 if (MO.isImplicit())
106 assert(!MO.getSubReg() && "Subregs should be eliminated!");
107 MCOp = MCOperand::CreateReg(MO
151 const MachineOperand &MO = MI->getOperand(i); local
[all...]
/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/Target/ARM/
H A DARMMCInstLower.cpp26 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, argument
29 switch (MO.getTargetFlags()) {
33 switch (MO.getTargetFlags()) {
57 if (!MO.isJTI() && MO.getOffset())
59 MCConstantExpr::Create(MO.getOffset(),
66 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, argument
68 switch (MO.getType()) {
72 if (MO.isImplicit() && MO
119 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...]
H A DHexagonAsmPrinter.h58 void printOp(const MachineOperand &MO, raw_ostream &O);
62 void printRegister(const MachineOperand &MO, bool R0AsZero, argument
64 unsigned RegNo = MO.getReg();
/external/llvm/lib/Target/MSP430/
H A DMSP430MCInstLower.cpp30 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) cons
92 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const argument
113 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 << *Mang->getSymbol(MO.getGlobal());
105 O << MAI->getGlobalPrefix() << MO.getSymbolName();
/external/llvm/lib/Target/R600/
H A DAMDGPUMCInstLower.cpp37 const MachineOperand &MO = MI->getOperand(i); local
40 switch (MO.getType()) {
44 const APFloat &FloatValue = MO.getFPImm()->getValueAPF();
51 MCOp = MCOperand::CreateImm(MO.getImm());
54 MCOp = MCOperand::CreateReg(MO.getReg());
58 MO.getMBB()->getSymbol(), Ctx));
H A DAMDGPUAsmPrinter.cpp95 MachineOperand & MO = MI.getOperand(op_idx); local
96 if (!MO.isReg())
98 unsigned HWReg = RI->getEncodingValue(MO.getReg()) & 0xff;
157 MachineOperand & MO = MI.getOperand(op_idx); local
163 if (!MO.isReg()) {
166 reg = MO.getReg();
/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());
/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/CodeGen/
H A DDeadMachineInstructionElim.cpp67 const MachineOperand &MO = MI->getOperand(i); local
68 if (MO.isReg() && MO.isDef()) {
69 unsigned Reg = MO.getReg();
124 const MachineOperand &MO = MI->getOperand(i); local
125 if (!MO.isReg() || !MO.isDef())
127 unsigned Reg = MO.getReg();
153 const MachineOperand &MO = MI->getOperand(i); local
154 if (MO
172 const MachineOperand &MO = MI->getOperand(i); local
[all...]
H A DExpandPostRAPseudos.cpp71 MachineOperand &MO = MI->getOperand(i); local
72 if (!MO.isReg() || !MO.isImplicit() || MO.isUse())
74 CopyMI->addOperand(MachineOperand::CreateReg(MO.getReg(), true, true));
H A DProcessImplicitDefs.cpp70 for (MIOperands MO(MI); MO.isValid(); ++MO)
71 if (MO->isReg() && MO->isUse() && MO->readsReg())
86 MachineOperand &MO = UI.getOperand(); local
87 MO.setIsUndef();
88 MachineInstr *UserMI = MO.getParent();
105 for (MIOperands MO(UserM
[all...]
/external/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp36 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, argument
42 switch(MO.getTargetFlags()) {
73 Symbol = MO.getMBB()->getSymbol();
77 Symbol = Mang->getSymbol(MO.getGlobal());
78 Offset += MO.getOffset();
82 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress());
83 Offset += MO.getOffset();
87 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName());
88 Offset += MO.getOffset();
92 Symbol = AsmPrinter.GetJTISymbol(MO
129 LowerOperand(const MachineOperand &MO, unsigned offset) const argument
159 const MachineOperand &MO = MI->getOperand(i); local
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.cpp42 MCOperand SystemZMCInstLower::lowerSymbolOperand(const MachineOperand &MO, argument
45 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags());
54 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const {
55 switch (MO.getType()) {
60 return MCOperand::CreateReg(MO.getReg());
63 return MCOperand::CreateImm(MO.getImm());
66 return lowerSymbolOperand(MO, MO.getMBB()->getSymbol(),
67 /* MO has no offset field */0);
70 return lowerSymbolOperand(MO, Man
103 const MachineOperand &MO = MI->getOperand(I); local
[all...]
/external/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp35 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, argument
43 Symbol = MO.getMBB()->getSymbol();
46 Symbol = Mang->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/NVPTX/InstPrinter/
H A DNVPTXInstPrinter.cpp96 const MCOperand &MO = MI->getOperand(OpNum); local
97 int64_t Imm = MO.getImm();
146 const MCOperand &MO = MI->getOperand(OpNum); local
147 int64_t Imm = MO.getImm();
220 const MCOperand &MO = MI->getOperand(OpNum); local
221 int Imm = (int) MO.getImm();
/external/llvm/lib/Target/PowerPC/
H A DPPCHazardRecognizers.cpp188 MachineMemOperand *MO = *MI->memoperands_begin(); local
189 if (isLoadOfStoredAddress(MO->getSize(),
190 MO->getOffset(), MO->getValue()))
215 MachineMemOperand *MO = *MI->memoperands_begin(); local
216 StoreSize[NumStores] = MO->getSize();
217 StoreOffset[NumStores] = MO->getOffset();
218 StoreValue[NumStores] = MO->getValue();
H A DPPCMCInstLower.cpp34 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, AsmPrinter &AP){ argument
38 if (!MO.isGlobal()) {
39 assert(MO.isSymbol() && "Isn't a symbol reference");
41 Name += MO.getSymbolName();
43 const GlobalValue *GV = MO.getGlobal();
45 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB ||
46 (MO.getTargetFlags() & PPCII::MO_NLP_FLAG))
54 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB) {
69 if (MO.isGlobal()) {
72 StubValueTy(AP.Mang->getSymbol(MO
107 GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, AsmPrinter &Printer, bool isDarwin) argument
168 const MachineOperand &MO = MI->getOperand(i); local
[all...]

Completed in 1434 milliseconds

123456