Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DHost.cpp243 bool HasAVX = ((ECX & AVXBits) == AVXBits) && !GetX86XCR0(&EAX, &EDX) && in getHostCPUName() local
245 bool HasAVX512Save = HasAVX && ((EAX & 0xe0) == 0xe0); in getHostCPUName()
249 bool HasAVX2 = HasAVX && HasLeaf7 && (EBX & 0x20); in getHostCPUName()
393 if (HasAVX) in getHostCPUName()
484 if (!HasAVX) // If the OS doesn't support AVX provide a sane fallback. in getHostCPUName()
494 if (!HasAVX) // If the OS doesn't support AVX provide a sane fallback. in getHostCPUName()
745 bool HasAVX = ((ECX >> 27) & 1) && ((ECX >> 28) & 1) && in getHostCPUFeatures() local
747 Features["avx"] = HasAVX; in getHostCPUFeatures()
748 Features["fma"] = HasAVX && (ECX >> 12) & 1; in getHostCPUFeatures()
749 Features["f16c"] = HasAVX && (ECX >> 29) & 1; in getHostCPUFeatures()
[all …]
/external/llvm/lib/Target/X86/
DX86RegisterInfo.cpp225 bool HasAVX = Subtarget.hasAVX(); in getCalleeSavedRegs() local
235 if (HasAVX) in getCalleeSavedRegs()
241 if (HasAVX) in getCalleeSavedRegs()
249 if (HasAVX && IsWin64) in getCalleeSavedRegs()
251 if (HasAVX && Is64Bit) in getCalleeSavedRegs()
253 if (!HasAVX && !IsWin64 && Is64Bit) in getCalleeSavedRegs()
287 bool HasAVX = Subtarget.hasAVX(); in getCallPreservedMask() local
295 if (HasAVX) in getCallPreservedMask()
301 if (HasAVX) in getCallPreservedMask()
309 if (HasAVX && IsWin64) in getCallPreservedMask()
[all …]
DX86InstrSSE.td422 let Predicates = [HasAVX] in {
492 isPseudo = 1, Predicates = [HasAVX], SchedRW = [WriteZero] in {
497 let Predicates = [HasAVX] in
823 let Predicates = [HasAVX, NoVLX] in {
868 let SchedRW = [WriteStore], Predicates = [HasAVX, NoVLX] in {
940 let Predicates = [HasAVX] in {
997 let Predicates = [HasAVX] in {
1012 let Predicates = [HasAVX, NoVLX] in {
1215 let Predicates = [HasAVX] in {
1326 let Predicates = [HasAVX] in {
[all …]
DX86InstrFormats.td465 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
488 !if(!eq(OpEnc.Value, EncVEX.Value), [HasAVX],
523 Requires<[HasAVX]>;
527 Requires<[HasAVX]>;
574 Requires<[HasAVX]>;
578 PD, Requires<[HasAVX]>;
683 Requires<[HasAVX]>;
687 Requires<[HasAVX]>;
809 VEX_4V, Requires<[HasAVX, HasPCLMUL]>;
DX86FastISel.cpp1111 bool HasAVX = Subtarget->hasAVX(); in X86ChooseCmpOpcode() local
1122 return X86ScalarSSEf32 ? (HasAVX ? X86::VUCOMISSrr : X86::UCOMISSrr) : 0; in X86ChooseCmpOpcode()
1124 return X86ScalarSSEf64 ? (HasAVX ? X86::VUCOMISDrr : X86::UCOMISDrr) : 0; in X86ChooseCmpOpcode()
2449 bool HasAVX = Subtarget->hasAVX(); in fastLowerIntrinsicCall() local
2454 case MVT::f32: Opc = SqrtOpc[0][HasAVX]; RC = &X86::FR32RegClass; break; in fastLowerIntrinsicCall()
2455 case MVT::f64: Opc = SqrtOpc[1][HasAVX]; RC = &X86::FR64RegClass; break; in fastLowerIntrinsicCall()
2465 if (HasAVX) { in fastLowerIntrinsicCall()
2645 bool HasAVX = Subtarget->hasAVX(); in fastLowerIntrinsicCall() local
2649 case MVT::i32: Opc = CvtOpc[IsInputDouble][0][HasAVX]; break; in fastLowerIntrinsicCall()
2650 case MVT::i64: Opc = CvtOpc[IsInputDouble][1][HasAVX]; break; in fastLowerIntrinsicCall()
DX86InstrInfo.cpp3730 bool HasAVX = Subtarget.hasAVX(); in CopyToFromAsymmetricReg() local
3735 return HasAVX512 ? X86::VMOVPQIto64Zrr: (HasAVX ? X86::VMOVPQIto64rr : in CopyToFromAsymmetricReg()
3743 return HasAVX512 ? X86::VMOV64toPQIZrr: (HasAVX ? X86::VMOV64toPQIrr : in CopyToFromAsymmetricReg()
3755 return HasAVX512 ? X86::VMOVSS2DIZrr : (HasAVX ? X86::VMOVSS2DIrr : X86::MOVSS2DIrr); in CopyToFromAsymmetricReg()
3759 return HasAVX512 ? X86::VMOVDI2SSZrr : (HasAVX ? X86::VMOVDI2SSrr : X86::MOVDI2SSrr); in CopyToFromAsymmetricReg()
3804 bool HasAVX = Subtarget.hasAVX(); in copyPhysReg() local
3830 Opc = HasAVX ? X86::VMOVAPSrr : X86::MOVAPSrr; in copyPhysReg()
3894 bool HasAVX = STI.hasAVX(); in getLoadStoreRegOpcode() local
3914 (HasAVX ? X86::VMOVSSrm : X86::MOVSSrm) : in getLoadStoreRegOpcode()
3915 (HasAVX ? X86::VMOVSSmr : X86::MOVSSmr); in getLoadStoreRegOpcode()
[all …]
DX86InstrInfo.td741 def HasAVX : Predicate<"Subtarget->hasAVX()">;
/external/lldb/tools/debugserver/source/MacOSX/
DHasAVX.h19 int HasAVX ();
/external/lldb/tools/debugserver/debugserver.xcodeproj/
Dproject.pbxproj44 …4971AE7213D10F4F00649E37 /* HasAVX.s in Sources */ = {isa = PBXBuildFile; fileRef = 4971AE7113D10F…
126 …E7013D10F4F00649E37 /* HasAVX.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
127 …E7113D10F4F00649E37 /* HasAVX.s */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
275 4971AE7013D10F4F00649E37 /* HasAVX.h */,
276 4971AE7113D10F4F00649E37 /* HasAVX.s */,
450 4971AE7213D10F4F00649E37 /* HasAVX.s in Sources */,
/external/clang/lib/CodeGen/
DTargetInfo.cpp1486 bool HasAVX; member in __anona890a3f30211::X86_64ABIInfo
1493 ABIInfo(CGT), HasAVX(hasavx), in X86_64ABIInfo()
1547 bool HasAVX; member in __anona890a3f30211::X86_64TargetCodeGenInfo
1549 X86_64TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, bool HasAVX) in X86_64TargetCodeGenInfo() argument
1550 : TargetCodeGenInfo(new X86_64ABIInfo(CGT, HasAVX)), HasAVX(HasAVX) {} in X86_64TargetCodeGenInfo()
1618 return HasAVX ? 32 : 16; in getOpenMPSimdDefaultAlignment()
1624 PS4TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, bool HasAVX) in PS4TargetCodeGenInfo() argument
1625 : X86_64TargetCodeGenInfo(CGT, HasAVX) {} in PS4TargetCodeGenInfo()
1690 bool HasAVX; member in __anona890a3f30211::WinX86_64TargetCodeGenInfo
1692 WinX86_64TargetCodeGenInfo(CodeGen::CodeGenTypes &CGT, bool HasAVX) in WinX86_64TargetCodeGenInfo() argument
[all …]
/external/lldb/tools/debugserver/source/MacOSX/x86_64/
DDNBArchImplX86_64.cpp106 if (::HasAVX()) in CPUHasAVX()