Home
last modified time | relevance | path

Searched refs:OpSize (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm/utils/TableGen/
DX86RecognizableInstr.h51 uint8_t OpSize; variable
122 bool hasREX_WPrefix, uint8_t OpSize);
133 uint8_t OpSize);
138 uint8_t OpSize);
143 uint8_t OpSize);
145 uint8_t OpSize);
147 uint8_t OpSize);
149 uint8_t OpSize);
151 uint8_t OpSize);
153 uint8_t OpSize);
[all …]
DX86RecognizableInstr.cpp211 OpSize = byteFromRec(Rec, "OpSizeBits"); in RecognizableInstr()
419 if (HasREX_WPrefix && (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD)) in insnContext()
423 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
425 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
427 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize32) in insnContext()
429 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
446 if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
448 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
450 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize16) in insnContext()
452 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86InstrSystem.td59 def IRET16 : I<0xcf, RawFrm, (outs), (ins), "iretw", []>, OpSize;
73 "in{w}\t{%dx, %ax|AX, DX}", []>, OpSize;
83 "in{w}\t{$port, %ax|AX, $port}", []>, OpSize;
93 "out{w}\t{%ax, %dx|DX, AX}", []>, OpSize;
103 "out{w}\t{%ax, $port|$port, AX}", []>, OpSize;
109 def IN16 : I<0x6D, RawFrm, (outs), (ins), "ins{w}", []>, OpSize;
154 "mov{w}\t{$src, $dst|$dst, $src}", []>, OpSize;
161 "mov{w}\t{$src, $dst|$dst, $src}", []>, OpSize;
168 "mov{w}\t{$src, $dst|$dst, $src}", []>, OpSize;
175 "mov{w}\t{$src, $dst|$dst, $src}", []>, OpSize;
[all …]
DX86InstrShiftRotate.td25 [(set GR16:$dst, (shl GR16:$src1, CL))]>, OpSize;
41 [(set GR16:$dst, (shl GR16:$src1, (i8 imm:$src2)))]>, OpSize;
55 "shl{w}\t$dst", []>, OpSize;
72 [(store (shl (loadi16 addr:$dst), CL), addr:$dst)]>, OpSize;
86 OpSize;
101 OpSize;
116 [(set GR16:$dst, (srl GR16:$src1, CL))]>, OpSize;
130 [(set GR16:$dst, (srl GR16:$src1, (i8 imm:$src2)))]>, OpSize;
144 [(set GR16:$dst, (srl GR16:$src1, (i8 1)))]>, OpSize;
161 OpSize;
[all …]
DX86InstrVMX.td20 "invept {$src2, $src1|$src1, $src2}", []>, OpSize, T8;
22 "invept {$src2, $src1|$src1, $src2}", []>, OpSize, T8;
25 "invvpid {$src2, $src1|$src1, $src2}", []>, OpSize, T8;
27 "invvpid {$src2, $src1|$src1, $src2}", []>, OpSize, T8;
31 "vmclear\t$vmcs", []>, OpSize, TB;
DX86InstrFormats.td88 class OpSize { bit hasOpSizePrefix = 1; }
284 !if(hasOpSizePrefix /* OpSize */, [HasSSE2], [HasSSE1]));
295 !if(hasOpSizePrefix /* OpSize */, [HasSSE2], [HasSSE1]));
335 // PDI - SSE2 instructions with TB and OpSize prefixes.
336 // PDIi8 - SSE2 instructions with ImmT == Imm8 and TB and OpSize prefixes.
338 // VPDI - SSE2 instructions with TB and OpSize prefixes in AVX form.
349 : I<o, F, outs, ins, asm, pattern, SSEPackedDouble>, TB, OpSize,
353 : Ii8<o, F, outs, ins, asm, pattern, SSEPackedDouble>, TB, OpSize,
362 OpSize, Requires<[HasAVX]>;
366 // S3I - SSE3 instructions with TB and OpSize prefixes.
[all …]
DX86InstrInfo.td648 "nop{w}\t$zero", []>, TB, OpSize;
673 OpSize;
676 OpSize;
678 OpSize;
682 def POPF16 : I<0x9D, RawFrm, (outs), (ins), "popf{w}", []>, OpSize;
689 OpSize;
692 OpSize;
694 OpSize;
701 "push{w}\t$imm", []>, OpSize;
705 def PUSHF16 : I<0x9C, RawFrm, (outs), (ins), "pushf{w}", []>, OpSize;
[all …]
DX86InstrSSE.td669 "movapd", SSEPackedDouble>, TB, OpSize, VEX;
673 "movupd", SSEPackedDouble, 0>, TB, OpSize, VEX;
678 "movapd", SSEPackedDouble>, TB, OpSize, VEX;
682 "movupd", SSEPackedDouble, 0>, TB, OpSize, VEX;
686 "movapd", SSEPackedDouble>, TB, OpSize;
690 "movupd", SSEPackedDouble, 0>, TB, OpSize;
931 SSEPackedDouble>, TB, OpSize;
1659 // SSE2 instructions without OpSize prefix
1840 // SSE2 instructions without OpSize prefix
2050 "ucomisd", SSEPackedDouble>, TB, OpSize, VEX,
[all …]
DX86InstrExtension.td17 "{cbtw|cbw}", []>, OpSize; // AX = signext(AL)
24 "{cwtd|cwd}", []>, OpSize; // DX:AX = signext(AX)
42 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, TB, OpSize;
44 "movs{bw|x}\t{$src, $dst|$dst, $src}", []>, TB, OpSize;
59 "movz{bw|x}\t{$src, $dst|$dst, $src}", []>, TB, OpSize;
61 "movz{bw|x}\t{$src, $dst|$dst, $src}", []>, TB, OpSize;
DX86InstrArithmetic.td21 "lea{w}\t{$src|$dst}, {$dst|$src}", []>, OpSize;
59 []>, OpSize; // AX,DX = AX*GR16
83 []>, OpSize; // AX,DX = AX*[mem16]
100 OpSize; // AX,DX = AX*GR16
114 "imul{w}\t$src", []>, OpSize; // AX,DX = AX*[mem16]
133 (X86smul_flag GR16:$src1, GR16:$src2))]>, TB, OpSize;
151 TB, OpSize;
173 (X86smul_flag GR16:$src1, imm:$src2))]>, OpSize;
179 OpSize;
208 OpSize;
[all …]
DX86InstrControl.td29 []>, OpSize;
37 "lretw\t$amt", []>, OpSize;
113 "ljmp{w}\t{$seg, $off|$off, $seg}", []>, OpSize;
121 "ljmp{w}\t{*}$dst", []>, OpSize;
158 "lcall{w}\t{$seg, $off|$off, $seg}", []>, OpSize;
164 "lcall{w}\t{*}$dst", []>, OpSize;
172 "callw\t$dst", []>, OpSize;
DX86InstrCMovSetCC.td24 (X86cmov GR16:$src1, GR16:$src2, CondNode, EFLAGS))]>,TB,OpSize;
42 CondNode, EFLAGS))]>, TB, OpSize;
DX86InstrMMX.td376 SSEPackedDouble>, TB, OpSize;
382 SSEPackedDouble>, TB, OpSize;
385 SSEPackedDouble>, TB, OpSize;
DX86InstrCompiler.td171 [(set GR16:$dst, 0)]>, OpSize;
208 OpSize;
268 [(X86rep_movs i16)]>, REP, OpSize;
284 [(X86rep_stos i16)]>, REP, OpSize;
575 []>, OpSize, LOCK;
654 "inc{w}\t$dst", []>, OpSize, LOCK;
667 "dec{w}\t$dst", []>, OpSize, LOCK;
703 [(X86cas addr:$ptr, GR16:$swap, 2)]>, TB, OpSize, LOCK;
731 TB, OpSize, LOCK;
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DSIMCCodeEmitter.cpp44 uint32_t getLitEncoding(const MCOperand &MO, unsigned OpSize) const;
164 unsigned OpSize) const { in getLitEncoding()
183 if (OpSize == 4) in getLitEncoding()
186 assert(OpSize == 8); in getLitEncoding()
/external/llvm/lib/IR/
DMetadata.cpp445 size_t OpSize = NumOps * sizeof(MDOperand); in operator new() local
448 OpSize = alignTo(OpSize, llvm::alignOf<uint64_t>()); in operator new()
449 void *Ptr = reinterpret_cast<char *>(::operator new(OpSize + Size)) + OpSize; in operator new()
458 size_t OpSize = N->NumOperands * sizeof(MDOperand); in operator delete() local
459 OpSize = alignTo(OpSize, llvm::alignOf<uint64_t>()); in operator delete()
464 ::operator delete(reinterpret_cast<char *>(Mem) - OpSize); in operator delete()
/external/llvm/test/CodeGen/X86/
Drotate4.ll4 ; a << (b & (OpSize-1)) | a >> ((0 - b) & (OpSize-1))
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h76 unsigned OpSize = OpTy->getScalarSizeInBits(); in getOperationCost() local
77 if (DL.isLegalInteger(OpSize) && in getOperationCost()
78 OpSize <= DL.getPointerTypeSizeInBits(Ty)) in getOperationCost()
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h376 bool isInlineConstant(const MachineOperand &MO, unsigned OpSize) const;
377 bool isLiteralConstant(const MachineOperand &MO, unsigned OpSize) const;
389 unsigned OpSize) const;
DSIFoldOperands.cpp317 unsigned OpSize = TII->getOpSize(MI, 1); in runOnMachineFunction() local
329 if (FoldingImm && !TII->isInlineConstant(OpToFold, OpSize) && in runOnMachineFunction()
DSIInstrInfo.cpp1501 unsigned OpSize) const { in isInlineConstant()
1509 unsigned BitSize = 8 * OpSize; in isInlineConstant()
1517 unsigned OpSize) const { in isLiteralConstant()
1518 return MO.isImm() && !isInlineConstant(MO, OpSize); in isLiteralConstant()
1548 unsigned OpSize = RI.getRegClass(OpInfo.RegClass)->getSize(); in isImmOperandLegal() local
1549 if (isLiteralConstant(MO, OpSize)) in isImmOperandLegal()
1579 unsigned OpSize) const { in usesConstantBus()
1581 if (isLiteralConstant(MO, OpSize)) in usesConstantBus()
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86BaseInfo.h259 OpSize = 1 << 6, enumerator
DX86MCCodeEmitter.cpp452 if (TSFlags & X86II::OpSize) in EmitVEXOpcodePrefix()
771 if (TSFlags & X86II::OpSize) in EmitOpcodePrefix()
/external/llvm/lib/Target/X86/
DX86InstrFormats.td164 class OpSize16 { OperandSize OpSize = OpSize16; }
165 class OpSize32 { OperandSize OpSize = OpSize32; }
248 OperandSize OpSize = OpSizeFixed; // Does this instruction's encoding change
250 bits<2> OpSizeBits = OpSize.Value;
/external/llvm/lib/Analysis/
DConstantFolding.cpp676 unsigned OpSize = DL.getTypeSizeInBits(Op0->getType()); in SymbolicallyEvaluateBinop() local
681 return ConstantInt::get(Op0->getType(), Offs1.zextOrTrunc(OpSize) - in SymbolicallyEvaluateBinop()
682 Offs2.zextOrTrunc(OpSize)); in SymbolicallyEvaluateBinop()

12