/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenMCPseudoLowering.inc | 16 MCOperand MCOp; 19 lowerOperand(MI->getOperand(0), MCOp); 20 TmpInst.addOperand(MCOp); 22 lowerOperand(MI->getOperand(1), MCOp); 23 TmpInst.addOperand(MCOp); 25 lowerOperand(MI->getOperand(2), MCOp); 26 TmpInst.addOperand(MCOp); 32 MCOperand MCOp; 35 lowerOperand(MI->getOperand(0), MCOp); 36 TmpInst.addOperand(MCOp); [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenMCPseudoLowering.inc | 16 MCOperand MCOp; 19 lowerOperand(MI->getOperand(0), MCOp); 20 TmpInst.addOperand(MCOp); 29 MCOperand MCOp; 32 lowerOperand(MI->getOperand(0), MCOp); 33 TmpInst.addOperand(MCOp); 35 lowerOperand(MI->getOperand(1), MCOp); 36 TmpInst.addOperand(MCOp); 38 lowerOperand(MI->getOperand(2), MCOp); 39 TmpInst.addOperand(MCOp); [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/RISCV/ |
D | RISCVGenMCPseudoLowering.inc | 16 MCOperand MCOp; 21 lowerOperand(MI->getOperand(0), MCOp); 22 TmpInst.addOperand(MCOp); 28 MCOperand MCOp; 33 lowerOperand(MI->getOperand(0), MCOp); 34 TmpInst.addOperand(MCOp); 36 lowerOperand(MI->getOperand(1), MCOp); 37 TmpInst.addOperand(MCOp); 43 MCOperand MCOp; 48 lowerOperand(MI->getOperand(0), MCOp); [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 58 MCOperand &MCOp) { in lowerOperand() argument 66 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand() 69 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand() 72 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand() 76 MCOp = GetSymbolRef(MO, in lowerOperand() 81 MCOp = GetSymbolRef(MO, in lowerOperand() 85 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand() 88 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand() 91 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand() 97 MCOp = MCOperand::createFPImm(Val.convertToDouble()); in lowerOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 73 MCOperand &MCOp) { in lowerOperand() argument 81 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand() 84 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand() 87 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lowerOperand() 91 MCOp = GetSymbolRef(MO, in lowerOperand() 95 MCOp = GetSymbolRef(MO, in lowerOperand() 99 MCOp = GetSymbolRef(MO, GetJTISymbol(MO.getIndex())); in lowerOperand() 104 MCOp = GetSymbolRef(MO, GetCPISymbol(MO.getIndex())); in lowerOperand() 107 MCOp = GetSymbolRef(MO, GetBlockAddressSymbol(MO.getBlockAddress())); in lowerOperand() 113 MCOp = MCOperand::createFPImm(Val.convertToDouble()); in lowerOperand() [all …]
|
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 58 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp, 113 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument 115 if (MCOp.isReg()) in getMachineOpValue() 116 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue() 117 if (MCOp.isImm()) in getMachineOpValue() 118 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue() 121 assert(MCOp.isExpr()); in getMachineOpValue() 122 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue() 133 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue() 294 const MCOperand &MCOp = Inst.getOperand(OpNo); in getCallTargetOpValue() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/ |
D | RISCVMCInstLower.cpp | 90 MCOperand &MCOp, in LowerRISCVMachineOperandToMCOperand() argument 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() 111 MCOp = lowerSymbolOperand(MO, AP.getSymbol(MO.getGlobal()), AP); in LowerRISCVMachineOperandToMCOperand() 114 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand() 118 MCOp = lowerSymbolOperand( in LowerRISCVMachineOperandToMCOperand() 122 MCOp = lowerSymbolOperand(MO, AP.GetCPISymbol(MO.getIndex()), AP); in LowerRISCVMachineOperandToMCOperand() 133 MCOperand MCOp; in LowerRISCVMachineInstrToMCInst() local 134 if (LowerRISCVMachineOperandToMCOperand(MO, MCOp, AP)) in LowerRISCVMachineInstrToMCInst() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRMCInstLower.cpp | 66 MCOperand MCOp; in lowerInstruction() local 76 MCOp = MCOperand::createReg(MO.getReg()); in lowerInstruction() 79 MCOp = MCOperand::createImm(MO.getImm()); in lowerInstruction() 82 MCOp = lowerSymbolOperand(MO, Printer.getSymbol(MO.getGlobal())); in lowerInstruction() 85 MCOp = lowerSymbolOperand( in lowerInstruction() 89 MCOp = MCOperand::createExpr( in lowerInstruction() 95 MCOp = lowerSymbolOperand( in lowerInstruction() 99 MCOp = lowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerInstruction() 102 MCOp = lowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerInstruction() 106 OutMI.addOperand(MCOp); in lowerInstruction()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 119 MCOperand MCOp; in Lower() local 127 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 130 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 133 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in Lower() 137 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 140 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower() 143 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower() 146 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower() 149 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower() 155 OutMI.addOperand(MCOp); in Lower()
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiMCInstLower.cpp | 101 MCOperand MCOp; in Lower() local 107 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 110 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 113 MCOp = MCOperand::createExpr( in Lower() 119 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 122 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower() 125 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower() 128 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower() 131 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower() 138 OutMI.addOperand(MCOp); in Lower()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 121 MCOperand MCOp; in Lower() local 129 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 132 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 135 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in Lower() 139 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 142 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower() 145 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower() 148 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower() 151 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower() 157 OutMI.addOperand(MCOp); in Lower()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiMCInstLower.cpp | 99 MCOperand MCOp; in Lower() local 105 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 108 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 111 MCOp = MCOperand::createExpr( in Lower() 117 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 120 MCOp = LowerSymbolOperand(MO, GetBlockAddressSymbol(MO)); in Lower() 123 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower() 126 MCOp = LowerSymbolOperand(MO, GetJumpTableSymbol(MO)); in Lower() 129 MCOp = LowerSymbolOperand(MO, GetConstantPoolIndexSymbol(MO)); in Lower() 136 OutMI.addOperand(MCOp); in Lower()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFMCInstLower.cpp | 53 MCOperand MCOp; in Lower() local 62 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 65 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 68 MCOp = MCOperand::createExpr( in Lower() 74 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in Lower() 77 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 81 OutMI.addOperand(MCOp); in Lower()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMCInstLower.cpp | 64 MCOperand MCOp; in Lower() local 79 MCOp = MCOperand::createReg(WAReg); in Lower() 83 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 90 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToFloat()); in Lower() 92 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToDouble()); in Lower() 100 MCOp = LowerSymbolOperand(GetGlobalAddressSymbol(MO), MO.getOffset(), in Lower() 108 MCOp = LowerSymbolOperand(GetExternalSymbolSymbol(MO), /*Offset=*/0, in Lower() 113 OutMI.addOperand(MCOp); in Lower()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 164 MCOperand &MCOp) const { in lowerOperand() 172 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand() 178 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand() 181 MCOp = MCOperand::createExpr( in lowerOperand() 185 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in lowerOperand() 188 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in lowerOperand() 191 MCOp = LowerSymbolOperand(MO, MO.getMCSymbol()); in lowerOperand() 194 MCOp = LowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerOperand() 197 MCOp = LowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerOperand() 200 MCOp = LowerSymbolOperand( in lowerOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/ |
D | LanaiMCCodeEmitter.cpp | 57 unsigned getMachineOpValue(const MCInst &Inst, const MCOperand &MCOp, 110 const MCInst &Inst, const MCOperand &MCOp, SmallVectorImpl<MCFixup> &Fixups, in getMachineOpValue() argument 112 if (MCOp.isReg()) in getMachineOpValue() 113 return getLanaiRegisterNumbering(MCOp.getReg()); in getMachineOpValue() 114 if (MCOp.isImm()) in getMachineOpValue() 115 return static_cast<unsigned>(MCOp.getImm()); in getMachineOpValue() 118 assert(MCOp.isExpr()); in getMachineOpValue() 119 const MCExpr *Expr = MCOp.getExpr(); in getMachineOpValue() 130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue() 291 const MCOperand &MCOp = Inst.getOperand(OpNo); in getBranchTargetOpValue() local [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFMCInstLower.cpp | 49 MCOperand MCOp; in Lower() local 58 MCOp = MCOperand::createReg(MO.getReg()); in Lower() 61 MCOp = MCOperand::createImm(MO.getImm()); in Lower() 64 MCOp = MCOperand::createExpr( in Lower() 70 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in Lower() 74 OutMI.addOperand(MCOp); in Lower()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMCInstLower.cpp | 53 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const; 127 MCOperand &MCOp) const { in lowerOperand() 132 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand() 135 MCOp = MCOperand::createReg(AMDGPU::getMCReg(MO.getReg(), ST)); in lowerOperand() 139 MCOp = MCOperand::createExpr( in lowerOperand() 142 MCOp = MCOperand::createExpr( in lowerOperand() 160 MCOp = MCOperand::createExpr(Expr); in lowerOperand() 167 MCOp = MCOperand::createExpr(Expr); in lowerOperand() 210 MCOperand MCOp; in lower() local 211 lowerOperand(MO, MCOp); in lower() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 148 MCOperand MCOp; in LowerPPCMachineInstrToMCInst() local 158 MCOp = MCOperand::createReg(MO.getReg()); in LowerPPCMachineInstrToMCInst() 161 MCOp = MCOperand::createImm(MO.getImm()); in LowerPPCMachineInstrToMCInst() 164 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in LowerPPCMachineInstrToMCInst() 169 MCOp = GetSymbolRef(MO, GetSymbolFromOperand(MO, AP), AP, isDarwin); in LowerPPCMachineInstrToMCInst() 172 MCOp = GetSymbolRef(MO, AP.GetJTISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst() 175 MCOp = GetSymbolRef(MO, AP.GetCPISymbol(MO.getIndex()), AP, isDarwin); in LowerPPCMachineInstrToMCInst() 178 MCOp = GetSymbolRef(MO,AP.GetBlockAddressSymbol(MO.getBlockAddress()),AP, in LowerPPCMachineInstrToMCInst() 185 OutMI.addOperand(MCOp); in LowerPPCMachineInstrToMCInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 253 MCOperand &MCOp) const { in lowerOperand() 261 MCOp = MCOperand::createReg(MO.getReg()); in lowerOperand() 267 MCOp = MCOperand::createImm(MO.getImm()); in lowerOperand() 270 MCOp = MCOperand::createExpr( in lowerOperand() 274 MCOp = LowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in lowerOperand() 277 MCOp = LowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in lowerOperand() 280 MCOp = LowerSymbolOperand(MO, MO.getMCSymbol()); in lowerOperand() 283 MCOp = LowerSymbolOperand(MO, Printer.GetJTISymbol(MO.getIndex())); in lowerOperand() 286 MCOp = LowerSymbolOperand(MO, Printer.GetCPISymbol(MO.getIndex())); in lowerOperand() 289 MCOp = LowerSymbolOperand( in lowerOperand() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMCInstLower.cpp | 214 MCOperand MCOp; in lower() local 229 MCOp = MCOperand::createReg(WAReg); in lower() 257 MCOp = lowerTypeIndexOperand(std::move(Returns), std::move(Params)); in lower() 265 MCOp = lowerTypeIndexOperand(std::move(Returns), in lower() 271 MCOp = MCOperand::createImm(MO.getImm()); in lower() 278 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToFloat()); in lower() 280 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToDouble()); in lower() 286 MCOp = lowerSymbolOperand(MO, GetGlobalAddressSymbol(MO)); in lower() 293 MCOp = lowerSymbolOperand(MO, GetExternalSymbolSymbol(MO)); in lower() 300 MCOp = lowerSymbolOperand(MO, MO.getMCSymbol()); in lower() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUMCInstLower.cpp | 62 MCOperand MCOp; in lower() local 67 MCOp = MCOperand::createImm(MO.getImm()); in lower() 70 MCOp = MCOperand::createReg(AMDGPU::getMCReg(MO.getReg(), ST)); in lower() 73 MCOp = MCOperand::createExpr(MCSymbolRefExpr::create( in lower() 83 MCOp = MCOperand::createExpr(Expr); in lower() 90 MCOp = MCOperand::createExpr(Expr); in lower() 94 OutMI.addOperand(MCOp); in lower()
|
D | AMDGPUInstrInfo.cpp | 108 int MCOp = AMDGPU::getMCOpcode(Opcode, subtargetEncodingFamily(ST)); in pseudoToMCOpcode() local 111 if (MCOp == -1) in pseudoToMCOpcode() 116 if (MCOp == (uint16_t)-1) in pseudoToMCOpcode() 119 return MCOp; in pseudoToMCOpcode()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/ |
D | VEMCInstLower.cpp | 64 MCOperand MCOp = LowerOperand(MI, MO, AP); in LowerVEMachineInstrToMCInst() local 66 if (MCOp.isValid()) in LowerVEMachineInstrToMCInst() 67 OutMI.addOperand(MCOp); in LowerVEMachineInstrToMCInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcMCInstLower.cpp | 102 MCOperand MCOp = LowerOperand(MI, MO, AP); in LowerSparcMachineInstrToMCInst() local 104 if (MCOp.isValid()) in LowerSparcMachineInstrToMCInst() 105 OutMI.addOperand(MCOp); in LowerSparcMachineInstrToMCInst()
|