/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 37 AArch64MCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 38 const GlobalValue *GV = MO.getGlobal(); in GetGlobalAddressSymbol() 39 unsigned TargetFlags = MO.getTargetFlags(); in GetGlobalAddressSymbol() 75 AArch64MCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 76 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 79 MCOperand AArch64MCInstLower::lowerSymbolOperandDarwin(const MachineOperand &MO, in lowerSymbolOperandDarwin() argument 84 if ((MO.getTargetFlags() & AArch64II::MO_GOT) != 0) { in lowerSymbolOperandDarwin() 85 if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == AArch64II::MO_PAGE) in lowerSymbolOperandDarwin() 87 else if ((MO.getTargetFlags() & AArch64II::MO_FRAGMENT) == in lowerSymbolOperandDarwin() 92 } else if ((MO.getTargetFlags() & AArch64II::MO_TLS) != 0) { in lowerSymbolOperandDarwin() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 31 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 32 switch (MO.getTargetFlags()) { in GetGlobalAddressSymbol() 37 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 41 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 42 switch (MO.getTargetFlags()) { in GetExternalSymbolSymbol() 47 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 51 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 56 << MO.getIndex(); in GetJumpTableSymbol() 58 switch (MO.getTargetFlags()) { in GetJumpTableSymbol() 68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 46 const MCOperand &MO = MI.getOperand(OpNo); in getDirectBrEncoding() local 47 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI); in getDirectBrEncoding() 50 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getDirectBrEncoding() 58 const MCOperand &MO = MI.getOperand(OpNo); in getCondBrEncoding() local 59 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI); in getCondBrEncoding() 62 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getCondBrEncoding() 71 const MCOperand &MO = MI.getOperand(OpNo); in getAbsDirectBrEncoding() local 72 if (MO.isReg() || MO.isImm()) return getMachineOpValue(MI, MO, Fixups, STI); in getAbsDirectBrEncoding() 75 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in getAbsDirectBrEncoding() 84 const MCOperand &MO = MI.getOperand(OpNo); in getAbsCondBrEncoding() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiMCInstLower.cpp | 33 LanaiMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 34 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 38 LanaiMCInstLower::GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 39 return Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in GetBlockAddressSymbol() 43 LanaiMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 44 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 47 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 51 << MO.getIndex(); in GetJumpTableSymbol() 57 LanaiMCInstLower::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 61 << MO.getIndex(); in GetConstantPoolIndexSymbol() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCCodeEmitter.cpp | 62 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, 201 AArch64MCCodeEmitter::getMachineOpValue(const MCInst &MI, const MCOperand &MO, in getMachineOpValue() argument 204 if (MO.isReg()) in getMachineOpValue() 205 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg()); in getMachineOpValue() 207 assert(MO.isImm() && "did not expect relocated expression"); in getMachineOpValue() 208 return static_cast<unsigned>(MO.getImm()); in getMachineOpValue() 215 const MCOperand &MO = MI.getOperand(OpIdx); in getLdStUImm12OpValue() local 218 if (MO.isImm()) in getLdStUImm12OpValue() 219 ImmVal = static_cast<uint32_t>(MO.getImm()); in getLdStUImm12OpValue() 221 assert(MO.isExpr() && "unable to encode load/store imm operand"); in getLdStUImm12OpValue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 36 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, in GetSymbolFromOperand() argument 45 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) in GetSymbolFromOperand() 51 if (!MO.isGlobal()) { in GetSymbolFromOperand() 52 assert(MO.isSymbol() && "Isn't a symbol reference"); in GetSymbolFromOperand() 53 Mangler::getNameWithPrefix(Name, MO.getSymbolName(), DL); in GetSymbolFromOperand() 55 const GlobalValue *GV = MO.getGlobal(); in GetSymbolFromOperand() 64 if (MO.getTargetFlags() & PPCII::MO_NLP_FLAG) { in GetSymbolFromOperand() 70 assert(MO.isGlobal() && "Extern symbol not handled yet"); in GetSymbolFromOperand() 72 StubValueTy(AP.getSymbol(MO.getGlobal()), in GetSymbolFromOperand() 73 !MO.getGlobal()->hasInternalLinkage()); in GetSymbolFromOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | RegAllocFast.cpp | 189 bool isLastUseOfLocalReg(const MachineOperand &MO) const; 197 void usePhysReg(MachineOperand &MO); 212 void allocVirtRegUndef(MachineOperand &MO); 218 bool setPhysReg(MachineInstr &MI, MachineOperand &MO, MCPhysReg PhysReg); 355 bool RegAllocFast::isLastUseOfLocalReg(const MachineOperand &MO) const { in isLastUseOfLocalReg() 358 if (StackSlotForVirtReg[MO.getReg()] != -1) in isLastUseOfLocalReg() 362 MachineRegisterInfo::reg_nodbg_iterator I = MRI->reg_nodbg_begin(MO.getReg()); in isLastUseOfLocalReg() 363 if (&*I != &MO) in isLastUseOfLocalReg() 371 MachineOperand &MO = LR.LastUse->getOperand(LR.LastOpNum); in addKillFlag() local 372 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag() [all …]
|
D | DetectDeadLanes.cpp | 75 void addUsedLanesOnOperand(const MachineOperand &MO, LaneBitmask UsedLanes); 97 const MachineOperand &MO) const; 104 bool isUndefRegAtInput(const MachineOperand &MO, 107 bool isUndefInput(const MachineOperand &MO, bool *CrossCopy) const; 155 const MachineOperand &MO) { in isCrossCopy() argument 157 Register SrcReg = MO.getReg(); in isCrossCopy() 162 unsigned SrcSubIdx = MO.getSubReg(); in isCrossCopy() 168 if (MI.getOperandNo(&MO) == 2) in isCrossCopy() 172 unsigned OpNum = MI.getOperandNo(&MO); in isCrossCopy() 193 void DetectDeadLanes::addUsedLanesOnOperand(const MachineOperand &MO, in addUsedLanesOnOperand() argument [all …]
|
D | MachineInstr.cpp | 142 for (const MachineOperand &MO : MI.operands()) in MachineInstr() local 143 addOperand(MF, MO); in MachineInstr() 162 for (MachineOperand &MO : operands()) in RemoveRegOperandsFromUseLists() 163 if (MO.isReg()) in RemoveRegOperandsFromUseLists() 164 MRI.removeRegOperandFromUseList(&MO); in RemoveRegOperandsFromUseLists() 171 for (MachineOperand &MO : operands()) in AddRegOperandsToUseLists() 172 if (MO.isReg()) in AddRegOperandsToUseLists() 173 MRI.addRegOperandToUseList(&MO); in AddRegOperandsToUseLists() 375 MachineMemOperand *MO) { in addMemOperand() argument 378 MMOs.push_back(MO); in addMemOperand() [all …]
|
D | MachineInstrBundle.cpp | 63 MachineOperand &MO = MII->getOperand(i); in runOnMachineFunction() local 64 if (MO.isReg() && MO.isInternalRead()) in runOnMachineFunction() 65 MO.setIsInternalRead(false); in runOnMachineFunction() 150 MachineOperand &MO = MII->getOperand(i); in finalizeBundle() local 151 if (!MO.isReg()) in finalizeBundle() 153 if (MO.isDef()) { in finalizeBundle() 154 Defs.push_back(&MO); in finalizeBundle() 158 Register Reg = MO.getReg(); in finalizeBundle() 163 MO.setIsInternalRead(); in finalizeBundle() 164 if (MO.isKill()) in finalizeBundle() [all …]
|
D | RegisterScavenging.cpp | 120 for (const MachineOperand &MO : MI.operands()) { in determineKillsAndDefs() local 121 if (MO.isRegMask()) { in determineKillsAndDefs() 125 if (MO.clobbersPhysReg(*RURI)) { in determineKillsAndDefs() 135 if (!MO.isReg()) in determineKillsAndDefs() 137 Register Reg = MO.getReg(); in determineKillsAndDefs() 141 if (MO.isUse()) { in determineKillsAndDefs() 143 if (MO.isUndef()) in determineKillsAndDefs() 145 if (MO.isKill()) in determineKillsAndDefs() 148 assert(MO.isDef()); in determineKillsAndDefs() 149 if (MO.isDead()) in determineKillsAndDefs() [all …]
|
D | MachineRegisterInfo.cpp | 133 for (MachineOperand &MO : reg_nodbg_operands(Reg)) { in recomputeRegClass() 135 MachineInstr *MI = MO.getParent(); in recomputeRegClass() 136 unsigned OpNo = &MO - &MI->getOperand(0); in recomputeRegClass() 221 MachineOperand *MO = &M; in verifyUseList() local 222 MachineInstr *MI = MO->getParent(); in verifyUseList() 225 << " use list MachineOperand " << MO in verifyUseList() 232 if (!(MO >= MO0 && MO < MO0+NumOps)) { in verifyUseList() 234 << " use list MachineOperand " << MO in verifyUseList() 238 if (!MO->isReg()) { in verifyUseList() 240 << " MachineOperand " << MO << ": " << *MO in verifyUseList() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRMCInstLower.cpp | 26 MCOperand AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, in lowerSymbolOperand() argument 28 unsigned char TF = MO.getTargetFlags(); in lowerSymbolOperand() 34 if (!MO.isJTI() && MO.getOffset()) { in lowerSymbolOperand() 36 Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand() 39 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand() 65 for (MachineOperand const &MO : MI.operands()) { in lowerInstruction() 68 switch (MO.getType()) { in lowerInstruction() 74 if (MO.isImplicit()) in lowerInstruction() 76 MCOp = MCOperand::createReg(MO.getReg()); in lowerInstruction() 79 MCOp = MCOperand::createImm(MO.getImm()); in lowerInstruction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcMCCodeEmitter.cpp | 68 unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, 114 const MCOperand &MO = MI.getOperand(tlsOpNo); in encodeInstruction() local 115 uint64_t op = getMachineOpValue(MI, MO, Fixups, STI); in encodeInstruction() 124 getMachineOpValue(const MCInst &MI, const MCOperand &MO, in getMachineOpValue() argument 127 if (MO.isReg()) in getMachineOpValue() 128 return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg()); in getMachineOpValue() 130 if (MO.isImm()) in getMachineOpValue() 131 return MO.getImm(); in getMachineOpValue() 133 assert(MO.isExpr()); in getMachineOpValue() 134 const MCExpr *Expr = MO.getExpr(); in getMachineOpValue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVMCInstLower.cpp | 28 static MCOperand lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym, in lowerSymbolOperand() argument 33 switch (MO.getTargetFlags()) { in lowerSymbolOperand() 80 if (!MO.isJTI() && !MO.isMBB() && MO.getOffset()) in lowerSymbolOperand() 82 ME, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand() 89 bool llvm::LowerRISCVMachineOperandToMCOperand(const MachineOperand &MO, in LowerRISCVMachineOperandToMCOperand() argument 92 switch (MO.getType()) { in LowerRISCVMachineOperandToMCOperand() 97 if (MO.isImplicit()) in LowerRISCVMachineOperandToMCOperand() 99 MCOp = MCOperand::createReg(MO.getReg()); in LowerRISCVMachineOperandToMCOperand() 105 MCOp = MCOperand::createImm(MO.getImm()); in LowerRISCVMachineOperandToMCOperand() 108 MCOp = lowerSymbolOperand(MO, MO.getMBB()->getSymbol(), AP); in LowerRISCVMachineOperandToMCOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsMCCodeEmitter.cpp | 239 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue() local 242 if (MO.isImm()) return MO.getImm() >> 2; in getBranchTargetOpValue() 244 assert(MO.isExpr() && in getBranchTargetOpValue() 248 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 261 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue1SImm16() local 264 if (MO.isImm()) return MO.getImm() >> 1; in getBranchTargetOpValue1SImm16() 266 assert(MO.isExpr() && in getBranchTargetOpValue1SImm16() 270 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 283 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValueMMR6() local 286 if (MO.isImm()) in getBranchTargetOpValueMMR6() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 38 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() argument 41 if (MO.getTargetFlags() & ARMII::MO_SBREL) in GetSymbolRef() 46 switch (MO.getTargetFlags() & ARMII::MO_OPTION_MASK) { in GetSymbolRef() 63 if (!MO.isJTI() && MO.getOffset()) in GetSymbolRef() 65 MCConstantExpr::create(MO.getOffset(), in GetSymbolRef() 72 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() argument 74 switch (MO.getType()) { in lowerOperand() 78 if (MO.isImplicit()) in lowerOperand() 80 assert(!MO.getSubReg() && "Subregs should be eliminated!"); in lowerOperand() 81 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFMCInstLower.cpp | 27 BPFMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 28 return Printer.getSymbol(MO.getGlobal()); in GetGlobalAddressSymbol() 32 BPFMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 33 return Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in GetExternalSymbolSymbol() 36 MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() argument 41 if (!MO.isJTI() && MO.getOffset()) in LowerSymbolOperand() 51 const MachineOperand &MO = MI->getOperand(i); in Lower() local 54 switch (MO.getType()) { in Lower() 60 if (MO.isImplicit()) in Lower() 62 MCOp = MCOperand::createReg(MO.getReg()); in Lower() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZMCInstLower.cpp | 36 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() argument 40 switch (MO.getType()) { in getExpr() 42 Symbol = MO.getMBB()->getSymbol(); in getExpr() 47 Symbol = AsmPrinter.getSymbol(MO.getGlobal()); in getExpr() 51 Symbol = AsmPrinter.GetExternalSymbolSymbol(MO.getSymbolName()); in getExpr() 55 Symbol = AsmPrinter.GetJTISymbol(MO.getIndex()); in getExpr() 60 Symbol = AsmPrinter.GetCPISymbol(MO.getIndex()); in getExpr() 64 Symbol = AsmPrinter.GetBlockAddressSymbol(MO.getBlockAddress()); in getExpr() 72 if (int64_t Offset = MO.getOffset()) { in getExpr() 79 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const { in lowerOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCMCInstLower.cpp | 29 MCOperand ARCMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() argument 37 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand() 40 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 41 Offset += MO.getOffset(); in LowerSymbolOperand() 44 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 45 Offset += MO.getOffset(); in LowerSymbolOperand() 48 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 49 Offset += MO.getOffset(); in LowerSymbolOperand() 52 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 55 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreMCInstLower.cpp | 31 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() argument 39 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand() 42 Symbol = Printer.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 43 Offset += MO.getOffset(); in LowerSymbolOperand() 46 Symbol = Printer.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 47 Offset += MO.getOffset(); in LowerSymbolOperand() 50 Symbol = Printer.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 51 Offset += MO.getOffset(); in LowerSymbolOperand() 54 Symbol = Printer.GetJTISymbol(MO.getIndex()); in LowerSymbolOperand() 57 Symbol = Printer.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
D | AVRMCCodeEmitter.cpp | 96 const MCOperand &MO = MI.getOperand(OpNo); in encodeRelCondBrTarget() local 98 if (MO.isExpr()) { in encodeRelCondBrTarget() 99 Fixups.push_back(MCFixup::create(0, MO.getExpr(), in encodeRelCondBrTarget() 104 assert(MO.isImm()); in encodeRelCondBrTarget() 108 auto target = MO.getImm(); in encodeRelCondBrTarget() 116 auto MO = MI.getOperand(OpNo); in encodeLDSTPtrReg() local 119 assert(MO.isReg()); in encodeLDSTPtrReg() 121 switch (MO.getReg()) { in encodeLDSTPtrReg() 184 auto MO = MI.getOperand(OpNo); in encodeImm() local 186 if (MO.isExpr()) { in encodeImm() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonMCInstLower.cpp | 41 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, in GetSymbolRef() argument 49 switch (MO.getTargetFlags() & ~HexagonII::HMOTF_ConstExtended) { in GetSymbolRef() 87 if (!MO.isJTI() && MO.getOffset()) in GetSymbolRef() 88 ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC), in GetSymbolRef() 113 const MachineOperand &MO = MI->getOperand(i); in HexagonLowerToMC() local 115 bool MustExtend = MO.getTargetFlags() & HexagonII::HMOTF_ConstExtended; in HexagonLowerToMC() 117 switch (MO.getType()) { in HexagonLowerToMC() 125 if (MO.isImplicit()) in HexagonLowerToMC() 127 MCO = MCOperand::createReg(MO.getReg()); in HexagonLowerToMC() 130 APFloat Val = MO.getFPImm()->getValueAPF(); in HexagonLowerToMC() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcMCInstLower.cpp | 30 const MachineOperand &MO, in LowerSymbolOperand() argument 34 (SparcMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand() 37 switch(MO.getType()) { in LowerSymbolOperand() 40 Symbol = MO.getMBB()->getSymbol(); in LowerSymbolOperand() 44 Symbol = AP.getSymbol(MO.getGlobal()); in LowerSymbolOperand() 48 Symbol = AP.GetBlockAddressSymbol(MO.getBlockAddress()); in LowerSymbolOperand() 52 Symbol = AP.GetExternalSymbolSymbol(MO.getSymbolName()); in LowerSymbolOperand() 56 Symbol = AP.GetCPISymbol(MO.getIndex()); in LowerSymbolOperand() 68 const MachineOperand &MO, in LowerOperand() argument 70 switch(MO.getType()) { in LowerOperand() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMCInstLower.cpp | 48 WebAssemblyMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 49 const GlobalValue *Global = MO.getGlobal(); in GetGlobalAddressSymbol() 53 const MachineFunction &MF = *MO.getParent()->getParent()->getParent(); in GetGlobalAddressSymbol() 71 const MachineOperand &MO) const { in GetExternalSymbolSymbol() 72 const char *Name = MO.getSymbolName(); in GetExternalSymbolSymbol() 125 MCOperand WebAssemblyMCInstLower::lowerSymbolOperand(const MachineOperand &MO, in lowerSymbolOperand() argument 128 unsigned TargetFlags = MO.getTargetFlags(); in lowerSymbolOperand() 148 if (MO.getOffset() != 0) { in lowerSymbolOperand() 160 Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx); in lowerSymbolOperand() 212 const MachineOperand &MO = MI->getOperand(I); in lower() local [all …]
|