Home
last modified time | relevance | path

Searched refs:BaseOpcode (Results 1 – 25 of 39) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFMA3Info.cpp144 uint8_t BaseOpcode = X86II::getBaseOpcodeFor(TSFlags); in getFMA3Group() local
145 bool IsFMA3Opcode = ((BaseOpcode >= 0x96 && BaseOpcode <= 0x9F) || in getFMA3Group()
146 (BaseOpcode >= 0xA6 && BaseOpcode <= 0xAF) || in getFMA3Group()
147 (BaseOpcode >= 0xB6 && BaseOpcode <= 0xBF)); in getFMA3Group()
170 unsigned FormIndex = ((BaseOpcode - 0x90) >> 4) & 0x3; in getFMA3Group()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsInstrFPU.td260 let BaseOpcode = "RECIP_D32";
272 let BaseOpcode = "RSQRT_D32";
283 let BaseOpcode = "LDC132";
287 let BaseOpcode = "SDC164";
298 let BaseOpcode = "LDC164";
302 let BaseOpcode = "SDC164";
311 let BaseOpcode = "c.f."#NAME;
316 let BaseOpcode = "c.un."#NAME;
321 let BaseOpcode = "c.eq."#NAME;
326 let BaseOpcode = "c.ueq."#NAME;
[all …]
H A DMipsEVAInstrInfo.td61 string BaseOpcode = instr_asm;
79 string BaseOpcode = instr_asm;
96 string BaseOpcode = instr_asm;
114 string BaseOpcode = instr_asm;
130 string BaseOpcode = instr_asm;
144 string BaseOpcode = instr_asm;
174 string BaseOpcode = instr_asm;
H A DMipsDSPInstrInfo.td274 string BaseOpcode = instr_asm;
285 string BaseOpcode = instr_asm;
296 string BaseOpcode = instr_asm;
307 string BaseOpcode = instr_asm;
319 string BaseOpcode = instr_asm;
330 string BaseOpcode = instr_asm;
341 string BaseOpcode = instr_asm;
351 string BaseOpcode = instr_asm;
363 string BaseOpcode = instr_asm;
374 string BaseOpcode = instr_asm;
[all …]
H A DMipsInstrFPU.td288 let BaseOpcode = "c.f."#NAME;
293 let BaseOpcode = "c.un."#NAME;
298 let BaseOpcode = "c.eq."#NAME;
303 let BaseOpcode = "c.ueq."#NAME;
308 let BaseOpcode = "c.olt."#NAME;
312 let BaseOpcode = "c.ult."#NAME;
316 let BaseOpcode = "c.ole."#NAME;
320 let BaseOpcode = "c.ule."#NAME;
324 let BaseOpcode = "c.sf."#NAME;
329 let BaseOpcode = "c.ngle."#NAME;
[all …]
H A DMicroMips32r6InstrInfo.td616 string BaseOpcode = opstr;
651 string BaseOpcode = instr_asm;
666 string BaseOpcode = opstr;
679 string BaseOpcode = opstr;
690 string BaseOpcode = opstr;
702 string BaseOpcode = opstr;
724 string BaseOpcode = opstr;
737 string BaseOpcode = opstr;
746 string BaseOpcode = opstr;
767 string BaseOpcode = "ldc1";
[all …]
H A DMipsDSPInstrFormats.td13 // Instructions with the same BaseOpcode and isNVStore values form a row.
14 let RowFields = ["BaseOpcode"];
49 string BaseOpcode = opstr;
H A DMipsInstrFormats.td42 // Instructions with the same BaseOpcode and isNVStore values form a row.
43 let RowFields = ["BaseOpcode"];
56 // Instructions with the same BaseOpcode and isNVStore values form a row.
57 let RowFields = ["BaseOpcode"];
119 string BaseOpcode = opstr;
H A DMips32r6InstrFormats.td17 // Instructions with the same BaseOpcode and isNVStore values form a row.
18 let RowFields = ["BaseOpcode"];
29 string BaseOpcode = opstr;
H A DMicroMipsInstrInfo.td221 let BaseOpcode = opstr;
232 let BaseOpcode = opstr;
274 string BaseOpcode = opstr;
290 string BaseOpcode = opstr;
588 let BaseOpcode = opstr;
593 let BaseOpcode = opstr;
600 let BaseOpcode = opstr;
607 let BaseOpcode = opstr;
H A DMicroMipsDSPInstrFormats.td13 string BaseOpcode = opstr;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td38 MIMGBaseOpcode BaseOpcode = !cast<MIMGBaseOpcode>(NAME);
64 let Fields = ["BaseOpcode", "Store", "Atomic", "AtomicX2", "Sampler",
69 let PrimaryKey = ["BaseOpcode"];
218 MIMGBaseOpcode BaseOpcode;
240 let Fields = ["Opcode", "BaseOpcode", "MIMGEncoding", "VDataDwords",
245 let PrimaryKey = ["BaseOpcode", "MIMGEncoding", "VDataDwords", "VAddrDwords"];
298 let d16 = !if(BaseOpcode.HasD16, ?, 0);
309 let d16 = !if(BaseOpcode.HasD16, ?, 0);
321 let d16 = !if(BaseOpcode.HasD16, ?, 0);
339 let d16 = !if(BaseOpcode.HasD16, ?, 0);
[all …]
H A DAMDGPUInstrInfo.h57 unsigned BaseOpcode; member
92 getImageDimIntrinsicByBaseOpcode(unsigned BaseOpcode, unsigned Dim);
H A DAMDGPUInstCombineIntrinsic.cpp160 AMDGPU::getMIMGLZMappingInfo(ImageDimIntr->BaseOpcode)) { in simplifyAMDGCNImageIntrinsic()
177 AMDGPU::getMIMGMIPMappingInfo(ImageDimIntr->BaseOpcode)) { in simplifyAMDGCNImageIntrinsic()
194 AMDGPU::getMIMGBiasMappingInfo(ImageDimIntr->BaseOpcode)) { in simplifyAMDGCNImageIntrinsic()
212 AMDGPU::getMIMGOffsetMappingInfo(ImageDimIntr->BaseOpcode)) { in simplifyAMDGCNImageIntrinsic()
230 const AMDGPU::MIMGBaseOpcodeInfo *BaseOpcode = in simplifyAMDGCNImageIntrinsic() local
231 AMDGPU::getMIMGBaseOpcodeInfo(ImageDimIntr->BaseOpcode); in simplifyAMDGCNImageIntrinsic()
233 if (BaseOpcode->HasD16) { in simplifyAMDGCNImageIntrinsic()
262 AMDGPU::getMIMGBaseOpcodeInfo(ImageDimIntr->BaseOpcode)->Sampler; in simplifyAMDGCNImageIntrinsic()
H A DSIInsertHardClauses.cpp122 AMDGPU::getMIMGBaseOpcodeInfo(Info->BaseOpcode); in getHardClauseType()
H A DAMDGPUInstructionSelector.cpp1805 const AMDGPU::MIMGBaseOpcodeInfo *BaseOpcode = in selectImageIntrinsic() local
1806 AMDGPU::getMIMGBaseOpcodeInfo(Intr->BaseOpcode); in selectImageIntrinsic()
1809 unsigned IntrOpcode = Intr->BaseOpcode; in selectImageIntrinsic()
1823 if (!BaseOpcode->Sampler) in selectImageIntrinsic()
1846 if (BaseOpcode->Atomic) { in selectImageIntrinsic()
1852 const bool Is64Bit = BaseOpcode->AtomicX2 ? in selectImageIntrinsic()
1856 if (BaseOpcode->AtomicX2) { in selectImageIntrinsic()
1867 DMaskLanes = BaseOpcode->Gather4 ? 4 : llvm::popcount(DMask); in selectImageIntrinsic()
1869 if (BaseOpcode->Store) { in selectImageIntrinsic()
1873 } else if (BaseOpcode->NoReturn) { in selectImageIntrinsic()
[all …]
H A DAMDGPULegalizerInfo.cpp6328 const AMDGPU::MIMGBaseOpcodeInfo *BaseOpcode = in legalizeImageIntrinsic() local
6329 AMDGPU::getMIMGBaseOpcodeInfo(Intr->BaseOpcode); in legalizeImageIntrinsic()
6340 if (!BaseOpcode->NoReturn || BaseOpcode->Store) { in legalizeImageIntrinsic()
6346 (BaseOpcode->BaseOpcode == AMDGPU::IMAGE_ATOMIC_PK_ADD_F16 || in legalizeImageIntrinsic()
6347 BaseOpcode->BaseOpcode == AMDGPU::IMAGE_ATOMIC_PK_ADD_BF16); in legalizeImageIntrinsic()
6355 ST.hasG16() ? (BaseOpcode->Gradients && GradTy == S16) : GradTy == S16; in legalizeImageIntrinsic()
6360 if (!BaseOpcode->Atomic) { in legalizeImageIntrinsic()
6362 if (BaseOpcode->Gather4) { in legalizeImageIntrinsic()
6366 } else if (!IsTFE && !BaseOpcode->Store) { in legalizeImageIntrinsic()
6382 if (BaseOpcode->Store) in legalizeImageIntrinsic()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp1572 uint8_t BaseOpcode = X86II::getBaseOpcodeFor(TSFlags); in encodeInstruction() local
1575 BaseOpcode = 0x0F; // Weird 3DNow! encoding. in encodeInstruction()
1593 emitByte(BaseOpcode, CB); in encodeInstruction()
1602 emitByte(BaseOpcode + OpcodeOffset, CB); in encodeInstruction()
1614 emitByte(BaseOpcode, CB); in encodeInstruction()
1621 emitByte(BaseOpcode, CB); in encodeInstruction()
1629 emitByte(BaseOpcode, CB); in encodeInstruction()
1638 emitByte(BaseOpcode + getX86RegNum(MI.getOperand(CurOp++)), CB); in encodeInstruction()
1642 emitByte(BaseOpcode, CB); in encodeInstruction()
1662 emitByte(BaseOpcode + CC, CB); in encodeInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagon.td194 // Instructions with the same BaseOpcode and isNVStore values form a row.
195 let RowFields = ["BaseOpcode", "isNVStore", "PNewValue", "isBrTaken", "isNT"];
210 let RowFields = ["BaseOpcode", "PNewValue", "isNVStore", "isBrTaken", "isNT"];
222 let RowFields = ["BaseOpcode", "PNewValue", "isNVStore", "isBrTaken", "isNT"];
234 let RowFields = ["BaseOpcode", "PredSense", "isNVStore", "isBrTaken"];
246 let RowFields = ["BaseOpcode", "PredSense", "isNVStore", "isBrTaken"];
258 let RowFields = ["BaseOpcode", "PredSense", "PNewValue", "addrMode", "isNT"];
270 let RowFields = ["BaseOpcode", "PredSense", "PNewValue", "addrMode", "isNT"];
352 let RowFields = ["BaseOpcode", "PNewValue", "PredSense", "isBranch", "isPredicated"];
360 let RowFields = ["BaseOpcode", "PNewValue", "PredSense", "isBranch", "isPredicated"];
[all …]
H A DHexagonDepInstrInfo.td53 let BaseOpcode = "A2_add";
217 let BaseOpcode = "A2_addi";
303 let BaseOpcode = "A2_and";
344 let BaseOpcode = "A2_aslh";
356 let BaseOpcode = "A2_asrh";
430 let BaseOpcode = "A2_combinew";
588 let BaseOpcode = "A2_or";
632 let BaseOpcode = "A2_add";
649 let BaseOpcode = "A2_add";
664 let BaseOpcode
[all...]
H A DHexagonPseudo.td168 let BaseOpcode = "call";
222 BaseOpcode = "PS_call_nr", isExtentSigned = 1, opExtentAlign = 2 in
320 isBarrier = 1, BaseOpcode = "JMPret" in {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp274 int getMIMGOpcode(unsigned BaseOpcode, unsigned MIMGEncoding, in getMIMGOpcode() argument
276 const MIMGInfo *Info = getMIMGOpcodeHelper(BaseOpcode, MIMGEncoding, in getMIMGOpcode()
283 return Info ? getMIMGBaseOpcodeInfo(Info->BaseOpcode) : nullptr; in getMIMGBaseOpcode()
289 getMIMGOpcodeHelper(OrigInfo->BaseOpcode, OrigInfo->MIMGEncoding, in getMaskedMIMGOp()
294 unsigned getAddrSizeMIMGOp(const MIMGBaseOpcodeInfo *BaseOpcode, in getAddrSizeMIMGOp() argument
297 unsigned AddrWords = BaseOpcode->NumExtraArgs; in getAddrSizeMIMGOp()
298 unsigned AddrComponents = (BaseOpcode->Coordinates ? Dim->NumCoords : 0) + in getAddrSizeMIMGOp()
299 (BaseOpcode->LodOrClampOrMip ? 1 : 0); in getAddrSizeMIMGOp()
310 if (BaseOpcode->Gradients) { in getAddrSizeMIMGOp()
311 if ((IsA16 && !IsG16Supported) || BaseOpcode->G16) in getAddrSizeMIMGOp()
[all …]
H A DAMDGPUBaseInfo.h391 MIMGBaseOpcode BaseOpcode; member
414 const MIMGBaseOpcodeInfo *getMIMGBaseOpcodeInfo(unsigned BaseOpcode);
481 int getMIMGOpcode(unsigned BaseOpcode, unsigned MIMGEncoding,
488 unsigned getAddrSizeMIMGOp(const MIMGBaseOpcodeInfo *BaseOpcode,
494 uint16_t BaseOpcode; member
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrFormats.td113 string BaseOpcode = "";
500 let BaseOpcode = "ld_rs9";
511 let BaseOpcode = "ld_rs9";
537 let BaseOpcode = "ld_limm";
567 let BaseOpcode = "ld_rlimm";
591 let BaseOpcode = "st_rs9";
602 let BaseOpcode = "st_rs9";
627 let BaseOpcode = "st_limm";
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp967 const AMDGPU::MIMGBaseOpcodeInfo *BaseOpcode = in convertMIMGInst() local
968 AMDGPU::getMIMGBaseOpcodeInfo(Info->BaseOpcode); in convertMIMGInst()
971 if (BaseOpcode->BVH) { in convertMIMGInst()
973 addOperand(MI, MCOperand::createImm(BaseOpcode->A16)); in convertMIMGInst()
994 AMDGPU::getAddrSizeMIMGOp(BaseOpcode, Dim, IsA16, AMDGPU::hasG16(STI)); in convertMIMGInst()
1031 AMDGPU::getMIMGOpcode(Info->BaseOpcode, Info->MIMGEncoding, DstSize, AddrSize); in convertMIMGInst()

12