Home
last modified time | relevance | path

Searched refs:HasAVX (Results 1 – 17 of 17) sorted by relevance

/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp246 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs() local
256 if (HasAVX) in getCalleeSavedRegs()
262 if (HasAVX) in getCalleeSavedRegs()
275 if (HasAVX && IsWin64) in getCalleeSavedRegs()
277 if (HasAVX && Is64Bit) in getCalleeSavedRegs()
279 if (!HasAVX && !IsWin64 && Is64Bit) in getCalleeSavedRegs()
299 if (HasAVX) in getCalleeSavedRegs()
305 if (HasAVX) in getCalleeSavedRegs()
345 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask() local
353 if (HasAVX) in getCallPreservedMask()
[all …]
DX86FastISel.cpp352 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad() local
381 Opc = HasAVX ? X86::VMOVSSrm : X86::MOVSSrm; in X86FastEmitLoad()
390 Opc = HasAVX ? X86::VMOVSDrm : X86::MOVSDrm; in X86FastEmitLoad()
402 Opc = HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad()
404 Opc = HasAVX ? X86::VMOVAPSrm : X86::MOVAPSrm; in X86FastEmitLoad()
406 Opc = HasAVX ? X86::VMOVUPSrm : X86::MOVUPSrm; in X86FastEmitLoad()
411 Opc = HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad()
413 Opc = HasAVX ? X86::VMOVAPDrm : X86::MOVAPDrm; in X86FastEmitLoad()
415 Opc = HasAVX ? X86::VMOVUPDrm : X86::MOVUPDrm; in X86FastEmitLoad()
423 Opc = HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad()
[all …]
DX86InstrSSE.td485 isPseudo = 1, Predicates = [HasAVX, NoVLX], SchedRW = [WriteZero] in {
787 let Predicates = [HasAVX, NoVLX] in {
832 let SchedRW = [WriteStore], Predicates = [HasAVX, NoVLX] in {
960 let Predicates = [HasAVX, NoVLX] in {
1031 let Predicates = [HasAVX, NoVLX_Or_NoBWI] in {
1736 PS, VEX, Requires<[HasAVX]>;
1740 PS, VEX, VEX_L, Requires<[HasAVX]>;
1797 XD, Requires<[HasAVX, OptForSize]>, VEX_4V, VEX_LIG,
1821 IIC_SSE_CVT_Scalar_RR>, XD, VEX_4V, Requires<[HasAVX]>,
1828 IIC_SSE_CVT_Scalar_RM>, XD, VEX_4V, Requires<[HasAVX]>,
[all …]
DX86InstrFormats.td451 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
467 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
482 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
505 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
540 Requires<[HasAVX]>;
544 Requires<[HasAVX]>;
591 Requires<[HasAVX]>;
595 PD, Requires<[HasAVX]>;
700 Requires<[HasAVX]>;
704 Requires<[HasAVX]>;
[all …]
DX86InstrInfo.cpp4340 bool HasAVX = Subtarget.hasAVX(); in CopyToFromAsymmetricReg() local
4345 return HasAVX512 ? X86::VMOVPQIto64Zrr: (HasAVX ? X86::VMOVPQIto64rr : in CopyToFromAsymmetricReg()
4353 return HasAVX512 ? X86::VMOV64toPQIZrr: (HasAVX ? X86::VMOV64toPQIrr : in CopyToFromAsymmetricReg()
4365 return HasAVX512 ? X86::VMOVSS2DIZrr : (HasAVX ? X86::VMOVSS2DIrr : X86::MOVSS2DIrr); in CopyToFromAsymmetricReg()
4369 return HasAVX512 ? X86::VMOVDI2SSZrr : (HasAVX ? X86::VMOVDI2SSrr : X86::MOVDI2SSrr); in CopyToFromAsymmetricReg()
4452 bool HasAVX = Subtarget.hasAVX(); in copyPhysReg() local
4478 Opc = HasAVX ? X86::VMOVAPSrr : X86::MOVAPSrr; in copyPhysReg()
4623 bool HasAVX = STI.hasAVX(); in getLoadStoreRegOpcode() local
4643 (HasAVX ? X86::VMOVSSrm : X86::MOVSSrm) : in getLoadStoreRegOpcode()
4644 (HasAVX ? X86::VMOVSSmr : X86::MOVSSmr); in getLoadStoreRegOpcode()
[all …]
DX86InstrInfo.td792 def HasAVX : Predicate<"Subtarget->hasAVX()">;
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86Subtarget.cpp284 , HasAVX(false) in X86Subtarget()
336 if (!HasAVX && X86SSELevel < SSE2) { in X86Subtarget()
354 if (HasAVX) in X86Subtarget()
DX86InstrSSE.td208 let Predicates = [HasAVX] in {
281 isCodeGenOnly = 1, Predicates = [HasAVX] in {
309 isCodeGenOnly = 1, ExeDomain = SSEPackedInt, Predicates = [HasAVX] in
520 let Predicates = [HasAVX] in {
778 let Predicates = [HasAVX] in {
824 let Predicates = [HasAVX] in {
960 let Predicates = [HasAVX] in {
1126 let Predicates = [HasAVX] in {
1227 let Predicates = [HasAVX] in {
1370 let Predicates = [HasAVX] in {
[all …]
DX86InstrFormats.td261 let Predicates = !if(hasVEXPrefix /* VEX */, [HasAVX],
272 let Predicates = !if(hasVEXPrefix /* VEX */, [HasAVX],
283 let Predicates = !if(hasVEXPrefix /* VEX */, [HasAVX],
294 let Predicates = !if(hasVEX_4VPrefix /* VEX */, [HasAVX],
324 Requires<[HasAVX]>;
328 Requires<[HasAVX]>;
358 Requires<[HasAVX]>;
362 OpSize, Requires<[HasAVX]>;
442 Requires<[HasAVX]>;
446 Requires<[HasAVX]>;
[all …]
DX86Subtarget.h79 bool HasAVX; variable
183 bool hasAVX() const { return HasAVX; } in hasAVX()
DX86InstrInfo.cpp2138 bool HasAVX) { in CopyToFromAsymmetricReg() argument
2147 return HasAVX ? X86::VMOVPQIto64rr : X86::MOVPQIto64rr; in CopyToFromAsymmetricReg()
2155 return HasAVX ? X86::VMOV64toPQIrr : X86::MOV64toPQIrr; in CopyToFromAsymmetricReg()
2166 return HasAVX ? X86::VMOVSS2DIrr : X86::MOVSS2DIrr; in CopyToFromAsymmetricReg()
2170 return HasAVX ? X86::VMOVDI2SSrr : X86::MOVDI2SSrr; in CopyToFromAsymmetricReg()
2180 bool HasAVX = TM.getSubtarget<X86Subtarget>().hasAVX(); in copyPhysReg() local
2200 Opc = HasAVX ? X86::VMOVAPSrr : X86::MOVAPSrr; in copyPhysReg()
2206 Opc = CopyToFromAsymmetricReg(DestReg, SrcReg, HasAVX); in copyPhysReg()
2250 bool HasAVX = TM.getSubtarget<X86Subtarget>().hasAVX(); in getLoadStoreRegOpcode() local
2270 (HasAVX ? X86::VMOVSSrm : X86::MOVSSrm) : in getLoadStoreRegOpcode()
[all …]
DX86FastISel.cpp820 bool HasAVX = Subtarget->hasAVX(); in X86ChooseCmpOpcode() local
821 bool X86ScalarSSEf32 = HasAVX || Subtarget->hasSSE1(); in X86ChooseCmpOpcode()
822 bool X86ScalarSSEf64 = HasAVX || Subtarget->hasSSE2(); in X86ChooseCmpOpcode()
831 return X86ScalarSSEf32 ? (HasAVX ? X86::VUCOMISSrr : X86::UCOMISSrr) : 0; in X86ChooseCmpOpcode()
833 return X86ScalarSSEf64 ? (HasAVX ? X86::VUCOMISDrr : X86::UCOMISDrr) : 0; in X86ChooseCmpOpcode()
DX86.td86 def FeatureAVX : SubtargetFeature<"avx", "HasAVX", "true",
DX86GenSubtargetInfo.inc163 if ((Bits & X86::FeatureAVX) != 0) HasAVX = true;
DX86InstrInfo.td470 def HasAVX : Predicate<"Subtarget->hasAVX()">;
/external/llvm/lib/Support/
DHost.cpp723 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures() local
725 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getAvailableFeatures()
729 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getAvailableFeatures()
731 Features |= (HasAVX << FEATURE_AVX); in getAvailableFeatures()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DHost.cpp757 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures() local
759 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getAvailableFeatures()
763 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getAvailableFeatures()
765 Features |= (HasAVX << FEATURE_AVX); in getAvailableFeatures()