| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineOperand.h | 48 class MachineOperand { 184 MachineOperand *Prev; // Access list for register. See MRI. 185 MachineOperand *Next; 207 explicit MachineOperand(MachineOperandType K) in MachineOperand() function 210 static_assert(alignof(MachineOperand) <= alignof(int64_t), in MachineOperand() 214 static_assert(sizeof(MachineOperand) <= in MachineOperand() 268 const MachineOperand &Op); 759 LLVM_ABI bool isIdenticalTo(const MachineOperand &Other) const; 767 LLVM_ABI friend hash_code hash_value(const MachineOperand &MO); 824 static MachineOperand CreateImm(int64_t Val) { in CreateImm() [all …]
|
| H A D | TileShapeInfo.h | 31 ShapeT(MachineOperand *Row, MachineOperand *Col, 45 ShapeT(ArrayRef<MachineOperand *> ShapesOperands, 62 MachineOperand *R = Shape.Row; 63 MachineOperand *C = Shape.Col; 77 MachineOperand *getRow(unsigned I = 0) const { 84 MachineOperand *getCol(unsigned I = 0) const { 120 for (const MachineOperand &DefMO : MRI->def_operands(Reg)) { in deduceImm() 156 MachineOperand *Row; 157 MachineOperand *Col; 161 SmallVector<MachineOperand *, 0> Shapes;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructionSelector.h | 41 class MachineOperand; variable 84 MachineOperand getSubOperand64(MachineOperand &MO, 166 MachineOperand Root, MachineInstr *InsertPt, 170 selectVCSRC(MachineOperand &Root) const; 173 selectVSRC0(MachineOperand &Root) const; 176 selectVOP3Mods0(MachineOperand &Root) const; 178 selectVOP3BMods0(MachineOperand &Root) const; 180 selectVOP3OMods(MachineOperand &Root) const; 182 selectVOP3Mods(MachineOperand &Root) const; 184 selectVOP3ModsNonCanonicalizing(MachineOperand &Root) const; [all …]
|
| H A D | SIPeepholeSDWA.cpp | 59 std::optional<int64_t> foldToImm(const MachineOperand &Op) const; 94 MachineOperand *Target; // Operand that would be used in converted instruction 95 MachineOperand *Replaced; // Operand that would be replace by Target 103 SDWAOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp) in SDWAOperand() 116 MachineOperand *getTargetOperand() const { return Target; } in getTargetOperand() 117 MachineOperand *getReplacedOperand() const { return Replaced; } in getReplacedOperand() 138 SDWASrcOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp, in SDWASrcOperand() 157 const MachineOperand *SrcOp) const; 170 SDWADstOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp, in SDWADstOperand() 191 MachineOperand *Preserve; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineOperand.cpp | 42 static const MachineFunction *getMFIfAvailable(const MachineOperand &MO) { in getMFIfAvailable() 50 static MachineFunction *getMFIfAvailable(MachineOperand &MO) { in getMFIfAvailable() 52 getMFIfAvailable(const_cast<const MachineOperand &>(MO))); in getMFIfAvailable() 55 unsigned MachineOperand::getOperandNo() const { in getOperandNo() 60 void MachineOperand::setReg(Register Reg) { in setReg() 82 void MachineOperand::substVirtReg(Register Reg, unsigned SubIdx, in substVirtReg() 92 void MachineOperand::substPhysReg(MCRegister Reg, const TargetRegisterInfo &TRI) { in substPhysReg() 106 void MachineOperand::setIsDef(bool Val) { in setIsDef() 123 bool MachineOperand::isRenamable() const { in isRenamable() 141 void MachineOperand::setIsRenamable(bool Val) { in setIsRenamable() [all …]
|
| H A D | MIRVRegNamerUtils.cpp | 68 auto GetHashableMO = [this](const MachineOperand &MO) -> unsigned { in getInstructionOpcodeHash() 70 case MachineOperand::MO_CImmediate: in getInstructionOpcodeHash() 73 case MachineOperand::MO_FPImmediate: in getInstructionOpcodeHash() 77 case MachineOperand::MO_Register: in getInstructionOpcodeHash() 81 case MachineOperand::MO_Immediate: in getInstructionOpcodeHash() 83 case MachineOperand::MO_TargetIndex: in getInstructionOpcodeHash() 85 case MachineOperand::MO_FrameIndex: in getInstructionOpcodeHash() 86 case MachineOperand::MO_ConstantPoolIndex: in getInstructionOpcodeHash() 87 case MachineOperand::MO_JumpTableIndex: in getInstructionOpcodeHash() 98 case MachineOperand::MO_CFIIndex: in getInstructionOpcodeHash() [all …]
|
| H A D | MachineStableHash.cpp | 59 stable_hash llvm::stableHashValue(const MachineOperand &MO) { in stableHashValue() 61 case MachineOperand::MO_Register: in stableHashValue() 73 case MachineOperand::MO_Immediate: in stableHashValue() 75 case MachineOperand::MO_CImmediate: in stableHashValue() 76 case MachineOperand::MO_FPImmediate: { in stableHashValue() 84 case MachineOperand::MO_MachineBasicBlock: in stableHashValue() 87 case MachineOperand::MO_ConstantPoolIndex: in stableHashValue() 90 case MachineOperand::MO_BlockAddress: in stableHashValue() 93 case MachineOperand::MO_Metadata: in stableHashValue() 96 case MachineOperand::MO_GlobalAddress: { in stableHashValue() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreMCInstLower.cpp | 31 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 37 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 40 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 44 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 48 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 52 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 55 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 75 MCOperand XCoreMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 81 case MachineOperand::MO_Register: in LowerOperand() 85 case MachineOperand::MO_Immediate: in LowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 29 MCOperand ARCMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 35 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 38 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 42 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 46 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 50 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 53 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 75 MCOperand ARCMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 82 case MachineOperand::MO_Register: in LowerOperand() 87 case MachineOperand::MO_Immediate: in LowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430MCInstLower.cpp | 31 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 41 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 51 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 85 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 95 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand() 118 for (const MachineOperand &MO : MI->operands()) { in Lower() 124 case MachineOperand::MO_Register: in Lower() 129 case MachineOperand::MO_Immediate: in Lower() 132 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/ |
| H A D | LanaiMCInstLower.cpp | 32 LanaiMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 37 LanaiMCInstLower::GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 42 LanaiMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 46 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 56 LanaiMCInstLower::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 65 MCOperand LanaiMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 93 for (const MachineOperand &MO : MI->operands()) { in Lower() 96 case MachineOperand::MO_Register: in Lower() 102 case MachineOperand::MO_Immediate: in Lower() 105 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
| H A D | LanaiMemAluCombiner.cpp | 163 bool isSameOperand(const MachineOperand &Op1, const MachineOperand &Op2) { in isSameOperand() 168 case MachineOperand::MO_Register: in isSameOperand() 170 case MachineOperand::MO_Immediate: in isSameOperand() 177 bool isZeroOperand(const MachineOperand &Op) { in isZeroOperand() 183 bool InstrUsesReg(const MbbIterator &Instr, const MachineOperand *Reg) { in InstrUsesReg() 234 MachineOperand Dest = MemInstr->getOperand(0); in insertMergedInstruction() 235 MachineOperand Base = MemInstr->getOperand(1); in insertMergedInstruction() 236 MachineOperand MemOffset = MemInstr->getOperand(2); in insertMergedInstruction() 237 MachineOperand AluOffset = AluInstr->getOperand(2); in insertMergedInstruction() 279 const MachineOperand &Base, in isSuitableAluInstr() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/ |
| H A D | XtensaAsmPrinter.cpp | 169 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand() 172 case MachineOperand::MO_Register: in printOperand() 173 case MachineOperand::MO_Immediate: { in printOperand() 204 const MachineOperand &Base = MI->getOperand(OpNo); in PrintAsmMemoryOperand() 205 const MachineOperand &Offset = MI->getOperand(OpNo + 1); in PrintAsmMemoryOperand() 219 XtensaAsmPrinter::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 224 MCSymbol *XtensaAsmPrinter::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 229 XtensaAsmPrinter::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 230 MachineOperand::MachineOperandType MOTy, in LowerSymbolOperand() 234 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFMCInstLower.cpp | 27 BPFMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 32 BPFMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 36 MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 50 for (const MachineOperand &MO : MI->operands()) { in Lower() 56 case MachineOperand::MO_Register: in Lower() 62 case MachineOperand::MO_Immediate: in Lower() 65 case MachineOperand::MO_MachineBasicBlock: in Lower() 69 case MachineOperand::MO_RegisterMask: in Lower() 71 case MachineOperand::MO_ExternalSymbol: in Lower() 74 case MachineOperand::MO_GlobalAddress: in Lower() [all …]
|
| H A D | BPFAsmPrinter.cpp | 74 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand() 77 case MachineOperand::MO_Register: in printOperand() 81 case MachineOperand::MO_Immediate: in printOperand() 85 case MachineOperand::MO_MachineBasicBlock: in printOperand() 89 case MachineOperand::MO_GlobalAddress: in printOperand() 93 case MachineOperand::MO_BlockAddress: { in printOperand() 99 case MachineOperand::MO_ExternalSymbol: in printOperand() 103 case MachineOperand::MO_JumpTableIndex: in printOperand() 104 case MachineOperand::MO_ConstantPoolIndex: in printOperand() 123 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYMCInstLower.cpp | 30 for (const MachineOperand &MO : MI->operands()) { in Lower() 37 MCOperand CSKYMCInstLower::lowerSymbolOperand(const MachineOperand &MO, in lowerSymbolOperand() 75 bool CSKYMCInstLower::lowerOperand(const MachineOperand &MO, in lowerOperand() 80 case MachineOperand::MO_RegisterMask: in lowerOperand() 82 case MachineOperand::MO_Immediate: in lowerOperand() 85 case MachineOperand::MO_Register: in lowerOperand() 90 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 94 case MachineOperand::MO_GlobalAddress: in lowerOperand() 97 case MachineOperand::MO_BlockAddress: in lowerOperand() 101 case MachineOperand::MO_ExternalSymbol: in lowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEMCInstLower.cpp | 29 const MachineOperand &MO, in LowerSymbolOperand() 43 static MCOperand LowerOperand(const MachineInstr *MI, const MachineOperand &MO, in LowerOperand() 49 case MachineOperand::MO_Register: in LowerOperand() 54 case MachineOperand::MO_BlockAddress: in LowerOperand() 57 case MachineOperand::MO_ConstantPoolIndex: in LowerOperand() 59 case MachineOperand::MO_ExternalSymbol: in LowerOperand() 62 case MachineOperand::MO_GlobalAddress: in LowerOperand() 64 case MachineOperand::MO_Immediate: in LowerOperand() 66 case MachineOperand::MO_JumpTableIndex: in LowerOperand() 68 case MachineOperand::MO_MachineBasicBlock: in LowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMCInstLower.cpp | 36 const MCExpr *SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() 41 case MachineOperand::MO_MachineBasicBlock: in getExpr() 46 case MachineOperand::MO_GlobalAddress: in getExpr() 50 case MachineOperand::MO_ExternalSymbol: in getExpr() 54 case MachineOperand::MO_JumpTableIndex: in getExpr() 59 case MachineOperand::MO_ConstantPoolIndex: in getExpr() 63 case MachineOperand::MO_BlockAddress: in getExpr() 79 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const { in lowerOperand() 81 case MachineOperand::MO_Register: in lowerOperand() 84 case MachineOperand::MO_Immediate: in lowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsMCInstLower.cpp | 35 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 131 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 135 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 141 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 146 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 151 case MachineOperand::MO_MCSymbol: in LowerSymbolOperand() 156 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 160 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 185 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 191 case MachineOperand::MO_Register: in LowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kAsmPrinter.cpp | 39 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand() 41 case MachineOperand::MO_Register: in printOperand() 44 case MachineOperand::MO_Immediate: in printOperand() 47 case MachineOperand::MO_MachineBasicBlock: in printOperand() 50 case MachineOperand::MO_GlobalAddress: in printOperand() 53 case MachineOperand::MO_BlockAddress: in printOperand() 56 case MachineOperand::MO_ConstantPoolIndex: { in printOperand() 82 const MachineOperand &Op = MI->getOperand(opNum); in printDisp() 94 const MachineOperand &MO = MI->getOperand(OpNum); in printAbsMem() 104 const MachineOperand &MO = MI->getOperand(OpNo); in PrintAsmMemoryOperand() [all …]
|
| H A D | M68kMCInstLower.cpp | 40 M68kMCInstLower::GetSymbolFromOperand(const MachineOperand &MO) const { in GetSymbolFromOperand() 74 MCOperand M68kMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 131 const MachineOperand &MO) const { in LowerOperand() 135 case MachineOperand::MO_Register: in LowerOperand() 140 case MachineOperand::MO_Immediate: in LowerOperand() 142 case MachineOperand::MO_MachineBasicBlock: in LowerOperand() 143 case MachineOperand::MO_GlobalAddress: in LowerOperand() 144 case MachineOperand::MO_ExternalSymbol: in LowerOperand() 146 case MachineOperand::MO_MCSymbol: in LowerOperand() 148 case MachineOperand::MO_JumpTableIndex: in LowerOperand() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86OptimizeLEAs.cpp | 67 static inline bool isIdenticalOp(const MachineOperand &MO1, 68 const MachineOperand &MO2); 72 static bool isSimilarDispOp(const MachineOperand &MO1, 73 const MachineOperand &MO2); 83 MemOpKey(const MachineOperand *Base, const MachineOperand *Scale, in MemOpKey() 84 const MachineOperand *Index, const MachineOperand *Segment, in MemOpKey() 85 const MachineOperand *Disp) in MemOpKey() 107 const MachineOperand *Operands[4]; 110 const MachineOperand *Disp; 119 using PtrInfo = DenseMapInfo<const MachineOperand *>; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MCInstLower.h | 23 class MachineOperand; 35 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const; 38 MCOperand lowerSymbolOperandMachO(const MachineOperand &MO, 40 MCOperand lowerSymbolOperandELF(const MachineOperand &MO, 42 MCOperand lowerSymbolOperandCOFF(const MachineOperand &MO, 44 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 48 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 49 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const; 22 class MachineOperand; global() variable
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRMCInstLower.cpp | 26 AVRMCInstLower::lowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym, in lowerSymbolOperand() 71 for (MachineOperand const &MO : MI.operands()) { in lowerInstruction() 78 case MachineOperand::MO_Register: in lowerInstruction() 84 case MachineOperand::MO_Immediate: in lowerInstruction() 87 case MachineOperand::MO_GlobalAddress: in lowerInstruction() 91 case MachineOperand::MO_ExternalSymbol: in lowerInstruction() 95 case MachineOperand::MO_MachineBasicBlock: in lowerInstruction() 99 case MachineOperand::MO_RegisterMask: in lowerInstruction() 101 case MachineOperand::MO_BlockAddress: in lowerInstruction() 105 case MachineOperand::MO_JumpTableIndex: in lowerInstruction() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonPeephole.cpp | 122 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() 123 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction() 139 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() 140 MachineOperand &Src1 = MI.getOperand(1); in runOnMachineFunction() 141 MachineOperand &Src2 = MI.getOperand(2); in runOnMachineFunction() 156 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() 157 MachineOperand &Src1 = MI.getOperand(1); in runOnMachineFunction() 158 MachineOperand &Src2 = MI.getOperand(2); in runOnMachineFunction() 170 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() 171 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction() [all …]
|