Home
last modified time | relevance | path

Searched refs:MachineOperand (Results 1 – 25 of 810) sorted by relevance

12345678910>>...33

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineOperand.h49 class MachineOperand {
178 MachineOperand *Prev; // Access list for register. See MRI.
179 MachineOperand *Next;
196 explicit MachineOperand(MachineOperandType K) in MachineOperand() function
199 static_assert(alignof(MachineOperand) <= alignof(int64_t), in MachineOperand()
203 static_assert(sizeof(MachineOperand) <= in MachineOperand()
253 static void printTargetFlags(raw_ostream& OS, const MachineOperand &Op);
694 bool isIdenticalTo(const MachineOperand &Other) const;
702 friend hash_code hash_value(const MachineOperand &MO);
738 static MachineOperand CreateImm(int64_t Val) { in CreateImm()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineOperand.h44 class MachineOperand {
166 MachineOperand *Prev; // Access list for register. See MRI.
167 MachineOperand *Next;
184 explicit MachineOperand(MachineOperandType K) in MachineOperand() function
552 bool isIdenticalTo(const MachineOperand &Other) const;
559 friend hash_code hash_value(const MachineOperand &MO);
588 static MachineOperand CreateImm(int64_t Val) { in CreateImm()
589 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm()
594 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm()
595 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineOperand.h37 class MachineOperand {
138 MachineOperand **Prev; // Access list for register.
139 MachineOperand *Next;
156 explicit MachineOperand(MachineOperandType K) : OpKind(K), ParentMI(0) { in MachineOperand() function
282 MachineOperand *getNextOperandForReg() const { in getNextOperandForReg()
453 bool isIdenticalTo(const MachineOperand &Other) const;
471 static MachineOperand CreateImm(int64_t Val) { in CreateImm()
472 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm()
477 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm()
478 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineOperand.cpp39 static const MachineFunction *getMFIfAvailable(const MachineOperand &MO) { in getMFIfAvailable()
46 static MachineFunction *getMFIfAvailable(MachineOperand &MO) { in getMFIfAvailable()
48 getMFIfAvailable(const_cast<const MachineOperand &>(MO))); in getMFIfAvailable()
51 void MachineOperand::setReg(unsigned Reg) { in setReg()
73 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
83 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
97 void MachineOperand::setIsDef(bool Val) { in setIsDef()
114 bool MachineOperand::isRenamable() const { in isRenamable()
132 void MachineOperand::setIsRenamable(bool Val) { in setIsRenamable()
141 void MachineOperand::removeRegFromUses() { in removeRegFromUses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Nios2/
DNios2MCInstLower.cpp24 static MCOperand LowerSymbolOperand(const MachineOperand &MO, AsmPrinter &AP) { in LowerSymbolOperand()
43 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
47 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
51 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
55 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
59 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand()
63 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
79 static MCOperand LowerOperand(const MachineOperand &MO, AsmPrinter &AP) { in LowerOperand()
84 case MachineOperand::MO_Register: in LowerOperand()
89 case MachineOperand::MO_Immediate: in LowerOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCMCInstLower.cpp30 MCOperand ARCMCInstLower::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()
77 MCOperand ARCMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand()
84 case MachineOperand::MO_Register: in LowerOperand()
89 case MachineOperand::MO_Immediate: in LowerOperand()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp35 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
42 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
45 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
49 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
53 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
57 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand()
60 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
81 MCOperand XCoreMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand()
87 case MachineOperand::MO_Register: in LowerOperand()
91 case MachineOperand::MO_Immediate: in LowerOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/
DXCoreMCInstLower.cpp32 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
39 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
42 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
46 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
50 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
54 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand()
57 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
78 MCOperand XCoreMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand()
84 case MachineOperand::MO_Register: in LowerOperand()
88 case MachineOperand::MO_Immediate: in LowerOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DMachineOperandTest.cpp28 MachineOperand MO = MachineOperand::CreateImm(50); in TEST()
50 MachineOperand MO = MachineOperand::CreateRegMask(&Dummy); in TEST()
67 MachineOperand MO = MachineOperand::CreateReg( in TEST()
92 MachineOperand MO = MachineOperand::CreateCImm(CImm); in TEST()
110 MachineOperand MO = MachineOperand::CreateImm(3); in TEST()
121 MachineOperand::printSubRegIdx(OS, MO.getImm(), nullptr); in TEST()
127 MachineOperand MO = MachineOperand::CreateCPI(0, 8); in TEST()
159 MachineOperand MO = MachineOperand::CreateTargetIndex(0, 8); in TEST()
189 MachineOperand MO = MachineOperand::CreateJTI(3); in TEST()
205 MachineOperand MO = MachineOperand::CreateES("foo"); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp31 const MachineOperand &MO, in LowerSymbolOperand()
40 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
44 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
48 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
52 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
56 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
69 const MachineOperand &MO, in LowerOperand()
73 case MachineOperand::MO_Register: in LowerOperand()
78 case MachineOperand::MO_Immediate: in LowerOperand()
81 case MachineOperand::MO_MachineBasicBlock: in LowerOperand()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcMCInstLower.cpp31 const MachineOperand &MO, in LowerSymbolOperand()
40 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
44 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
48 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
52 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
56 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
69 const MachineOperand &MO, in LowerOperand()
73 case MachineOperand::MO_Register: in LowerOperand()
78 case MachineOperand::MO_Immediate: in LowerOperand()
81 case MachineOperand::MO_MachineBasicBlock: in LowerOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIPeepholeSDWA.cpp81 Optional<int64_t> foldToImm(const MachineOperand &Op) const;
107 MachineOperand *Target; // Operand that would be used in converted instruction
108 MachineOperand *Replaced; // Operand that would be replace by Target
111 SDWAOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp) in SDWAOperand()
122 MachineOperand *getTargetOperand() const { return Target; } in getTargetOperand()
123 MachineOperand *getReplacedOperand() const { return Replaced; } in getReplacedOperand()
146 SDWASrcOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp, in SDWASrcOperand()
161 const MachineOperand *SrcOp) const;
175 SDWADstOperand(MachineOperand *TargetOp, MachineOperand *ReplacedOp, in SDWADstOperand()
192 MachineOperand *Preserve;
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsMCInstLower.cpp31 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
57 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
61 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
65 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
69 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
73 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand()
77 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
91 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand& MO) const { in LowerOperand()
98 case MachineOperand::MO_Register: in LowerOperand()
102 case MachineOperand::MO_Immediate: in LowerOperand()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp32 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
42 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
52 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
69 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
86 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
96 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand()
117 const MachineOperand &MO = MI->getOperand(i); in Lower()
124 case MachineOperand::MO_Register: in Lower()
129 case MachineOperand::MO_Immediate: in Lower()
132 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
DLanaiMCInstLower.cpp34 LanaiMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
39 LanaiMCInstLower::GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
44 LanaiMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
48 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
58 LanaiMCInstLower::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
67 MCOperand LanaiMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
98 const MachineOperand &MO = MI->getOperand(I); in Lower()
102 case MachineOperand::MO_Register: in Lower()
108 case MachineOperand::MO_Immediate: in Lower()
111 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/MSP430/
DMSP430MCInstLower.cpp32 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
42 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
52 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
69 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
86 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
96 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand()
117 const MachineOperand &MO = MI->getOperand(i); in Lower()
124 case MachineOperand::MO_Register: in Lower()
129 case MachineOperand::MO_Immediate: in Lower()
132 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiMCInstLower.cpp35 LanaiMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
40 LanaiMCInstLower::GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
45 LanaiMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
49 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
59 LanaiMCInstLower::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
68 MCOperand LanaiMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
99 const MachineOperand &MO = MI->getOperand(I); in Lower()
103 case MachineOperand::MO_Register: in Lower()
109 case MachineOperand::MO_Immediate: in Lower()
112 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/
DMBlazeMCInstLower.cpp33 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
43 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
53 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
86 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
98 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand()
121 const MachineOperand &MO = MI->getOperand(i); in Lower()
126 case MachineOperand::MO_Register: in Lower()
131 case MachineOperand::MO_Immediate: in Lower()
134 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/
DMSP430MCInstLower.cpp30 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol()
40 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol()
50 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol()
66 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol()
82 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol()
92 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand()
113 const MachineOperand &MO = MI->getOperand(i); in Lower()
120 case MachineOperand::MO_Register: in Lower()
125 case MachineOperand::MO_Immediate: in Lower()
128 case MachineOperand::MO_MachineBasicBlock: in Lower()
[all …]
/external/llvm/lib/CodeGen/
DMachineInstr.cpp57 void MachineOperand::setReg(unsigned Reg) { in setReg()
77 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
87 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
99 void MachineOperand::setIsDef(bool Val) { in setIsDef()
119 void MachineOperand::removeRegFromUses() { in removeRegFromUses()
134 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate()
143 void MachineOperand::ChangeToFPImmediate(const ConstantFP *FPImm) { in ChangeToFPImmediate()
152 void MachineOperand::ChangeToES(const char *SymName, unsigned char TargetFlags) { in ChangeToES()
164 void MachineOperand::ChangeToMCSymbol(MCSymbol *Sym) { in ChangeToMCSymbol()
177 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonPeephole.cpp105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
140 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction()
141 MachineOperand &Src = MI.getOperand(1); in runOnMachineFunction()
158 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction()
159 MachineOperand &Src1 = MI.getOperand(1); in runOnMachineFunction()
160 MachineOperand &Src2 = MI.getOperand(2); in runOnMachineFunction()
175 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction()
176 MachineOperand &Src1 = MI.getOperand(1); in runOnMachineFunction()
177 MachineOperand &Src2 = MI.getOperand(2); in runOnMachineFunction()
189 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction()
[all …]
/external/llvm/lib/Target/Mips/
DMipsMCInstLower.cpp36 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand()
123 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand()
127 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand()
132 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand()
137 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand()
142 case MachineOperand::MO_MCSymbol: in LowerSymbolOperand()
147 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand()
151 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand()
178 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand()
184 case MachineOperand::MO_Register: in LowerOperand()
[all …]
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp82 static void printSymbolOperand(X86AsmPrinter &P, const MachineOperand &MO, in printSymbolOperand()
86 case MachineOperand::MO_ConstantPoolIndex: in printSymbolOperand()
90 case MachineOperand::MO_GlobalAddress: { in printSymbolOperand()
179 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm()
182 case MachineOperand::MO_Register: in printPCRelImm()
186 case MachineOperand::MO_Immediate: in printPCRelImm()
189 case MachineOperand::MO_GlobalAddress: in printPCRelImm()
198 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand()
201 case MachineOperand::MO_Register: { in printOperand()
215 case MachineOperand::MO_Immediate: in printOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp110 static void printSymbolOperand(X86AsmPrinter &P, const MachineOperand &MO, in printSymbolOperand()
114 case MachineOperand::MO_ConstantPoolIndex: in printSymbolOperand()
118 case MachineOperand::MO_GlobalAddress: { in printSymbolOperand()
207 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm()
210 case MachineOperand::MO_Register: in printPCRelImm()
214 case MachineOperand::MO_Immediate: in printPCRelImm()
217 case MachineOperand::MO_GlobalAddress: in printPCRelImm()
226 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand()
229 case MachineOperand::MO_Register: { in printOperand()
243 case MachineOperand::MO_Immediate: in printOperand()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineInstr.cpp52 void MachineOperand::AddRegOperandToRegInfo(MachineRegisterInfo *RegInfo) { in AddRegOperandToRegInfo()
64 MachineOperand **Head = &RegInfo->getRegUseDefListHead(getReg()); in AddRegOperandToRegInfo()
85 void MachineOperand::RemoveRegOperandFromRegInfo() { in RemoveRegOperandFromRegInfo()
88 MachineOperand *NextOp = Contents.Reg.Next; in RemoveRegOperandFromRegInfo()
98 void MachineOperand::setReg(unsigned Reg) { in setReg()
117 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg()
127 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg()
141 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate()
155 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister()
188 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo()
[all …]

12345678910>>...33