/external/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 246 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 …]
|
D | X86FastISel.cpp | 352 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 …]
|
D | X86InstrSSE.td | 485 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 …]
|
D | X86InstrFormats.td | 451 !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 …]
|
D | X86InstrInfo.cpp | 4340 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 …]
|
D | X86InstrInfo.td | 792 def HasAVX : Predicate<"Subtarget->hasAVX()">;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 286 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs() local 302 if (HasAVX) in getCalleeSavedRegs() 308 if (HasAVX) in getCalleeSavedRegs() 321 if (HasAVX && IsWin64) in getCalleeSavedRegs() 323 if (HasAVX && Is64Bit) in getCalleeSavedRegs() 325 if (!HasAVX && !IsWin64 && Is64Bit) in getCalleeSavedRegs() 364 if (HasAVX) in getCalleeSavedRegs() 372 if (HasAVX) in getCalleeSavedRegs() 413 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask() local 421 if (HasAVX) in getCallPreservedMask() [all …]
|
D | X86FastISel.cpp | 322 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad() local 352 HasAVX ? X86::VMOVSSrm_alt : in X86FastEmitLoad() 360 HasAVX ? X86::VMOVSDrm_alt : in X86FastEmitLoad() 371 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() 374 HasAVX ? X86::VMOVAPSrm : X86::MOVAPSrm; in X86FastEmitLoad() 377 HasAVX ? X86::VMOVUPSrm : X86::MOVUPSrm; in X86FastEmitLoad() 382 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() 385 HasAVX ? X86::VMOVAPDrm : X86::MOVAPDrm; in X86FastEmitLoad() 388 HasAVX ? X86::VMOVUPDrm : X86::MOVUPDrm; in X86FastEmitLoad() 396 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() [all …]
|
D | X86InstrSSE.td | 350 let Predicates = [HasAVX, NoVLX] in { 395 let Predicates = [HasAVX, NoVLX] in { 537 let Predicates = [HasAVX, NoVLX] in { 1157 PS, VEX, Requires<[HasAVX, NoVLX]>, VEX_WIG; 1161 PS, VEX, VEX_L, Requires<[HasAVX, NoVLX]>, VEX_WIG; 1309 Requires<[HasAVX]>, Sched<[WriteCvtSS2SD]>; 1314 []>, XS, VEX_4V, VEX_LIG, VEX_WIG, Requires<[HasAVX]>, 1444 let Predicates = [HasAVX, NoVLX] in { 1478 let Predicates = [HasAVX, NoVLX], Uses = [MXCSR], mayRaiseFPException = 1 in { 1527 let Predicates = [HasAVX, NoVLX] in { [all …]
|
D | X86InstructionSelector.cpp | 399 bool HasAVX = STI.hasAVX(); in getLoadStoreOp() local 414 HasAVX ? X86::VMOVSSrm_alt : in getLoadStoreOp() 417 HasAVX ? X86::VMOVSSmr : in getLoadStoreOp() 424 HasAVX ? X86::VMOVSDrm_alt : in getLoadStoreOp() 427 HasAVX ? X86::VMOVSDmr : in getLoadStoreOp() 434 : HasAVX ? X86::VMOVAPSrm : X86::MOVAPSrm) in getLoadStoreOp() 438 : HasAVX ? X86::VMOVAPSmr : X86::MOVAPSmr); in getLoadStoreOp() 443 : HasAVX ? X86::VMOVUPSrm : X86::MOVUPSrm) in getLoadStoreOp() 447 : HasAVX ? X86::VMOVUPSmr : X86::MOVUPSmr); in getLoadStoreOp() 1167 bool HasAVX = STI.hasAVX(); in selectExtract() local [all …]
|
D | X86InstrFormats.td | 514 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 529 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 552 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 587 Requires<[HasAVX]>; 591 Requires<[HasAVX]>; 638 Requires<[HasAVX]>; 642 PD, Requires<[HasAVX]>; 747 Requires<[HasAVX]>; 751 Requires<[HasAVX]>;
|
D | X86InstrVecCompiler.td | 114 let Predicates = [HasAVX, NoVLX] in { 374 let Predicates = [HasAVX, NoVLX] in { 419 let Predicates = [HasAVX, NoVLX] in {
|
D | X86InstrInfo.cpp | 2891 bool HasAVX = Subtarget.hasAVX(); in CopyToFromAsymmetricReg() local 2930 HasAVX ? X86::VMOVPQIto64rr : in CopyToFromAsymmetricReg() 2939 HasAVX ? X86::VMOV64toPQIrr : in CopyToFromAsymmetricReg() 2953 HasAVX ? X86::VMOVPDI2DIrr : in CopyToFromAsymmetricReg() 2960 HasAVX ? X86::VMOVDI2PDIrr : in CopyToFromAsymmetricReg() 2970 bool HasAVX = Subtarget.hasAVX(); in copyPhysReg() local 2997 Opc = HasAVX ? X86::VMOVAPSrr : X86::MOVAPSrr; in copyPhysReg() 3062 bool HasAVX = STI.hasAVX(); in getLoadStoreRegOpcode() local 3088 HasAVX ? X86::VMOVSSrm_alt : in getLoadStoreRegOpcode() 3091 HasAVX ? X86::VMOVSSmr : in getLoadStoreRegOpcode() [all …]
|
D | X86InstrInfo.td | 864 def HasAVX : Predicate<"Subtarget->hasAVX()">;
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86RegisterInfo.cpp | 281 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs() local 297 if (HasAVX) in getCalleeSavedRegs() 303 if (HasAVX) in getCalleeSavedRegs() 316 if (HasAVX && IsWin64) in getCalleeSavedRegs() 318 if (HasAVX && Is64Bit) in getCalleeSavedRegs() 320 if (!HasAVX && !IsWin64 && Is64Bit) in getCalleeSavedRegs() 359 if (HasAVX) in getCalleeSavedRegs() 367 if (HasAVX) in getCalleeSavedRegs() 408 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask() local 416 if (HasAVX) in getCallPreservedMask() [all …]
|
D | X86FastISel.cpp | 321 bool HasAVX = Subtarget->hasAVX(); in X86FastEmitLoad() local 351 HasAVX ? X86::VMOVSSrm_alt : in X86FastEmitLoad() 359 HasAVX ? X86::VMOVSDrm_alt : in X86FastEmitLoad() 370 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() 373 HasAVX ? X86::VMOVAPSrm : X86::MOVAPSrm; in X86FastEmitLoad() 376 HasAVX ? X86::VMOVUPSrm : X86::MOVUPSrm; in X86FastEmitLoad() 381 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() 384 HasAVX ? X86::VMOVAPDrm : X86::MOVAPDrm; in X86FastEmitLoad() 387 HasAVX ? X86::VMOVUPDrm : X86::MOVUPDrm; in X86FastEmitLoad() 395 HasAVX ? X86::VMOVNTDQArm : X86::MOVNTDQArm; in X86FastEmitLoad() [all …]
|
D | X86InstructionSelector.cpp | 400 bool HasAVX = STI.hasAVX(); in getLoadStoreOp() local 415 HasAVX ? X86::VMOVSSrm_alt : in getLoadStoreOp() 418 HasAVX ? X86::VMOVSSmr : in getLoadStoreOp() 425 HasAVX ? X86::VMOVSDrm_alt : in getLoadStoreOp() 428 HasAVX ? X86::VMOVSDmr : in getLoadStoreOp() 435 : HasAVX ? X86::VMOVAPSrm : X86::MOVAPSrm) in getLoadStoreOp() 439 : HasAVX ? X86::VMOVAPSmr : X86::MOVAPSmr); in getLoadStoreOp() 444 : HasAVX ? X86::VMOVUPSrm : X86::MOVUPSrm) in getLoadStoreOp() 448 : HasAVX ? X86::VMOVUPSmr : X86::MOVUPSmr); in getLoadStoreOp() 1122 bool HasAVX = STI.hasAVX(); in selectExtract() local [all …]
|
D | X86InstrSSE.td | 350 let Predicates = [HasAVX, NoVLX] in { 395 let Predicates = [HasAVX, NoVLX] in { 537 let Predicates = [HasAVX, NoVLX] in { 1194 PS, VEX, Requires<[HasAVX, NoVLX]>, VEX_WIG; 1198 PS, VEX, VEX_L, Requires<[HasAVX, NoVLX]>, VEX_WIG; 1346 Requires<[HasAVX]>, Sched<[WriteCvtSS2SD]>; 1351 []>, XS, VEX_4V, VEX_LIG, VEX_WIG, Requires<[HasAVX]>, 1481 let Predicates = [HasAVX, NoVLX] in { 1515 let Predicates = [HasAVX, NoVLX], Uses = [MXCSR], mayRaiseFPException = 1 in { 1564 let Predicates = [HasAVX, NoVLX] in { [all …]
|
D | X86InstrFormats.td | 527 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 542 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 565 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX], 600 Requires<[HasAVX]>; 604 Requires<[HasAVX]>; 651 Requires<[HasAVX]>; 655 PD, Requires<[HasAVX]>; 760 Requires<[HasAVX]>; 764 Requires<[HasAVX]>;
|
D | X86InstrVecCompiler.td | 114 let Predicates = [HasAVX, NoVLX] in { 374 let Predicates = [HasAVX, NoVLX] in { 419 let Predicates = [HasAVX, NoVLX] in {
|
D | X86InstrInfo.cpp | 3367 bool HasAVX = Subtarget.hasAVX(); in CopyToFromAsymmetricReg() local 3406 HasAVX ? X86::VMOVPQIto64rr : in CopyToFromAsymmetricReg() 3415 HasAVX ? X86::VMOV64toPQIrr : in CopyToFromAsymmetricReg() 3429 HasAVX ? X86::VMOVPDI2DIrr : in CopyToFromAsymmetricReg() 3436 HasAVX ? X86::VMOVDI2PDIrr : in CopyToFromAsymmetricReg() 3446 bool HasAVX = Subtarget.hasAVX(); in copyPhysReg() local 3473 Opc = HasAVX ? X86::VMOVAPSrr : X86::MOVAPSrr; in copyPhysReg() 3537 bool HasAVX = STI.hasAVX(); in getLoadStoreRegOpcode() local 3563 HasAVX ? X86::VMOVSSrm_alt : in getLoadStoreRegOpcode() 3566 HasAVX ? X86::VMOVSSmr : in getLoadStoreRegOpcode() [all …]
|
/external/llvm-project/compiler-rt/lib/builtins/ |
D | cpu_model.c | 607 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures() local 616 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getAvailableFeatures() 619 if (HasAVX) in getAvailableFeatures() 627 if (HasLeaf7 && ((EBX >> 5) & 1) && HasAVX) in getAvailableFeatures() 654 if (HasLeaf7 && ((ECX >> 10) & 1) && HasAVX) in getAvailableFeatures()
|
/external/llvm/lib/Support/ |
D | Host.cpp | 723 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/llvm-project/llvm/lib/Support/ |
D | Host.cpp | 1023 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures() local 1032 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getAvailableFeatures() 1035 if (HasAVX) in getAvailableFeatures() 1043 if (HasLeaf7 && ((EBX >> 5) & 1) && HasAVX) in getAvailableFeatures() 1076 if (HasLeaf7 && ((ECX >> 10) & 1) && HasAVX) in getAvailableFeatures()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Host.cpp | 1031 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !getX86XCR0(&EAX, &EDX) && in getAvailableFeatures() local 1040 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getAvailableFeatures() 1043 if (HasAVX) in getAvailableFeatures() 1051 if (HasLeaf7 && ((EBX >> 5) & 1) && HasAVX) in getAvailableFeatures() 1084 if (HasLeaf7 && ((ECX >> 10) & 1) && HasAVX) in getAvailableFeatures()
|