/external/clang/test/CodeGenCXX/ |
H A D | 2010-03-09-AnonAggregate.cpp | 6 class MO { class 12 class MO m;
|
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430MCInstLower.cpp | 32 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 D | MSP430MCInstLower.h | 36 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 38 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 39 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const; 40 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const; 41 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const; 42 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMMCInstLower.cpp | 27 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/SystemZ/ |
H A D | SystemZMCInstLower.cpp | 34 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/llvm/lib/Target/AArch64/ |
H A D | AArch64MCInstLower.cpp | 33 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 D | AArch64MCInstLower.h | 38 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const; 41 MCOperand lowerSymbolOperandDarwin(const MachineOperand &MO, 43 MCOperand lowerSymbolOperandELF(const MachineOperand &MO, 45 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 47 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 48 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
|
H A D | AArch64DeadRegisterDefinitionsPass.cpp | 53 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...] |
/external/llvm/lib/Target/Sparc/ |
H A D | SparcMCInstLower.cpp | 32 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...] |
H A D | SparcCodeEmitter.cpp | 74 const MachineOperand &MO) const; 88 const MachineOperand &MO) const; 178 const MachineOperand &MO) const { 179 if (MO.isReg()) 180 return TM.getRegisterInfo()->getEncodingValue(MO.getReg()); 181 else if (MO.isImm()) 182 return static_cast<unsigned>(MO.getImm()); 183 else if (MO.isGlobal()) 184 emitGlobalAddress(MO.getGlobal(), getRelocation(MI, MO)); 197 const MachineOperand MO = MI.getOperand(opIdx); local 203 const MachineOperand MO = MI.getOperand(opIdx); local 209 const MachineOperand MO = MI.getOperand(opIdx); local 215 const MachineOperand MO = MI.getOperand(opIdx); local [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonMCInstLower.cpp | 27 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/XCore/ |
H A D | XCoreMCInstLower.cpp | 35 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/lib/Target/PowerPC/ |
H A D | PPCCodeEmitter.cpp | 56 MachineRelocation GetRelocation(const MachineOperand &MO, 61 const MachineOperand &MO) const; 147 const MachineOperand &MO = MI.getOperand(OpNo); local 150 (MO.getReg() >= PPC::CR0 && MO.getReg() <= PPC::CR7)); 151 return 0x80 >> TM.getRegisterInfo()->getEncodingValue(MO.getReg()); 154 MachineRelocation PPCCodeEmitter::GetRelocation(const MachineOperand &MO, argument 167 if (MO.isGlobal()) 169 const_cast<GlobalValue *>(MO.getGlobal()), 170 Cst, isa<Function>(MO 189 const MachineOperand &MO = MI.getOperand(OpNo); local 198 const MachineOperand &MO = MI.getOperand(OpNo); local 205 const MachineOperand &MO = MI.getOperand(OpNo); local 218 const MachineOperand &MO = MI.getOperand(OpNo); local 239 const MachineOperand &MO = MI.getOperand(OpNo); local 255 const MachineOperand &MO = MI.getOperand(OpNo); local [all...] |
H A D | PPCMCInstLower.cpp | 37 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, AsmPrinter &AP){ argument 45 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB) 47 else if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) 55 if (!MO.isGlobal()) { 56 assert(MO.isSymbol() && "Isn't a symbol reference"); 57 Mang->getNameWithPrefix(Name, MO.getSymbolName()); 59 const GlobalValue *GV = MO.getGlobal(); 71 if (MO.getTargetFlags() == PPCII::MO_DARWIN_STUB) { 77 if (MO.isGlobal()) { 80 StubValueTy(AP.getSymbol(MO 111 GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, AsmPrinter &Printer, bool isDarwin) argument 172 const MachineOperand &MO = MI->getOperand(i); local [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCCodeEmitter.cpp | 55 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, 216 AArch64MCCodeEmitter::getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument 219 if (MO.isReg()) 220 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg()); 222 assert(MO.isImm() && "did not expect relocated expression"); 223 return static_cast<unsigned>(MO.getImm()); 230 const MCOperand &MO = MI.getOperand(OpIdx); local 233 if (MO.isImm()) 234 ImmVal = static_cast<uint32_t>(MO.getImm()); 236 assert(MO 251 const MCOperand &MO = MI.getOperand(OpIdx); local 278 const MCOperand &MO = MI.getOperand(OpIdx); local 304 const MCOperand &MO = MI.getOperand(OpIdx); local 326 const MCOperand &MO = MI.getOperand(OpIdx); local 355 const MCOperand &MO = MI.getOperand(OpIdx); local 374 const MCOperand &MO = MI.getOperand(OpIdx); local 396 const MCOperand &MO = MI.getOperand(OpIdx); local 424 const MCOperand &MO = MI.getOperand(OpIdx); local 448 const MCOperand &MO = MI.getOperand(OpIdx); local 456 const MCOperand &MO = MI.getOperand(OpIdx); local 465 const MCOperand &MO = MI.getOperand(OpIdx); local 474 const MCOperand &MO = MI.getOperand(OpIdx); local 484 const MCOperand &MO = MI.getOperand(OpIdx); local 493 const MCOperand &MO = MI.getOperand(OpIdx); local 502 const MCOperand &MO = MI.getOperand(OpIdx); local 511 const MCOperand &MO = MI.getOperand(OpIdx); local 520 const MCOperand &MO = MI.getOperand(OpIdx); local 529 const MCOperand &MO = MI.getOperand(OpIdx); local 538 const MCOperand &MO = MI.getOperand(OpIdx); local 547 const MCOperand &MO = MI.getOperand(OpIdx); local 556 const MCOperand &MO = MI.getOperand(OpIdx); local 566 const MCOperand &MO = MI.getOperand(OpIdx); local [all...] |
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCCodeEmitter.cpp | 55 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, 103 const MCOperand &MO = MI.getOperand(tlsOpNo); local 104 uint64_t op = getMachineOpValue(MI, MO, Fixups, STI); 114 getMachineOpValue(const MCInst &MI, const MCOperand &MO, argument 118 if (MO.isReg()) 119 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg()); 121 if (MO.isImm()) 122 return MO.getImm(); 124 assert(MO.isExpr()); 125 const MCExpr *Expr = MO 144 const MCOperand &MO = MI.getOperand(OpNo); local 179 const MCOperand &MO = MI.getOperand(OpNo); local 192 const MCOperand &MO = MI.getOperand(OpNo); local 204 const MCOperand &MO = MI.getOperand(OpNo); local [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCCodeEmitter.cpp | 81 unsigned getMachineOpValue(const MCInst &MI,const MCOperand &MO, 166 const MCOperand &MO = MI.getOperand(OpNo); local 167 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI); 170 Fixups.push_back(MCFixup::Create(0, MO.getExpr(), 178 const MCOperand &MO = MI.getOperand(OpNo); local 179 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixup 191 const MCOperand &MO = MI.getOperand(OpNo); local 204 const MCOperand &MO = MI.getOperand(OpNo); local 216 const MCOperand &MO = MI.getOperand(OpNo); local 233 const MCOperand &MO = MI.getOperand(OpNo); local 252 const MCOperand &MO = MI.getOperand(OpNo); local 266 const MCOperand &MO = MI.getOperand(OpNo); local 285 const MCOperand &MO = MI.getOperand(OpNo+1); local 295 const MCOperand &MO = MI.getOperand(OpNo); local 304 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument [all...] |
/external/llvm/lib/CodeGen/ |
H A D | DeadMachineInstructionElim.cpp | 68 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 D | MachineInstrBundle.cpp | 53 MachineOperand &MO = MII->getOperand(i); local 54 if (MO.isReg() && MO.isInternalRead()) 55 MO.setIsInternalRead(false); 125 MachineOperand &MO = FirstMI->getOperand(i); local 126 if (!MO.isReg()) 128 if (MO.isDef()) { 129 Defs.push_back(&MO); 133 unsigned Reg = MO.getReg(); 138 MO 155 MachineOperand &MO = *Defs[i]; local 256 MachineOperand &MO = deref(); local 289 MachineOperand &MO = deref(); local [all...] |
H A D | RegAllocFast.cpp | 217 /// isLastUseOfLocalReg - Return true if MO is the only remaining reference to 220 bool RAFast::isLastUseOfLocalReg(MachineOperand &MO) { argument 223 if (StackSlotForVirtReg[MO.getReg()] != -1) 226 // Check that the use/def chain has exactly one operand - MO. 227 MachineRegisterInfo::reg_nodbg_iterator I = MRI->reg_nodbg_begin(MO.getReg()); 228 if (&*I != &MO) 236 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); 237 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { 238 if (MO.getReg() == LR.PhysReg) 239 MO 345 usePhysReg(MachineOperand &MO) argument 623 MachineOperand &MO = MI->getOperand(OpNum); local 668 MachineOperand &MO = MI->getOperand(OpNum); local 701 MachineOperand &MO = MI->getOperand(i); local 717 MachineOperand &MO = MI->getOperand(i); local 731 MachineOperand &MO = MI->getOperand(i); local 756 MachineOperand &MO = MI->getOperand(i); local 772 MachineOperand &MO = MI->getOperand(i); local 847 MachineOperand &MO = MI->getOperand(i); local 908 MachineOperand &MO = MI->getOperand(i); local 963 MachineOperand &MO = MI->getOperand(i); local 985 MachineOperand &MO = MI->getOperand(i); local 1013 MachineOperand &MO = MI->getOperand(i); local [all...] |
H A D | ProcessImplicitDefs.cpp | 70 for (MIOperands MO(MI); MO.isValid(); ++MO) 71 if (MO->isReg() && MO->isUse() && MO->readsReg()) 83 for (MachineOperand &MO : MRI->use_nodbg_operands(Reg)) { 84 MO.setIsUndef(); 85 MachineInstr *UserMI = MO.getParent(); 102 for (MIOperands MO(UserM [all...] |
H A D | MachineInstr.cpp | 215 hash_code llvm::hash_value(const MachineOperand &MO) { argument 216 switch (MO.getType()) { 219 return hash_combine(MO.getType(), MO.getReg(), MO.getSubReg(), MO.isDef()); 221 return hash_combine(MO.getType(), MO.getTargetFlags(), MO.getImm()); 223 return hash_combine(MO 761 addMemOperand(MachineFunction &MF, MachineMemOperand *MO) argument 813 const MachineOperand &MO = getOperand(i); local 881 const MachineOperand &MO = getOperand(i); local 1027 const MachineOperand &MO = getOperand(OpIdx); local 1038 const MachineOperand &MO = getOperand(OpIdx); local 1068 const MachineOperand &MO = getOperand(i); local 1096 const MachineOperand &MO = getOperand(i); local 1122 const MachineOperand &MO = getOperand(i); local 1203 const MachineOperand &MO = getOperand(OpIdx); local 1261 MachineOperand &MO = getOperand(i); local 1275 MachineOperand &MO = getOperand(i); local 1282 MachineOperand &MO = getOperand(i); local 1426 const MachineOperand &MO = getOperand(i); local 1441 const MachineOperand &MO = MI->getOperand(i); local 1532 const MachineOperand &MO = getOperand(i); local 1693 MachineOperand &MO = getOperand(i); local 1748 MachineOperand &MO = getOperand(i); local 1766 MachineOperand &MO = getOperand(i); local 1812 MachineOperand *MO = findRegisterDefOperand(Reg, false, RegInfo); local 1817 const MachineOperand &MO = getOperand(i); local 1832 MachineOperand &MO = getOperand(i); local 1866 const MachineOperand &MO = MI->getOperand(i); local [all...] |
H A D | MachineRegisterInfo.cpp | 80 for (MachineOperand &MO : reg_nodbg_operands(Reg)) { 82 MachineInstr *MI = MO.getParent(); 83 unsigned OpNo = &MO - &MI->getOperand(0); 130 MachineOperand *MO = &M; local 131 MachineInstr *MI = MO->getParent(); 134 << " use list MachineOperand " << MO 140 if (!(MO >= MO0 && MO < MO0+NumOps)) { 142 << " use list MachineOperand " << MO 146 if (!MO 148 << " MachineOperand " << MO << ": " << *MO local 155 << *MO << " is the wrong register\\n"; local 173 addRegOperandToUseList(MachineOperand *MO) argument 212 removeRegOperandFromUseList(MachineOperand *MO) argument [all...] |
/external/llvm/lib/Target/R600/MCTargetDesc/ |
H A D | SIMCCodeEmitter.cpp | 47 uint32_t getLitEncoding(const MCOperand &MO) const; 62 uint64_t getMachineOpValue(const MCInst &MI, const MCOperand &MO, 86 uint32_t SIMCCodeEmitter::getLitEncoding(const MCOperand &MO) const { 89 if (MO.isImm()) 90 Imm.I = MO.getImm(); 91 else if (MO.isFPImm()) 92 Imm.F = MO.getFPImm(); 173 const MCOperand &MO, 176 if (MO.isReg()) 177 return MRI.getEncodingValue(MO 172 getMachineOpValue(const MCInst &MI, const MCOperand &MO, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const argument [all...] |
/external/llvm/lib/Target/Mips/ |
H A D | MipsMCInstLower.cpp | 35 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, argument 41 switch(MO.getTargetFlags()) { 72 Symbol = MO.getMBB()->getSymbol(); 76 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); 77 Offset += MO.getOffset(); 81 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress()); 82 Offset += MO.getOffset(); 86 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName()); 87 Offset += MO.getOffset(); 91 Symbol = AsmPrinter.GetJTISymbol(MO 128 LowerOperand(const MachineOperand &MO, unsigned offset) const argument 184 const MachineOperand &MO = MI->getOperand(I); local 226 const MachineOperand &MO = MI->getOperand(i); local [all...] |