Home | History | Annotate | Download | only in X86

Lines Matching refs:STI

38 X86FrameLowering::X86FrameLowering(const X86Subtarget &STI,
41 STI.is64Bit() ? -8 : -4),
42 STI(STI), TII(*STI.getInstrInfo()), TRI(STI.getRegisterInfo()) {
45 Is64Bit = STI.is64Bit();
46 IsLP64 = STI.isTarget64BitLP64();
48 Uses64BitFramePtr = STI.isTarget64BitLP64() || STI.isTargetNaCl64();
329 UseLEA = STI.useLeaForSP() || MBB.isLiveIn(X86::EFLAGS);
337 if (UseLEA && !STI.useLeaForSP())
451 const X86Subtarget &STI
452 if (STI.isTargetWindowsCoreCLR()) {
489 const X86Subtarget &STI = MF.getSubtarget<X86Subtarget>();
490 assert(STI.is64Bit() && "different expansion needed for 32 bit");
491 assert(STI.isTargetWindowsCoreCLR() && "custom expansion expects CoreCLR");
492 const TargetInstrInfo &TII = *STI.getInstrInfo();
715 if (STI.isTargetCygMing()) {
720 } else if (STI.isTargetCygMing())
905 assert(&STI == &MF.getSubtarget<X86Subtarget>() &&
922 bool IsWin64CC = STI.isCallingConvWin64(Fn->getCallingConv());
929 STI.isTarget64BitILP32()
947 bool UseStackProbe = (STI.isOSWindows() && !STI.isTargetMachO());
1263 } else if (IsFunclet && STI.is32Bit()) {
1329 if (IsFunclet && STI.is32Bit())
1466 const bool Is64BitILP32 = STI.isTarget64BitILP32();
1539 unsigned ReturnReg = STI.is64Bit() ? X86::RAX : X86::EAX;
1540 if (STI.is64Bit()) {
1754 STI.isTargetWin64()) &&
1869 if (MBB.isEHFuncletEntry() && STI.is32Bit() && STI.isOSWindows())
1873 unsigned Opc = STI.is64Bit() ? X86::PUSH64r : X86::PUSH32r;
1913 if (isFuncletReturnInstr(MI) && STI.isOSWindows()) {
1916 if (STI.is32Bit())
1943 unsigned Opc = STI.is64Bit() ? X86::POP64r : X86::POP32r;
2058 if (!STI.isTargetLinux() && !STI.isTargetDarwin() && !STI.isTargetWin32() &&
2059 !STI.isTargetWin64() && !STI.isTargetFreeBSD() &&
2060 !STI.isTargetDragonFly())
2101 if (STI.isTargetLinux()) {
2104 } else if (STI.isTargetDarwin()) {
2107 } else if (STI.isTargetWin64()) {
2110 } else if (STI.isTargetFreeBSD()) {
2113 } else if (STI.isTargetDragonFly()) {
2129 if (STI.isTargetLinux()) {
2132 } else if (STI.isTargetDarwin()) {
2135 } else if (STI.isTargetWin32()) {
2138 } else if (STI.isTargetDragonFly()) {
2141 STI.isTargetFreeBSD()) {
2153 if (STI.isTargetLinux() || STI.isTargetWin32() || STI.isTargetWin64() ||
2154 STI.isTargetDragonFly()) {
2157 } else if (STI.isTargetDarwin()) {
2300 assert(STI.isTargetLinux() &&
2476 TII.get(STI.is64Bit() ? X86::POP64r : X86::POP32r), Regs[i]);
2589 if (STI.isTargetWin64() && !MBB.succ_empty() && !MBB.isReturnBlock())
2611 assert(STI.isTargetWindowsMSVC() && "funclets only supported in MSVC env");
2612 assert(STI.isTargetWin32() && "EBP/ESI restoration only required on win32");
2613 assert(STI.is32Bit() && !Uses64BitFramePtr &&
2687 if (!STI.is64Bit() || !MF.getMMI().hasEHFunclets() ||